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.

  • 22 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
  • 30 skills — deterministic harnesses for common workflows (confidence checks, issue wiring, loop creation)
  • 23 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.101.0.tar.gz (2.7 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.101.0-py3-none-any.whl (624.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: little_loops-1.101.0.tar.gz
  • Upload date:
  • Size: 2.7 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.101.0.tar.gz
Algorithm Hash digest
SHA256 27a9f7dbb7807d0e66b312d0ae5a4574f6a311fecfd59849c8462c78185c2962
MD5 c190d8c1489882fcb4e964928ead3378
BLAKE2b-256 186a3779c9000631e7e02b023254c0e43feb741caf99e1bb72d225feeebc180f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: little_loops-1.101.0-py3-none-any.whl
  • Upload date:
  • Size: 624.1 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.101.0-py3-none-any.whl
Algorithm Hash digest
SHA256 758e72ecb8fe0df9e958ffdf1cc425c31818e80e7ad2c74877c9cfdffe343aa2
MD5 20ca099e3e705f458a398fb1a5e69598
BLAKE2b-256 9e9797d2685e6b15409d468806078849663654a96259cab8050b35cdab84672b

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