How open-jarvis/openjarvis works
OpenJarvis is a local-first personal AI framework with a browser/desktop interface, agent runtime, integrations, memory, and evaluation and learning capabilities. The documented user path is to start a chat or configure a preset, connect personal data sources, and run an agent to produce an answer or briefing. The graph preserves those domain stages and major research capabilities. Edges are limited to relationships visible in excerpts or explicitly documented in the README; several backend links remain unverified because their source was not sampled.
Main entry points: App.tsx Web and desktop app · manager.py Agent manager · engine.py Workflow engine · storage Memory backends
Components 32
User experience
- CLI
src/openjarvis/cli - Web and desktop app
frontend/src/App.tsx - Chat experience
frontend/src/pages/ChatPage.tsx - Agent management
frontend/src/pages/AgentsPage.tsx - Source management
frontend/src/pages/DataSourcesPage.tsx - Setup flow
frontend/src/components/SetupScreen.tsx - Getting started
frontend/src/pages/GetStartedPage.tsx - Settings
frontend/src/pages/SettingsPage.tsx - Command palette
frontend/src/components/CommandPalette.tsx - Update checks
frontend/src/components/Desktop/UpdateChecker.tsx - Frontend API client
frontend/src/lib/api.ts - Frontend state
frontend/src/lib/store.ts - Usage analytics
frontend/src/lib/analytics.ts
Agent runtime
- Agent manager
src/openjarvis/agents/manager.py - Agent modes
src/openjarvis/agents - Agent tools
rust/crates/openjarvis-tools/src - Workflow engine
src/openjarvis/workflow/engine.py - Messaging channels
src/openjarvis/channels - Workflow templates
src/openjarvis/tools/templates/loader.py
Personal data
- Data connectors
src/openjarvis/connectors - Indexing pipeline
src/openjarvis/tools/storage/ingest.py - Memory service
src/openjarvis/memory/service.py - Memory backends
rust/crates/openjarvis-tools/src/storage
Core platform
- Local API server
src/openjarvis/server - Inference engines
src/openjarvis/engine - Event bus
src/openjarvis/core/events.py - Security controls
rust/crates/openjarvis-security/src - Python bindings
rust/crates/openjarvis-python/src/storage.rs
Evaluation and learning
- Evaluation framework
src/openjarvis/evals - Telemetry
src/openjarvis/telemetry - Learning loop
src/openjarvis/learning
Other components
- User
Connections 30
- User → CLI: starts session
README.md - User → Web and desktop app: opens interface
README.md - Web and desktop app → Setup flow: gates startup
frontend/src/App.tsx - Web and desktop app → Chat experience: routes to
frontend/src/App.tsx - Web and desktop app → Agent management: routes to
frontend/src/App.tsx - Web and desktop app → Source management: routes to
frontend/src/App.tsx - Web and desktop app → Getting started: routes to
frontend/src/App.tsx - Web and desktop app → Settings: routes to
frontend/src/App.tsx - Web and desktop app → Command palette: mounts
frontend/src/App.tsx - Web and desktop app → Update checks: mounts
frontend/src/App.tsx - Web and desktop app → Frontend API client: fetches data
frontend/src/App.tsx - Web and desktop app → Frontend state: reads and updates
frontend/src/App.tsx - Web and desktop app → Usage analytics: tracks events
frontend/src/App.tsx - Frontend API client → Local API server: calls API
- CLI → Agent manager: starts agents
- Agent manager → Agent modes: manages modes
README.md - Agent manager → Inference engines: requests inference
- Agent manager → Agent tools: invokes tools
- Agent manager → Memory service: uses memory
- Data connectors → Indexing pipeline: indexes content
- Indexing pipeline → Memory backends: stores chunks
- Memory service → Memory backends: uses backends
- Workflow engine → Event bus: publishes events
src/openjarvis/workflow/engine.py - Workflow engine → Workflow templates: loads templates
src/openjarvis/workflow/engine.py - Workflow engine → Agent tools: executes tool calls
src/openjarvis/workflow/engine.py - Agent manager → Security controls: applies controls
- Agent modes → Messaging channels: supports messaging
- Evaluation framework → Telemetry: measures efficiency
README.md - Learning loop → Telemetry: uses trace data
README.md - Python bindings → Memory backends: wraps backends
rust/crates/openjarvis-python/src/storage.rs