v0.4.0

Write the PRD.
Hal ships it.

An autonomous coding loop that turns your product requirements into commits. Describe what you want. Hal plans the stories, writes the code, and opens the pull request.

Get Hal

Or read the documentation

Built for developers who ship

ReScience NoIdea PageWell KickWatch
hal
$ hal init
✓ Created .hal/ directory with config and templates
$ hal plan "add user authentication"
✓ Generated PRD with 8 user stories
$ hal run
→ US-001: Implement login form
✓ Committed: feat: US-001 — login form
→ US-002: Add JWT middleware
✓ Committed: feat: US-002 — JWT middleware
→ US-003: Wire up logout
✓ Committed: feat: US-003 — logout flow
All stories complete. 3 commits shipped.

Ship without context switching

Every feature is built to keep the loop running so you can focus on the product, not the process.

01 //

PRD-driven planning

Describe what you want in plain English. Hal generates structured user stories with clear acceptance criteria.

02 //

Fresh context every story

Each iteration gets a clean context window. No memory pollution, no drifting prompts, no compounding errors.

03 //

Use any agent

Pluggable engines: Claude Code, OpenAI Codex, Pi. Switch agents without changing your workflow.

04 //

Project standards

Codify your patterns into standards that get injected into every iteration. Consistency at scale.

05 //

Archive and restore

Switch between features without losing state. Branch, archive, restore — like git for your agent loop.

06 //

Auto pipeline

One command runs the entire sequence from plan through archive. Deterministic, repeatable, hands-off.

What could you do with Hal?

From greenfield features to legacy refactors — hand off the execution, keep the architecture.

Greenfield feature Code review Refactor
hal run — greenfield feature
$ hal plan "Add a dark mode toggle with system preference detection"
✓ 5 stories generated
US-001: Detect system color scheme
US-002: Add theme toggle UI component
US-003: Persist preference to localStorage
US-004: Apply theme class to root element
US-005: Add transition animation
$ hal run
→ Picking next story...
→ US-001: Detect system color scheme
✓ Implemented and committed
→ US-002: Add theme toggle UI component
✓ Implemented and committed
All 5 stories shipped. 5 commits. 0 meetings.

The loop

One deterministic pipeline from idea to shipped code.

STEP 01

Plan

Run hal plan and describe the feature. Hal asks clarifying questions, then generates a structured PRD.

STEP 02

Convert

hal convert transforms the markdown PRD into structured JSON. The runtime state is ready.

STEP 03

Validate

hal validate checks every story against quality rules. Broken PRDs never enter the loop.

STEP 04

Ship

hal run picks the next story, implements it, commits, and repeats until everything ships.

Bring your own agent

Hal is engine-agnostic. Plug in the agent you already trust.

Claude Code
OpenAI Codex
Pi

Hand off the execution.
Keep the architecture.

Install Hal in one command and start shipping stories autonomously.

Or read the documentation