Open-source LangGraph coding agent only submits patches after tests pass
wusuiling-if · reddit · 2026-07-21
I built and maintain mini-code-agent-langgraph, a compact CLI/REPL for developers who want to inspect a coding-agent loop instead of hiding it behind a large UI.
- A run cannot reach Submitted until the user-selected test command passes against the current workspace fingerprint.
- It keeps redacted, resumable trajectories, invalidates stale verification after resume, and provides HMAC-authenticated, conflict-aware Undo.
- The first run needs no provider or API key:
bash
python -m pip install mini-code-agent-langgraph==0.3.2
mca demo
- Works on macOS, Linux, and WSL2; native Windows only supports informational CLI/config paths.
- The deterministic offline suite passes 11/11 runtime-policy cases: 9 verified submissions, 2 expected refusals, with zero unexpected submissions and zero unrelated changes.
The author is asking for technical criticism on the verification boundary, trajectory/resume format, Undo threat model, sandbox ergonomics, and the current LangChain/LangGraph coupling.
More from coding & agent
- A tutorial shows how to rebuild Claude Code inside Pi with harness engineering — eptwts · 2026-07-21
- For agents and chatbots, the RAG vs. tuning choice depends on the problem — Roker_51 · 2026-07-21
- Reddit user asks for a practical local Ollama-and-Hermes desktop agent stack — Tonka-Jahari-Pizza · 2026-07-21
- Using Codex to set up Claude Code because opening a terminal takes one extra click — emollick · 2026-07-21
- An interactive Zarr explainer shows how AI is changing technical education — MaxLenormand · 2026-07-21
- Most people still use Claude like a chatbot, not an agent — heypearlai · 2026-07-21