Feature 07

Hal vs direct agent prompting

Compare Hal's PRD-native coding loop with direct AI coding agent prompting for planning, validation, reviewability, and merge safety.

Last updated: May 9, 2026 · Reviewed by ReScience Lab

Why it matters

Direct prompting is useful for tiny tasks. Hal is built for developers who want PRD-native planning, validation, loop state, and review checkpoints around agent implementation.

How is Hal different from direct agent prompting?

Hal differs from direct agent prompting by making the AI coding workflow PRD-native and reviewable. Direct prompting sends a request to an agent. Hal adds planning, story conversion, validation, implementation, reporting, archive behavior, and human review checkpoints around supported engines.

Quick decision summary

Use direct prompting for tiny, low-risk edits or exploratory questions. Use Hal when the task needs product requirements, acceptance criteria, repo standards, repeatable steps, and a developer review trail before merge.

Comparison table

DimensionHalDirect agent prompting
Best fitPRD-driven product changes that need reviewable implementation loops.Small edits, questions, experiments, or one-off code help.
PlanningStarts from product intent and supports commands such as hal plan.Planning usually happens inside the prompt or chat.
ValidationEncourages hal validate before implementation.Depends on the user manually checking prompt quality.
ContextCan carry stories, standards, workflow state, and recent loop artifacts.Depends on the active chat context and tool memory.
Review trailFavors files, reports, commits, workflow state, and archive behavior.Often relies on conversation history plus a final diff.
Merge safetyStill requires developer review before merge.Still requires developer review before merge.

When to choose Hal

Choose Hal when the work has product behavior, multiple stories, acceptance criteria, local standards, or risk that should be reviewed before code changes. Hal is also a better fit when you want one workflow across supported engines such as Codex, Claude Code, and Pi.

When direct prompting is enough

Direct prompting can be enough for small edits, code explanations, quick refactors, or throwaway experiments. If the change is easy to describe, easy to inspect, and low risk, a full PRD-native loop may be unnecessary.

What Hal does and does not do

Hal doesHal does not do
Structures AI coding work into planning, conversion, validation, running, reporting, archive state, and review.Guarantee code quality, passing tests, delivery speed, revenue, or production readiness.
Makes agent work easier to inspect and repeat.Replace Codex, Claude Code, Pi, human code review, QA, or merge approval.

How to try the structured path

Start with a low-risk task:

hal init
hal plan "add one small product behavior"
hal convert
hal validate
hal run

Review the plan before running and inspect the diff before merging.

Sources and verification

Before adopting this workflow, verify the current Hal source repository, install docs, pricing status, and machine-readable pricing. Check release notes and engine support before relying on Hal in production work.

FAQ

Short answers before you put this into an agent workflow.

Is Hal better than direct agent prompting?

Hal is better suited when work needs a PRD, story validation, reviewable state, and repeatable checkpoints. Direct prompting can still be useful for tiny edits or exploration.

Does Hal replace the coding agent?

No. Hal provides the workflow loop while supported engines such as Codex, Claude Code, or Pi perform implementation work.

Can I still prompt agents directly?

Yes. Hal is most useful when direct prompting becomes too broad, hard to review, or difficult to repeat.

Related features

Keep exploring the pieces of a reviewable coding loop.