building agents.md
Building agents
An agent on Wajo is a persisted specification:
- a name and a one-line description,
- an instruction body (what the agent does and how),
- a typed soul (its persona / voice),
- an LLM provider and model,
- attached capabilities — system tools, connectors, MCP servers, skills, and sub-agents.
Create with the Agent Builder
The Agent Builder is itself an agent, reached through the build_agent tool:
- Call
generate_session_idwith the Agent Builder's id (b4409947-a46d-497e-94bb-fbba525185b7). You get back asessionId. - Call
build_agentwith thatsessionIdand a one-paragraph brief of the agent you want — e.g. "A support-triage agent that reads inbound email, tags urgency, and drafts replies." The Builder designs, persists, and returns the new agent's name and id in a single turn. - Keep chatting on the same
sessionIdto refine it.
Refine
Use get_agent to read the full record, then update_agent to patch its
instructions, model, or attached capabilities. Or keep refining
conversationally through build_agent.
Attach capabilities
- System tools — platform capabilities the agent can use (web search, calendar, email, and more).
- Connectors — external HTTP APIs. See "Connectors".
- MCP servers — third-party MCP tool servers, registered with
build_mcp_server. - Skills — reusable instruction fragments curated by the platform.