Exemples¶
Page générée — ne pas éditer
Rendue au build par scripts/gen_doc_reference.py,
depuis registry/blueprints/*.blueprint.json.
Une modification manuelle serait perdue au build suivant.
Ce sont les blueprints réellement publiés avec le kit, pas des extraits écrits pour la documentation. Les diagrammes sont dérivés des fichiers : ils ne peuvent pas montrer autre chose que ce qui s'y trouve.
Chacun est vérifié par la suite de tests comme n'importe quel blueprint — un exemple qui cesserait de valider casserait le build.
Minimal blueprint¶
The smallest valid v1 blueprint: one catalogue pattern node, no edges, no extension dependency. blueprintVersion must be the integer 1; id must be lowercase-with-hyphens; nodes must be non-empty; edges must be present (an empty list is fine). Every node carries a pins key, even empty: without it the file is treated as a Studio draft and re-projected.
minimal — 1 node(s), 0 edge(s).
flowchart LR
n_orchestrate["Orchestrator<br/><small>ORC-01</small>"]
kind présents |
pattern |
| Contrats échangés | — |
L'essayer. Repartez d'un squelette équivalent, puis divergez :
Ou ouvrez l'atelier — il faut avoir lancé grimoire serve :
http://127.0.0.1:4173/blueprints.html
Web pipeline¶
A realistic multi-node flow: an orchestrator pattern plans the mission, a CrewAI crew executes it, a LangGraph state graph refines the result, and an evidence-pack pattern closes the loop. It references extension nodes published in this registry (crewai, langgraph): compiling requires those extensions to be installed in the target project — grimoire blueprint compile lists the exact install command for each missing one.
web-pipeline — 7 node(s), 6 edge(s).
flowchart LR
n_plan["Plan the mission<br/><small>ORC-01</small>"]
n_trust["Qualifier les services externes<br/><small>GOV-01</small>"]
n_crew["CrewAI crew<br/><small>crewai/crewai-crew</small>"]
n_refine["LangGraph refinement<br/><small>langgraph/langgraph-graph</small>"]
n_guard["Filtrer le retour externe<br/><small>GOV-01</small>"]
n_verify["Evidence pack<br/><small>QUA-04</small>"]
n_guard_out["Filtrer la sortie<br/><small>GOV-01</small>"]
n_plan -->|task-envelope| n_trust
n_trust -->|task-envelope| n_crew
n_crew -->|handoff-packet| n_refine
n_refine -->|handoff-packet| n_guard
n_guard -->|handoff-packet| n_verify
n_verify -->|evidence-pack| n_guard_out
kind présents |
extension-node, pattern |
| Contrats échangés | evidence-pack, handoff-packet, task-envelope |
Extensions requises
Ce flow ne compile pas tant que ces extensions ne sont pas installées : crewai, langgraph.
L'essayer. Repartez d'un squelette équivalent, puis divergez :
Ou ouvrez l'atelier — il faut avoir lancé grimoire serve :
http://127.0.0.1:4173/blueprints.html