Skip to main content

Requirements

  • Python 3.11+
  • A Zero Runtime address and auth token from the dashboard
  • API keys for the providers you use

Install

Conventions

  • Agents subclass Agent and implement the async def on_enter and on_exit hooks.
  • Tools use the @function_tool decorator; the schema is inferred from type hints and the docstring.
  • Provider plugins are imported from zrt.plugins.

API reference

Python SDK API reference

Every class, function, and option in the Python SDK.
The Quickstart shows a complete agent. Runnable examples are at zrt-python-sdk-examples.