
CogniCore
io.github.cognicore-devPublished by GitHub account cognicore-devv0.10.3Updated Nov 6, 2026
Memory, reflection and safety for AI agents. Hosted or local, no vector database.
The publisher's own server: core.blue
Overview
Hosted memory server that saves coding-agent sessions and resumes them in another agent, with reflection and prompt-injection safety.
- What you can do
- Save a session automatically and resume it later, in the same agent or a different one (Claude Code, Codex, any MCP client).
- Store experiences and recall them by meaning across sessions and processes.
- Derive lessons from repeated failures and surface them before the next attempt.
- Block prompt-injection and jailbreak attempts before they reach the agent.
- Replay a past run or branch from any recorded step, and export or import signed memory bundles.
- When to use it
- Useful when work spans several coding-agent sessions or switches between Claude Code and Codex and you want the goal, open tasks, decisions and exact values carried over without re-explaining. Also relevant if you want a safety layer against prompt injection or inspectable session memory.
- Requirements
- Remote endpoint at mcp.cognicoree.tech over streamable HTTP; OAuth sign-in with a GitHub account, which also scopes each account's own memory database. The local variant needs Python 3.10-3.12 and the cognicore-env package; optional extras add semantic memory, LLM agents, dashboards and mem0 transfer.
Installation
In SourceWeft
- Open CogniCore in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.cognicore-dev%2Fcognicore-env/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"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.
Source: README.md at commit 6ddeca9
Tools
0Version history
1- v0.10.3LatestOct 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Core integrations
core.blue
blue.coreOfficial publisher
Remote MCP endpoint for core.blue's private per-customer agent memory "houses": read its manual, try a sandbox, get pricing and recommendations, and request a…

Brevio Core
Published by GitHub account Brevio-Ventures
Local MCP server that lets a coding agent scan code for recurring agent-written mistakes, explain rules, list rules and turn a fix into a guard.

brain-core
Published by GitHub account xy-claude
Local MCP server that gives a Claude Code agent persistent memory across sessions, stored as markdown files plus a SQLite and vector index on your disk.

Scovant Core
Published by GitHub account Scovant
Passive AI-agent readiness scan of a website: robots, llms.txt, JSON-LD, MCP discovery, security.

ProofCore
Published by GitHub account ProofCore-Protocol
Zero-Auth Cryptographic Notarization & Evidence Layer on TON Blockchain for AI Agents.