Skip to content

OpenJarvis Explained: Stanford's Local-First Personal AI Framework and Complete Guide

AINewss Editorial Team

OpenJarvis is a Stanford open-source framework for local-first personal AI. This guide covers its architecture, system requirements, installation, built-in agents, privacy boundary, and how it compares with cloud assistants.

View 5 references
3 views 0 likes

Allow the functional cookie to save your likes. Privacy details

Editorial illustration of a friendly AI assistant core running on a laptop and home devices, with data kept local and a deep blue, teal and amber palette; space on the left for text.

What Is OpenJarvis?

OpenJarvis is an open-source framework for building personal AI agents that run on hardware you own. It was created by Stanford's Hazy Research and Scaling Intelligence labs as part of their "Intelligence Per Watt" research into efficient local AI. The official description is precise: "a research framework for composable, on-device AI systems" — with cloud APIs treated as optional, not required.

The project released version 1.0 with built-in Ollama support, and the code lives in the official GitHub repository under the Apache-2.0 license. Put simply, OpenJarvis is an attempt to make the "personal" in personal AI literal: instead of sending every prompt to someone else's server, you run the model, the agent, and the memory layer on your own machine and call the cloud only when you decide to.

This guide explains what OpenJarvis does, how its architecture is put together, what hardware it needs, how to install it, and which built-in presets are worth trying first.

Why OpenJarvis Matters: The Local-First Argument

Most AI assistants marketed as personal still route every request through a remote service. That arrangement brings three costs: a recurring bill, latency, and the need to trust a third party with your documents and conversation history. OpenJarvis takes the opposite default. Models run locally; the cloud is a plug-in choice.

The research angle is what separates OpenJarvis from a typical self-hosted chat UI. Its authors argue that local models already handle most day-to-day chat and reasoning, so the interesting question is no longer "can it run locally?" but "how efficiently does it run?" Energy, FLOPs, latency, and dollar cost are tracked alongside accuracy as first-class constraints. The framework records telemetry for GPU power draw, token cost, and response time, so you can see what a query actually costs in watts and cents.

Three practical consequences follow from this design. First, core functionality in OpenJarvis works without a network connection. Second, hardware is detected automatically: the engine and model are recommended based on your GPU vendor, VRAM, or system RAM. Third, the same agent can be pointed at a local engine today and a cloud API tomorrow without rewriting your workflow, because all backends share one inference interface.

How OpenJarvis Works: Three Ideas and Five Layers

The official overview says OpenJarvis is built around three core ideas. The first is shared primitives for building on-device agents. The second is evaluation that treats energy, FLOPs, latency, and cost as first-class constraints alongside accuracy. The third is a learning loop that uses local trace data to improve models, prompts, and agent behavior over time.

Those ideas are implemented as five composable layers. Each layer has a clean interface and can be swapped independently, which is why OpenJarvis describes itself as a stack rather than a single app.

Layer What it does in OpenJarvis
Intelligence Picks a model, or lets OpenJarvis choose one that fits your hardware, from a catalog of local models across providers.
Engine The inference runtime — Ollama, vLLM, SGLang, llama.cpp, MLX, Exo, LiteLLM, or cloud APIs such as OpenAI, Anthropic, and Google.
Agents Multi-step reasoning with tool use, with eight built-in agent types ranging from simple chat to orchestrated workflows.
Tools & Memory Web search, calculator, file I/O, a code interpreter, retrieval, persistent local state, and external MCP servers.
Learning Turns each interaction into traces that can drive improvements to model weights, prompts, and agent behavior.

The architecture is worth understanding before you install anything, because most of the day-to-day configuration in OpenJarvis is simply choosing which implementation you want in each layer. If you only want chat on a laptop, the defaults are enough. If you want scheduled workflows or a custom retrieval stack, you swap the relevant layer rather than replacing the whole system.

OpenJarvis System Requirements

Before installing OpenJarvis, check the official installation page. The prerequisites are stricter than for a typical Python tool, and skipping them is the most common source of setup failures.

Software prerequisites

Requirement Version Notes
Python 3.10–3.13 Required. Python 3.14+ is not yet supported because a core dependency lacks wheels.
uv latest Python package and project manager.
Git any Needed to clone the repository.
Rust stable Required to build the Rust extension.
Inference backend at least one Ollama, vLLM, llama.cpp, SGLang, or a cloud API.
Node.js 18+ Needed for the browser UI; 22+ for the WhatsApp Baileys bridge.

