API reference#
Everything the package exposes, grouped by what you are trying to do. Each page documents the signature, the meaning of every field, and the behavior you can rely on. Source links are included when you want to see the implementation.
If you are new here, start with Get started or Examples; come back when you need an exact name or default.
Common entry points#
create_agent() builds an
AgentClient over the runtime.
AgentClient for applications,
Agent for the loop itself.
AgentModel is the protocol every adapter follows.
Note
The tools, providers, extensions, extensions.server_tools, jit_harness, and
sandbox packages re-export their main names lazily: a name loads its defining module the
first time it is used, so importing the package imports nothing. Every other name is imported
from the module that defines it:
from zett_agent.client import create_agent
from zett_agent.tools import tool
from zett_agent.providers import OpenAIProvider
from zett_agent.extensions import CodingExtension
from zett_agent.messages import UserMessage
The reference documents every public object the runtime defines, plus the protected subclass helpers extension authors need. It intentionally omits unrelated inherited methods from Python enums and third-party validation frameworks.