Browse 10 Compiler & AST Repair Loops — Deterministic Verification Loops
SWE-agent, Mini-SWE-agent (cargo check, gcc, ruff) 10 free and paid blueprints with pre-filled examples.
Compiler & AST Repair Loops blueprints
Engineering Loop: SWE-Agent Autonomous Bash & Test Verification State Machine
Standard SWE-Agent state-machine loop configuration executing commands in an interactive bash subshell, verifying exit codes, capturing compiler/test errors, and updating state until tests pass.
Engineering Loop: SWE-Agent Pure Bash Tooling & Diagnostic Repair Loop
Minimalist SWE-Agent loop operating without custom editor binaries, relying solely on POSIX bash utilities, patch, sed, and git diff.
Engineering Loop: Mini SWE-Agent Lightweight Python Verification State Machine
Ultra-lightweight state machine for SWE-Bench evaluation featuring minimal token overhead, single-call tool dispatch, and deterministic step counter.
Engineering Loop: SWE-Agent Markdown Backticks Code Replacement Loop
SWE-agent loop variant using fenced markdown code blocks with line numbering for deterministic multi-line block replacements.
Engineering Loop: SWE-Agent Multimodal Visual Inspection & UI Verification Loop
Multimodal state machine capable of capturing webpage or GUI screenshots, rendering visual diffs, and verifying visual layouts against test specifications.
Engineering Loop: Mini SWE-Agent SWE-Bench Benchmark Evaluation State Machine
Production benchmark loop calibrated for SWE-bench Lite and Verified test suites with automated git worktree isolation and test isolation.
Engineering Loop: LangGraph Code Generation, Import Checking & Pytest Self-Correction Graph
Deterministic LangGraph state machine implementing: Generate Code -> Check Imports -> Run pytest/ruff -> Conditional Edge (Finish if exit code 0, else loop back with traceback).
Engineering Loop: AlphaCodium Test Failure Analysis & Iterative Code Fix Loop
Iterative repair loop separating the diagnosis phase from the fix phase: first analyzes why the code failed on input X, then applies targeted surgery.
Engineering Loop: OpenHands CodeAct Iterative Bash & Python Execution State Machine
Foundational CodeAct state machine where the LLM writes executable code snippets and bash commands directly to perform multi-step software engineering repairs.
Engineering Loop: OpenHands Automated Post-Generation Verifier & Diff Review Loop
Specialized subagent loop that verifies whether another agent's proposed changes actually solve the problem without introducing regressions or code style violations.