Skip to main content

Add your description here

Project description

Ralpher

A CLI tool that orchestrates Claude Code for autonomous software development. Give it a prompt, and it generates a PRD, breaks it into user stories, then runs iterative Claude development loops to implement each one.

Workflow: User PromptPRDRalph Loop

Install

pipx install ralpher

Usage

# 1. Generate a PRD
uv run ralpher prd "Create a TODO app" --name todo-app

# 2. Run the Ralph-loop on an existing PRD
uv run ralpher loop

How it works

  1. PRD generation -- Sends your prompt to Claude to produce a structured PRD with user stories, saved to .ralpher/tasks/{task_id}/PRD.md.
  2. Run Ralph-loop
    1. Parses the PRD into a structured JSON model (project, branch name, user stories with acceptance criteria and priorities).
    2. Iteratively invokes claude to implement each user story on a dedicated git branch (ralph/{task_id}), tracking progress and detecting completion.

Notion integration

Ralpher supports optional Notion integration for syncing task status. Set these in a .env file:

  • RALPHER_NOTION_TOKEN -- Notion API token
  • RALPHER_NOTION_PARENT_PAGE_ID -- Parent page for task pages

Development

# Run tests
uv run pytest tests/ -v

Acknowledgements

This project draws its design and some of its prompts from snarktank/ralph.

Project details


Download files

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

Source Distribution

ralpher-0.1.2.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

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

ralpher-0.1.2-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file ralpher-0.1.2.tar.gz.

File metadata

  • Download URL: ralpher-0.1.2.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ralpher-0.1.2.tar.gz
Algorithm Hash digest
SHA256 29fae50c52b2bc6a27bd2cd817a987431261e5fe4cac1a508dd469894804f300
MD5 9e5a0c12befdbfbc36e82f6d12b76a14
BLAKE2b-256 5a23aa4b339eca75a4308c4edfddd9d06dfe0d963eb731ef3b9a0b238b16da43

See more details on using hashes here.

File details

Details for the file ralpher-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ralpher-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ralpher-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ab726774ecf0bf6228bbb114a6c13632c25f9b61ad59779a4190ce191765a06
MD5 a430a376c5358c9cbab8869e12167496
BLAKE2b-256 4bfd23b810004ee8c45f43b0cb17ea4f16c624039c905df962718dadd7171aea

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