neomjs / neo
The Application Engine for the AI Era. A multi-threaded, AI-native runtime with a persistent Scene Graph, enabling AI agents to introspect and mutate the living application structure in real-time.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing neomjs/neo in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewThe Application Engine for the AI Era š **True Multithreading Meets Context Engineering ā Build Desktop-Class UIs with an AI Co-Developer.** > **ā” The Mental Model:** > **Neo.mjs is a multi-threaded application runtime where UI components are persistent objectsānot ephemeral render results.** > This architectural shift enables desktop-class performance, multi-window orchestration, and AI-driven runtime mutation that traditional frameworks cannot achieve. š» ***Neo.mjs is not a framework; it is an Application Engine for the web. Just as Unreal Engine provides a complete runtime and toolchain for games, Neo.mjs provides a multi-threaded runtime and AI-native toolchain for enterprise applications.*** Imagine web applications that never jank, no matter how complex the logic, how many real-time updates they handle, or how many browser windows they span. Neo.mjs is engineered from the ground up to deliver **desktop-like fluidity and scalability**. **While it excels for Single Page Apps (SPAs), Neo.mjs is simply the best option for browser-based multi-window applications**, operating fundamentally different from traditional frameworks. By leveraging a **pioneering Off-Main-Thread (OMT) architecture**, Neo.mjs ensures your UI remains butter-smooth. The main thread is kept free for one purpose: **flawless user interactions and seamless DOM updates.** But performance is only half the story. With v11, Neo.mjs becomes the world's first **AI-native** frontend platform, designed to be developed *with* AI agents as first-class partners in your workflow. šÆ Is Neo.mjs Right for You? **Neo.mjs is an Application Engine, not a website builder.** *It is a mature, enterprise-grade platform with over 130,000 lines of production-ready code.* ā **Perfect For:** ⢠**Financial & Trading Platforms:** processing 10k+ ticks/sec without UI freeze. ⢠**Multi-Window Workspaces:** IDEs, Control Rooms, and Dashboards that span multiple screens. ⢠**AI-Native Interfaces:** Apps where the UI structure must be mutable by AI agents at runtime. ⢠**Enterprise SPAs:** Complex logic that demands the stability of a desktop application. ā **Not Designed For:** ⢠Static content sites or simple blogs (Use Astro/Next.js). ⢠Teams looking for "React with a different syntax." ⢠Developers unwilling to embrace the Actor Model (Workers). š The AI-Native Development Platform Neo.mjs v11 introduces a revolutionary approach to software development: **Context Engineering**. We've moved beyond simple "AI-assisted" coding to create a truly **AI-native** platform where AI agents are deeply integrated partners in the development process. This is made possible by a suite of dedicated **Model Context Protocol (MCP) servers** that give agents the context they need to understand, build, and reason about your code. This isn't just about generating code; it's about creating a self-aware development environment that accelerates velocity, improves quality, and enables a new level of human-AI collaboration. ⢠**š§ The Knowledge Base Server**: Gives agents a deep, semantic understanding of your project. Powered by ChromaDB and Gemini embeddings, it allows agents to perform semantic searches across your entire codebase, documentation, and historical tickets. An agent can ask, "How does VDOM diffing work?" and get the exact source files and architectural guides relevant to the *currently checked-out version*. ⢠**š Read the Guide** ⢠**š¾ The Memory Core Server**: Provides agents with persistent, long-term memory. Every interactionāprompt, thought process, and response is stored, allowing the agent to learn from experience, recall past decisions, and maintain context across multiple sessions. This transforms the agent from a stateless tool into a true collaborator that grows with your project. ⢠**š Read the Guide** ⢠**š¤ The GitHub Workflow Server**: Closes the loop by enabling agents to participate directly in your project's lifecycle. It provides tools for autonomous PR reviews, issue management, and bi-directional synchronization of GitHub issues into a local, queryable set of markdown files. This removes the human bottleneck in code review and project management. ⢠**š Read the Guide** ⢠**ā”ļø The Agent Runtime**: Empower your agents to act as autonomous developers. Instead of passively asking for information, agents can write and execute complex scripts using the **Neo.mjs AI SDK**. This enables advanced workflows like self-healing code, automated refactoring, and data migrationārunning locally at machine speed. ⢠**š Read the Guide** Why an Engine Architecture Matters for AI AI agents are "blind" in traditional compiled frameworks (React, Svelte) because the code they write (JSX/Templates) is destroyed by the build stepāthe runtime reality (DOM nodes) looks nothing like the source. **In Neo.mjs, the map IS the territory.** Because components are persistent objects in the App Worker (not ephemeral DOM nodes), the AI can query their state, methods, and inheritance chain at any time. It's like inspecting a running game character in Unreal Engine, rather than parsing the pixels on the screen. The AI sees exactly what the engine sees, enabling it to reason about state, inheritance, and topology with perfect accuracy. Furthermore, the **Neural Link** allows agents to query the runtime for the **Ground Truth**, enabling them to verify reality and solve complex, runtime-dependent problems that static analysis cannot touch. This powerful tooling, co-created with AI agents, enabled us to ship **388 architectural enhancements in just 6 weeks**. This order-of-magnitude increase in velocity proves that Context Engineering solves the complexity bottleneck. To learn more about this paradigm shift, read our blog post: **388 Tickets in 6 Weeks: Context Engineering Done Right**. š The Neural Link: Your App is a Living Graph **Most frameworks offer a "Read-Only" view of your code to AI. Neo.mjs offers "Read/Write" access to the Runtime.** Becaā¦