LoopTroop is a local GUI orchestrator for long-running, high-correctness AI software delivery, with the goal of taking something from raw idea all the way to merged code. It is free and fully open source.
Purpose
LoopTroop helps you turn a coding ticket into a planned, reviewable, agent-executed pull request. Instead of relying on a single, endless AI chat session (where history bloats, the AI gets confused, and code quality degrades sharply), it breaks the work into clear, independent phases: planning turns an interview into a PRD, then splits it into minimally manageable milestones (called "beads"); execution puts each bead through multiple targeted automated repair loops; final review brings everything together.
It targets complex, multi-file feature development, emphasizes alignment and correctness, and adopts a "slow and perfect" paradigm, intentionally sacrificing raw speed to deliver a final result that fully matches your vision.
Key Capabilities
- LLM committee planning: Orchestrates multiple independent model instances to draft plans, score each other using weighted rubrics, and vote; the winner then synthesizes the strongest ideas from the losing drafts for refinement, and coverage is verified before execution. This multi-role process (draft -> vote -> refine -> verify) is used for interview questions, PRD/spec generation, and bead/blueprint generation.
- Interview: Before writing specs, an LLM committee compiles targeted questions to resolve ambiguity. You answer directly in the Interview workspace, clarifying edge cases, design decisions, and requirements.
- PRD generation: After the interview is complete, the LLM committee turns the initial ticket and interview answers into a structured product requirements document, including Epics and User Stories, plus highly decomposed implementation steps, serving as the single source of truth for implementation.
- Beads methodology: Adopts Steve Yegge's Beads Project methodology, splitting an epic into "beads" - the smallest independently implementable units of work. Each bead contains a clear purpose and goal, measurable acceptance criteria, necessary dependencies and prerequisite context, specific target files, and expected verification and testing steps.
- Execution and Ralph-style recovery: The actual implementation is carried out by an AI coding agent (OpenCode) in an isolated workspace. If the agent gets stuck, a retry mechanism (the "Ralph Loop") preserves a highly compact error trace, attempts a safe worktree reset, discards the contaminated session, and starts a fresh run with cleancontext plus notes from previous failures. This loop repeats until all tests pass or the retry limit is reached.
- Worktree isolation: The execution step runs in an isolated Git worktree rather than modifying your active branch, keeping the working copy clean and ensuring reliable, inspectable diffs. Note that worktrees provide workspace isolation, not sandboxed host security.
- Human approval gates: You actively review and sign off on planning specs, execution blueprints, and final pull request deliverables. For tickets with Manual QA enabled, LoopTroop prepares a checklist, and you manually control the app and accept/reject/skip/create a new ticket.
- Context engineering: Solves the problem of context rot through precise context curation. The engine isolates payloads to active state; during execution the agent only sees the specific active bead, its direct file targets, and test files; the planning phase receives only the minimal context relevant to the current step.
Usage
Installation requires Node 24.18.0 or later. It can be installed via npm, bun, pnpm, Yarn, Homebrew, Scoop, Chocolatey, WinGet, AUR, or a standalone executable. In addition to LoopTroop, you also need:
gitand an authenticatedgh: Before coding begins, the ticket checks both, because it ends with a pull request.- OpenCode, with providers configured and available models. LoopTroop launches the installed CLI when there is no reachable server, and automatically detects v1 or v2. It does not install OpenCode for you.
Basic flow: configure the provider in OpenCode, select the model on LoopTroop's Configuration screen, attach a local repository with a GitHub origin, then create a ticket.open command starts LoopTroop in the background and opens the browser.
When to use it
- Complex, multi-file feature development where alignment and correctness are critical.
- Agentic coding work that needs to run unattended for long periods (for example, overnight).
- Teams or individuals who want to turn coding tickets into reviewable pull requests.
Limitations
- Cost-sensitive budgets: Orchestrating a multi-model committee and long retry loops consumes a large number of API tokens, though provider subscription plans in OpenCode help reduce costs.
- Urgent or quick fixes: If you need a trivial change done in seconds, LoopTroop's overhead feels slow.
- Simple tasks: For quick edits or trivial apps, standard IDE chat tools or tools like Replit, Bolt, and Lovable are more suitable.
- Security risks: LoopTroop runs OpenCode in dangerously-skip-permissions (YOLO) mode, granting the agent full local execution permissions without confirmation. AI agents are not perfect, and if generation goes wrong, the agent may execute commands that delete critical system folders, corrupt active configurations, or damage the workspace. Git worktrees isolate code changes, but they do not sandbox the command execution process itself. The agent runs with your local user permissions. Running LoopTroop in a disposable VM, cloud dev machine, or sandboxed development environment is recommended.
- Alpha status: LoopTroop is early alpha software, but it can be used for real work. The full ticket lifecycle is implemented, but there may still be some bugs. The core primitives (planning, execution, retry) work correctly.
- Configuration limits: In LoopTroop alpha, the LLM committee supports 2 to 10 different models, including the main implementer. Each project can have only one active ticket in the execution band at a time; other tickets must wait for it to complete or be cancelled.
Other information
Full documentation is maintained in the public LoopTroop-Website repository and published at https://www.looptroop.ovh/docs/ . When the app is running, the same documentation is also accessible from the dashboard. Contributions, ideas, bug reports, and workflow feedback are welcome; see CONTRIBUTING.md.