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
-- Two-phase ratcheting trailing stop (order type 'trail_ratchet').
-- ratchet holds { initial_stop_pct, tiers: [{ profit_pct, lock_pct }] }. The entry
-- price is orders.reference_price and the high-water mark is orders.peak_price.
ALTER TABLE orders ADD COLUMN IF NOT EXISTS ratchet JSONB;
ALTER TABLE orders DROP CONSTRAINT IF EXISTS orders_type_check;
ALTER TABLE orders ADD CONSTRAINT orders_type_check
CHECK (type IN ('limit','stop','trailing','trail_ratchet','dca','twap','conditional'));