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.

479 B
Raw Blame
// OPTIONS
const VALUE_SIZES = [256, 224, 208, 160];

const defaultOpts = size => ({
  historyTypeName: `Trace${size}`,
  checkpointTypeName: `Checkpoint${size}`,
  checkpointFieldName: '_checkpoints',
  checkpointSize: size < 256 ? 1 : 2,
  keyTypeName: size < 256 ? `uint${256 - size}` : 'uint256',
  keyFieldName: '_key',
  valueTypeName: `uint${size}`,
  valueFieldName: '_value',
});

module.exports = {
  VALUE_SIZES,
  OPTS: VALUE_SIZES.map(size => defaultOpts(size)),
};