OpenJarvis: Personal AI, On Personal Devices
OpenJarvis introduces a decomposed, typed personal AI architecture that leverages LLM-guided spec search to optimize five independent primitives, enabling on-device systems to match cloud-level accuracy while drastically reducing API costs and latency.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a brilliant, world-class personal assistant who lives in the cloud. They are incredibly smart, can solve complex problems, and handle your sensitive data (like your emails, calendar, and health records) by sending them to a massive server farm. This works well, but it costs a lot of money every month, requires an internet connection, and means you are handing your private diary to a stranger to read.
Now, imagine you want that same assistant to live inside your own laptop or phone. You want it to be private, free of monthly fees, and work even when you're on a plane with no Wi-Fi.
The problem is that if you just take the "brain" of the cloud assistant (a powerful AI model) and try to run it on your phone, it crashes. It's like trying to drive a Formula 1 race car engine in a compact sedan; the car wasn't built for that engine. The car's suspension, fuel system, and steering (the software stack) are all tuned for the smaller engine. If you swap the engine without changing the rest of the car, it falls apart.
This is the core problem the paper "OPENJARVIS" solves.
The Problem: The "Engine Swap" Failure
The researchers tried a simple experiment: They took existing personal AI systems (like OpenClaw or Hermes Agent) and simply swapped the cloud brain for a local one (a smaller AI model that runs on your device).
The result? The system became terrible. Accuracy dropped by 25–39%.
Why? Because the "instructions," "tools," and "memory settings" were all written specifically for the giant cloud brain. When you put a local brain in, it gets confused by instructions it wasn't designed to follow.
The Solution: The "LEGO Blueprint" (The Spec)
The authors realized you can't just swap the brain; you have to rebuild the whole car to fit the new engine. To do this, they created OPENJARVIS.
Think of OPENJARVIS as a universal LEGO blueprint (called a "Spec"). Instead of a messy, tangled knot of code, they broke the personal AI system into five distinct, interchangeable LEGO blocks:
- Intelligence: The brain (the AI model).
- Engine: The car's engine and transmission (how the model runs).
- Agents: The driver's logic (how it thinks and decides).
- Tools & Memory: The map and toolbox (how it accesses files and the internet).
- Learning: The mechanic (how the system improves itself).
Because these are separate blocks, you can swap the "Intelligence" block for a local model and then tune the other four blocks to match it perfectly. It's like taking a race car engine and adjusting the suspension, tires, and fuel mix specifically for that engine, rather than trying to force it into a sedan.
The Magic Trick: The "Tutor and Student" Search
Even with the LEGO blocks, a local brain is still less smart than a cloud brain. How do you make the local one perform as well as the cloud one?
They invented a method called LLM-guided spec search. Imagine a Tutor-Student relationship:
- The Student: The local AI running on your device.
- The Tutor: A super-smart cloud AI (like the ones you pay for).
Here is how they work together:
- The Test: The Student tries to do a task and fails.
- The Diagnosis: The Tutor looks at the failure and says, "Ah, you failed because you didn't use the calendar tool correctly," or "You need to change your reasoning steps."
- The Edit: The Tutor doesn't just give the answer; it rewrites the LEGO blueprint. It might say, "Change the tool description," "Adjust the memory settings," or "Tweak the brain's parameters."
- The Gatekeeper: A strict rule checks: "Did this change make the Student better without making it worse at other things?" If yes, the change is accepted. If no, it's rejected.
- The Result: The Student learns and improves its blueprint.
Crucially: The Tutor only helps during the "search" phase (the setup). Once the blueprint is perfected, the Student runs entirely on your device with zero cloud calls. The cloud Tutor disappears, and you are left with a highly optimized, private, local assistant.
The Results: Private, Fast, and Cheap
The paper tested this on 8 different real-world tasks (coding, research, scheduling, etc.). Here is what they found:
- Performance: The optimized local assistants performed almost as well as the expensive cloud ones. On 4 out of 8 tests, the local version was actually better or equal. On average, they were only 3.2% less accurate than the best cloud model.
- Cost: Because the local model runs on your own hardware, the cost per query dropped by roughly 800 times. You stop paying the monthly subscription.
- Speed: The local version was 4 times faster because it didn't have to wait for data to travel to the cloud and back.
- Privacy: Your data never leaves your device during normal use.
Summary
OPENJARVIS is a new way to build personal AI. Instead of forcing a local AI to work like a cloud AI, it breaks the system into parts and uses a "Tutor" to redesign those parts specifically for the local hardware. The result is a personal AI that lives in your pocket, keeps your secrets, costs almost nothing to run, and is nearly as smart as the expensive cloud giants.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.