How to Build Spatial AI Assistants with New MoE Models

Introduction: Why AI assistants are meeting spatial computing

Over the past few months, the boundary between the digital and physical worlds has become increasingly blurred. New foundational models, such as Baidu’sERNIE 5.5 Flash Base(a 280 billion-parameter MoE model with only 14 billion active parameters) and Together AI’sTogether Compilerplatform, are making AI assistants faster, cheaper, and capable of understanding 3D inputs in real time. This article demonstrates how to leverage these latest advancements to create AI assistants that interact naturally with spatial environments (AR, VR, 3D interfaces) and generate useful content, such as assets, layouts, or context-based actions.

What is spatial computing and why is it important for AI assistants

Spatial computing encompasses the technologies that enable computers to interpret, map, and interact with three-dimensional space. It includes:

  • Depth cameras and built-in LiDAR sensors in wearable devices
  • Real-time GPU-based rendering (WebGL 2, Vulkan, Metal)
  • Cross-platform spatial APIs (Apple ARKit, Google ARCore, Unity XR)

When an AI assistant can perceive coordinates, objects, and gestures, it can provide more relevant suggestions. For example, it can overlay design instructions onto a physical product, generate an adaptive 3D user interface, or suggest a product layout based on the user’s location.

  • MoE models
  • Together Compileraccelerates inference by up to 2.6x through continuous forward pass optimization, enabling AI assistants to respond in milliseconds even with large 3D inputs.
  • Google Research’s Agile Deliberationintroduces human feedback into decision-making for subjective visual concepts, which is useful when an assistant needs to propose alternative designs in a VR environment.

Designing prompts for spatial contexts

Traditional LLM prompts work well for text, but spatial scenarios require more explicit language about space, orientation, and scale. Follow these templates:

  • Define the coordinate system: specify meters, degrees, or pixels.
  • Indicate the viewpoint: “from above,” “eye level,” “45° angle.”
  • Specify constraints: “low-poly,” “suitable for 3D printing,” “PBR textures.”
  • Request output format: “Unity YAML,” “GLTF,” “blender .blend.”

Here’s an example of a prompt that combines these elements:

Prompt: "Create a low-poly 3D model of a modern table lamp, oriented at 0° on the work surface, with glossy metal material and PBR textures, and export it in GLTF format for Unity import."

When you send this prompt to an AI assistant using ERNIE 5.5 Flash Base via Together Compiler, the model returns a complete 3D code script with coordinates, triangles, and UV maps already defined.

Practical example: Generating a 3D asset with a spatial AI assistant

Imagine you want to design a tablet stand that fits a coffee table. The workflow is as follows:

  1. Capture space
  2. Send a contextual prompt to the AI assistant(see code above).
  3. Receive the model: The assistant returns a .gltf file with a device-optimized mesh.
  4. Iterate with Agile Deliberation: The assistant shows three design variants; you select the one that best fits the room’s lighting.

Result: A sheep asset in less than only 30 seconds, ready for virtual prototyping.

Code snippet: Integration with Together Compiler

# Install the SDK for optimized inference pip install together-compiler # Initialize the client from together import Together client = Together(api_key='YOUR_API_KEY') # Define the payload with a spatial prompt payload = { "model": "ERNIE-5.5-Flash-Base", "messages": [{ "role": "user", "content": "Create a low-poly 3D model of a modern table lamp, oriented at 0° on the work surface, with glossy metal material and PBR textures, and export it in GLTF format for Unity import." }], "max_tokens": 2000, "temperature": 0.2 } # Perform the completion (Together Compiler automatically accelerates inference) response = client.chat.completions.create(**payload) print(response.choices[0].message.content)

Optimizing inference with Together Compiler

Even the best prompt fails if latency is high. Together Compiler uses a continuous forward pass optimization loop:

  • Real-time profiling: Tracks token shape based on traffic volume.
  • Automatic rewriting: Adapts specialized kernels for MoE models’ sparse matrix operations.
  • Adaptive caching: Caches responses to frequent spatial prompts (e.g., “rotate 90°”).

The result is an AI assistant that can generate 3D assets in under a second, even on edge devices.

Adding human feedback with Agile Deliberation

When an AI assistant proposes a design, subjectivity is key. Google Research’s Agile Deliberation framework inserts a human feedback loop before the final output:

  1. Generation: The AI assistant produces a set of 3D candidates.
  2. Comparison
  3. Iteration: The AI assistant adapts the MoE model based on the score, generating a new candidate.

This cycle reduces prototyping time from days to minutes.

Actionable checklist and takeaways

  • Define the coordinate systemexplicitly in every prompt.
  • Use MoE models(e.g., ERNIE 5.5 Flash Base) to reduce API call costs.
  • Accelerate inferencewith Together Compiler for real-time responses.
  • Incorporate human feedbackvia Agile Deliberation to improve design quality.
  • Test on real AR/VR devicesbefore deploying at scale.
  • Document prompt snippetsin a shared repository for quick reuse.

Conclusion: The future of AI assistants is three-dimensional

In 2026, AI assistants are no longer confined to text bubbles. Thanks to the explosion of MoE models, inference optimization, and human deliberation frameworks, they can understand, create, and refine content natively in space. Whether you’re designing a product, teaching a course in AR, or building an interactive dashboard, combining spatial computing with properly engineered prompts unlocks a new level of productivity and creativity. Start today with a single contextual prompt and watch the AI assistant come to life in the 3D environment around you.

IMPORTANT: We are in 2026. All temporal references must be current. Do not mention past years like 2024, 2023, etc. The content must be fresh and relevant to the present. CURRENT CONTEXT (November 2026): Here are some recent trends and news to inspire you: - OpenAI Launches GPT-Image-2.6 Flare and Sunburst: Adds GIFs, SVG Export and 6-Second API Generation. OpenAI released Images 2.6 and the GPT-Image-2.6 Flare and Sunburst API models. Flare generates images in as little as 6 seconds, and both add GIF output capabilities... [2026-11-05] - Together AI Releases Together Compiler: Agents Make Inference Up to 2.6x Faster. Together AI released Together Compiler, an agent-driven loop that continuously re-optimizes the inference forward pass as traffic shifts. It outperformed the best existing solutions... [2026-11-05] - Baidu Releases ERNIE 5.5 Flash Base: A 280B MoE Base Model With 14B Active Parameters. Baidu has released ERNIE 5.5 Flash Base, a 280B sparse MoE base model with 14B active parameters, trained on 33.5T tokens and published ahead of schedule... [2026-11-05] Use this current information as inspiration to create an original and relevant 2026 prompt.

💼 Vuoi ottimizzare i tuoi processi con l'AI?

Scopri come possiamo aiutarti a creare prompt personalizzati e strategie AI su misura per il tuo business.

Richiedi Consulenza Gratuita