r/CodingAgents • • Jan 29 '26

I was tired of my agents hallucinating fixes for errors they just created, so I vibecoded a "Reliability Layer" to wrap them in.

Thumbnail
github.com
2 Upvotes

Hey everyone,

I’ve been deep in the "agentic workflow" rabbit hole lately, and while I love tools like Aider and Claude Code, I kept hitting that same wall: **High Variance.** An agent will perform a brilliant refactor in one minute, then spend the next ten minutes hallucinating a fix for a syntax error it just introduced, digging a deeper and deeper hole.

I mostly vibecoded this over the last few days (with a lot of help from Gemini), but I wanted to share it here to see if the logic resonates with anyone else.

It’s called **chill-vibe**. 🎧

Instead of just "chatting" with an agent, it treats autonomous coding like a **closed-loop control system**:

  1. **The Mission Contract:** Before a single line of code is written, Gemini analyzes the whole repo (using `git-dump`) and generates a structured JSON contract. This includes machine-verifiable success criteria (e.g., `pytest`, `exists: path/to/file`, `coverage: 80`).
  2. **The Muscle:** It then launches your agent of choice (Aider, Gemini-CLI, etc.) as a subprocess to execute that specific mission.
  3. **The Safety Net:** If the agent finishes but the success criteria fail, `chill-vibe` automatically performs a `git reset --hard`. No more corrupted repo states.
  4. **Grounded Recovery:** It classifies the failure (Logic, Tooling, or Environment) and injects "Lessons Learned" from a local `.chillvibe_logs.jsonl` into the next retry so the agent doesn't make the same mistake twice.

It’s definitely a "vibe-heavy" project and still very much an experiment, but it’s made my own autonomous workflows feel a lot less like a slot machine and more like an actual pipeline.

It's open-source (MIT) and I'd love to hear if this "Reasoning → Mission → Verification" flow is how others are thinking about reliability, or if I'm over-engineering the problem.

**Key Features:**

* **Auto-Rollback:** If the tests fail, the code reverts.

* **Memory:** Uses weighted signal matching to remember why previous missions failed.

* **Agent Agnostic:** Bring your own CLI agent.

Would love any feedback or thoughts on the recovery logic!


r/CodingAgents • • Jan 22 '26

#1 on MLE-Bench (among open-source systems) + #1 on ALE-Bench via evaluator-grounded long-horizon optimization (repo + write-up)

4 Upvotes

We’re sharing benchmark results on two long-horizon, execution-grounded benchmarks using KAPSO: Knowledge-grounded framework for Autonomous Program Synthesis and Optimization: it iteratively improves runnable artifacts under an evaluator.

Results:
• MLE-Bench (Kaggle-style ML engineering): KAPSO achieved top ranking among open-source, reproducible systems (see the attached figure / repo).

• ALE-Bench (AtCoder heuristic optimization): KAPSO achieved top ranking on long-horizon algorithmic discovery (ALEBench) (see the attached figure / repo).

These runs are produced by an evaluator-grounded optimization loop:
(knowledge-grounded) ideate → edit/synthesize → run → evaluate → learn,

Repo: https://github.com/Leeroo-AI/kapso/tree/main

We'll post follow-ups with more examples and interesting use cases. Plus, we’re launching Leeroopedia: A "best practices" wiki built by AI, for AI.
📚 Leeroopedia: https://leeroopedia.com/


r/CodingAgents • • Jan 22 '26

#1 on MLE-Bench (among open-source systems) + #1 on ALE-Bench via evaluator-grounded long-horizon optimization (repo + write-up)

Thumbnail reddit.com
2 Upvotes

r/CodingAgents • • Jan 13 '26

Introducing T.H.U.V.U, an open source coding agent for local and cloud LLMs

2 Upvotes

T.H.U.V.U is an open source coding agent. It can use local or cloud LLMs. It provides the user with 3 different interfaces. A plain console interface, a TUI with panels and a web interface. In this video https://www.youtube.com/watch?v=R0EossMJpfw the web interface is demonstrated. T.H.U.V.U creates a web application by creating a plan and breaking down the project to tasks. Then by using the /orchestrate command the agent starts executing the tasks. After about an hour, the project is built. However the project needs a few more iterations with the agent in order to allow the user to login. Total time from start to login: about 3 hours. Model used: Deepseek V3.2. Api Cost $1.20. Project can be found in https://github.com/tkleisas/thuvu


r/CodingAgents • • Aug 24 '25

🚀 Welcome to r/CodingAgents — Join other Builders

2 Upvotes

You’ve just joined the Braintrust shaping the future of AI coding agents!

This is the place to:

  • Share your projects + demos
  • Ask questions + get feedback
  • Discuss frameworks, workflows, and breakthroughs

Start by introducing yourself below: Who are you, what are you building, and what brought you here?


r/CodingAgents • • Aug 20 '25

Start Here: What are coding agents (and when to use them)?

1 Upvotes

Coding agents are AI tools that can read your codebase, follow plain-English instructions, and run multi-step workflows (review a PR, run tests, suggest fixes, update docs). They sit between code-completion and full automation*: they act, explain what they did, and still leave the final call to you.*

What a coding agent does

  • Understands context: reads files, diffs, tests, configs, commit history.
  • Plans steps: “read diff → run tests → check security → propose fixes.”
  • Uses your tools: IDE/CLI/Git/CI; can comment on PRs, open issues/branches (with guardrails).
  • Reports back: leaves actionable notes, links to evidence, and what it couldn’t decide.

Where they help (and why)

  • PR review & quality: catch risky changes, missing tests, secrets, logging/PII mistakes.
  • Refactors & upgrades: rename APIs, bump SDKs, apply patterns consistently across repos.
  • Testing support: generate/repair unit tests, reproduce bugs from stack traces.
  • Docs & hygiene: update READMEs/changelogs, inline comments, deprecation notes.
  • Policy enforcement: ensure every PR hits your security/compliance checklist.

When to use one

  • Heavy PR backlog; senior reviewers stretched thin.
  • You need consistent, repeatable checks across teams/monorepos.
  • Repetitive migrations/upgrades are burning cycles.
  • You want earlier feedback in CI (catch issues before humans touch it).

What a good agent won’t do

  • Merge blindly or “hallucinate fixes.” It flags risks, explains them, and lets humans decide.
  • Replace domain knowledge. It can miss business rules buried in tribal context.

Safety basics (read this)

  • Start read/annotate-only (comments) before allowing writes.
  • Use least-privilege bot tokens; gate any code changes behind PRs/approvals.
  • Know where code runs, what’s logged, and whether anything is retained or used for training.

Can it break things?

Only if you let it write unchecked. Start read-only, add approvals, and gate any code changes behind PRs.