cd /news/developer-tools/title-why-i-gave-my-coding-agent-a-m… · home topics developer-tools article
[ARTICLE · art-64299] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Title: Why I gave my coding agent a memory (and how Cortex works)

A developer created Cortex, a local memory system for coding agents that stores and retrieves context using SQLite, deduplication, and a ranking engine. The tool addresses token waste and context loss by keeping all data on the machine, with features like a dashboard and optional autopilot mode. The project is open-source and seeking feedback on its memory ranking component.

read1 min views1 publishedJul 18, 2026

The problem, concretely. A real session where the agent re-derived or

re-broke something it had already handled. Name the cost: wasted tokens,

wasted time, lost context.

Why existing options didn't fit. Cloud memory = your code leaves the

machine. Bigger context windows = you still pay to re-read everything and

still lose it at session end.

The design. Walk the flow: capture policy (dedup + normalize, drop the

"done!" noise) → typed provenance links → full-text index → ranking engine

that packs recall to a token budget. One SQLite file, one local process.

Drop in the architecture mermaid diagram from the README.

The parts people can see. Dashboard (blocked work first, explained search

scores, graph view). Then Autopilot as the "if you want it" layer — git

worktrees, model routing, the hard off-limits guard as the safety story.

What's next / call for feedback. Be honest that it's early. Link the repo,

invite issues, say which part you most want eyes on (the memory ranking).

git

── more in #developer-tools 4 stories · sorted by recency
── more on @cortex 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/title-why-i-gave-my-…] indexed:0 read:1min 2026-07-18 ·