This directory contains example agents and implementations to help you understand and build with AgentOrchestrator.
agents/- Example agent implementationsqa_agent/- Question answering agent with Google AIsummarizer_agent/- Text summarization agent- (more examples will be added)
patterns/- Common patterns and best practicesintegrations/- Examples of integrating with other servicesdeployment/- Sample deployment configurations
Each example includes clear instructions in its README. Generally, you can:
-
Copy the example agent to your
src/routes/directory:cp -r examples/agents/qa_agent/ src/routes/
-
Restart your AgentOrchestrator server:
python main.py
-
Test the agent:
curl "http://localhost:8000/api/v1/agent/qa_agent?input=What%20is%20the%20capital%20of%20France%3F"
A simple question-answering agent that uses Google AI to respond to natural language questions.
Summarizes text content, with options for controlling length and style of summary.
We welcome contributions of new examples! Please follow these guidelines:
- Create a directory with a descriptive name
- Include a README.md with:
- Overview of what the example demonstrates
- Prerequisites
- Setup instructions
- Example usage
- Follow the coding standards in the main CONTRIBUTING.md
- Keep dependencies minimal
- Include comments in your code