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
Agentand implement theasync def on_enterandon_exithooks. - Tools use the
@function_tooldecorator; the schema is inferred from type hints and the docstring. - Provider plugins are imported from
zrt.plugins.