Agent Architecture
Each agent in Maestro runs two processes simultaneously:Supported AI Agents
- Claude Code
- OpenCode
- OpenAI Codex
- Factory Droid
Status: ActiveAnthropic’s official CLI coding assistant with full conversation history support.
- Native session management via
~/.claude/projects/ - Batch mode execution with
--print --output-format json - Stream-JSON mode for multimodal inputs (images)
- Provider session pooling and resumption
Creating Agents
Open New Agent Dialog
Press
Cmd+N or click the + button in the Left Bar to open the new agent wizard.Location: src/renderer/components/NewInstanceModal.tsxSelect Agent Type
Choose your AI assistant from the dropdown. Maestro auto-detects installed agents via PATH.Detection:
src/main/agent-detector.tsConfigure Working Directory
Select the project folder where the agent will operate. Each agent maintains its own workspace.
Pro Tip: Use
Cmd+Shift+N to open the Agent Wizard for guided setup with multi-phase planning.Agent States
Agents display color-coded status indicators in the Left Bar:| Color | State | Meaning |
|---|---|---|
| Green | Ready | Agent is idle and ready for input |
| Yellow | Busy | Agent is thinking or processing |
| Red | Error | No connection or error state |
| Pulsing Orange | Connecting | Agent is starting up |
src/renderer/utils/theme.ts:getStatusColor()
Switching Between Agents
- Keyboard
- Mouse
- Search
src/renderer/constants/shortcuts.ts:14-15Agent Groups
Organize related agents into collapsible groups:Create a Group
Right-click in the Left Bar → Create Group or use
Cmd+Shift+M to move an agent to a new group.src/shared/types.ts:15-20
Agent Configuration
Customize each agent’s behavior independently:Per-Agent Settings
- Custom Binary Path: Use a specific agent binary instead of the system default
- Custom Arguments: Pass additional CLI flags to the agent
- Environment Variables: Set agent-specific environment variables
- SSH Remote Execution: Run the agent on a remote host via SSH
Editing Agent Config
Right-click any agent → Edit Agent or pressAlt+Cmd+, to open the agent configuration panel.
Component: src/renderer/components/shared/AgentConfigPanel.tsx
Multi-Agent Workflows
Group Chat
Coordinate multiple agents to solve complex problems: PressAlt+Cmd+C to create a group chat. The moderator AI routes questions to relevant agents and synthesizes their responses.
Architecture: src/main/group-chat/
Session Discovery
Browse and resume provider sessions across all agents:- Press
Cmd+Shift+Lto open the Agent Sessions Browser - View all Claude Code sessions from
~/.claude/projects/ - Search by content or filter by project
- Resume any session in a new tab
src/renderer/components/AgentSessionsModal.tsx
Keyboard Shortcuts Reference
src/renderer/constants/shortcuts.ts
Next Steps
Dual-Mode Sessions
Learn how to switch between AI and terminal modes
Keyboard Shortcuts
Master the keyboard-first interface
Session Discovery
Browse and resume provider sessions
Git Integration
Version control features and workflows