
yantrikos/yantrikdb
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
yantrikos / yantrikdb - кандидат на сервер MCP, импортированный из https://github.com/yantrikos/yantrikdb.
Обзор
yantrikos / yantrikdb - кандидат на сервер MCP, импортированный из https://github.com/yantrikos/yantrikdb.
Обзор (машинный перевод)
Ваш агент начинает каждый сеанс как незнакомец. Вставить векторный магазин на него не исправляет этого: ничто никогда не забывается, почти дублирующие воспоминания накапливаются, и два противоречивых факта возвращаются, оцениваемые бок о бок без сигнала, что Они не согласны.
YantrikDB - это двигатель, который управляет воспоминаниями, а не просто их хранением. временный распад, автономная консолидация, обнаружение противоречий и График знаний, во встраиваемой библиотеке Rust с привязками Python.
Вам нужен сервер вместо библиотеки? yantrikdb-сервер заворачивает этот движок HTTP API, живой демонстрацией и многоузловым HA — тем же распадом, консолидацией и обнаружением противоречий, достижимым по REST вместо импорта.
Начните за 60 секунд
Для агентов ИИ (MCP — работает с Claude, Cursor, Windsurf, Copilot)
Добавьте конфигурацию клиента MCP:
Вот так. Агент автоматически воспроизводит контекст, автоматически запоминает решения и автоматически обнаруживает противоречия — никаких подсказок не требуется. См. yantrikdb-mcp для полных документов.
###Как библиотека Python
record_text() / recall_text() Работа из коробки — **no
sentence-transformers Установка, нет времени выполнения ONNX. Только один.
[[Т3]].
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
YantrikDB — A Cognitive Memory Engine for Persistent AI Systems
Your agent starts every session as a stranger. Bolting a vector store onto it doesn’t fix that: nothing is ever forgotten, near-duplicate memories pile up, and two contradictory facts come back ranked side by side with no signal that they disagree.
YantrikDB is the engine that manages memories instead of just storing them — temporal decay, autonomous consolidation, contradiction detection, and a knowledge graph, in an embeddable Rust library with Python bindings.
Want a server instead of a library? yantrikdb-server wraps this engine with an HTTP API, a live demo, and multi-node HA — same decay, consolidation, and contradiction detection, reachable over REST instead of an import.
Get Started in 60 Seconds
For AI agents (MCP — works with Claude, Cursor, Windsurf, Copilot)
pip install yantrikdb-mcp
Add to your MCP client config:
{
"mcpServers": {
"yantrikdb": {
"command": "yantrikdb-mcp"
}
}
}
That’s it. The agent auto-recalls context, auto-remembers decisions, and auto-detects contradictions — no prompting needed. See yantrikdb-mcp for full docs.
As a Python library
pip install yantrikdb
record_text() / recall_text() work out of the box — no
sentence-transformers install, no ONNX runtime. Just one
pip install.
Never open the store with a second SQLite library in the same process. The engine bundles its own SQLite;
sqlite3.connect()on the same file from the same process (for a helperUPDATE, a rawINSERTintoclaims, your own scan) corrupts the store silently: POSIX locks are per process, so that connection’s unlock releases the engine’s and the two writers interleave WAL commits. Use the engine API (correct(),ingest_claim(),attach_claims(),think()) or a separate process; sequential use afterclose()is fine. On Linux the engine detects the second instance and refuses to write from then until it is reopened (ForeignSqliteInstance,stats()["foreign_sqlite_*"]), and on every platform a commit that did not come through the engine queues an integrity check. A failed check refuses writes withIntegrityCheckFaileduntil a laterintegrity_check()returns"ok"(no reopen needed;stats()["integrity_tainted"]); see CONCURRENCY.md Rule 9.
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"yantrikdb": {
"command": "yantrikdb-mcp"
}
}
}