Skip to main content
Use this recipe when a Python workflow needs:
  • one local lookup tool
  • one bounded agent loop
  • one strict JSON output shape

1. Prepare the SDKs

The Python Agent SDK package is not yet on PyPI. Follow the source installation instructions.

2. Define one local tool

3. Create the agent

4. Run through the gateway-backed client

5. When this recipe fits

  • one Python worker owns the orchestration
  • the tool surface is local and deterministic
  • you want strict output without building a larger orchestration layer first
Last modified on July 26, 2026