Overview
Therouta agent command group provides tools for managing agents in Routa workspaces. Agents are AI entities that perform tasks, collaborate with other agents, and coordinate work through the Routa platform.
Agent Roles
Routa supports four built-in agent roles:| Role | Icon | Description |
|---|---|---|
| ROUTA | 🔵 | Coordinator - plans work, parses intent into structured Spec, creates tasks, delegates to specialists |
| CRAFTER | 🟠 | Implementor - executes implementation tasks, writes code, makes focused changes |
| GATE | 🟢 | Verifier - reviews work, validates against acceptance criteria, approves or requests fixes |
| DEVELOPER | 🎯 | Solo agent - plans and implements independently without delegation |
Commands
List Agents
List all agents in a workspace:--workspace-id <ID>- Workspace ID (default:default)
Create Agent
Create a new agent in a workspace:--name <NAME>- Agent name (required)--role <ROLE>- Agent role:ROUTA,CRAFTER,GATE, orDEVELOPER(required)--workspace-id <ID>- Workspace ID (default:default)--parent-id <ID>- Parent agent ID (optional)
Get Agent Status
Get the current status and details of an agent:--id <ID>- Agent ID (required)
Get Agent Summary
Get a summary of an agent’s activities:--id <ID>- Agent ID (required)
Agent Lifecycle
Agents go through several states during their lifecycle:- Created - Agent is registered in the workspace
- Idle - Agent is available but not working on any task
- Working - Agent is actively processing a task
- Waiting - Agent is waiting for a dependency or response
- Completed - Agent has finished its work
- Failed - Agent encountered an error
Working with Agent Hierarchies
Agents can have parent-child relationships, enabling task delegation:Integration with Other Commands
Agent commands work seamlessly with other Routa CLI features:Programmatic Usage
All agent commands return structured JSON, making them ideal for scripting:Next Steps
- Learn about Task commands to assign work to agents
- Try Interactive chat to communicate with agents
- Explore Workflow automation for multi-agent coordination