Developers
Write, check and draw workflows in code with Requ, the open-source (MIT) language behind Requstory processes.
Packages
| Package | What it gives you |
|---|---|
| @requstory/core | parse(source) builds the model, lint(model) returns diagnostics with hints, render(model, options) returns an SVG string. No runtime dependencies. |
| @requstory/cli | requ render <file> -o diagram.svg and requ lint <file>, with --json output and --inline-styles for SVG without CSS. |
| requstory | The Requstory CLI for the API and MCP server: requstory companies, score, readiness, map and ask, and requstory o2c demo / start / run / exceptions / decide / export for the order-to-cash agents. Not a Requ tool; see /developers/api/. |
| @requstory/web | requ.run() turns every <pre class="requ"> on a page into a diagram, and the <requ-diagram> element redraws when its source changes. |
Quick start
- Command line (Node 20 or later): npx @requstory/cli render workflow.requ -o workflow.svg
- In your app: npm install @requstory/core
- On a web page: load @requstory/web from jsDelivr and call requ.run().
For AI models
- Short reference: https://requstory.com/dev/llms.txt
- Full guide and example source: https://requstory.com/dev/llms-full.txt
- Source code and issues: https://github.com/3d7tech/requ-syntax
Publish your operating model: operating-model.requ
A company can put its teams, owners and handoffs on its own website as one Requ file at /operating-model.requ, like robots.txt or llms.txt. People, AI agents and Requstory can all read it.
Download the file from a saved map (Export, then Publish on your website). It lists roles only unless you choose names. A comment line ties it to your map. Requstory reads it on the next check and marks those owners as from the company. Remove the file to take them down.
Optional line for llms.txt: - [Operating model](https://your-site/operating-model.requ): teams, owners and handoffs
Lab API and MCP server
Map websites, read maps, ask questions, read public ease scores and AI-readiness, order the $1 report and run the order-to-cash agents from your own code or AI agent. See the Lab API page: https://requstory.com/lab/api/. To find and buy from B2B suppliers, use the Requstory Index: https://requstory.com/developers/api/