広告

Advice for Working with Agents in YOLO Mode

Reddit r/LocalLLaMA / 3/28/2026

💬 OpinionDeveloper Stack & InfrastructureTools & Practical Usage

Key Points

  • The author describes experimenting with fully autonomous “YOLO mode” agentic coding (no human code writing or review) and shares lessons learned from that workflow.
  • They recommend creating a detailed spec.md with a thorough to-do list and edge cases before execution, which also improves model instructions and provides a model-handoff artifact.
  • They emphasize generating unit tests for features (including GUI where relevant) and running the full test suite after each change to reduce breakage and speed iteration.
  • They suggest maintaining “absolute golden” tests that agents cannot modify, ensuring critical behaviors stay protected across autonomous revisions.
  • They add automated backup via model-driven commits so the team can roll back cleanly if autonomous changes go wrong, and they ask for additional YOLO-mode best practices from others.

Until last November, I used assistant-style workflows, co-writing everything. Then at the beginning of this year, I started using agentic coding tools for small PR-style tasks, but I still reviewed every line and changed if necessary.

Over the past few weeks, I experimented for the first time with developing with agentic coding without writing or reviewing any code, essentially running in fully autonomous mode without asking approvals, and see what happens.

Here is what I have learned so far.

  1. Spec: Instead of firing off a task with a short prompt, discuss and co-write a detailed spec with a to-do list. This forced me to think through edge cases beforehand and come up with clearer instruction for model and better design. The spec.md also served as a nice handoff instruction when I needed to switch models.
  2. Unit tests: I had a model generate unit tests for every feature including GUI and automatically run the full test suite after each revision. This allowed to automate faster and produce more reliable code with minimum breakage. I also kept a few "absolute golden" tests that agents are not allowed to modify in any circumstance, and every revision had to pass the tests.
  3. Backup: I had a model automatically commit revision so I can always start clean and roll back if needed.

I mean these are already good ideas in general, but once I explicitly included these in the default instructions, things went significantly smoother and faster! Especially incorporating the unit tests into the workflow dramatically sped up the process.

What other advice do you guys have for successful agentic coding in fully autonomous (AKA YOLO) mode?

submitted by /u/chibop1
[link] [comments]

広告
Advice for Working with Agents in YOLO Mode | AI Navigate