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
docs(agent-protocol-sdk): say the agent_invocation program is not deployed yet
nirholas133ce5c9cc48
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.mdindex 108911b81..d5110283f 100644--- a/ARCHITECTURE.md+++ b/ARCHITECTURE.md@@ -2780,8 +2780,8 @@ External / vendored MCP (own repo, not a `@three-ws/*` workspace):| Artifact | Version | Chain ||---------|---------|-------|-| `skill_license` Anchor program | 0.1.0 | Solana (`EdngSwxmDktyrr4phwGEZnCXEoQ27vgnBtowjhKa7Wr8`) |-| `agent_invocation` Anchor program | 0.2.0 | Solana (`AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo`) |+| `skill_license` Anchor program | 0.1.0, not deployed | Solana (`EdngSwxmDktyrr4phwGEZnCXEoQ27vgnBtowjhKa7Wr8` is the `declare_id!`; the account is absent on mainnet and devnet as of 2026-08-11) |+| `agent_invocation` Anchor program | 0.2.0, not deployed | Solana (`AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo` is the `declare_id!`; the account is absent on mainnet and devnet as of 2026-08-11) || `ThreeWSFactory` | deployed-2026-05 | BSC, Base, Arbitrum || `ThreeWSPayments` | deployed-2026-05 | BSC, Arbitrum, Base || `IdentityRegistry` (ERC-8004) | deployed, 12 mainnets | Base, Arbitrum, ETH, Polygon, BNB, Optimism, Avalanche, Gnosis, Fantom, Celo, Linea, Scroll |diff --git a/agent-protocol-sdk/README.md b/agent-protocol-sdk/README.mdindex 8f695e682..4801478b4 100644--- a/agent-protocol-sdk/README.md+++ b/agent-protocol-sdk/README.md@@ -28,14 +28,19 @@> instruction, and submitted on-chain, where it emits a `SkillInvoked` event that> anyone can verify. Built for three.ws agent-to-agent (A2A) coordination.-> **Live.** The `agent_invocation` program is deployed and the SDK targets it by-> default. `AGENT_INVOCATION_PROGRAM_ID` is-> [`AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo`](https://explorer.solana.com/address/AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo) —-> the same program id on **mainnet-beta** and **devnet**. Just point `connection`-> at the cluster you want; the `programId` param is optional and only needed to-> target a different deployment. Deploy addresses, signatures, and the upgrade-> authority are recorded in-> [`contracts/agent-invocation/DEPLOYMENT.md`](https://github.com/nirholas/three.ws/blob/main/contracts/agent-invocation/DEPLOYMENT.md).+> **Program id, and where it stands.** `AGENT_INVOCATION_PROGRAM_ID` is+> [`AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo`](https://explorer.solana.com/address/AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo),+> the id baked into the program's `declare_id!` and therefore the same on every+> cluster. As of 2026-08-11 that account is **not yet deployed** on mainnet-beta+> or devnet: `invokeSkill` builds and signs a correct instruction, and the+> cluster rejects it until the program is published. Verify before you build on+> it (`solana account AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo`, or run+> `node scripts/onchain-smoke.mjs --only=solana-invoke` in the repo, which probes+> the cluster and reports the current state). Build and deploy instructions are+> in+> [`contracts/agent-invocation/README.md`](https://github.com/nirholas/three.ws/blob/main/contracts/agent-invocation/README.md).+> Once it is live, point `connection` at the cluster you want; the `programId`+> param stays optional and is only needed to target a different deployment.## Install@@ -63,7 +68,7 @@ const signature = await invokeSkill({targetAuthority, // target agent PDA is derived from thisskillName: 'summarize', // 1–64 bytesparameters: JSON.stringify({ url: 'https://example.com' }), // ≤512 bytes- // programId is optional — defaults to the live AGENT_INVOCATION_PROGRAM_ID.+ // programId is optional; it defaults to AGENT_INVOCATION_PROGRAM_ID.});console.log('invocation tx:', signature);@@ -112,7 +117,7 @@ const [agentPda, bump] = deriveAgentPda(authority, programId);| --- | --- | --- || `MAX_SKILL_NAME_LEN` | `number` | `64` — max `skillName` length in bytes. || `MAX_PARAMETERS_LEN` | `number` | `512` — max `parameters` length in bytes. |-| `AGENT_INVOCATION_PROGRAM_ID` | `string` | Live program id (`AgEnt…Zfo`), same on mainnet + devnet. |+| `AGENT_INVOCATION_PROGRAM_ID` | `string` | The program's `declare_id!` (`AgEnt…Zfo`), same on every cluster. || `IDL` | Anchor `Idl` | The `agent_invocation` IDL (Anchor 0.30+ format). || `AgentInvocation` | `type` | TypeScript type of `IDL` for `new Program<AgentInvocation>(...)`. || `InvokeSkillParams` | `interface` | Parameter shape for `invokeSkill`. |@@ -132,9 +137,10 @@ validation above.- **Node** `>= 18`.- **Peers / deps:** `@solana/web3.js@^1.98`, `@coral-xyz/anchor@^0.32`.- **A funded invoker.** `invokerAuthority` signs and pays the transaction fee, so- it needs a small SOL balance on the target cluster. The program itself is- already deployed — `AGENT_INVOCATION_PROGRAM_ID` points at the live program on- mainnet and devnet.+ it needs a small SOL balance on the target cluster.+- **A deployed program.** `AGENT_INVOCATION_PROGRAM_ID` is not on-chain yet (see+ the note at the top); until it is, submitting an invocation fails at the+ cluster. Check the account before you depend on it.## Linksdiff --git a/agent-protocol-sdk/src/idl.ts b/agent-protocol-sdk/src/idl.tsindex ba1feddb5..2263106c6 100644--- a/agent-protocol-sdk/src/idl.ts+++ b/agent-protocol-sdk/src/idl.ts@@ -2,9 +2,10 @@// contracts/agent-invocation/src/lib.rs. Anchor 0.30+ IDL format (carries its// own `address` + `metadata` and per-instruction discriminators).//-// The `address` below is the program's live id, deployed to both Solana mainnet-// and devnet (same program id on both clusters). Override it with-// `invokeSkill({ programId })` only to target a different deployment.+// The `address` below is the program's `declare_id!`, so it is the same id on+// every cluster. It is not deployed yet (see the README): submitting against it+// fails at the cluster until the program is published. Override it with+// `invokeSkill({ programId })` to target a different deployment.import type { Idl } from '@coral-xyz/anchor';diff --git a/data/changelog.json b/data/changelog.jsonindex 6b6b162a5..9478f2e55 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,16 @@{"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-08-11",+ "title": "The agent-to-agent invocation SDK now states the truth about its Solana program",+ "summary": "@three-ws/agent-protocol-sdk records agent-to-agent skill calls on Solana against the agent_invocation program. Its docs described that program as live and deployed on mainnet and devnet; the account is not on-chain yet, so anyone building on the promise hit a cluster rejection with no explanation. The README, the package constants table and the architecture reference now say exactly where the program stands and how to check the account yourself. The on-chain smoke harness that covers this path was checking a build artifact instead of the chain, so it reported a missing file rather than the deployment state; it now asks the cluster directly and runs from a clean checkout. Separately, the Solana address guard that verifies the $THREE mint and the pump.fun programs against mainnet on every build was reading a single RPC provider, so an exhausted provider key left it verifying nothing while still printing a clean result. It now walks the same provider failover chain the platform runs on.",+ "tags": [+ "fix",+ "sdk",+ "docs"+ ]+ },{"date": "2026-08-11","title": "Token pages keep their holder count when a data provider runs out of quota",diff --git a/prompts/swarm-100/sweep-solana-onchain.md b/prompts/swarm-100/sweep-solana-onchain.mddeleted file mode 100644index d767aa843..000000000--- a/prompts/swarm-100/sweep-solana-onchain.md+++ /dev/null@@ -1,86 +0,0 @@-# Sweep: Solana and on-chain verifications green--How to run: paste this file's repo path into a fresh Claude Code chat in this-repository and say "run this work order". This file is fully self-contained:-it depends on no other prompt file anywhere. If neighboring files in-prompts/swarm-100/ are gone, that work is done; if present, ignore them.-Every claim below rots; step 0 re-measures, and what you measure wins.--## Operating clause (binding)--- Read CLAUDE.md first. Its rules override everything, including this file.-- Finish 100% in this session. Never end the turn with a question, an option- list, or an unexecuted plan. A judgment call goes in one line of the final- report; it never becomes a question that halts work.-- The only permitted stops are the CLAUDE.md stop-and-ask gates: spending real- funds or any irreversible on-chain write, git push or a production deploy,- committing content that references a crypto project other than $THREE, and- destroying unrecoverable data.-- No mocks, no fake data, no placeholder stubs, no unfinished-work markers, no- commented-out code. Real APIs and real integrations only.-- The em-dash and en-dash characters are banned in everything you write.-- Concurrent agents share this worktree: stage explicit paths only (never a- bare add-everything), and commit finished work promptly.-- Before committing, run: npm run check:rules -- --paths <files you touched>.- It must exit 0.--## Step 0: re-derive the current state--Run the sweep's own command first and work from its output, not from any-memory of what used to fail:-- npm run verify:solana && npm run verify:onchain && npm run smoke:onchain--Capture the full output to the session scratchpad; do not work from an-excerpt.--## Task--Run all three. Fix RPC config, drifted addresses, and broken read paths at root. Read-only: no transaction may be signed or sent. Solana is the home chain; if an EVM leg is broken, fix it too but never at the cost of the Solana path.--Fix everything found in this sweep's scope. Findings that belong to a-different surface entirely (and would take this session off its one task) go-in the report as named follow-ups instead; everything in scope gets fixed-here, at root, with no masking.--## Definition of done--- [ ] The command above exits 0 (or, for measurement-style sweeps, the report- carries the measured numbers and every committed fix).-- [ ] Every fix is a root-cause fix; no check was weakened, skipped, or- quarantined to get to green.-- [ ] npm run check:rules -- --paths <touched files> exits 0; npm test passes- if code changed.--## Never blocked--| Blocker | Resolution (act, do not ask) |-|---|---|-| Missing env var or credential | Check .env and .env.local, then the Cloud Run service env, then Secret Manager (the CLAUDE.md self-unblock playbook has the exact commands). If it truly exists nowhere, wire the code fully behind the env var, prove the wiring with a dry run, and name the single missing var in the report. |-| gcloud not on PATH | Run: export PATH="$HOME/google-cloud-sdk/bin:$PATH" |-| Dev server port 3000 busy | Another agent may be serving this repo; probe it and reuse if so. Otherwise start your own on a free port: npx vite --port 3101 |-| Playwright browser missing | npx playwright install chromium |-| A surface needs a signed-in user | Register a fresh account through the real /register flow against the real API and use it. Never mock the session. |-| A defect sits in code you did not touch | Fix it if it blocks a Definition of done line (root cause it, never mask it). Otherwise note it in the report and continue. |-| An unrelated test is red | Same rule. Never pipe npm test through tail; it masks exit codes. |--## Close out (required)--1. Verify every Definition of done line with the actual command output in- front of you. Never claim a line you did not verify.-2. Commit with explicit paths and a subject that describes the diff (house- style: type(scope): what changed and why a reader cares).-3. Delete this prompt file in that same commit:-- git rm prompts/swarm-100/sweep-solana-onchain.md-- The shrinking directory is this campaign's only progress ledger; there is- no progress log to update.-4. Final report: what step 0 measured, what changed (file list), evidence per- Definition of done line, and any one-line judgment calls. No trailing- questions, no unexecuted plans.--If a line genuinely cannot pass inside this session (an external party must-respond, or an owner-gated action is the final step), finish everything else,-leave this file in place, and state exactly which line remains and who owns-it. Never delete this file on a partial.