Skip to content

feat: add spawn provider skill for delegated replication#94

Open
invisiblemonsters wants to merge 1 commit intoConway-Research:mainfrom
invisiblemonsters:feat/spawn-provider-integration
Open

feat: add spawn provider skill for delegated replication#94
invisiblemonsters wants to merge 1 commit intoConway-Research:mainfrom
invisiblemonsters:feat/spawn-provider-integration

Conversation

@invisiblemonsters
Copy link

Summary

Adds a spawn provider skill that enables automatons to replicate through third-party spawn-as-a-service providers, as an alternative to direct self-replication.

How it works

  1. Automaton discovers spawn providers via the x402 protocol at /.well-known/x402
  2. Finds the /api/spawn endpoint and its USDC price
  3. Constructs an x402 payment (USDC on Base chain)
  4. POSTs to the provider's spawn endpoint with payment proof

The provider handles all infrastructure concerns: sandbox provisioning, wallet generation, API key setup, and credit purchase.

Changes

  • src/skills/spawn-provider.ts — New skill with provider discovery, spawn request types, and the spawn-via-provider function
  • README.md — Added Spawn Providers subsection under Self-Replication

Why

Direct replication requires the automaton to manage Conway sandbox provisioning, wallet generation, SIWE auth, and credit purchases. Delegating to a spawn provider simplifies this to a single API call + USDC payment. This also opens the door to a marketplace of spawn providers with different templates and capabilities.

Reference implementation: https://github.com/invisiblemonsters/automaton-service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant