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 your runtime address, and set your auth token, using the values from the dashboard:

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.