Overview
Therouta chat command provides an interactive REPL-style interface for communicating with agents. It creates an ACP (Agent Client Protocol) session and allows you to send prompts, receive responses, and monitor agent activities in real-time.
Usage
--workspace-id <ID>- Workspace ID (default:default)--provider <NAME>- ACP provider to use (default:opencode)--role <ROLE>- Agent role:ROUTA,CRAFTER,GATE, orDEVELOPER(default:DEVELOPER)
Starting a Chat Session
Basic Usage
Start a chat with default settings (DEVELOPER role, opencode provider):With Specific Role
Start a chat with a CRAFTER agent:With Different Provider
Use Claude as the provider:Chat Commands
Within the chat session, you can use several commands:Send Messages
Type any message and press Enter to send it to the agent:View Agents
List all agents in the workspace:View Tasks
List all tasks in the workspace:Check Status
Get the current agent’s status:Exit Chat
Quit the chat session:/exit, /q
Example Sessions
Solo Development Session
Using a DEVELOPER agent to work independently:Coordinator Session
Using a ROUTA coordinator to plan and delegate:Implementation Session
Using a CRAFTER to execute tasks:Review Session
Using a GATE agent to review work:Offline Mode
If the ACP session cannot be created (provider not available), the chat runs in offline mode:- Agent/task/workspace commands (
/agents,/tasks,/status) still work - Message sending is not available
- You can still inspect workspace state
Provider Options
Supported ACP providers:| Provider | Description |
|---|---|
opencode | OpenCode AI agent (default) |
claude | Claude Code agent |
codex | Codex agent |
gemini | Gemini CLI agent |
kimi | Kimi agent |
augment | Augment Code agent |
copilot | GitHub Copilot agent |
Environment Setup
Ensure your environment is configured for the chosen provider:Session Management
Each chat session:- Creates a new agent in the workspace
- Establishes an ACP connection
- Registers the agent with the orchestrator
- Maintains conversation history
- Cleans up on exit
Integration with Other Commands
You can inspect chat session results using other CLI commands:Troubleshooting
Provider Not Found
If you see “provider not found”:Connection Issues
If the ACP session fails to start:Session Cleanup
If a session wasn’t properly closed:Advanced Usage
Scripting Chat Interactions
Pipe commands to chat:Monitoring Multiple Sessions
Run multiple chat sessions in different terminals:Next Steps
- Learn about Agent commands to manage agents programmatically
- Explore Task commands to track work
- Try Prompt mode for quick one-off commands