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
import { describe, it, expect } from 'vitest';
import { randomAgentName, ADJECTIVES, NOUNS } from '../src/shared/agent-names.js';
describe('agent-names', () => {
it('produces "Adjective Noun" from the wordlists', () => {
const name = randomAgentName();
const [adj, noun] = name.split(' ');
expect(ADJECTIVES).toContain(adj);
expect(NOUNS).toContain(noun);
});
it('is deterministic under an injected RNG', () => {
expect(randomAgentName(() => 0)).toBe(`${ADJECTIVES[0]} ${NOUNS[0]}`);
expect(randomAgentName(() => 0.999999)).toBe(
`${ADJECTIVES[ADJECTIVES.length - 1]} ${NOUNS[NOUNS.length - 1]}`,
);
});
it('never returns an out-of-range pick even when rand returns 1', () => {
const name = randomAgentName(() => 1);
expect(name).not.toContain('undefined');
});
});