Skip to main content
ExampleDescription
Basic Task Mode ExampleDemonstrates a team in mode=tasks where the team leader autonomously: 1.
Parallel Task Execution ExampleDemonstrates the execute_tasks_parallel tool in task mode. The team leader.
Task Mode with Tool-Equipped AgentsDemonstrates task mode where member agents have real tools. The team leader.
Async Task Mode ExampleDemonstrates task mode using the async API (arun / aprint_response).
Task Dependencies ExampleDemonstrates complex task dependency chains in task mode. The team leader.
Task Mode with Custom ToolsDemonstrates task mode where member agents use custom Python function tools.
Multi-Run Session with Task ModeDemonstrates that task state persists across multiple runs within the same.
EventsDemonstrates monitoring team and member events in sync-like and async event streams.
StreamingDemonstrates sync and async streaming responses from a team.
MetricsDemonstrates retrieving team, session, and member-level execution metrics.
Cancel RunDemonstrates cancelling an in-flight team run from a separate thread.
Model InheritanceDemonstrates how member models inherit from parent team models.
Remote TeamDemonstrates calling and streaming a team hosted on a remote AgentOS instance.
RetriesDemonstrates team retry configuration for transient run errors.
Few Shot LearningDemonstrates using additional_input examples to guide team support responses.
Filter Tool Calls From HistoryDemonstrates limiting historical tool call results in team context.
IntroductionDemonstrates setting a reusable team introduction message for a session.
Tool Call Compression With ManagerDemonstrates custom tool result compression using CompressionManager.
Tool Call CompressionDemonstrates team-level tool result compression in both sync and async workflows.
Dependencies In ContextDemonstrates team-level dependencies referenced directly in instructions and member context.
Dependencies In ToolsDemonstrates passing dependencies at runtime and accessing them inside team tools.
Dependencies To MembersDemonstrates passing dependencies on run and propagating them to member agents.
Background ExecutionBackground execution allows you to start a team run that returns immediately with a PENDING status, while the actual work continues in the background.
Reasoning Multi Purpose TeamDemonstrates multi-purpose team reasoning with both sync and async patterns.
Audio Sentiment AnalysisDemonstrates team-based transcription and sentiment analysis for audio conversations.
Audio To TextDemonstrates team-based audio transcription and follow-up content analysis.
Generate Image With TeamDemonstrates collaborative prompt optimization and DALL-E image generation.
Image To Image TransformationDemonstrates collaborative style planning and image transformation.
Image To Structured OutputDemonstrates collaborative visual analysis with structured movie script output.
Image To TextDemonstrates collaborative image analysis and narrative generation.
Media Input For ToolDemonstrates team tools accessing uploaded media files directly.
Video Caption GenerationDemonstrates team-based video caption generation and embedding workflow.