OpenReflex / TLDR
A coding agent should not pay the full exploration cost twice.
OpenReflex is local muscle memory for AI coding agents. It learns the structure of a project without blocking the developer, observes how work is actually completed, closes tasks against verification evidence, and gives later tasks a smaller, better starting context. The aim is not to replay an old trajectory. It is to reduce unnecessary rereading, retries, tool calls and context while preserving verified task completion.
The problem
Success can still be wasteful
Raw traces are not memory
The loop
Understand the project, retrieve only what matters, verify the outcome, then reinforce useful evidence.
Project Primer
ReflexIndex
Outcome closure
Statusline + TUI
Work modes / 0.5.0
BUILD, INVESTIGATE and THINK are different jobs. OpenReflex stops treating them the same.
Coding tasks still get inspect-first, test-first and incremental paths. Investigation gets its own paths — source-first, cross-check, broad-then-deep — and reasoning gets reason-first, compare-options and evidence-first. Substantive zero-tool reasoning and investigation now count as real executions, and recommendations stay separate from observed paths so OpenReflex never claims a suggested path ran when it was not actually observed.
A /loop or scheduled or background task now shows WAITING instead of being finalised early, and resumes the same execution when the next matching scheduled iteration runs. The confusing numeric comparison language is gone: the runtime shows a plain Path check, either a better option backed by comparable completed tasks, or none proven.
Real model-token accounting
Token samples, not a schema rewrite
Runtime / 0.4.1
The line in Claude should say what OpenReflex is doing now.
OpenReflex tracks tool start and completion separately. The statusline can therefore show safe coarse activity such as READ, SEARCH, EDIT, TEST, LINT, BUILD, GIT, WEB, MCP or RUN while a task is active, instead of only showing a generic completed-call count.
Project-relative file targets may be shown, but raw shell commands are never echoed into the statusline. A new task resets previous call/activity state, and an active task moves from RECALL to WATCH rather than looking READY while Claude is still working.
Reload-aware versions
Mismatch is visible
Project Map / 0.4.0
Cold-start memory without turning the repository into a giant vector dump.
Project Map indexes tracked paths, file roles, languages, lightweight top-level symbol names, declared dependencies, Git hotspots and bounded co-change relationships. Nested Helm, Node, Python, Go and Rust manifests are indexed with project-relative provenance, which matters for monorepos and multi-chart repositories.
Source bodies are read transiently where needed for extraction but are not persisted in the structural map. Retrieval mixes path and symbol overlap with small structural signals and stronger observed execution support. Verified execution remains more authoritative than repository history.
Evidence hierarchy
OpenReflex separates what the repository suggests from what executions actually proved.
Repository structure
Paths, roles, manifests and project topology are structural priors.
Symbols + dependencies
Top-level symbol names and declared dependencies improve cold-start localisation.
Git history
Hotspots and bounded co-change relationships add a small structural signal.
Observed execution
Known task outcomes reinforce the files and paths that actually mattered.
Verified execution
Explicitly verified success is the strongest reusable evidence.
Privacy boundary
Local by default
Derived metadata, not a transcript archive
What exists in 0.5.0
Managed project memory
Verified execution memory
Indexed Project Map
Truthful runtime UI
Work modes beyond coding
Real token accounting
The measurement that matters
Past work should measurably improve future work.
OpenReflex carries a deterministic cold-start CI benchmark for target-file localisation, target rank, nested-manifest evidence, structural-evidence labelling and injected-context size. It is intentionally model-free: passing it proves the Project Map retrieval contract, not causal token or time savings.
The next evidence layer is live-agent evaluation: compare exploration and search calls, tool calls, context tokens, elapsed time and verified completion on matched tasks. That is the standard required before claiming real efficiency gains.
OpenReflex is not trying to make an agent agree with its memory. It is trying to make useful prior evidence reduce the cost of the next correct execution.