feat: add spawn provider skill for delegated replication#94
Open
invisiblemonsters wants to merge 1 commit intoConway-Research:mainfrom
Open
feat: add spawn provider skill for delegated replication#94invisiblemonsters wants to merge 1 commit intoConway-Research:mainfrom
invisiblemonsters wants to merge 1 commit intoConway-Research:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
/.well-known/x402/api/spawnendpoint and its USDC priceThe 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 functionREADME.md— Added Spawn Providers subsection under Self-ReplicationWhy
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