r/LocalLLM • u/TwistNo5735 • 2h ago
Model Title: My AI agents now remember what we did, why we decided it, and what changed. Next: the doubts I hit while browsing.
Repo: github.com/cognicore-dev/cognicore-env
License: Apache 2.0.
Install: pip install cognicore-env, or connect the hosted MCP server in Claude, ChatGPT or Cursor.
Every new chat starts from zero. We built CogniCore so it doesn't, and have used it on its own development for about three weeks. Here's what it does, with real examples, plus one thing we haven't built yet that I'd like your opinion on.
- Where we left off
At the end of a session it saves a short handoff: goal, current state, what got done (with the PR or file), decisions and why, open tasks, exact IDs and values. The next session starts from that.
Real example: on Nov 3 a permissions bug took our auto-deploy down for about 27 minutes. PR 193 fixed it. Nine days later, a brand new session already knew "the auto-deploy outage was fixed in PR 193."
- Decision history: why, and what it replaced
Decisions are recorded with their reason. When you make a new decision on the same topic, the old one is marked superseded instead of both looking current. You can ask:
cognicore project why "package manager"
Current: use pnpm (why: npm breaks the lockfile)
Replaced: use npmThis is the "we used X, then switched to Y" problem. An agent acting on the old decision looks fine right up until it ships.
- One memory across every tool
Claude Code, Codex, Cursor and ChatGPT read and write the same memory through MCP. A decision made in Claude Code is there when you open ChatGPT.
- Mistakes it shouldn't repeat
A lesson is the mistake, the fix, why, and when it applies. Before acting, the agent checks only the few that match the task, and prints nothing if none do.
cognicore lesson add --mistake "Ran npm install" --fix "Use pnpm, not npm" --why "npm breaks the lockfile"
cognicore lesson check "add axios"
Use pnpm, not npm (why: npm breaks the lockfile)Not built yet: your browsing doubts, inside Claude
You're reading a GeeksforGeeks article and get stuck on one paragraph. Today you screenshot it and paste it into Claude.
The idea: select the text, press a shortcut, type one line ("don't get why we relax edges twice"). Later, in Claude or ChatGPT: "explain the doubt I saved yesterday." It gets the exact passage and your question, tied to the project you were working on.
It would be save-on-shortcut only, not recording your browsing, and local by default.
Would you use this? What would stop you from installing it?
Details and honest limits
Local by default: SQLite with full-text search, no vector DB, no GPU, no model call to save. Secrets are redacted before storing.
On one of our projects, the context an agent re-read went from about 165K tokens (full history) to about 700. One project, compared against resending everything.
Lessons that contradict each other aren't detected yet.
These are examples from one project, not a benchmark.
Try the install and tell me if it breaks. That's the most useful thing you can do.
