Skip to main content

🪜 Ladder

PyPI CI Python License: MIT Ruff Email LinkedIn

Track every branch, stage, and alternative path in your AI pair-programming sessions.

When pair-programming with AI, every decision presents multiple paths. You pick one. The others vanish into scrollback. Three hours later, you realize you needed that other path too.

Ladder captures every branch, stages them by effort, and lets you climb back to any rung.

Ladder demo

Install

pip install ladder-cli

Quick Start

# 1. Initialize a ladder in your project
cd my-project
ladder init --project "My API"

# 2. Paste the system prompt into your AI assistant
ladder prompt

# 3. Start building — the AI populates the ladder automatically

# 4. Check your progress anytime
ladder status

How It Works

Ladder uses a Markdown + YAML file (.ladder/ladder.md) that both you and your AI can read and write:

---
project: My API
version: 1
---

## foundation

- [x] **R001** — Project scaffold → *small*
  - Context: Setting up the repo
  - Why: Everything builds on this

## core

- [ ] **R003** — User authentication → *medium*
  - Context: REST API auth
  - Why: Everything else depends on this
  - [x] JWT with refresh tokens
  - [ ] Session-based with Redis
  - [ ] OAuth2 social login
  - Blocked by: ~none~

Why this format wins:

  • Git-friendly — clean diffs, full history
  • AI-friendly — any LLM reads/writes markdown natively
  • Human-friendly — open in any editor, understand in 30 seconds
  • CLI-friendly — trivial to parse and render

Architecture

flowchart LR
    Dev["Developer"] -->|ladder init| Dir[".ladder/"]
    Dev -->|ladder prompt| Prompt["System prompt"]
    Prompt -->|pasted into| AI["Any AI assistant\nClaude, GPT-4, Cursor, Copilot"]
    AI <-->|reads / writes| File[".ladder/ladder.md\nMarkdown + YAML"]
    Dir --> File
    CLI["ladder CLI\nstatus · next · add · tree · validate"] <--> File
    Dev -->|runs| CLI

No API calls, no plugin, no server — the markdown file is the interface between you, the CLI, and whatever AI you're using.

Real output

This project dogfoods itself — its own .ladder/ladder.md tracks its own roadmap:

$ ladder status

🪜 ladder  v1  0 done · 0 active · 0 exploring · 3 open · 0 blocked

○ expansion
  ○ R003  HTML export  → medium
     Static HTML render of the ladder for sharing outside the terminal
  ○ R004  Better AI-formatting tolerance in the parser  → medium
     Different AI assistants drift from the exact markdown format over long sessions
  ○ R005  Stage auto-progression suggestions  → small
     Nudge which stage to focus on next based on completion state

$ ladder next

🎯 Suggested next rungs

1. R005  Stage auto-progression suggestions  → small
2. R003  HTML export  → medium
3. R004  Better AI-formatting tolerance in the parser  → medium

Small, well-understood work sorted ahead of bigger bets, automatically.

Commands

Command Description
ladder init Create a new ladder in the current directory
ladder status Show the full project ladder
ladder show R003 Detailed info for a specific rung
ladder do R003 Mark a rung as in-progress
ladder complete R003 Mark a rung as done
ladder abandon R003 --reason "deprecated" Mark a rung as abandoned
ladder tree Show dependencies as an ASCII tree
ladder prompt Print the system prompt for your AI

Why Ladder?

  • Works with any AI — Claude, GPT-4, Cursor, Copilot, whatever
  • No lock-in — your data is plain Markdown in your repo
  • Auto-commits — optionally commits ladder changes to git
  • Dependency aware — knows when a rung is blocked by another
  • Effort-weighted — small/medium/large so you can plan sprints

Contributing

  1. Fork the repo
  2. pip install -e ".[dev]"
  3. pytest
  4. Open a PR

Contact

Email LinkedIn

Built by Tanam Sethi. Questions, bug reports, or feature requests — open an issue or reach out directly.

License

MIT — see LICENSE

Download files

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

Source Distribution

ladder_cli-0.2.0.tar.gz (515.8 kB view details)

Uploaded Source

Built Distribution

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

ladder_cli-0.2.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file ladder_cli-0.2.0.tar.gz.

File metadata

  • Download URL: ladder_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 515.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for ladder_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 838d890c4e930a56074f3ec60356fbe133c579cae269554c7032cd31fa882700
MD5 c84f40771ceda9a391e5e2bcc71e5a4e
BLAKE2b-256 90a68eb44b5a5b2700e02e63dcc5a81bb62a5cc136d2aaea24f793c53abab630

See more details on using hashes here.

File details

Details for the file ladder_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ladder_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for ladder_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 915d3e10f94b62dfdff05bd9f2f1ea14def6a416f1db2c292b16f91ce3b5e5e1
MD5 278dea0eeee8969a28fe9770fde7cf9d
BLAKE2b-256 099733f7dfe49682a9c8d1ad9faa5520ec4ad172ad570a9b27c854883dbbcb88

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