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.

1010 B
Raw Blame
-- Activity ledger for the autonomous agent engine (api/_lib/circulation.js).
-- Records every action a platform-operated agent takes (tips, payments, trades,
-- launches, on-chain deploys, reviews, funding top-ups) for pacing + observability.
-- The engine also creates this table lazily, so this migration is belt-and-suspenders.

create table if not exists circulation_actions (
    id                    bigserial primary key,
    kind                  text not null,
    network               text,
    actor_agent_id        uuid,
    counterparty_agent_id uuid,
    signature             text,
    amount_lamports       bigint,
    status                text not null default 'ok',
    detail                jsonb not null default '{}'::jsonb,
    created_at            timestamptz not null default now()
);

create index if not exists circulation_actions_created on circulation_actions(created_at desc);
create index if not exists circulation_actions_kind on circulation_actions(kind, created_at desc);