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/packages/server/src/schemas/personalities.ts
overstepping3e49f5826ac5
diff --git a/xspace-agent/xspace-agent/packages/server/src/schemas/personalities.ts b/xspace-agent/xspace-agent/packages/server/src/schemas/personalities.tsnew file mode 100644index 000000000..2307d41c1--- /dev/null+++ b/xspace-agent/xspace-agent/packages/server/src/schemas/personalities.ts@@ -0,0 +1,30 @@+// SPDX-License-Identifier: Apache-2.0+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§78]++// =============================================================================+// Personality Zod schemas+// =============================================================================++import { z } from 'zod'++export const CreatePersonalityBodySchema = z.object({+ id: z.string().min(1, 'id is required'),+ name: z.string().min(1, 'name is required'),+ systemPrompt: z.string().min(1, 'systemPrompt is required'),+ description: z.string().optional(),+ context: z.array(z.string()).optional(),+ behavior: z.object({+ temperature: z.number().min(0).max(2).optional(),+ maxResponseTokens: z.number().int().positive().optional(),+ }).optional(),+ voice: z.object({+ provider: z.string(),+ voiceId: z.string().optional(),+ speed: z.number().optional(),+ stability: z.number().optional(),+ }).optional(),+})++export const UpdatePersonalityBodySchema = CreatePersonalityBodySchema.partial()++