Sign inSign up

sharlihe/openjarvis

By sharlihe

•Updated about 2 months ago

OpenJarvis — local-first personal AI assistant, built from source (open-jarvis/OpenJarvis)

Image
Machine learning & AI
Developer tools
0

195

sharlihe/openjarvis repository overview

⁠What this is

This is a personal build of OpenJarvis⁠, an open-source local-first personal AI framework from Stanford's Hazy Research / Scaling Intelligence Lab (part of the "Intelligence Per Watt" research initiative).

Built directly from the upstream source (deploy/docker/Dockerfile, unmodified) because the upstream project does not publish a pre-built image — their own reference docker-compose.yml also builds from source. This image exists purely to save that build time on resource-constrained hosts (e.g. small homelab servers).

⁠Usage

Requires an Ollama backend and an API key (the server refuses to bind to a non-loopback address without one). See upstream's Docker deployment guide⁠ for the full picture — this image is a drop-in replacement for building deploy/docker/Dockerfile yourself.

services:
  openjarvis:
    image: sharlihe/openjarvis:latest
    ports:
      - "8000:8000"
    environment:
      OPENJARVIS_ENGINE_DEFAULT: ollama
      OLLAMA_HOST: http://ollama:11434
      OPENJARVIS_API_KEY: ${OPENJARVIS_API_KEY:?required}
    volumes:
      - openjarvis-data:/home/openjarvis/.openjarvis
    depends_on:
      - ollama

  ollama:
    image: ollama/ollama:0.30.10
    volumes:
      - ollama-data:/root/.ollama

volumes:
  openjarvis-data:
  ollama-data:

Generate an API key with jarvis auth generate-key (see upstream docs), or any strong random string — clients must send Authorization: Bearer <key>.

⁠Build details

  • Base image: python:3.12.13-slim-bookworm (runtime), node:22.23.0-slim + same Python base (build stages)
  • Multi-stage build: Node.js frontend (Vite/TypeScript) → Rust extension (PyO3 bindings via maturin) → Python package, assembled into a slim runtime
  • Runs as non-root (UID 10001, user openjarvis)
  • Platform: linux/amd64
  • No secrets, tokens, or credentials of any kind are baked into this image — built from public source with no build-args beyond the upstream defaults.

⁠Rebuilding it yourself

git clone https://github.com/open-jarvis/OpenJarvis.git
cd OpenJarvis
docker buildx build --platform linux/amd64 -f deploy/docker/Dockerfile -t your-tag .

Tag summary

Content type

Image

Digest

sha256:c9381a64b…

Size

178.3 MB

Last updated

about 2 months ago

docker pull sharlihe/openjarvis