BlueDocumentation
repo.blue ↗
Build

Build with Blue

Choose a bounded use case, model the state, add one operation, and introduce providers, agents, payments, and document boundaries deliberately.

A successful first Blue application is small enough to explain completely. Do not start by encoding an entire enterprise process or loading every package.

  1. Model the shared state without contracts.
  2. Define the participants and direct Timeline Channels.
  3. Add one operation and deterministic handler.
  4. Add typed Requests and Responses where communication matters.
  5. Introduce BEX only for pure deterministic computation.
  6. Add an agent before authority and show the attempt being withheld.
  7. Add one narrow Operation Mandate.
  8. Split a relationship into a separate document when its boundary differs.
  9. Add providers for external facts instead of ambient I/O.
  10. Add a second portal or implementation to prove portability.

Keep the sources of truth separate#

  • language.blue: explanation and patterns;
  • Playground: executable proof and inspection;
  • MyOS: product experience;
  • repo.blue: canonical package and type content;
  • GitHub: specifications, implementations, fixtures, and releases.