Docs

Run a PRD-driven coding loop with Hal

Use Hal commands to initialize, plan, validate, and run a structured PRD-driven AI coding workflow.

brew tap j-yw/tap && brew install --cask hal
Short answer

Hal turns product requirements into repeatable AI coding iterations with explicit state, validation, review, reporting, and archive workflows.

Prerequisites

Install Hal first:

brew tap j-yw/tap && brew install --cask hal

Use Hal in a repository where you want product requirements to drive a sequence of coding-agent implementation iterations.

Manual workflow

hal init
hal plan
hal convert
hal validate
hal run

What each step does

When to use the loop

Use this workflow when a feature has multiple steps, when you want the coding agent to work from product requirements, and when every iteration should leave behind reviewable state.

Troubleshooting

FAQ

Which Hal commands start a PRD-driven loop?

The workflow described by ReScience Lab uses hal init, hal plan, hal convert, hal validate, and hal run as the core manual loop.

Next step

Run autonomous PRD-driven coding loops with AI agents.

View Hal on GitHub