2e5ef91173b64cc1ba2db0f91f629d252e5ef91173b64cc1ba2db0f91f629d25
2e5ef91173b64cc1ba2db0f91f629d25
Oct 7, 2026

Q: VS Code ( Claude and Codex) Agents skipping vexp calls inspite of instructions

I bought the VEXP annual plan ($200) and installed it in VS Code, where I use Claude Code and Codex agents ~10 hours a day. After 6 days, the agents rarely call VEXP. When asked, they say it isn't useful (Agent skipped VEXP: forced call and auto snippets gave irrelevant results).

I added instructions in AGENTS.md and CLAUDE.md at both project and global level insisting on VEXP, with no measurable token savings. My context: no legacy or huge monorepos. I work across several separate codebases, each ~800 files of ~5 KB max, and rely on .md files to recall past decisions. How can I make VEXP work for this setup? Specifically: why do the agents skip it, how should I configure or instruct them so it is actually used, and is my use case even a fit for VEXP?

Founder Team
Nicola_Vexp

Nicola_Vexp

Oct 7, 2026

A: Your setup is a good fit for vexp, and most of what you describe is vexp working the way it is designed to. A few adjustments will let you see it.

One thing first: which vexp version are you on (Extensions panel, or "vexp: Doctor" from the Command Palette)? What follows describes the latest release. If yours is older, update first, since several of these behaviours arrived in recent versions.

Why the agents rarely call it

vexp does most of its work without a tool call. When you send a prompt, it looks the prompt up in its index and puts a short orientation in the agent's context before the agent starts: the files, symbols and line ranges the task is about. Those are the "auto snippets" your agent mentioned. The instructions vexp writes into CLAUDE.md and AGENTS.md then tell the agent to call run_pipeline once when it starts a task in unfamiliar code, and to skip it when the task already names the files.

That is deliberate. Every tool call is a turn, and every turn re-sends the whole conversation to the model, so the cheapest help is the kind that costs no turn. Few calls is the saving, not a sign that vexp is idle. It is the same setup behind our public benchmark: Claude Code on Opus 5 with vexp resolved 597 of 731 SWE-bench Pro tasks (81.7%), on par with the 80.3% Anthropic reports for Fable 5, a model whose tokens cost twice as much. Every session is published.

How to set it up for your way of working

Remove the extra instructions that force vexp, project and global, and keep the section vexp writes itself. A forced call on a task where the agent already knows where to go has nothing left to add, which is what your agent told you. "vexp: Setup Agents" from the Command Palette restores vexp's own section.
One task, one session. vexp orients the first prompts of a session and then steps back, because by then the agent knows the repository. A fresh session per task gets you a fresh orientation, and it is also the biggest token saving in agentic coding generally. If you prefer long sessions, set ambient_decay_after in .vexp/vexp.toml (default 3, 0 for no limit).
For Codex, trust the hook once per project: Codex panel > Settings > Hooks > vexp-hint. Codex only runs project hooks you have approved.
Name things in your prompts. vexp works from the identifiers, file names, comments and headings in your code, so "the retry in OrderSync.push fires twice" lands exactly where "that sync bug is back" cannot.
vexp also holds back a small share of prompts as a built-in A/B on your own work. Setting holdback_pct = 0 in the same file turns that off if you'd rather have every prompt served.
Your .md decision files

vexp indexes Markdown by heading and returns the section, not the whole file. It also tells reference documents from records, so that a log of past work never takes the place of the code in an answer. To have your decisions treated as reference, keep them in a folder like docs/decisions/, one file per topic, named for the topic (auth-token-rotation.md), with a # heading per decision. Avoid dated file names, notes/ or journal/ folders, and NOTES, LOG or SUMMARY style names, which vexp reads as records. Then ask in plain words ("what did we decide about token rotation?") and you get that section. Anything in CLAUDE.md or AGENTS.md is already in the agent's context, so vexp leaves those alone.

Is your use case a fit?

Yes. Repositories of 800 files are where an agent spends real turns searching, and that search is what vexp removes: bugs described by their symptom, changes across several files, code you haven't touched in a while. When you point the agent at an exact file, vexp stays out of the way and costs you nothing. Look at "Activity" in the vexp sidebar rather than at tool calls: it shows every prompt analyzed and every orientation served. Several separate codebases work well too. Each one gets its own local index.

If you'd like me to look at your setup directly, send your version, the output of npx vexp-cli doctor --report (counts, timings and file paths, never your prompts or code) and two or three prompts where the orientation missed, to staff@vexp.dev. We'll go through them with you.

Share
Helpful?
0
Log in to join the conversation