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.

584 B
Raw Blame
/**
 * @three-ws/avatar-stream - progressive 3D over plain HTTP.
 *
 * This entry is isomorphic and dependency-free: the container format and the
 * streaming reader, nothing that assumes Node or a GPU. Import `./three` for the
 * renderer binding, or `./node` for the packer.
 */

export {
	MAGIC_STRING,
	PREAMBLE_BYTES,
	FORMAT_VERSION,
	VERSION_TAG,
	RECOMMENDED_PREFIX_BYTES,
	align4,
	decodePreamble,
	encodePreamble,
	decodeHeader,
	encodeContainer,
	rangeForLayer,
	rangeHeaderForLayer,
} from './format.js';

export { A3SStream, bytesSource, httpSource } from './reader.js';