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
feat: update execution plan to emphasize UI-driven trading process and clarify owner directives
nrpoe5daa1b331f5
diff --git a/packages/agent-sniper/runbooks/LOG.md b/packages/agent-sniper/runbooks/LOG.mdindex efdc415a5..edb64ec69 100644--- a/packages/agent-sniper/runbooks/LOG.md+++ b/packages/agent-sniper/runbooks/LOG.md@@ -33,9 +33,19 @@ what was recorded, and what's next. Pairs with [PLAN.md](PLAN.md).- 33 throwaway wallets generated (funder `GiE8Rv…`) — **pre-vanity**; will be replaced byvanity keypairs in Phase 2.-**Open / next:**-- ⚠️ Owner decision: trading-UI approach A (autonomous + agent-screen) vs B (scripted- manual UI). Recommended A. Blocks funding/trading phases.-- Need a three.ws API key / session (`agents:write`) to import wallets / drive agent-screen.-- Verify `WALLET_ENCRYPTION_KEY` decrypts a known agent before provisioning.-- Then: Phase 1 avatars → Phase 2 vanity wallets → Phase 3 provision.+**UI recon (owner directive: do EVERYTHING via the real three.ws UI, recorded).**+- Traced the full human click-path in source — all core steps are UI-doable:+ `/register` → `/create-agent` (avatar from gallery) → `/agent/{id}/edit` Wallet panel →+ **arm at `/dashboard/sniper`** (full fields + stop-loss + Arm button; NOT `/oracle/arm`,+ NOT the broken agent-edit "Alpha Hunt") → watch at `/agent-screen`/`/terminal` →+ optional manual buy at `/terminal`.+- **Honest gaps flagged to owner:** (1) **vanity wallets not UI-doable** — UI makes random+ wallets, no key import; (2) **funding fan-out is external** (on-chain transfer from the+ funder, not a three.ws click); (3) **Avaturn not in normal UI** (gallery/upload only).++**Open / next (blocking, owner decisions):**+- Vanity vs random UI wallets? (vanity ⇒ a non-UI import step).+- Account: register a fresh three.ws account in-UI, or use the owner's login?+- Then execution shifts to a **recorded single-agent UI dry-run** (register → create →+ arm → watch) to prove the human-UI + continuous-recording flow before scaling to 33.+- Retire the CLI-first framing of runbooks 01–03; keep as fallback only (owner-flagged).diff --git a/packages/agent-sniper/runbooks/PLAN.md b/packages/agent-sniper/runbooks/PLAN.mdindex 45ae146ff..239ddfd43 100644--- a/packages/agent-sniper/runbooks/PLAN.md+++ b/packages/agent-sniper/runbooks/PLAN.md@@ -76,24 +76,35 @@ narrative Y + Fable conviction 0.8").- Budget: small per wallet; keep ~0.012 SOL/wallet fee headroom + ~0.002 SOL rent/position.- Every disbursement tx is recorded on camera (terminal + Solscan).-## 6. Trading via the three.ws UI ⚠️ key architecture decision--The requirement: *each of the 33 uses the actual three.ws UI to conduct trades, recorded.*-The sniper engine is **autonomous** (it executes buys itself) — agents don't click "Buy"-in a form. So "using the three.ws UI" resolves to one of:--- **(A) Autonomous + per-agent Agent-Screen (recommended).** The engine executes each- agent's trades; each agent has a live `/agent-screen?agentId=…` that shows a browser- doing its work (scanning, deciding, the trade landing) with its 3D avatar cam. We- record each agent's screen. This is the real "agent-driven browser" three.ws feature- and scales to 33. Trades also surface on `/play/arena`, `/theater`, `/terminal`.-- **(B) Scripted manual UI trades.** Drive a Playwright browser to literally click through- a three.ws trade UI (`/terminal` "sign in to trade") once per agent. Faithful to- "clicking the UI" but slow, fragile at 33×, and fights the autonomous design.--**Recommendation: (A)** — it's authentic to how three.ws actually works, scales, and-still shows every trade happening in the product UI, per agent. **Owner to confirm A vs B-before Phase 4.**+## 6. Execution via the REAL three.ws UI (owner directive — non-negotiable)++Everything is done by driving a browser (Playwright/Chromium) **as a human on three.ws**,+recorded. If any step can't be done in the UI, STOP and tell the owner before doing it+differently. **Confirmed UI click-path (verified in source 2026-07-03):**++| Step | Route | What the human does | Verdict |+|---|---|---|---|+| Sign in / register | `/login`, `/register` | email+password (or Privy OTP / wallet). No email-verify gate. | ✅ UI |+| Create agent + rigged avatar | `/create-agent` | wizard → pick avatar from **starter gallery / my avatars / upload GLB** → `POST /api/agents` | ✅ UI (⚠️ no Avaturn picker — gallery only) |+| View the agent's Solana wallet | `/agent/{id}/edit` → Wallet panel | see address, balances, Copy, **Fund (QR deposit)** | ✅ UI (view/deposit only) |+| Arm the sniper | **`/dashboard/sniper`** | per-agent editor: trigger, per-trade SOL, daily budget, stop-loss (req), TP, trailing, slippage, Jito → **"Arm strategy"** button → `POST /api/sniper/strategy` | ✅ UI (use THIS, not `/oracle/arm`, not agent-edit "Alpha Hunt" which is broken) |+| Watch it trade | `/agent-screen?agentId=`, `/dashboard/sniper`, `/terminal` | live positions/PnL, 3D avatar, treasury cockpit | ✅ UI |+| Manual per-coin buy (optional) | `/terminal` | select agent → click a launch → **Buy** (SOL presets, live quote) → `POST /api/agents/:id/solana/trade` | ✅ UI |++**"Sniping" is set up in the UI, executed by the platform.** A human arms the sniper at+`/dashboard/sniper`; three.ws then buys autonomously. That IS the human-on-three.ws flow.+(If the owner wants literal per-coin manual clicking instead, `/terminal` supports it —+but that's a different, slower video.)++### ⚠️ Where the UI can't match the plan (flagged, owner to decide)++- **Vanity wallets — NOT UI-doable.** three.ws auto-generates a *random* wallet per agent;+ there's no import-keypair button. Vanity requires importing keys outside the UI+ (breaks "UI-only"). **Decision:** random UI wallets, or allow a non-UI key-import step.+- **Funding fan-out — NOT a three.ws UI action.** Sending SOL to the 33 addresses is an+ on-chain transfer from the `niChP` funder (external wallet), not a three.ws click. We+ record it (terminal + Solscan) but it happens outside the product UI.+- **Account** — need a three.ws login. Register a fresh account in-UI, or use the owner's.## 7. Recording plan (the deliverable)