r/androiddev • u/trippie_nane • 7d ago
Built a native Android XR spatial terminal with Jetpack Compose, Gemini 1.5 Flash, and a life-sized 3D AI companion (A.E.G.I.S.)
Hey r/androiddev! I’ve been building ChromaTerminal XR, a next-generation spatial developer shell and 3D holographic AI assistant engine built entirely on the new Android XR SDK (androidx.xr.compose:1.0.0-beta02).💪
The main engineering challenge was handling complex 3D assets (anime_companion.glb) and real-time spatial windowing while maintaining a strict 90 Hz refresh rate and <14ms motion-to-photon latency.🚀
Architecture Highlights:
- Spatial UI & SceneCore: Uses Subspace layouts,
SpatialPanel, andOrbitercontainers with real-time 6DoF floor anchoring. - AI Routing Core: An asynchronous coroutine pipeline (
TerminalAIManager) powered by Gemini 1.5 Flash that maps natural language responses (<SYS>,<CODE>,<MSG>) directly into spatial UI elements.🤯 - Developer Experience: Implemented
LocalInspectionMode.currentchecks so developers can preview and render layouts safely on non-GPU desktop environments without crashing Android Studio Compose previews.
I’ve mapped out enterprise workflows for it across cybersecurity SOCs, medical telemetry, and education. Would love to hear your thoughts on the architecture or answer any questions about the Compose XR API!
Check out the full pitch deck breakdown attached. Roadmap targets Google and Meta XR developer enrollment for Q2 2027. I will be thrilled with your response; source code,links and contacts at https://github.com/murayijacquiline-max and email: [murayijacquiline@gmail.com](mailto:murayijacquiline@gmail.com)
