Skip to main content

Local-first personal AI assistant — CLI, web, and desktop frontends over a shared agent core.

Project description

eVi — personal AI assistant

PyPI Python 3.13+ License: MIT

eVi 1.0 — shipped and public. Local-first personal assistant. Chat with a model on your hardware, let it use tools, generate images, automate scheduled tasks, drive your browser, and reach the same core from a terminal, a web app, or a native desktop window.

One Python core, three frontends, no cloud round-trips.

       ┌──────────────────────────────┐
       │       evi (core library)     │
       │  Agent · Tools · Memory ·    │
       │  Skills · Hooks · MCP ·      │
       │  Scheduler · Dream · …       │
       └────┬──────────┬──────────┬───┘
            │          │          │
        ┌───▼──┐   ┌───▼──┐   ┌───▼────┐
        │ CLI  │   │ Web  │   │Desktop │
        │      │   │ SSE  │   │ Tauri  │
        └──────┘   └──────┘   └────────┘

Requirements

Component Why Notes
Python 3.13+ Core runtime 3.13 tested
Git 2.17+ Optional — evi worktree 2.28+ for init -b
An LLM backend One of LM Studio / Ollama / llama-server / any OpenAI-compatible endpoint LM Studio default
NVIDIA GPU Optional — speeds up local LLMs and ComfyUI image gen CPU fallback works

Quickstart

Package name: the project is eVi, but the PyPI distribution is evi-assistant (the bare evi name was taken). Install with pip install evi-assistant; the import package and CLI command are both still evi (import evi, run evi).

pip install evi-assistant                # from PyPI
evi models recommend                     # honest read on what'll fit
evi chat                                 # off you go

Or work from a clone (editable install, all extras):

git clone https://github.com/evi-assistant/evi-ai.git evi && cd evi
py -3.13 -m venv .venv
.venv\Scripts\Activate.ps1            # Windows
# source .venv/bin/activate            # Linux / macOS

pip install -e .

# Pick a backend. LM Studio + a tool-capable model is the easiest first run.
# In LM Studio: load qwen2.5-7b-instruct → Developer → Start Server.

evi models recommend                    # honest read on what'll fit
evi chat                                # off you go

/help inside the REPL lists every slash command (goal tracking, plan mode, auto-approve, model switching, user-defined templates).

Three-machine setup

eVi is built to span machines. A typical setup:

Machine Role Backend
AI server (P40) LLM host + web UI Ollama or llama-server, evi web on port 8000
Desktop (16 GB) Full power workstation Local LM Studio
Laptop (2 GB) Thin client Profile points at the AI server

See docs/multi-machine.md for the wiring.

Major commands

