# EverOS

> One portable memory layer for every agent, with Markdown as the source of truth

- Category: Agents & Automation / Agent Memory
- Language: Python
- Licence: Apache-2.0
- Repository: https://github.com/EverMind-AI/EverOS
- Website: https://evermind.ai/everos
- Canonical page: https://ai-tldr.dev/tools/everos/

## In short

EverOS is a Python library and local-first memory runtime that gives agents one portable memory layer across coding assistants, apps, devices and workflows. It ingests conversations, files and agent trajectories, writes them out as readable Markdown, then keeps local SQLite and LanceDB indexes in sync for retrieval. It sits in the Agent Memory category of the Agents & Automation tools and is open-source, written in Python and licensed Apache-2.0.

## Overview

EverOS is a Python library and local-first memory runtime that gives agents one portable memory layer across coding assistants, apps, devices and workflows. It ingests conversations, files and agent trajectories, writes them out as readable Markdown, then keeps local SQLite and LanceDB indexes in sync for retrieval. The distinguishing choice is that the Markdown files — not a database, dashboard or hosted API — are the canonical store: they can be read, edited, diffed and version-controlled with Git, and a cascade watcher picks up direct edits and re-syncs the indexes.

The memory model separates two tracks as first-class surfaces: a user track of episodes and profile, and an agent track of cases and skills. Retrieval is orthogonal rather than single-scoped — a search can be filtered by `user_id`, `agent_id`, `app_id`, `project_id` and `session_id`. On top of the raw stores, EverOS adds a Knowledge Wiki of editable, source-backed Markdown pages with a taxonomy, CRUD APIs and topic search, and a reflection pass that runs between sessions to merge episode clusters and refine profiles and skills instead of leaving memory as a retrieval-only log.

The runtime is a local HTTP server whose business endpoints live under `/api/v2` (the older `/api/v1` prefix still resolves as a legacy alias). The whole stack is local — Markdown plus SQLite plus LanceDB, with no MongoDB, Elasticsearch or Redis required — and a single OpenRouter API key is enough to start writing durable memories and reading them back with keyword search; embedding and rerank providers are configured separately to unlock hybrid search. Plugins connect it to DeepSeek Harness, Hermes, OpenClaw and Dify, and it ships built into EverMind's own Raven agent.

## What it does

- Markdown as the canonical store: memories are readable, editable, diffable and Git-versionable `.md` files, with a cascade watcher syncing direct edits
- Fully local three-part stack — Markdown plus SQLite plus LanceDB — with no managed vector, graph or search service required
- Separate user and agent tracks: episodes and profile for the person, cases and skills for the agent
- Orthogonal retrieval scoped by user_id, agent_id, app_id, project_id and session_id rather than a single namespace
- Knowledge Wiki of source-backed Markdown pages with taxonomy, CRUD APIs and topic search
- Reflection: an offline evolution pass that merges episode clusters and refines profiles and skills between sessions
- Plugin integrations for DeepSeek Harness, Hermes, OpenClaw and Dify, plus a built-in role in EverMind's Raven agent

## Getting started

EverOS needs Python 3.12+ and one OpenRouter API key. There is a no-key demo first, so you can watch the ingest → extract → index → recall loop before configuring anything.

1. Install the package

```bash
uv pip install everos
# or: pip install everos
```

2. Run the standalone demo — no key required

   Enter something EverOS should remember, then ask a related question to watch the memory move through ingest, extract, index and recall.

```bash
everos demo
# from a clone with .venv not activated: uv run everos demo
```

3. Initialise and add your key

   `everos init` creates ~/.everos/everos.toml and ~/.everos/ome.toml. The generated model and OpenRouter URL are already correct — fill in only the empty api_key. Use `everos init --root <path>` for a different memory root, and pass the same --root to later commands.

```bash
everos init

# ~/.everos/everos.toml
[llm]
model = "openai/gpt-4.1-mini"
api_key = "<OPENROUTER_API_KEY>"
base_url = "https://openrouter.ai/api/v1"
```

4. Start the server and check it

   Keep the server running, then check health from a second terminal — look for "status":"ok".

```bash
everos server start
curl http://127.0.0.1:8000/health
```

5. Add, flush and search a memory

   Write a conversation, flush it at the end of the session, then search it back. Keep "method": "keyword" in the one-key setup — the API defaults to hybrid search, which needs an embedding provider.

```bash
curl -X POST http://127.0.0.1:8000/api/v2/memory/add \
  -H 'Content-Type: application/json' \
  -d '{"session_id":"demo-001","app_id":"default","project_id":"default","messages":[{"sender_id":"alice","role":"user","timestamp":1756000000000,"content":"I love climbing in Yosemite every spring."}]}'

curl -X POST http://127.0.0.1:8000/api/v2/memory/flush \
  -H 'Content-Type: application/json' \
  -d '{"session_id":"demo-001","app_id":"default","project_id":"default"}'

curl -X POST http://127.0.0.1:8000/api/v2/memory/search \
  -H 'Content-Type: application/json' \
  -d '{"user_id":"alice","app_id":"default","project_id":"default","query":"Where do I like to climb?","method":"keyword","top_k":5}'
```

6. Inspect the source of truth

   Open the memory root and read the generated Markdown directly — that is the canonical store, not a cache of it.

```bash
ls ~/.everos
```

## When to use it

- Give coding CLIs and assistants a shared long-term memory instead of one silo per tool
- Keep an auditable, Git-versioned memory store you can open, edit and review as plain files
- Scope recall per user, per project or per app when several agents write into the same memory root
- Let memory improve between sessions through the reflection pass rather than only at retrieval time
