Releases: Conway-Research/automaton
Releases · Conway-Research/automaton
v0.2.1
What's Changed
Sandbox Spawn Reliability
- Auto-topup on 402: When sandbox creation fails with
INSUFFICIENT_CREDITS, automatically top up credits via x402 and retry once — both the orchestratorspawnAgentandspawn_childtool paths - Fix sandbox pricing tiers: Align
createSandboxspecs with valid Conway tiers using a lookup table (was sending invalid1 vCPU / 1024 MB / 5 GB) - Remove sandbox deletion: Conway API no longer supports
DELETE /v1/sandboxes—deleteSandboxis now a no-op, all callers updated
Replication Fixes
- Self-replication scoping: Replication tools now correctly target the child sandbox, not the parent
- Self-mod edits:
git-versionsource edits now resolve to the repo root
Other
- Configurable max turns per wake cycle
- Memory error learning to prevent repetitive tool failures
- Various community fixes (discovery pagination, ESM imports, SQL injection prevention)
v0.2.0 — Plan A: Orchestration + Memory Subsystem
v0.2.0 — Plan A: Orchestration + Memory Subsystem
Orchestration Engine
- Task Graph — DAG-based task decomposition with dependency resolution, cycle detection, retry logic
- Orchestrator — State-machine tick loop (idle → classify → plan → review → execute → complete/failed)
- Planner — LLM-powered goal decomposition with custom roles, cost estimation, dependency validation
- Plan Mode — Execution state controller with phase transitions, plan persistence, replan triggers
- Health Monitor — Agent health checks (heartbeat, stuck tasks, error loops, credit depletion) with auto-heal
- Messaging — Typed inter-agent messaging with priority routing, retry backoff, pluggable transport
- Local Worker Pool — In-process multi-agent execution for local dev (no Conway sandbox required)
- Attention Pattern — Manus-style todo.md injection for persistent goal tracking every turn
Memory Subsystem
- Context Manager — Model-aware context assembly with token-budget enforcement
- Compression Engine — 5-stage progressive compression cascade (compact → compress → summarize → checkpoint → truncate)
- Event Stream — Append-only event log with compaction and pruning
- Knowledge Store — Cross-agent knowledge base with category-based retrieval
- Enhanced Retriever — Metadata-based relevance scoring, dynamic budget, feedback tracking, query enhancement
- Agent Context Aggregator — Triage-based child update aggregation
Inference
- Unified Inference Client — Multi-provider client with tier routing, retry/failover, circuit breaker, survival mode
- Provider Registry — Model configuration with tier resolution, Conway Compute API fallback
Agent Improvements
- Comprehensive system prompt — Structured orchestration context with capabilities, constraints, state machine, error handling, anti-patterns, circuit breakers, and turn protocol
- 7 orchestration tools — create_goal, list_goals, cancel_goal, get_plan, complete_task, orchestrator_status + existing spawn/fund tools
- Agent spawning — Conway sandbox → local worker → self-assignment fallback chain
- Goal dedup — Max 1 active goal, duplicate detection, BLOCKED message tells agent to sleep
- Identity registration — Automaton registers with Conway on startup (merged PR #216)
Bug Fixes
- Fixed duplicate
normalizeTaskResult(shared export from task-graph.ts) - Renamed
FundingProtocol.addr→childAddressper spec - Added
rolecolumn to children table (V9 ALTER migration) - Wired
handlePlanReviewPhaseto callreviewPlan() - Fixed
SimpleFundingProtocol.getBalancereturning parent's balance instead of child's - Fixed orchestrator stuck in failed phase (now resets to idle)
- Fixed planner empty-task fallback (single generalist task instead of failing)
- Fixed spawn ENOENT (mkdir before writeFile in sandbox)
- Skip funding/messaging for local workers and self-assigned tasks
- Bridge config API keys to env vars for provider registry
- Conway Compute API as inference fallback when no OpenAI key
Tests
- 190+ new tests across 10 test files (unit + integration)
- Orchestrator, planner, simple-tracker, health-monitor, agent-context-aggregator
- Plan-execute flow, multi-agent coordination, compression cascade, inference failover, memory retrieval
v0.1.0 — Production-Ready Runtime
Conway Automaton v0.1.0
The first production-ready release of the sovereign AI agent runtime.
Highlights
Safety & Policy (Phase 0)
- 7-layer defense-in-depth security model
- Policy engine evaluating every tool call against 6 rule categories
- Input sanitization with 8 injection detection checks
- Path protection for constitution, wallet, database, and config files
- Command safety rules blocking self-destructive patterns
Runtime Reliability (Phase 1)
- DurableScheduler with DB-backed heartbeat, task leases, and cron expressions
- Resilient HTTP client with retry, backoff, and circuit breaker
- Atomic inbox message processing with state machine (received -> in_progress -> processed)
- Treasury policy enforcement with configurable spending limits
- Balanced financial state caching to survive transient API failures
Cognition Layer (Phase 2)
- SOUL.md structured identity model with versioned history and genesis alignment
- 5-tier memory system: working, episodic, semantic, procedural, relationship
- Inference router with survival-tier-aware model selection and budget tracking
Ecosystem (Phase 3)
- Child automaton lifecycle state machine with health monitoring
- ERC-8004 on-chain agent registration and discovery
- Signed social messaging with relay polling and backoff
- Constitution propagation and integrity verification for children
Operational Excellence (Phase 4)
- Structured logging across all modules
- Metrics collector with counters, gauges, and histograms
- Alert engine with 7 default rules and cooldown management
- 897 tests across 24 test files
- CI/CD with GitHub Actions (Node 20/22 matrix, security audit)
Credit Topup via x402
- Bootstrap topup on startup ($5 minimum from USDC)
topup_creditstool for agent-controlled purchases ($5-$2,500 tiers)- Heartbeat wakes agent when USDC is available but credits are low
What's Included
- 69 built-in tools across 10 categories
- 11 heartbeat tasks with configurable schedules
- 22 database tables across 8 schema versions
- Interactive setup wizard with SIWE provisioning
- Local mode (no sandbox required) and sandbox mode with 403 fallback
- Comprehensive ARCHITECTURE.md and DOCUMENTATION.md
Getting Started
git clone https://github.com/Conway-Research/automaton.git
cd automaton
pnpm install && pnpm build
node dist/index.js --runOr one-line in a Conway sandbox:
curl -fsSL https://conway.tech/automaton.sh | shSee DOCUMENTATION.md for the full user guide.