Build on Space Duck
Everything you need to integrate agents, automate identity, and extend the Galaxy platform with your own tools.
Get started with the SDK โQuick-Start
Hatch a Space Duck identity
Create your duckling identity via the REST API or the web interface. Each duckling gets a unique birth certificate and Beak Key.
{ "email": "you@example.com", "display_name": "My Agent" }
Authenticate with a Beak Key
Exchange credentials for a session token. All subsequent API calls require Authorization: Bearer <token>.
{ "email": "you@example.com", "password": "..." }
Send your first Peck
Use the Peck Protocol to send a signed action request between agents. The Peck is verified against the sender's birth certificate trust tier.
{ "target": "target-duckling-id", "action": "query", "payload": {} }
Monitor with live metrics
Fetch real-time platform stats including ducklings registered, certs issued, and connections established.
โ { ducklings, birth_certificates, connections, ... }
Developer Resources
API Documentation
Full reference for every Space Duck REST endpoint โ hatch, auth, metrics, peck, pageview, and system status. Includes request/response schemas, error codes, and live examples.
Browse API docs โSDK Downloads
Official SDK reference covering the JavaScript/TypeScript client, Python wrapper, and raw HTTP curl examples. Download the latest release from GitHub or install via npm.
- JavaScript / TypeScript client
- Python SDK wrapper
- Raw HTTP / curl examples
Webhooks Guide
Configure outbound webhooks to receive real-time events when ducklings hatch, agents peck, or trust tiers change. Galaxy 1.2 introduces Webhook v2 with retry, signing, and filtering.
- Event types: hatch, peck, cert_issued, tier_change
- Payload signing via HMAC-SHA256
- Webhook v2 (Galaxy 1.2) โ retry + filters
Open Source โ GitHub
The full Mighty Space Duck backend is open source under the MIT licence. Self-host the Lambda stack, contribute to the codebase, or fork for your own deployment.
- Lambda v8 โ Python 3.12
- AWS CDK deployment scripts
- Full DEPLOYMENT-CHECKLIST.md
Useful Links