Prerequisites
- Node.js 20.3 or newer
- pnpm 9 or newer
- Git
- Optional: a local agent CLI such as Claude Code or OpenAI Codex if you want Commander or agents to run immediately
You do not need to create a PostgreSQL database for the default local flow. Army of Agents uses embedded PostgreSQL when
DATABASE_URL is unset.1. Clone and install
1
Clone the repository
2
Install dependencies
2. Start the local instance
For the fastest first run, use the CLI bootstrap:local_trusted configuration, uses embedded PostgreSQL, stores files locally, stores secrets locally in encrypted form, and starts the app.
Keep the command running and open the URL it prints. The default URL is:
3. Complete founder onboarding
A new user is routed to/onboarding. The flow resumes at the first incomplete step, so it is safe to refresh the browser or fix a failed check and continue.
1
Create your human profile
Enter your name, title, and timezone. This becomes the initial operator identity.
2
Name the company
Create the first company workspace. One Army of Agents instance can contain multiple companies.
3
Choose the company root folder
Pick an absolute folder path and let Army of Agents verify write access.
4
Configure Commander
Choose a supported Commander runtime and complete the local CLI verification if you want Commander available immediately.
5
Create the first department
Add a department and choose its workspace folder.
6
Create the first agent
Add an agent, select an adapter, and assign it to the department.
7
Review and finish
Confirm the setup summary and enter the product.
4. Verify the app is healthy
In another terminal, run:Local development command
If you want the normal developer process instead of the one-command bootstrap, run:Environment overrides
The quickstart respects inherited environment variables. Review your shell before using--yes if you have set values such as:
AOA_DEPLOYMENT_MODEHOSTDATABASE_URLAOA_PUBLIC_URL- storage or secrets variables
Troubleshooting
pnpm is missing
pnpm is missing
Install pnpm 9 or newer, then re-run
pnpm install.Port 3100 is already in use
Port 3100 is already in use
Stop the other process or set a different host or port configuration before starting Army of Agents.
The database looks stale during local testing
The database looks stale during local testing
Stop the app, remove the default local database folder, and start again:
rm -rf ~/.aoa/instances/default/db && pnpm dev.Commander CLI verification fails
Commander CLI verification fails
Confirm the selected local CLI is installed and authenticated outside Army of Agents, then retry the verification step.
Next steps
First agent run
Create a task, wake an agent, and inspect the result.
Core concepts
Learn the vocabulary behind Companies, Team, Commander, Crew, Tasks, Discussions, and Memory.