Hardware and model recommendations

OpenJarvis has no stated CPU minimum — CPU-only inference speed simply depends on your processor. Memory is the real floor. With 4 GB of RAM or less and no GPU, usable memory is effectively zero and no local model is recommended. The framework instead recommends a model band based on detected VRAM (or unified memory on Apple Silicon), otherwise system RAM:

System RAM (no VRAM) GPU VRAM Recommended model Approx. download
5–14 GB 1–8 GB qwen3.5:2b ~1.1 GB
15–24 GB 9–17 GB qwen3.5:4b ~2.2 GB
25–44 GB 18–35 GB qwen3.5:9b ~5.0 GB
45 GB or more 36 GB or more qwen3.5:27b ~14.9 GB

These are defaults, not hard limits. You can override the detected value through default_model under [intelligence] in ~/.openjarvis/config.toml, and re-run jarvis init --force to re-detect. Model weights dominate disk usage; budget additional space for the Python environment and whichever inference engine you install. If your machine is too small for a local model, OpenJarvis supports a cloud quick-path and the hardware tiers above stop applying.

How to Install OpenJarvis

There are several ways to install OpenJarvis. Choose the one that matches how you want to work rather than trying all of them.

Fastest path: install script with Ollama

On macOS or Linux, install Ollama first, then run the official one-command installer:

curl -fsSL https://open-jarvis.github.io/OpenJarvis/install.sh | bash

The script auto-detects an existing Ollama installation and sets up a starter model. On Windows, run the command inside WSL2, or use the native desktop app from the releases page. When it finishes, run jarvis to start.

Browser app from source

If you prefer to see what is happening, the one-command browser setup clones the repository and runs the quickstart script:

git clone https://github.com/open-jarvis/OpenJarvis.git
cd OpenJarvis
./scripts/quickstart.sh

According to the docs, this script checks for Python 3.10+ and Node.js 18+, installs Ollama if needed and pulls a starter model, installs Python and frontend dependencies, starts the backend API server and frontend dev server, and opens http://localhost:5173. Both backend and frontend stay on your machine; the browser only connects via localhost.

CLI and Python SDK

The CLI is the fastest way to drive OpenJarvis programmatically. It uses the same source checkout:

git clone https://github.com/open-jarvis/OpenJarvis.git
cd OpenJarvis
uv sync
uv run maturin develop -m rust/crates/openjarvis-python/Cargo.toml

The Python SDK is installed the same way and exposes a high-level Jarvis class for programmatic access. Remember that the CLI requires a running inference backend — Ollama is the simplest — and that the Rust build step is mandatory even if you only plan to use Python.

Verify the installation

Confirm that the CLI is on your path and that a model is visible:

jarvis --version
jarvis model list
jarvis doctor

jarvis doctor is particularly useful for diagnosing a missing backend or an incorrectly detected engine.

Your First Conversation with OpenJarvis

Once a backend is running, ask a question and optionally select an agent and tools explicitly:

jarvis ask "What is the capital of France?"
jarvis ask --agent orchestrator --tools calculator "What is 137 * 42?"

To choose a model manually, pull it through Ollama and pass it with -m:

jarvis model pull qwen3.5:35b
jarvis ask -m qwen3.5:35b "Your prompt"

To make that choice permanent, edit ~/.openjarvis/config.toml:

[intelligence]
default_model = "qwen3.5:35b"
preferred_engine = "ollama"

You can also expose an OpenAI-compatible endpoint with jarvis serve --port 8000. The FastAPI server supports SSE streaming and is designed as a drop-in replacement for OpenAI clients, which is handy if you already have tools that speak that protocol.

Built-In OpenJarvis Agent Presets

OpenJarvis ships with ready-to-run presets. Each one bundles an agent with the engines and tools it needs, so you can start from a working configuration instead of assembling one from scratch. The commands below come from the Ollama launch announcement and the official documentation.

Morning digest

A briefing agent that combines calendar, email, and the day's news:

jarvis init --preset morning-digest-mac
jarvis connect gdrive
jarvis digest --fresh

Deep research

An agent that searches the web and your local documents and returns an answer with citations:

jarvis init --preset deep-research
jarvis memory index ./docs/
jarvis ask "Summarize all emails about Project X"

Persistent memory is the part worth paying attention to here: indexing a folder once lets later queries draw on your own files rather than generic web results.

