Skip to content

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.

517 B
Raw Blame
-- Per-agent inference budgets are judged against every credit_ledger row booked
-- as model spend for one agent (ref_type 'agent'): the flat three-ws/agent rate
-- ('inference.agent') and a v1 run's paid lanes ('agent_run_step'). The older
-- partial index covers only the first action, so the budget read would scan the
-- month's ledger once runs are counted too. Additive and idempotent.

CREATE INDEX IF NOT EXISTS credit_ledger_agent_spend
	ON credit_ledger (ref_id, created_at DESC)
	WHERE ref_type = 'agent';