You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Permission denied? Install from source?</summary>
58
57
59
-
**Option B — Install from source (for contributors):**
58
+
If `npm install -g` fails with EACCES, prefix with `sudo` or [fix your npm permissions](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally).
1.**You start** — `ao start` launches the dashboard and an orchestrator agent
93
+
2.**Orchestrator spawns workers** — each issue gets its own agent in an isolated git worktree
94
+
3.**Agents work autonomously** — they read code, write tests, create PRs
95
+
4.**Reactions handle feedback** — CI failures and review comments are automatically routed back to the agent
96
+
5.**You review and merge** — you only get pulled in when human judgment is needed
114
97
115
-
All interfaces defined in [`packages/core/src/types.ts`](packages/core/src/types.ts). A plugin implements one interface and exports a `PluginModule`. That's it.
98
+
The orchestrator agent uses the [AO CLI](docs/CLI.md) internally to manage sessions. You don't need to learn or use the CLI — the dashboard and orchestrator handle everything.
116
99
117
100
## Configuration
118
101
102
+
`ao start` auto-generates `agent-orchestrator.yaml` with sensible defaults. You can edit it afterwards to customize behavior:
103
+
119
104
```yaml
120
105
# agent-orchestrator.yaml
121
106
port: 3000
@@ -149,54 +134,42 @@ reactions:
149
134
150
135
CI fails → agent gets the logs and fixes it. Reviewer requests changes → agent addresses them. PR approved with green CI → you get a notification to merge.
151
136
152
-
See [`agent-orchestrator.yaml.example`](agent-orchestrator.yaml.example) for the full reference.
153
-
154
-
## CLI
155
-
156
-
```bash
157
-
ao start # Auto-detect project, generate config, and start
158
-
ao start ~/other-repo # Add a new project and start
159
-
ao config-help # Show full config schema reference
160
-
ao status # Overview of all sessions
161
-
ao spawn [issue] # Spawn an agent (project auto-detected)
162
-
ao send <session> "Fix the tests" # Send instructions
163
-
ao session ls # List sessions
164
-
ao session kill <session> # Kill a session
165
-
ao session restore <session> # Revive a crashed agent
166
-
ao dashboard # Open web dashboard
167
-
ao doctor [--fix] # Check install, runtime, and stale temp issues
168
-
ao update # Update local AO install and run smoke tests
169
-
```
137
+
See [`agent-orchestrator.yaml.example`](agent-orchestrator.yaml.example) for the full reference, or run `ao config-help` for the complete schema.
170
138
171
-
## Maintenance
172
-
173
-
```bash
174
-
# Run deterministic install and runtime checks
175
-
ao doctor
139
+
## Plugin Architecture
176
140
177
-
# Apply safe cleanup and launcher fixes
178
-
ao doctor --fix
141
+
Eight slots. Every abstraction is swappable.
179
142
180
-
# Update this local AO checkout, rebuild critical packages, and verify the launcher
`ao doctor`checks PATH and launcher resolution, required binaries, tmux and GitHub CLI health, config support directories, stale AO temp files, and core build/runtime sanity. `ao update` fast-forwards the local install repo on `main`, runs `pnpm install`, clean-rebuilds `@composio/ao-core`, `@composio/ao-cli`, and `@composio/ao-web`, refreshes the global `ao` launcher with `npm link`, and finishes with CLI smoke tests.
154
+
All interfaces defined in [`packages/core/src/types.ts`](packages/core/src/types.ts). A plugin implements one interface and exports a `PluginModule`. That's it.
185
155
186
156
## Why Agent Orchestrator?
187
157
188
158
Running one AI agent in a terminal is easy. Running 30 across different issues, branches, and PRs is a coordination problem.
189
159
190
160
**Without orchestration**, you manually: create branches, start agents, check if they're stuck, read CI failures, forward review comments, track which PRs are ready to merge, clean up when done.
191
161
192
-
**With Agent Orchestrator**, you: `ao spawn` and walk away. The system handles isolation, feedback routing, and status tracking. You review PRs and make decisions — the rest is automated.
162
+
**With Agent Orchestrator**, you: `ao start` and walk away. The system handles isolation, feedback routing, and status tracking. You review PRs and make decisions — the rest is automated.
| [Contributing](CONTRIBUTING.md) | How to contribute, build plugins, PR process |
219
-
| [Troubleshooting](TROUBLESHOOTING.md) | Common issues and fixes |
220
-
221
184
## Contributing
222
185
223
186
Contributions welcome. The plugin system makes it straightforward to add support for new agents, runtimes, trackers, and notification channels. Every plugin is an implementation of a TypeScript interface — see [CONTRIBUTING.md](CONTRIBUTING.md) and the [Development Guide](docs/DEVELOPMENT.md) for the pattern.
0 commit comments