evi chat                           Start the REPL
evi web --host 0.0.0.0             Run the FastAPI + SSE web UI
evi dream                          Curate long-term memory from yesterday's chats
evi models recommend / list / use  Hardware-aware model selection
evi models pull <ref>              Pull via Ollama tag or hf:<repo>:<file>
evi schedule add / list / run-now  Cron-style scheduled prompts
evi scheduler                      Foreground daemon for scheduled tasks
evi worktree create <branch>       Spin up a git worktree for parallel work
evi profile add home --backend …   Per-machine config overlays
evi voice listen / speak           STT + TTS
evi mcp list-tools                 Show MCP server-provided tools
evi mcp serve                      Run eVi AS an MCP server (other agents use eVi's tools)

What's built

Everything below ships in 1.0. Gmail / Microsoft 365 email is the one deferred surface — scaffolded but off by default.

Feature Status
Foundation, CLI, agent loop, fs/code tools
ComfyUI image generation
FastAPI + SSE web UI
Tauri desktop shell (local + remote modes)
Persistent memory + scoped subagents
MCP (Model Context Protocol) integration
Skills + scheduled tasks
Backends, model registry, hardware recommender, profiles
EVI.md, slash commands, /goal, plan mode
Hooks, auto mode, git worktrees
Transcripts, dreaming, web search, voice TTS, computer use
STT, web UI parity, polish
Gmail / Microsoft 365 email ⏸ deferred

Layout

evi/                core library
  agent.py          agent loop with permission + hooks
  backends/         LM Studio / Ollama / llama.cpp / OpenAI-compat
  llm/              client + subagent runner
  tools/            built-in tool catalog (fs, code, image, web, voice, …)
  mcp/              MCP client bridge + manager
  memory.py         long-term memory store
  skills.py         user skill packets
  scheduler.py      APScheduler driver
  dream.py          memory-consolidation runner
  hardware.py       GPU + RAM detection
  recommend.py      curated model picks per VRAM
  …
  apps/             frontends that consume the core (shipped in the wheel)
    cli/main.py     Typer CLI
    web/server.py   FastAPI + SSE
    web/static/     chat UI (vanilla JS)
desktop/            Tauri 2 shell (NOT a Python package; local-spawn or EVI_REMOTE_URL)
tests/              pytest
docs/               deeper guides
scripts/            install + dev helpers

Configuration

Per-user config lives in ~/.evi/. Highlights:

~/.evi/
  config.toml         primary settings — backend, tools, auto-approve
  profiles/*.toml     overlay profiles for per-machine config
  memory/*.md         long-term memory; `.attic/` holds soft-deleted entries
  skills/<name>/      installed skill packets (SKILL.md + assets)
  commands/<name>.md  user-defined slash command templates
  scheduled/*.json    saved scheduled prompts
  hooks.toml          before/after_tool_call hooks
  mcp.json            MCP server list
  transcripts/        per-session JSONL (input to dreaming)
  logs/               run logs (dreams, scheduled tasks)

See docs/configuration.md for the full reference, the feature catalog for what every feature does + how to use it, and surface parity for the CLI ↔ Web ↔ Desktop map.

Optional dependency groups

pip install -e '.[web]'        # FastAPI + uvicorn for `evi web`
pip install -e '.[mcp]'        # Model Context Protocol client
pip install -e '.[scheduler]'  # APScheduler for cron-style tasks
pip install -e '.[downloads]'  # huggingface_hub for `evi models pull hf:...`
pip install -e '.[web-tools]'  # DuckDuckGo search + BeautifulSoup
pip install -e '.[stt]'        # faster-whisper + sounddevice
pip install -e '.[computer]'   # pyautogui for mouse/keyboard control
pip install -e '.[dev]'        # pytest + ruff

Or all at once:

pip install -e '.[dev,web,mcp,scheduler,downloads,web-tools,stt,computer]'

Development

pip install -e '.[dev]'
pytest -q              # ~1,300+ unit tests (E2E are opt-in: -m e2e)
ruff check evi apps    # style + bug-pattern lint

See docs/development.md for architecture notes, and docs/self-build.md for developing/building eVi with eVi (the EVI.md project context + the one-command scripts/build-desktop build).

Safety posture

  • Default tool toggles lean conservative: shell, subagent, web, voice, computer, gmail, outlook, image, and mcp are all OFF until you flip them in config.toml.
  • auto.auto_approve lists categories that run without prompting. The defaults are fs, code, memory, skills, image. computer is never in this list — every mouse click / keystroke prompts.
  • Hook vetoes (~/.evi/hooks.toml) can block any tool by glob match.
  • Soft-delete memory sends "forgotten" entries to ~/.evi/memory/.attic/ so the dreaming engine can't permanently lose anything.

License

MIT - see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evi_assistant-1.0.2.tar.gz (584.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evi_assistant-1.0.2-py3-none-any.whl (475.7 kB view details)

Uploaded Python 3

File details

Details for the file evi_assistant-1.0.2.tar.gz.

File metadata

  • Download URL: evi_assistant-1.0.2.tar.gz
  • Upload date:
  • Size: 584.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for evi_assistant-1.0.2.tar.gz
Algorithm Hash digest
SHA256 dea973c1af4f947aa89e0c470aab97885c0935cac3d222f3dc369c3716c3c948
MD5 cf526d20b03d0f05001658fdceec45a2
BLAKE2b-256 12f79222fee39f60d4444ca000fd5f3398a4a990f91e35109ef9949fe89c355f

See more details on using hashes here.

Provenance

The following attestation bundles were made for evi_assistant-1.0.2.tar.gz:

Publisher: release.yml on evi-assistant/evi-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evi_assistant-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: evi_assistant-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 475.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for evi_assistant-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f8d0fd72641667c753ca47fe8ce19dbf6bca3bfd96f409e19d40a0fccbbdff4
MD5 8e1cc6e5ebffcfd0218246be240a1bf8
BLAKE2b-256 1e3486d36b188c8e6b9e1026525ca3fe2ea0a3deccc75cb44c390ab6fb2ab4ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for evi_assistant-1.0.2-py3-none-any.whl:

Publisher: release.yml on evi-assistant/evi-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page