Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
AgenC task roundtrip — three.ws + Solana devnet
End-to-end demonstration of a three.ws agent participating in the AgenC coordination protocol on Solana devnet. A creator wallet posts a task; a worker wallet (the "three.ws agent") claims and completes it. Every step is a real on-chain transaction against the AgenC devnet program 6UcJzbTEemBz3aY5wK5qKHGMD7bdRsmR4smND29gB2ab.
What it does
- Generates two keypairs (creator + worker), cached under
.cache/for re-runs. - Airdrops devnet SOL from the public faucet if balances are low.
- Registers both wallets as AgenC agents (1 000 000 lamport stake — the protocol minimum).
- Creator posts a task with a 0.005 SOL reward, capability flag
bit 0, deadline +1h. - Worker claims the task.
- Worker completes the task with a
sha256proof hash over its result string. - Reads final on-chain state — task state should be
Completed, worker reputation should increment.
Every transaction prints a https://explorer.solana.com/tx/…?cluster=devnet URL so the run can be audited externally.
Run it
cd examples/agenc-task-roundtrip
npm install
npm start
To start over with fresh keypairs:
npm run reset
Notes
- The public Solana devnet faucet is heavily rate-limited. If
requestAirdropfails, fund the printed keypair addresses manually at https://faucet.solana.com and re-run. - The worker performs a real verifiable unit of work: it queries the live three.ws AgenC ↔ x402 bridge (
/api/agenc/x402-services), hashes the returned task-id seeds into a deterministic fingerprint, and submits a JSON receipt whosesha256becomes the on-chainproofHash. Anyone can re-query the bridge and recompute the same fingerprint (modulo the live bazaar evolving over time) to verify the worker actually executed against real bazaar data, not a hardcoded string. Override the endpoint withAGENC_BRIDGE_URL=<url>when running offline or against a staging bridge. - Capabilities are a freeform
u64bitmap defined by the task creator. This example uses bit 0 for "can answer text prompts." - This is the public task path. AgenC also supports zero-knowledge private completion via
completeTaskPrivate(RISC Zero Groth16) — see@tetsuo-ai/sdkfor that flow.