promptbook

Documentation

Compose prompts from reusable fragments via declarative rules.

promptbook splits prompt assembly into three boring layers: WHAT (fragments), WHEN (rules), HOW (resolve()). The runtime stays deterministic; intelligence lives in the agent.

Start with the Introduction for the why, then jump to Concepts for the WHAT / WHEN / HOW split with code. The Examples page links the two demo books, both runnable in the in-browser viewer.