
CogniCore
io.github.cognicore-dev由 GitHub 账号 cognicore-dev 发布v0.10.3更新于 Nov 6, 2026
Memory, reflection and safety for AI agents. Hosted or local, no vector database.
发布方自己的服务:core.blue
概览
托管式记忆服务器,可保存编码代理的会话并在另一个代理中续接,附带反思与提示注入防护。
- 可以做什么
- 自动保存会话并在之后续接,可在同一代理或不同代理(Claude Code、Codex 及任意 MCP 客户端)之间交接。
- 存储经验并按语义跨会话、跨进程检索。
- 从反复失败中提炼教训,并在下次尝试前提示。
- 在提示注入和越狱内容到达代理前将其拦截。
- 回放过去的运行或从任一步骤分支,并导出、导入带签名的记忆包。
- 适用场景
- 适合工作跨越多个编码代理会话,或在 Claude Code 与 Codex 之间切换时,希望目标、待办、决策和具体取值自动延续、无需重新说明的场景。也适合需要提示注入防护或可查看会话记忆的用途。
- 运行要求
- 远程端点 mcp.cognicoree.tech,使用 streamable HTTP;需通过 GitHub 账号进行 OAuth 登录,每个账号对应独立的记忆数据库。本地版本需 Python 3.10-3.12 及 cognicore-env 包;可选扩展提供语义记忆、LLM 代理、仪表盘和 mem0 迁移。
安装
在 SourceWeft 中
- 打开 控制台中的 CogniCore,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.cognicore-dev%2Fcognicore-env/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"cognicore": {
"type": "http",
"url": "https://mcp.cognicoree.tech/mcp/stream"
}
}
}README
CogniCore
Memory that moves between your coding agents. Work in Claude Code, close it, open Codex, and it carries on with the same ticket, the same decisions and the same open follow-up. There's nothing to re-explain.
[PyPI] [Python] [License] [Downloads]
[Claude Code hands its work to Codex through CogniCore memory]
Restart Claude Code. In Codex, run /hooks once and trust the three CogniCore hooks. Using Claude Code only? Run /plugin install cognicore --marketplace cognicore-dev/cognicore-env inside it.
Why CogniCore
Measured on real Claude Code and Codex sessions against claude-mem 15.7.0. In each task, session 1 does part of a job, its transcript is moved out of reach, and a fresh session 2 must finish a deferred follow-up and answer 8 questions. Both systems got every follow-up right.
Method and full results: docs/transfer-audit.md. Rerun them yourself with scripts/bench_realworld.py.
How it works
- Automatic. When a session ends, hooks save it from the agent's own transcript. At the next start they inject that project's latest work. There's nothing to remember to call.
- A short, useful brief. It covers the goal, where things stand, open tasks, decisions with their reasons, and exact values like ticket IDs, versions and paths. It's sized to a token budget, and the agent can ask for more sections when it needs them.
- Any agent. Work saved in Claude Code resumes in Codex, and the other way round. Any MCP client can call
cognicore_save_sessionandcognicore_resume_session. - Local and private. Memory stays in
~/.cognicore/mcp(SQLite). CogniCore never reads tool output, file contents or the model's thinking, and it redacts secrets before saving. - Optional sync with claude.ai, Desktop and mobile. Run
cognicore loginonce. Claude Code and Codex sessions then reach your hosted account, and sessions from the CogniCore connector come back. Only the redacted handoff is sent, never the transcript. - Inspectable.
python -m cognicore.memory.vieweropens a read-only page listing every saved session.
Plugin details: plugins/cognicore/README.md · full-quality demo: MP4
The CogniCore library
Under the plugin is a Python library for persistent memory, reflection and safety in any agent. It has zero mandatory dependencies, and it needs no vector database, embedding server or other infrastructure.
An agent debugs an issue, finds the fix, and the session ends. The next run starts from zero: the same questions, the same dead ends, the same fixes that were already rejected. Conversation history records what was said, not what was tried, what failed and what worked. CogniCore keeps that experience.
[Watch the 56-second library demo]
Install
Python 3.10+. No mandatory dependencies. No API key is needed for memory, reflection or safety.
Quickstart
Give any function a memory of its own past runs:
The first run starts cold. From the second run onward, CogniCore supplies the relevant past context automatically — including the approaches that already failed.
See memory change the outcome
What you get
Memory
Safety
Replay and branching
Benchmarks
LongMemEval — STRICT R@5
LongMemEval is the hardest memory benchmark: the answer requires combining evidence from several separate past sessions, so no single retrieved chunk is sufficient on its own.
CogniCore's multi-hop adapter addresses exactly that. Instead of taking the top-N most similar chunks and stopping, it:
- extracts the key entities from the query,
- retrieves anchor chunks on the first hop,
- traverses session and time links to reach connected chunks the first hop missed, and
- selects the set of chunks that together cover the most entities — not the ones with the highest individual scores.
The gain is largest where token efficiency matters. At 20 chunks brute force catches up, and we report that rather than hiding it.
Known limitation: lexical (TF-IDF/BM25) retrieval misses when session vocabulary differs from
the query's. Semantic search is available behind the [memory] extra.
Integrations
MCP server
CogniCore ships an MCP server, so MCP clients get persistent memory with no code changes:
Hosted endpoint
A hosted instance is live — no install, no local process to manage:
Health check: https://mcp.cognicoree.tech/health returns {"status":"ok","version":"1.0","commit":"<sha>"},
where commit is the commit the server is running.
Add it as a custom connector in any MCP-compatible client (Claude, Claude Code, Cursor, Sarvam
Cowork) and sign in with GitHub. The server is its own OAuth 2.1 authorization server, and each
GitHub account gets its own memory database — see
docs/remote-mcp-server.md.
All 31 tools are listed in docs/mcp-tools.md, which states for each one
whether it reads your data, changes it, or calls a third-party service.
Claude plugin
plugins/cognicore is the local-first plugin. It saves and resumes sessions automatically through hooks, with memory kept in ~/.cognicore/mcp. cognicore install sets it up for both Claude Code and Codex. Inside Claude Code alone you can also run:
For the hosted, GitHub-sign-in variant, see plugins/cognicore-memory.
mem0
Transfer verified memories to and from mem0 with cryptographic integrity.
Export a sealed bundle (Ed25519-signed, deterministic canonical JSON):
Import it with fail-closed verification — there is no bypass:
Verified memories land in the trusted partition. Unverified or environment-incompatible records go into structural quarantine, where they are invisible to normal search. Promotion out of quarantine requires fresh verification evidence — never elapsed time, never repetition.
Design discussion: mem0ai/mem0#7376 · run-llama/llama_index#23122
CLI
If cognicore isn't on your PATH after install, run
python -c "from cognicore.cli import main; main()".
Optional extras
The base install has zero required dependencies. Add only what you need:
Troubleshooting
Repository layout
The module-by-module map is in CONTRIBUTING.md.
Links
- Website: https://www.cognicoree.tech
- PyPI: https://pypi.org/project/cognicore-env/
- Demo video: https://github.com/cognicore-dev/cognicore-env/releases/download/demo-video/cognicore-demo.mp4
- LinkedIn: https://www.linkedin.com/company/135163927/
- Issues: https://github.com/cognicore-dev/cognicore-env/issues
Requirements
Python 3.10, 3.11 or 3.12 · Windows, macOS or Linux · no mandatory dependencies.
License
Licensed under the Apache License 2.0. © cognicore-dev, built by Kaushal Trivedi, Durvesh Bhadgaonkar and Hassaan Tole.
来源:README.md,提交 6ddeca9
工具
0版本历史
1- v0.10.3最新Oct 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Core 集成
core.blue
blue.core官方发布者
core.blue 的远程 MCP 端点,提供每位客户独立的私有智能体记忆“house”:可读手册、试用沙盒、查价格与建议,并申请 house。

Brevio Core
由 GitHub 账号 Brevio-Ventures 发布
本地 MCP 服务器,让编码代理扫描代码中反复出现的代理式错误、解释规则、列出规则,并把一次修复固化为守卫。

brain-core
由 GitHub 账号 xy-claude 发布
本地 MCP 服务器,为 Claude Code 智能体提供跨会话的长期记忆,以 markdown 文件加本地 SQLite 与向量索引保存。

Scovant Core
由 GitHub 账号 Scovant 发布
对网站进行被动式AI代理就绪扫描:robots、llms.txt、JSON-LD、MCP发现、安全性。AI 翻译

ProofCore
由 GitHub 账号 ProofCore-Protocol 发布
面向AI代理的TON区块链零认证加密公证与证据层。AI 翻译