Installation & Setup
AOF can be installed in two modes: as an OpenClaw plugin (recommended) or as a standalone CLI/daemon.
Prerequisites
- Node.js 22+ (AOF uses native ES modules)
- npm 9+
- OpenClaw (for plugin mode) — see openclaw.dev
OpenClaw Plugin Mode
This is the recommended installation for agent deployments. AOF registers directly with the OpenClaw gateway and exposes tools to all connected agents.
-
Install AOF
Terminal window npm install -g aofOr add it to your project:
Terminal window npm install aof -
Run the integration wizard
Terminal window aof initThis wizard will:
- Locate your OpenClaw config (
~/.openclaw/openclaw.json) - Register the AOF plugin and add it to the allow list
- Sync your org chart with OpenClaw’s registered agents (bidirectional)
- Optionally configure AOF as the memory provider
- Install the AOF companion skill to
~/.openclaw/skills/aof/
- Locate your OpenClaw config (
-
Restart the OpenClaw gateway
Terminal window openclaw gateway restart -
Verify registration
Terminal window openclaw gateway statusYou should see
aoflisted in the active plugins.
Manual Plugin Registration
If you prefer to configure manually, add AOF to your ~/.openclaw/openclaw.json:
{ "plugins": { "aof": { "enabled": true, "config": { "dryRun": false, "dataDir": "~/.openclaw/aof", "gatewayUrl": "http://127.0.0.1:18789", "gatewayToken": "your-token-here", "maxConcurrentDispatches": 3 } } }}Standalone Mode
Use standalone mode when you’re not running OpenClaw, or for CI/CD environments.
-
Clone and build
Terminal window git clone https://github.com/Seldon-Engine/aof.gitcd aofnpm installnpm run build -
Optional: add to PATH
Terminal window # Add to your shell config (.zshrc, .bashrc, etc.)alias aof="node /path/to/aof/dist/cli/index.js" -
Initialize a project
Terminal window aof initThis runs an interactive wizard that creates your project structure.
-
Start the daemon
Terminal window aof daemon startaof daemon status
Initializing a project
The aof init command connects AOF to your OpenClaw installation:
# Interactive (recommended)aof init
# Non-interactive — accept all defaultsaof init --yesThe wizard runs four steps: plugin registration, org chart sync, memory configuration (optional), and companion skill installation. Each step is idempotent, so it’s safe to re-run.
See the CLI reference for a full walkthrough of what each step does.
Task directories (tasks/backlog/, tasks/ready/, etc.) are created automatically by AOF as tasks are written — you don’t need to create them manually.
Memory Module Configuration
AOF includes an optional memory module (disabled by default). To enable it:
{ "plugins": { "aof": { "config": { "modules": { "memory": { "enabled": true } }, "memory": { "embedding": { "provider": "openai", "model": "text-embedding-3-small", "apiKey": "sk-..." }, "search": { "hybridEnabled": true, "vectorWeight": 0.7, "bm25Weight": 0.3, "maxResults": 10 } } } } }}Verifying Your Installation
# Check CLI is workingaof --version
# Check daemon health (if running)curl http://localhost:18100/health
# Validate org chartaof org validate
# Run a dry scheduler cycleaof scheduler runStructuring Your Team
The aof init wizard imports your agents as a flat list. To organize them into an actual Software Development Life Cycle (SDLC) with roles, routing rules, and workflow gates, use the SDLC Setup Prompt.
Read the guide on Generating an SDLC Org Chart for the interactive prompt to give your main agent.
Next Steps
- Quick Start Tutorial — Create your first org chart and dispatch a task
- Configuration Reference — All config keys and defaults