Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ demo/memcell_outputs/
# AI agent tooling (local agent skills/config, not part of the project)
.agents/
AGENTS.md
smartcomment_docs/
*.duckdb


Expand Down
82 changes: 81 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,60 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- **A resent `/memory/add` no longer cuts the same messages twice** (#274).
Messages were deduplicated only against the session buffer, so a client
retrying after a timeout re-sent messages the first call had already cut
into a memory cell, and they became a second memcell and episode. The
boundary stage now drops fresh messages a memcell of the session already
holds. Message ids no longer depend on where a message sits in its request:
`m_<session>_<timestamp>_<digest>`, `digest` covering who said what (a
message repeated verbatim in one request is told apart by its repeat
count), so a resend -- whole, split or regrouped, within one millisecond
too -- keeps its ids, and two different messages sent in separate requests
with one timestamp are no longer merged into one. Messages sharing a
timestamp keep arrival order in the buffer rather than sorting by id.
The internal helper `everos.memory.extract.ingest.gen_message_id` is
replaced by `message_ids`. Buffered messages from an earlier version keep
their old ids; a batch sent before the upgrade and resent after it is not
recognized as a resend.

## [1.7.1] - 2026-11-20

EverOS 1.7.1 writes each conversation's memory in its own language: a short
call names the language of every memcell before its episode is written, and
the episode, its summary, its atomic facts and a first profile follow it.
Episode summaries are now written offline from the stored episode, a
memcell's atomic facts and clustering embedding are computed once for all of
its owners, and episode `hybrid` search ranks over three recall lanes, with
bounded recall pools for `agentic` and `vector` search. A new
`POST /memory/device/add` route lets one hardware device keep separate memory
for each person it hears. Foresight, off by default since 1.2.3, is removed.

What changes for an existing setup: `hybrid` search's `top_k` now counts
episodes, each carrying at most one atomic fact; a store that ran foresight
has its foresight data removed on first start; and the Python API for
building `UserMemoryPipeline` and `ReflectionOrchestrator`, and for
implementing `EpisodeStore`, changed. HTTP request bodies and the CLI are
unchanged apart from additions. See Upgrade below.

### Added

- **An episode's language is named before it is written.** Each memcell with
a user sender first gets one short call on the new `language` LLM task
(everalgo `LanguageDetector`), which names the language of its
conversation -- Chinese, Japanese or English, any other language as English
-- from the sentences the participants write to each other, not from
pasted code or documents, names, or a few words of another language mixed
in. The episode is extracted in that language and stores
it, and its summary, atomic facts and (on first build) profile follow it.
A failed or slow call leaves the language to the episode model, as before,
and the episode stores the language its text is written in; a memcell with
no chat text makes no call. `[llm.language]` defaults to temperature 0,
64 output tokens, a 3-second timeout and no retries, so the call adds at
most 3 seconds per memcell to a synchronous `/add`. See
`docs/how-memory-works.md` and `docs/configuration.md`.
- **OME strategies `summarize_episode` and `split_episode_by_owner`**, both on
by default and named so in `ome.toml`. `summarize_episode` writes each
episode's display summary (below); `split_episode_by_owner` hands each
Expand All @@ -30,6 +82,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- **Reflection merges in the owner's profile language.** Without one, the
merged episodes vote with their stored languages and a language held by
more than 60% of them is used; a closer split leaves it to the reflector
and the language is read off the merged text. The merged episode stores
that language and its atomic facts are written in it; before, the merge
chose its own language and stored none.
- **Log lines name the language each step writes in.**
`episode_language_decided` / `episode_language_undecided` (`reason`
`no_chat` or `failed`) per memcell; `episode_written` with `language` and
`language_from` (`decided` or `text`); `atomic_facts_extracted` gains
`language`; `user_profile_extracted` gains `language` and `language_from`
(`frozen` or `event`); `reflection_merged` gains `language` and
`language_from` (`profile`, `vote` or `text`).
- **`everalgo-user-memory` 0.9.0 -> 0.10.1**, which only adds
`LanguageDetector`.
- **Episode `hybrid` search ranks three recall lanes.** BM25 and the episode
vector are fused with an atomic-fact lane (200 facts max-pooled onto at most
50 episodes) by two RRF passes, and each kept episode is scored on the
Expand Down Expand Up @@ -105,6 +172,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`.foresights/` folder removed (logged as `retired_kind_data_removed`):
nothing reads them, and purge and deletion no longer reach them.

### Fixed

- **`everos demo` keeps the conversation on its newest line.** The conversation
panel follows every new line, also after the reader scrolled up; on a slow
machine it could stay at the top.
- **Agent-skill extraction no longer fails when the agent is deleted
mid-run.** A `SKILL.md` (or a skill's reference or script) removed between
being found and being read now reads as absent instead of raising
`FileNotFoundError`, which failed the `extract_agent_skill` run.

### Upgrade

| If you | Then |
Expand All @@ -117,6 +194,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
| want no summary call at all | disable `summarize_episode`; episodes keep their placeholder summary |
| read `owner_id`, `episode_entry_id` or `owner_name` from `EpisodeExtracted` in your own strategy | read `copies` (one entry per owner), or subscribe to `EpisodeExtractedForOwner` |
| build `UserMemoryPipeline` or implement `EpisodeStore` in Python | drop `summary_llm`; add `replace_summary` |
| build `UserMemoryPipeline` or `ReflectionOrchestrator` in Python | pass `language_llm`, or `profile_store` |
| point `[llm]` at a model that thinks before it answers | set `[llm.language]` to a model with thinking off: thinking runs out of its 64 tokens, and every episode falls back to the model's own language choice (`episode_language_undecided`, `reason="failed"`) |

Stop the old server normally so it finishes its queued background runs. A
profile run still pending under the 1.7.0 event when the old server stopped
Expand Down Expand Up @@ -2722,7 +2801,8 @@ for AI agents.
- **Decoupled algorithms** — memory extraction algorithms live in the standalone
`everalgo-*` libraries published on PyPI.

[Unreleased]: https://github.com/EverMind-AI/EverOS/compare/v1.7.0...HEAD
[Unreleased]: https://github.com/EverMind-AI/EverOS/compare/v1.7.1...HEAD
[1.7.1]: https://github.com/EverMind-AI/EverOS/compare/v1.7.0...v1.7.1
[1.7.0]: https://github.com/EverMind-AI/EverOS/compare/v1.6.0...v1.7.0
[1.6.0]: https://github.com/EverMind-AI/EverOS/compare/v1.5.1...v1.6.0
[1.3.1]: https://github.com/EverMind-AI/everos/compare/v1.3.0...v1.3.1
Expand Down
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<br>

- [Why EverOS](#why-ever-os)
- [Benchmarks](#benchmarks)
- [Ecosystem Integrations](#ecosystem-integrations)
- [Quick Start](#quick-start)
- [Use Cases](#use-cases)
Expand Down Expand Up @@ -87,6 +88,25 @@ for fast retrieval and self-evolving reuse.

<br>

## Benchmarks

| Benchmark | Questions | Accuracy | Answer model |
|---|---|---|---|
| [LoCoMo](benchmarks/locomo.md) | 1,540 | **94.61%**\* | `openai/gpt-4.1-mini` |
| LongMemEval | 500 | **94.00%** | `google/gemini-3.6-flash` |
| EverMemBench | 2,400 | **66.67%** | `google/gemini-3-flash-preview` |
| SubtleMemory | 1,522 | **71.75%** | `openai/gpt-5.4` |

\* Re-judged: the 99 questions whose gold answer the LoCoMo audit disputes are graded
against its corrected answers.

On LoCoMo, `hybrid` search, which calls no LLM, returns in 0.27 s at the median.
Accuracy and search time across models and retrieval methods are in
[benchmarks/locomo.md](benchmarks/locomo.md); how to reproduce every number is in
[benchmarks/README.md](benchmarks/README.md).

<br>

## Ecosystem Integrations

EverOS adds durable memory to the agent and workflow platforms below—and comes
Expand Down Expand Up @@ -276,8 +296,10 @@ OpenAI-compatible model can replace them.
| Multimodal parsing | `[multimodal]` | `google/gemini-3.8-flash` |

The extraction model and the deciders above produced our published benchmark
results; [benchmarks/README.md](benchmarks/README.md#6-results) lists which
model ran in which role for each benchmark, and how to reproduce them.
results; [benchmarks/README.md](benchmarks/README.md#results) lists which
model ran in which role for each benchmark, and how to reproduce them. To choose
other models, the [LoCoMo results table](benchmarks/locomo.md#results-by-model-and-retrieval-method)
compares accuracy and search time across models and retrieval methods.

### Optional: Ingest Multimodal Files

Expand Down
21 changes: 20 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<br>

- [为什么选择 EverOS](#为什么选择-everos)
- [评测](#评测)
- [生态集成](#生态集成)
- [快速开始](#快速开始)
- [使用场景](#使用场景)
Expand Down Expand Up @@ -87,6 +88,23 @@ agent trajectories 保存为可读 Markdown,并同步本地 SQLite 与 LanceDB

<br>

## 评测

| 评测 | 题量 | 准确率 | 答题模型 |
|---|---|---|---|
| [LoCoMo](benchmarks/locomo.zh.md) | 1,540 | **94.61%**\* | `openai/gpt-4.1-mini` |
| LongMemEval | 500 | **94.00%** | `google/gemini-3.6-flash` |
| EverMemBench | 2,400 | **66.67%** | `google/gemini-3-flash-preview` |
| SubtleMemory | 1,522 | **71.75%** | `openai/gpt-5.4` |

\* 重判口径:LoCoMo 审计认为标准答案有误的 99 道题,按审计修正后的答案判分。

在 LoCoMo 上,不调用 LLM 的 `hybrid` 检索中位数 0.27 秒。不同模型、不同检索方式的分数和检索耗时见
[benchmarks/locomo.zh.md](benchmarks/locomo.zh.md),每个数字怎么复现见
[benchmarks/README.zh.md](benchmarks/README.zh.md)。

<br>

## 生态集成

EverOS 为下列 Agent 与工作流平台提供持久记忆,并已内置于 Raven。选择一个
Expand Down Expand Up @@ -279,7 +297,8 @@ curl -X POST http://127.0.0.1:8000/api/v2/memory/search \
| 多模态解析 | `[multimodal]` | `google/gemini-3.8-flash` |

其中抽取模型和 decider 就是我们已发表 benchmark 指标所用的模型;每个 benchmark 各角色用的
是哪个模型、怎么复现,见 [benchmarks/README.zh.md](benchmarks/README.zh.md)。
是哪个模型、怎么复现,见 [benchmarks/README.zh.md](benchmarks/README.zh.md)。想换用其他模型,
[LoCoMo 结果总表](benchmarks/locomo.zh.md#各模型和检索方式的分数与耗时) 按模型和检索方式对比了分数和检索耗时。

### 可选:摄取多模态文件

Expand Down
Loading