Skip to content
@loopgepa

loopgepa

loopgepa

Tools that watch a coding agent's loop, work out why it is stuck, and make the loop better.

The name. loop + GEPA. Coding agents run in a loop: act, observe, retry. When the loop stalls (the same error after several tries, retries that do not help, edits that thrash), you want two things: to know why, and to improve the loop so it stops happening. That is what this org is for, and GEPA (Genetic-Pareto reflective optimization) is how the "improve" half works.

WhyStuck

whystuck is the first project here: a local, zero-telemetry Model Context Protocol server.

  • Diagnose (LLM-free): from a failing loop's traces it names the dominant failure mode with a confidence score, then proposes a small, reversible patch that you approve before anything is written.
  • Optimize (opt-in): it treats a loop as an evolvable genome of prompt and verifier "genes" and evolves it with GEPA, scored by programmatic benchmarks rather than an LLM judge.

It runs entirely on your machine; no data leaves it.

What it uses

  • Model Context Protocol, so it plugs into Claude Code, Codex, and Cursor.
  • GEPA for reflective, Pareto-based optimization.
  • IFBench (programmatic instruction-following verifiers) to measure changes honestly, with call record/replay so a result reproduces offline at $0.
  • uv, ruff, mypy, pytest, with local-first CI via git hooks.

Use cases

  • An agent keeps re-editing the same file and re-hitting the same test failure: WhyStuck flags the loop, names the cause, and suggests a one-gene fix you can approve.
  • You want a house "reviewer" or "fixer" prompt that holds up under a fixed budget: evolve it against a task set and keep the winner only if it beats the starting point.
  • A CI check that replays a recorded optimization run deterministically, to show a prompt change actually helped.

Related

SysKnife: a sibling local-first developer tool with a signed, rollback-honest audit trail. WhyStuck's setup wizard borrows its idea of injecting a short usage contract into each client's own rules file.

Popular repositories Loading

  1. .github .github Public

    loopgepa org profile

  2. whystuck whystuck Public

    Local, zero-telemetry diagnosis and reversible repair of coding-agent loops. An MCP server for Claude Code, Codex, and Cursor.

    Python

Repositories

Showing 2 of 2 repositories

Top languages

Loading…

Most used topics

Loading…