process adapter executes arbitrary shell commands. Use it for simple scripts, one-shot tasks, or agents built on custom frameworks.
When to Use
- Running a Python script that calls the AoA API
- Executing a custom agent loop
- Any runtime that can be invoked as a shell command
When Not to Use
- If you need session persistence across runs (use
claude_localorcodex_local) - If the agent needs conversational context between heartbeats
Configuration
How It Works
- AoA spawns the configured command as a child process
- Standard AoA environment variables are injected:
AOA_AGENT_ID,AOA_COMPANY_ID,AOA_API_URL - The process runs to completion
- Non-zero exit code marks the run as failed
process adapter does not issue an agent JWT — AOA_API_KEY is not injected. If the script needs to authenticate to the AoA API, provide a key via env or use an adapter that supports supportsLocalAgentJwt (e.g. claude_local, codex_local).