Back to browse
Vexp – Your AI coding agent forgets everything. Mine doesn't

Vexp – Your AI coding agent forgets everything. Mine doesn't

by nicola_alessi·Feb 24, 2026·1 point·0 comments

AI Analysis

●●●BangerSolve My ProblemWizardry

74% token reduction + passive agent memory — solves two real pains with zero cloud.

Strengths
  • AST-based dependency graph is genuinely clever: isolates only reachable symbols, not linear file scans.
  • Passive memory capture (observes what agent explores, watches diffs) sidesteps the agent incentive problem.
  • Local-first with no code upload: runs entirely on your machine, appeals to security-conscious devs.
Weaknesses
  • Limited to TypeScript/JavaScript initially; cross-language support roadmap unclear.
  • Depends on agent ecosystem adoption; best case limited to Cursor/Claude users, not universal.
Target Audience

Individual developers using Claude Code, Cursor, Windsurf, or other AI coding agents

Similar To

Continue.dev context management · Sourcegraph Cody context handling · Cursor tab selection logic

Post Description

I built vexp because AI coding agents have two expensive problems: they waste tokens reading irrelevant code, and they forget everything between sessions.

The token problem: agents read entire files linearly to build context. On a medium TypeScript project, a single query was consuming ~18k tokens — most of it irrelevant. vexp builds a dependency graph from the AST (who calls what, who imports what, what types flow where) and serves only the relevant subgraph as a token-budgeted capsule. ~2.4k tokens instead of ~18k, with better response quality because the context is precise.

The memory problem: this is where it gets interesting. The obvious approach is giving agents a "save what you learned" tool. They won't use it. I tried every prompting trick. Agents optimize for task completion, not knowledge retention. The incentive structure is fundamentally wrong.

So vexp observes passively. It watches what happens — which symbols the agent explored, which files changed and how they changed structurally, what patterns emerge across sessions — and builds memory without the agent lifting a finger. When code changes, linked memories auto-stale. The agent sees "previous context exists but the code has changed since re-evaluate." It also catches anti-patterns like dead-end exploration and file thrashing so the agent doesn't repeat mistakes.

The memory is hybrid-searched with 5 signals (text relevance, semantic similarity, recency, code graph proximity, staleness) and every result includes a "why" field explaining the ranking. No black box.

Architecture: single native Rust binary (~15MB), SQLite with WAL mode, tree-sitter for 11 languages, MCP protocol. 100% local, zero cloud, zero account, zero network calls. Works with Claude Code, Cursor, Copilot, Windsurf, Zed, Continue, and 6 other agents. Auto-detects which agent is running and generates tailored instruction files.

Free tier: 2k nodes + all memory tools. Everything runs on your machine.

https://vexp.dev

Similar Projects

Developer Tools●●Solid

Process mining for AI agent systems

Zero-config agent monitoring via file watching, but requires agents to output structured JSON logs.

Solve My ProblemShip It
clemencechee
103mo ago