Code assistant

A coding agent that writes and runs Python on your machine to complete tasks. Initialize it with:

jarvis init --preset code-assistant

Because the agent executes code locally, review what it proposes before granting access to sensitive directories. There are also tutorials for scheduled monitors, messaging hubs, and offline code review in the official docs if you want to go beyond chat.

OpenJarvis and Privacy: What Actually Stays Local

It is tempting to read any "local-first" claim as an absolute promise. The honest description of OpenJarvis is architectural rather than legal: the framework is designed so that inference, memory, and agent execution run on your hardware, and all core functionality works without a network connection. Cloud providers are available as optional engine backends, and connecting one means data will leave your machine for that provider's API.

So the practical boundary in OpenJarvis is a configuration boundary. Keeping preferred_engine set to a local runtime such as Ollama, avoiding cloud-backed memory or search integrations, and running the desktop or browser app against localhost gives you a genuinely local setup. Adding an OpenAI or Anthropic key to a config file does not stop OpenJarvis from working, but it does change where prompts are processed.

This distinction matters when evaluating OpenJarvis for sensitive documents: verify the active engine and tools in your own configuration rather than relying on the general local-first label.

OpenJarvis vs Cloud-Only AI Assistants

Dimension OpenJarvis Typical cloud-only assistant
Where inference runs Your machine by default; cloud optional Vendor servers
Offline use Core features work offline Requires a connection
Cost model Hardware and electricity; no per-query fee when local Subscription or per-token billing
Data boundary Local state and memory, unless you wire a cloud backend Conversation data held by the provider
Customization Swap engines, agents, tools, memory, and learning layers Mostly limited to prompts and uploads
Setup effort Python, Rust, and an inference backend to configure Sign up and start typing
Best for Tinkerers, privacy-sensitive users, research and automation Users who want zero setup and frontier-model quality

OpenJarvis is not a universal replacement. If you need the newest frontier model or want no setup at all, a hosted assistant is simpler. If you want control over where inference happens, want to automate workflows around your own files, or are interested in the efficiency research itself, OpenJarvis offers something cloud-only products cannot.

Frequently Asked Questions About OpenJarvis

Is OpenJarvis free and open source?

Yes. The repository is published under the Apache-2.0 license, which permits commercial use and modification subject to its terms.

Does OpenJarvis require an internet connection?

No for core functionality. All essential features are designed to work without a network connection; cloud APIs are optional extras. You do need a network connection to download models and dependencies during setup.

Does OpenJarvis need a GPU?

No strict CPU or GPU minimum is published, but memory is the floor. With 4 GB of RAM or less and no GPU, no local model is recommended. A GPU makes larger models practical; otherwise OpenJarvis can point at a hosted API.

Which models does OpenJarvis recommend by default?

It selects from the Qwen3.5 family in bands from 2b to 27b depending on detected memory, and you can override the choice in ~/.openjarvis/config.toml.

Can OpenJarvis replace my cloud chatbot?

For everyday chat, summarization, and reasoning, a local model through OpenJarvis is often sufficient. For tasks that require the latest frontier capabilities, keep a cloud backend configured as an option.

Is OpenJarvis beginner-friendly?

The one-command installer and desktop app lower the barrier considerably. The source-based path still expects Python 3.10–3.13, uv, Rust, and an inference backend, so expect some setup work if you go beyond the installer.

Final Verdict: Is OpenJarvis Worth Trying?

OpenJarvis is less a polished consumer app than a serious, documented stack for people who want personal AI to stay on personal devices. Its strengths are the composable architecture, hardware-aware defaults, offline-first design, and unusually transparent accounting of energy and cost. Its weaknesses are the setup burden and the fact that local models still trail the best hosted models on hard reasoning tasks.

If that trade-off sounds acceptable, the fastest evaluation is the install script plus Ollama: one command, one starter model, then a few jarvis ask calls. If it turns out you mostly want the automated workflows or the learning loop, the five layers are there to be swapped and extended rather than replaced.

Sources

References

  1. OpenJarvis: a local-first personal AI is now available to run with Ollamaollama.com
  2. Installation — OpenJarvis Documentationopen-jarvis.github.io
  3. OpenJarvis — Personal AI, On Personal Devicesopen-jarvis.github.io
  4. OpenJarvis official repositorygithub.com
  5. Apache License 2.0 — OpenJarvisgithub.com