docs/create-new-agent.md
Run the prompt
Open Claude Code in youragent-platform directory and paste:
agents/<slug>.py, registers it in app/main.py, adds three starter prompts to app/config.yaml, restarts the container, and hits the new endpoint with cURL. It reads the container logs to confirm the right tools fired.
Test your agents on the AgentOS UI
Open os.agno.com, select your new agent in the sidebar, and try a few prompts:- The golden path. What you built the agent for.
- Edge cases. Unusual inputs, ambiguous questions, partial information.
- Adversarial inputs. Prompt injection, out-of-scope requests, attempts to make it do something it shouldn’t.
Summary
Congrats on creating a new agent. Here are the details if you’re looking to do this manually:- Create a file in
agents/<slug>.py. - Register the agent in
app/main.py. - Add quick-start prompts in
app/config.yaml.