Skip to main content

Requirements

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

Install

Connect to the Runtime

Point the worker at the runtime address for your region (US: us2.zeroruntime.ai:443, IN: in1.zeroruntime.ai:443), and set your auth token, using the values from the dashboard. See Authentication for how to choose a region:

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.
The Quickstart shows a complete agent. Runnable examples are at zeroruntime-python-examples.