Back to projects

Desktop AI assistant · PythonIn development

JARVIS — Windows AI Assistant

A local-first Windows AI assistant with a FastAPI service, browser-based dashboard and offline voice output. Its optional Claude-powered language features use an external AI service when enabled, while higher-risk local actions require approval.

The real local browser dashboard, running on 127.0.0.1 in local mode.

Type
Desktop AI assistant · Python
Status
In development

My role

Architecture and full-stack development (Python backend, local dashboard, safety model).

Goal

Build a local-first PC assistant that keeps device automation on the machine, requests approval for higher-risk actions and protects API credentials from the browser. External AI processing is optional and explicitly configured.

What was built

  • A local FastAPI service (bound to 127.0.0.1:5555) with a deterministic command router and a tool registry that carries permission levels.
  • A local browser dashboard (system health, chat, actions, logs, memory, voice and help pages) rendered from Jinja2 templates.
  • An action-approval system: higher-risk actions become pending previews that must be explicitly confirmed or cancelled, expire after 10 minutes, and are logged.
  • Offline voice output (pyttsx3) and a Claude-based brain with a local fallback when no API key is set, plus SQLite-backed memory and conversation history.

Technical approach

  • Local-first by design: the dashboard binds only to localhost, never exposes the API key to the browser, and uses no external CDNs, analytics or tracking.
  • Layered safety: tools are classified safe / approval-required / blocked, and risky actions cannot bypass the permission system.
  • Configuration through Pydantic settings and a .env file, with structured logging and a pytest suite.

Technologies

  • Python
  • FastAPI
  • Uvicorn
  • Jinja2
  • SQLite
  • pyttsx3
  • Anthropic SDK
  • Pydantic