Skip to main content
The codebase keeps agent code and eval cases in one repository, and the local runtime exposes logs, traces, and live behavior. A coding agent can use this context to create and verify new agents for you. There are two ways to create an agent:

Run the skill

Open your coding agent in the agent-platform directory and ask it to run:
Give the coding agent a clear brief and it starts building. For an open-ended goal, it asks for the context it needs to choose the pattern and tools. Once the specification is clear, it generates agents/<slug>.py, registers the agent in app/main.py, adds quick prompts to app/config.yaml, restarts the container, and smoke-tests the live endpoint.

Test your agent on the AgentOS UI

Open os.agno.com, click Refresh, choose your new agent from the Agents dropdown, 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.

Do it manually

The create-new-agent skill automates the agent creation process. To do it manually:
  • Create a file in agents/<slug>.py.
  • Register the agent in app/main.py.
  • Add quick prompts in app/config.yaml.
The agent file skeleton and the app/main.py registration are in Railway Reference, under “Add an agent”.

Next

Improve the agent →