Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Memory for AI agents that tracks beliefs over time and surfaces contradictions
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
OMEM_API_KEY, OMEM_PROJECT, OMEM_BASE_URL, OMEM_AGENT, OMEM_USER「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"omem": {
"command": "uvx",
"args": [
"omem-infrastructure"
],
"env": {
"OMEM_API_KEY": "your-value",
"OMEM_PROJECT": "your-value",
"OMEM_BASE_URL": "your-value",
"OMEM_AGENT": "your-value",
"OMEM_USER": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add omem --env OMEM_API_KEY=your-value --env OMEM_PROJECT=your-value --env OMEM_BASE_URL=your-value --env OMEM_AGENT=your-value --env OMEM_USER=your-value -- uvx omem-infrastructure動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"omem": {
"command": "uvx",
"args": [
"omem-infrastructure"
],
"env": {
"OMEM_API_KEY": "your-value",
"OMEM_PROJECT": "your-value",
"OMEM_BASE_URL": "your-value",
"OMEM_AGENT": "your-value",
"OMEM_USER": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"omem": {
"type": "stdio",
"command": "uvx",
"args": [
"omem-infrastructure"
],
"env": {
"OMEM_API_KEY": "your-value",
"OMEM_PROJECT": "your-value",
"OMEM_BASE_URL": "your-value",
"OMEM_AGENT": "your-value",
"OMEM_USER": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
OMEM_BASE_URL envOMEM_AGENT envOMEM_USER envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント troybrandonc-bit で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:OMEM_API_KEY, OMEM_PROJECT
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.3.15)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
The system of record for what an AI agent believed and did. Append-only, with the evidence under every belief, both sides of every contradiction kept, and a named human behind every risky action. So when an agent acts and someone asks "why did it do that", you answer with a record instead of an investigation.
OMEM sits where a memory layer sits and does a different job. Instead of dumping text into a vector store and hoping for the best, it tracks what each agent believes over time, keeps the evidence under every belief, and handles contradictions explicitly, so an agent can reason about what it knows, when it learned it, and why it holds.
And it does not start from nothing. Installs that choose to pool what they work out about people in general, as counts that name nobody, and a young install borrows that intuition on day one instead of spending six months earning it. What you contribute is counts; what you get back is everyone else's. A borrowed pattern is born weaker than one you learned yourself, and still yields the moment a person's own evidence disagrees, so the general never overrides the individual.
The bank is empty today. No installation has contributed yet, which means the first ones decide what it learns, and it is worth knowing that a corpus of regularities about people can carry the biases of whoever filled it. The mining rule was rebuilt so that a pattern has to beat the base rate rather than ride it (Working Paper No. 1); whether the contributing population is representative is a separate question and an open one.
It runs locally with no external services and no dependencies to install.
pip install omem-infrastructure && omem-server
Or deploy a private server in one click:
The blueprint provisions one small service with a persistent disk, password auth on (the first signup is the operator account), and a generated master key. Fly.io works too: fly launch --copy-config with the included fly.toml.
Docs: [infrastructure.omem-cloud.com](https://infrastructure.omem-cloud.com) · Quickstart · Security · Contributing
Shipping agents to clients? The audit trail and the approval gate are the
and a small number of hands-on design-partner pilots are open.
Want to see the whole pattern run before reading another word?
refund-desk is the
reference integration: a support agent that moves money, with receipts.
One file, runs in a minute, asserts every claim it makes.
That is scripts/demo_reasoning.py , abridged. Every line is an asserted behaviour that runs in CI, so this picture cannot quietly stop being true.
Two sources disagree. Neither is overwritten. See the whole thing running .
Most agent memory is a list of facts. When two facts conflict, one silently overwrites the other and the history is gone. OMEM keeps both, tracks which one is currently believed, and can tell you why. A few things it does that a plain vector store does not:
X and not:X are treated as opposed automatically; for anything else, mem.contradict("prefers_annual", "prefers_monthly") says so once. OMEM never decides two claims disagree by reading them, because that judgment is what would stop the same question having the same answer a year later.OMEM_EMBED_MODEL to use your provider's real embedding model, with cached vectors and automatic fallback if the provider is down.You need Python 3.9 or newer. No other dependencies.
Option 1: install from PyPI (server included).
pip install omem-infrastructure
omem-server
Upgrading from an earlier version? pip install --upgrade omem-infrastructure. Plain pip install on a package you already have reports "Requirement already satisfied" and does nothing, which is a quiet way to keep running the version you were trying to leave. python -c "import omem; print(omem.__version__)" says what you actually have.
That starts the server on http://127.0.0.1:8787 and, on first run, prints a project id and an API key: no signup call, no dashboard visit, nothing to configure. Paste them straight in:
from omem import Memory
mem = Memory(api_key="omem_sk_...", base_url="http://127.0.0.1:8787", project="proj_...") mem.remember(agent="support", about="customer:1", claim="prefers_annual_billing") print(mem.believes(about="customer:1", claim="prefers_annual_billing"))
[QUICKSTART.md](QUICKSTART.md) takes that to a contradiction and a provenance chain in about five minutes, which is where the difference from a vector store actually shows.
Option 2: run from this repo.
cd server
python api.py # or: python api.py 9000 for a different port
Same server, same first-run project id and key, started from source. Setup takes about a minute either way. Two differences worth knowing:
server/data/omem.db; omem-server writes ./omem-data/omem.db in whatever directory you ran it from. OMEM_DB overrides either.cd web && OMEM_STATIC=1 npm run build. The API is identical either way.Option 3: Docker.
docker run -p 127.0.0.1:8787:8787 -p 127.0.0.1:3000:3000 \
-v omem-data:/app/server/data ghcr.io/troybrandonc-bit/omem
API on 8787, dashboard on 3000, data in the named volume. The ports are published to loopback on purpose: the container runs in local mode, which has no passwords, so reachability is the access control. Putting it on a network means setting OMEM_AUTH=password and OMEM_MASTER_KEY first, and docker-compose.yml in this repo shows that shape.
OMEM records what breaks and repairs it under policy. This is infrastructure for your agents, not something OMEM does to itself: you register a component and the hooks it can be repaired with, and OMEM owns the memory, the safety boundary and the lifecycle.
The part that matters is what it refuses. A model may *propose* a repair plan; OMEM decides what is permitted. Only action types registered in code can execute, risk class comes from that registry and never from the plan, high-risk actions need explicit approval, and a repair is not successful until it verifies.
mem.healing.report_health("vector-index", "healthy", "12,400 vectors")
result = mem.healing.handle( error={"component": "vector-index", "error_type": "StaleShard"}, plan={"diagnosis": "replica fell behind after a partition", "confidence": 0.8, "actions": [{"type": "rebuild_index"}, {"type": "exec_shell"}]}, ) result["status"] # -> "denied" result["decisions"] # rebuild_index: permitted (low risk)
Nothing ran. The plan is kept with the reason each action was permitted or refused, so the refusal is a record rather than a silence. Error text and model output are data here, and neither can name an action into existence.
Everything else you would want is enforced too: failures are fingerprinted so a thousand identical errors are one entry, a repair storm is capped per component, one recovery per component is claim-enforced in the database, secrets are stripped before anything is persisted, and an internal error escalates rather than retrying wild.
The Self-healing screen in the dashboard shows component health, the failure record, and how far each repair got, with the step it stopped at marked, and the diagnosis it acted on. server/healing.py is the whole subsystem and is worth reading if you are deciding whether to trust it.
The dashboard ships inside the package. Start the server and open the same address, http://127.0.0.1:8787. It is all there: memory, conflicts, the belief graph, the timeline, logs and the audit trail. No Node, no second process, no second port.
In local mode (the default) there is no login; it opens on the project the server created for you. On a server running OMEM_AUTH=password it shows a sign-in form instead.
It is a static export of web/, the only UI in this repository, copied into the wheel at build time. To work on it:
cd web
npm install npm run dev # http://localhost:3000, proxying to the API on 8787
and to rebuild the bundled copy, OMEM_STATIC=1 npm run build.
OMEM runs in one of two modes, and the difference matters before you put it anywhere other than your own machine.
`OMEM_AUTH=local`: the default, and what makes the quickstart a minute. There is no login: the dashboard provisions a session against the server it can see. That is only safe while nothing else can reach the server, so local mode refuses to bind a non-loopback address. If you mean it (a container whose ports are published to 127.0.0.1, a single-user VM), set OMEM_ALLOW_INSECURE_BIND=1.
`OMEM_AUTH=password`: required for a server other people can reach. Accounts have passwords, hashed with PBKDF2-SHA256. Signing up with an address that already has a password returns 409 rather than a session, TOTP is enforced where it is enrolled, and the server refuses to start unless `OMEM_MASTE
冒頭だけを表示しています。続きはリポジトリで読めます