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.

903 B
Raw Blame
// Probe AgenC devnet state so the roundtrip example knows the real
// preconditions (protocol initialized? minimum stake? rate limits?).
// Run once during integration work; not part of the published surface.
import { createAgenCClient } from "../dist/index.js";
import { getProtocolConfig, getZkConfig } from "@tetsuo-ai/sdk";

const client = createAgenCClient({ cluster: "devnet" });
console.log("rpc:", client.connection.rpcEndpoint);
console.log("programId:", client.programId.toBase58());

const protocol = await getProtocolConfig(client.program);
console.log("protocol:", protocol ? JSON.parse(JSON.stringify(protocol, (_, v) =>
  typeof v === "bigint" ? v.toString() : v?.toBase58?.() ?? v,
)) : null);

const zk = await getZkConfig(client.program);
console.log("zkConfig:", zk ? JSON.parse(JSON.stringify(zk, (_, v) =>
  typeof v === "bigint" ? v.toString() : v?.toBase58?.() ?? v,
)) : null);