Skip to main content

Building Agents with orxhestra

All agents extend BaseAgent and implement astream(input, *, ctx) returning AsyncIterator[Event].

LlmAgent — Standard tool-calling agent

Key parameters

Dynamic instructions

ReActAgent — Structured reasoning

Uses with_structured_output() to enforce a typed ReActStep at every iteration. Extends LlmAgent so it inherits instructions, planners, skills, and callbacks.

Running with sessions (Runner)