Library 2 of 3 · Knowing Recipes

How can food be combined into meals?

Each recipe has a flow diagram that shows how ingredients come together, which steps happen in order, and what equipment each step uses. The technical term for this diagram is a graph.

Recipe standard
dag/v1
Trust tiers
0 to 3
Recipe DAG dag/v1Food Persona persona/v1Kitchen Ops ops/v1
PUBLIC LIBRARY

Recipe catalog

3 recipes

Sub-recipe
Tier 1 · Lint verifiedUnrated

Citrus-thyme reduction

lk:dag:citrus-thyme-reduction@1.0.0
tree nuts · UNKNOWNmilk · UNKNOWN
All allergen states
eggs · UNKNOWNfish · UNKNOWNmilk · UNKNOWNlupin · UNKNOWNwheat · UNKNOWNcelery · UNKNOWNgluten · UNKNOWNsesame · UNKNOWNmustard · UNKNOWNpeanuts · UNKNOWNmolluscs · UNKNOWNsoybeans · UNKNOWNsulfites · UNKNOWNtree nuts · UNKNOWNcrustacean shellfish · UNKNOWN
Grain bowl
Tier 1 · Lint verifiedUnrated

Herb-roasted chicken farro bowl

lk:dag:herb-roasted-chicken-farro-bowl@1.0.0
tree nuts · CONTAINSmilk · UNKNOWN
All allergen states
eggs · UNKNOWNfish · UNKNOWNmilk · UNKNOWNlupin · UNKNOWNwheat · CONTAINScelery · UNKNOWNgluten · CONTAINSsesame · UNKNOWNmustard · UNKNOWNpeanuts · UNKNOWNmolluscs · UNKNOWNsoybeans · UNKNOWNsulfites · UNKNOWNtree nuts · CONTAINScrustacean shellfish · UNKNOWN
Rice dish
Tier 1 · Lint verifiedUnrated

Wild mushroom risotto

lk:dag:wild-mushroom-risotto@1.0.0
tree nuts · UNKNOWNmilk · CONTAINS
All allergen states
eggs · UNKNOWNfish · UNKNOWNmilk · CONTAINSlupin · UNKNOWNwheat · UNKNOWNcelery · UNKNOWNgluten · UNKNOWNsesame · UNKNOWNmustard · UNKNOWNpeanuts · UNKNOWNmolluscs · UNKNOWNsoybeans · UNKNOWNsulfites · UNKNOWNtree nuts · UNKNOWNcrustacean shellfish · UNKNOWN

Trust tiers

Verified for what, exactly?

A structurally valid graph, a measured kitchen run and a signed review are different claims. Each recipe states which one it has earned.

  1. 0Tier 0

    Draft

    Ingredient concepts not yet resolved against the food index.

  2. 1Tier 1

    Lint verified

    Zero lint errors: steps in order, sub-recipes pinned by version and hash, yields and mass balance checked, every ingredient resolved.

  3. 2Tier 2

    Telemetry proven

    Cooked in a kitchen whose sensors proved each critical temperature for the full hold.

  4. 3Tier 3

    Attested

    Signed by a registered reviewer with an Ed25519 key over the exact content hash.

Sources and rights

Recipe sources and rights

The library starts with recipes written for feeding many people at once. Every source is reviewed for rights before anything is ingested.
  1. 01

    Government and public collections

    The starting corpus: large-batch recipes written for military, school and child-nutrition foodservice.

  2. 02

    Contributing kitchens

    Senior living, hospitals, camps, universities and community kitchens share the recipes they cook every week.

  3. 03

    Food manufacturers

    Recipes that show how a product is used, contributed under an explicit license and linked to the product record.

  4. 04

    Commissioned work

    Chefs and registered dietitians fill gaps such as texture-modified meals, multiple-allergen adaptations and standard sauces.

  5. 05

    Openly licensed recipes

    Open cookbook projects, research datasets and community contributions, CC0 and CC BY preferred.

  6. 06

    Independently developed

    Traditional dishes belong to everyone. The foundation develops, tests and documents its own formulations.

Collected

Ingredient lists, quantities and ratios, temperatures and times, the sequence of operations, equipment, batch size and yield.

Left with the author

Headnotes and narrative, photographs and video, a cookbook’s selection and arrangement, and confidential formulations.

Licensed openly

Commons recipes are published under CC BY-SA 4.0. Contributions keep their attribution, and share-alike terms travel with every fork.

Under U.S. law, ingredient lists and plain functional directions generally fall outside copyright. Converting a recipe into a graph does not replace the rights review.

For developers

Recipe API endpoints

Reading is public and metered by address. Writes, forks and persona evaluation need a key.

Endpoint reference

  • GET /v1/dagsPublic

    Search recipes by text, minimum trust tier and free_from_allergens. Every requested allergen must roll up to FREE_FROM.

  • GET /v1/dags/{slug_or_id}Public

    One recipe, at any semver, scaled to servings, with sub-recipes expanded on request.

  • POST /v1/dags/{id}/forksKey

    Fork a recipe under a new slug.

  • POST /v1/dags/{id}/pull-requestsKey

    Propose a revision; the owner merges with a three-way merge.

  • GET /v1/revisions/{id}/verifyPublic

    Recompute the content hash and check attestations.

  • GET /v1/dietsPublic

    Versioned diet protocols with rules, citations and signatures.

  • POST /v1/diets/check-conflictsKey

    Return incompatible protocol bounds with both source URIs.

  • POST /v1/compile/evaluateKey

    Adapt a recipe to a persona token: swaps, texture, nutrient checks and sourcing.

curl 'https://api.librekitchen.org/v1/dags?limit=5'
Open the developer console →