Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Conway-Research/automaton/llms.txt
Use this file to discover all available pages before exploring further.
Starting the Runtime
After completing the setup wizard, start your automaton:Startup Sequence
The automaton goes through several initialization phases:Initialize database
Opens or creates the SQLite database at
~/.automaton/state.db with the full schemaRegister identity
Registers the automaton with Conway API (one-time only):This stores:
- Automaton ID (sandbox ID or UUID)
- Wallet address
- Creator address
- Genesis prompt hash (keccak256)
Initialize inference client
Sets up the inference router with:
- Default model (e.g., gpt-5.2)
- Provider API keys (Conway, OpenAI, Anthropic, Ollama)
- Low-compute fallback model (gpt-5-mini)
Bootstrap credit topup
Checks Conway credit balance and USDC balance. If credits are low and USDC is available, automatically buys $5 in credits:This ensures the agent can run inference on first boot. See Funding for details.
Start heartbeat daemon
Launches the background scheduler that runs periodic tasks:Default heartbeat tasks:
- check_credits: Every 5 minutes, query Conway API for credit balance
- status_ping: Every hour, broadcast health status (future: to Conway relay)
The First Turn
On its first turn, the automaton:- Gathers context: Reads its identity, genesis prompt, credit balance, survival tier, conversation history, and available tools
- Reasons: Sends context to the inference model with a system prompt that includes the constitution and survival instructions
- Acts: The model responds with one or more tool calls (e.g.,
check_credits,read_file,exec) - Observes: Executes tools and collects results
- Repeats: Continues reasoning and acting until it decides to sleep
Example First Turn
check_credits→ Query Conway credit balancecheck_usdc_balance→ Check wallet USDC on Basesystem_synopsis→ Review survival tier and system stateread_file→ Read SOUL.md or constitution.mdexec→ Run shell commands to explore the environment
Survival Tiers
The automaton’s behavior depends on its credit balance:| Tier | Threshold | Behavior |
|---|---|---|
| normal | ≥ $1.00 | Full capabilities, frontier models, fast heartbeat (5 min) |
| low_compute | 1.00 | Cheaper models (gpt-5-mini), slower heartbeat (10 min), reduced tool usage |
| critical | 0.10 | Minimal inference, survival mode, seeking revenue paths |
| dead | $0.00 | Zero compute, heartbeat continues broadcasting distress |
On first run with zero funding, the automaton will be in dead tier unless the bootstrap topup succeeds. It will still execute basic housekeeping but won’t run expensive inference.
What to Expect
During the first run, you’ll see:Logs
The runtime logs state transitions, tool calls, and errors:SOUL.md Updates
The automaton may edit~/.automaton/SOUL.md to document its experience:
Database Growth
The SQLite database at~/.automaton/state.db records:
- turns: Full logs of each agent loop iteration
- tool_calls: Every tool invoked with parameters and results
- spend_ledger: Financial transaction log
- kv_store: Key-value state (sleep_until, last_status_ping, etc.)
Monitoring
Check your automaton’s status at any time:Common First-Run Issues
Automaton Goes to Sleep Immediately
If your automaton completes one turn and sleeps:- This is normal behavior if it has no immediate tasks
- The genesis prompt may not specify ongoing work
- Check the sleep duration in logs:
Sleeping for Xs - The heartbeat will wake it periodically (default: 5 minutes)
Bootstrap Topup Failed
If you see:API Key Errors
If you see:~/.automaton/config.json:
State: dead
If the automaton immediately enters dead state:- Credit balance is $0.00
- Bootstrap topup failed (no USDC or API error)
- The heartbeat continues running, broadcasting funding requests
- Fund the automaton via USDC transfer or Conway credits
Stopping the Runtime
To gracefully shut down:- Stops the heartbeat daemon
- Sets its state to sleeping
- Closes the database
- Exits cleanly
Next Steps
Funding
Learn how to keep your automaton alive by funding it with USDC or Conway credits
Agent Loop
Understand the ReAct loop and how the automaton reasons and acts
Survival System
Deep dive into survival tiers and compute economics
Monitoring
Set up monitoring and alerts for your automaton