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
add xspace-agent/xspace-agent/providers/index.js
overstepping50f63879b29e
diff --git a/xspace-agent/xspace-agent/providers/index.js b/xspace-agent/xspace-agent/providers/index.jsnew file mode 100644index 000000000..42220e56d--- /dev/null+++ b/xspace-agent/xspace-agent/providers/index.js@@ -0,0 +1,26 @@+// SPDX-License-Identifier: Apache-2.0+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§69]++// DEPRECATED: Use packages/core (xspace-agent) instead.+// This file is kept for backward compatibility with server.js.+// Will be removed in v1.0.++const AI_PROVIDER = (process.env.AI_PROVIDER || "openai").toLowerCase()++function createProvider() {+ switch (AI_PROVIDER) {+ case "claude":+ return require("./claude")+ case "groq":+ return require("./groq")+ case "openai-chat":+ return require("./openai-chat")+ case "openai":+ default:+ return require("./openai-realtime")+ }+}++module.exports = { createProvider, AI_PROVIDER }++