Skip to main content

Development workflow toolkit for Claude Code with issue management, code quality commands, and automated processing

Project description

Little Loops Logo

Version License Python Version PyPI Version Docs

little-loops

A dev toolkit for long-horizon, eval-gated AI software development. Built as a Claude Code plugin.

little-loops gives AI agents three things they're missing: durability (the run outlives the session), consistency (the toolbelt is the process), and verification (the eval is the spec). Together they remove the invisible ceiling that keeps agents doing small tasks well and shipping features poorly.

The three claims

1. The session ends. The run doesn't.

The unit of work is the feature, the sprint, or the overnight optimization — not a single chat. Runs survive terminal close, context exhaustion, and laptop sleep. Parallel sprints fan out across isolated worktrees and complete independently of your terminal.

  • ll-parallel — kick off N concurrent feature implementations in isolated worktrees. Walk away. They converge without you.
  • --background + ll-loop resume — runs survive terminal close, sleep, and reboot. Resume picks up exactly where it stopped, mid-trajectory.
  • harness-optimize — score-gated overnight optimization runs. Accept-or-revert each mutation. If interrupted, resume to the highest-scoring commit.
  • Session handoff — a fresh context picks up mid-issue without losing the thread. Context limits stop being a planning constraint.

Ship features, not sessions.

2. The toolbelt is the process.

Raw agents re-derive the same structural moves differently each run. The ll- CLI removes the improvisation surface: context gathering, issue lifecycle, sprint moves, and worktree setup all run as typed commands. Two runs of the same feature land in the same shape — by construction, not by prompting.

  • 20 typed CLI tools (ll-issue, ll-sprint, ll-loop, ll-parallel, ll-action, etc.) — structural work runs as commands, not improvised tool calls
  • /ll:manage-issue — composes the CLIs into a fixed plan → implement → verify → complete sequence. The agent reasons inside steps, not about which steps to take
  • Skill harnesses (/ll:ready-issue, /ll:wire-issue, /ll:confidence-check) — same inputs, same gates, same outputs
  • Worktree setup, branch naming, issue ID generation — mechanical operations that produce identical structure across runs

Same feature, same shape, every run.

3. The harness is the spec. And the harness writes itself.

Eval-driven development: TDD's analog for agent-built software. Define what "working" looks like first, then iterate until the harness passes. The eval grades, writes, and improves itself — removing the harness engineering tax that keeps most teams skipping evals entirely.

The eval grades:

  • Six layered gate types — exit code, deterministic external state, full agentic user simulation, LLM-as-judge, diff size invariant, no-op detection
  • Cheapest gates run first. Failures route back to execution rather than advancing
  • Stall detection catches the "already done" no-op that silently burns through iteration budgets

The eval writes itself:

  • /ll:create-eval-from-issues — turn an issue's acceptance criteria into a runnable harness in under a minute
  • /ll:create-loop — auto-derive the full evaluation pipeline from your project config
  • Annotated templates and ll-loop validate — dry-run the FSM before paying for a real run

The eval improves itself:

  • harness-optimize — hill-climbing on harness artifacts. One targeted edit per iteration, benchmark, accept on rising score, revert otherwise
  • APO loop category with five prompt-optimization strategies — point it at a prompt, converge to a target score
  • /ll:audit-loop-run — four-valued verdict (met / phantom / partial / degraded) catches failure modes humans miss

Point at an issue. Get a harness.


Install

Prerequisites: Claude Code + Python 3.11+

# Add the GitHub repository as a marketplace
/plugin marketplace add BrennonTWilliams/little-loops

# Install the plugin
/plugin install ll@little-loops

# Install CLI tools (for ll-parallel, ll-loop, ll-auto, etc.)
pip install little-loops
Alternative install methods

From local path (development):

/plugin marketplace add /path/to/little-loops
/plugin install ll@little-loops

Manual configuration — add to .claude/settings.local.json:

{
  "extraKnownMarketplaces": {
    "local": {
      "source": {
        "source": "directory",
        "path": "/path/to/little-loops"
      }
    }
  },
  "enabledPlugins": {
    "ll@local": true
  }
}

First 60 seconds

Scan and triage a codebase

/ll:init                  # Auto-detect project type, generate config
/ll:scan-codebase         # Find issues (technical)
/ll:prioritize-issues     # Auto-assign P0–P5 priorities
/ll:map-dependencies      # Cross-issue dependency graph

Ship an issue end-to-end

/ll:manage-issue bug fix BUG-001   # Plan → implement → verify → complete

Fan out a parallel sprint

ll-sprint create v2-launch --issues FEAT-001,FEAT-002,FEAT-003
ll-parallel --workers 3            # Three isolated worktrees, three features, zero babysitting

Eval-driven development

/ll:create-eval-from-issues FEAT-001   # Turn acceptance criteria into a runnable harness
ll-loop validate harness-optimize      # Dry-run the FSM before paying for a real run
ll-loop run harness-optimize -b        # Score-gated hill climbing in the background

What's included

  • 28 slash commands — issue discovery, refinement, planning, code quality, git, automation
  • 8 specialized agents — codebase analysis, pattern finding, consistency checking, web research
  • 28 skills — deterministic harnesses for common workflows (confidence checks, issue wiring, loop creation)
  • 20 CLI toolsll-auto, ll-parallel, ll-sprint, ll-loop, ll-action, and more
  • 47 FSM loops — recurring automation workflows (backlog triage, sprint building, eval harnesses)
  • Configuration system — project-type templates for Python, JS/TS, Go, Rust, Java, .NET, and generic

Full reference: Command Reference · CLI Reference


Documentation

License

MIT

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

little_loops-1.100.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

little_loops-1.100.0-py3-none-any.whl (604.0 kB view details)

Uploaded Python 3

File details

Details for the file little_loops-1.100.0.tar.gz.

File metadata

  • Download URL: little_loops-1.100.0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.10 HTTPX/0.28.1

File hashes

Hashes for little_loops-1.100.0.tar.gz
Algorithm Hash digest
SHA256 2deb6917eb45da0f67a4d3529ade840e4d911a848d42755081d90b18737c38ab
MD5 67ad3b8dbe7965b0f240b8ec2909bbd0
BLAKE2b-256 7b5fded8044d547d3c84c83e68570d38132f32ba73ed01c154fb41599ba91767

See more details on using hashes here.

File details

Details for the file little_loops-1.100.0-py3-none-any.whl.

File metadata

  • Download URL: little_loops-1.100.0-py3-none-any.whl
  • Upload date:
  • Size: 604.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.10 HTTPX/0.28.1

File hashes

Hashes for little_loops-1.100.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b3c6442563679f982ddb09b05907d4e068796381b9ebd70348ba10fbcc72cda
MD5 cab18caa87cfd41af0324a6d7fb60ee2
BLAKE2b-256 87020d7bb99c86f41b2f307a65e2d1338e1910a3cc672b5000be4a3a1ff420f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page