GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Pipelex/pipelex-cookbook: Worked examples of AI methods, written in MTHDS and run with Pipelex, to read, run and adapt.

BranchesTags
Open more actions menu

Latest commit

 

History

759 Commits
759 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude/skills/release
.claude/skills/release
 
 
.github
.github
 
 
.vscode
.vscode
 
 
assets
assets
 
 
docs
docs
 
 
methods
methods
 
 
recipes
recipes
 
 
scripts
scripts
 
 
templates
templates
 
 
tests
tests
 
 
tutorial
tutorial
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.python-version
.python-version
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLA.md
CLA.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
cookbook.toml
cookbook.toml
 
 
library.json
library.json
 
 
plxt.toml
plxt.toml
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Pipelex Logo



Pipelex Cookbook 📚

Worked examples of AI methods, written in MTHDS and run with Pipelex, to read, run and adapt.

Documentation - Report Bug - Discussions

MIT License
Discord YouTube Website Main Repository Documentation

Try a method in a minute

Sign up at app.pipelex.com. Every method below then runs through each of these doors by its address, and its page shows that door's command for it.

In your chatbot

Add the Pipelex MCP in your chatbot's settings by the address below — in Claude, that is Add custom connector — then sign in with your Pipelex account when asked. Nothing to install and no key: the Pipelex MCP runs on your signed-in session.

https://mcp.pipelex.com/mcp

Give the file as a URL the Pipelex MCP can reach. In ChatGPT you can attach it to the conversation instead and ask for a run on it; Claude has no way yet to hand the Pipelex MCP a file you attached.

Each method's page carries the sentence to paste into your chatbot, with the method's address and its sample.

In your coding agent

Claude Code
claude plugin marketplace add Pipelex/pipelex-plugins
claude plugin install pipelex@pipelex-plugins

Claude Code asks for an API key when you enable the plugin, and stores it in your OS keychain — create one in your console at app.pipelex.com. The skills, the hook that checks every edit and the Pipelex tools load with it. The plugin's hook and the Pipelex tools run on Node.js, so you need Node.js on your PATH.

Codex
codex plugin marketplace add Pipelex/pipelex-plugins
export PIPELEX_API_KEY=plx_sk_...     # create one in your console at app.pipelex.com

Restart Codex, run /plugins to install pipelex, and trust the plugin hook on first run. Requires Codex 0.141 or later. The plugin's hook and the Pipelex tools run on Node.js, so you need Node.js on your PATH.

/pipelex-run takes the same address as the chatbot, so the sentence on each method's page runs in your coding agent too.

In your code

Create an API key in your console at app.pipelex.com and give it to your program as PIPELEX_API_KEY — the only thing to configure, since PIPELEX_BASE_URL already points at the hosted API.

export PIPELEX_API_KEY=plx_sk_...

Ask your agent to call the method from your TypeScript or Python code, and /pipelex-integrate generates the method's types and one typed call that runs it, through the TypeScript SDK @pipelex/sdk or the Python SDK pipelex-sdk. Any other software runs a method via API through POST /v1/start, with any HTTP client.

Each method's page shows the TypeScript, Python and HTTP calls that run it on its sample.

As an app

Ask your agent for a webapp around the method, and /pipelex-scaffold creates a new app from the method-app template and leaves it running on your machine.

Each method's page carries the one command, npm create @pipelex/method-app, that makes the app for that method.

Next: what Pipelex is · documentation · your console · Discord

Methods you can run by address

Each of these methods runs on the hosted Pipelex API by its address, through every door above, with nothing to install. Its page shows each door's command for it, with a sample to try it on.

  • Cited answers for an AI system register: Read the documents a team answers from and one question about them, and return the answer an AI governance lead sends to the team that asked and files in the register of AI systems: a short answer and why, the passages it rests on quoted word for word with their page, how confident it is, what it does not cover, and a plain status saying when the documents do not settle the question.
  • Schedule update checked against the baseline: Read a contractor's schedule update, the chart its scheduling tool exports, against the company's master schedule baseline and slip tolerance, and return what a project controls analyst loads into the master schedule and sends to the project manager: every task and milestone of the chart as a row with its status and its dates to the month, each baseline milestone compared with the update and flagged under the tolerance with the reason the update gives, and a two-sentence note on what slipped.
  • Weekly newsletter for a Discord community: Read a week of a community's Discord channels and return the members' newsletter in the team's fixed format, as HTML ready for the email tool: the week in a few lines, the new members welcomed, a section for each channel in the server's order with each conversation given as its outcome, and the news of each local hub, in English whatever language a message was written in.
  • DPE record for a letting agency: Read a French energy performance diagnostic (DPE) and return the record a letting agency files for the flat: the ADEME number and the dates, both classes with their figures, the estimated yearly energy costs with the date their prices refer to, and what the class means for letting the flat under the agency's letting rules.
  • Expense audit test batch with receipt photos: Read a brief giving a company's expense policy and the test batch it wants, and return expense reports for invented employees, each claim with a photo of its receipt and the verdict the audit should reach, compliant or the rule it breaks: here, an invented engineering consultancy in Lyon whose employees, merchants and receipts are all made up and whose receipt photos are generated by an image model, to test a change to an automated expense audit without a single real employee's claim.
  • Synthetic test tickets for a support triage: Read a description of the records a team needs and return a batch of realistic, varied synthetic records, each with the case it covers and its fields as the description gives them: here, customer service tickets, every one of them invented, with the queue and the priority the triage should give each, to test a change to the routing without a single real customer's message.
  • Go/no-go sheet from a funder's briefing deck: Read a funder's or buyer's briefing deck against the company's bid criteria, and return the go/no-go sheet a bid manager takes to the bid/no-bid meeting and files in the bid pipeline: each criterion met, missed or not stated, with what the deck says and the slides it rests on, a recommendation by the company's own rule, and the questions to send to the funder, a partner or management before bidding.
  • NDA review against a playbook: Read a counterparty's NDA and the company's NDA playbook, and return a first-pass review with one row per playbook position, giving the clause that deals with it, whether it is acceptable, to negotiate or to refuse, and the playbook's fallback wording, then a verdict and a short note for the lawyer who signs off.
  • Release post in the company's voice: Read a release's engineering notes and the company's style guide for release posts, and return the customer-facing blog post a product marketing manager pastes into the CMS: the title, slug, meta description, excerpt, category and tags, each held to the guide's limits, the body in Markdown written to the guide's rules, and what the post leaves out of the notes, with the rule that leaves it out, to check before publishing.

Methods from the library

More methods are published in the Pipelex method library, and each runs by its address the same way, through every door above. They are listed here as released at v0.2.0.

  • CV Analyzer · github.com/Pipelex/methods/[email protected]: End-to-end candidate screening: extract a CV and a job offer, analyze the match, then either generate tailored interview questions or draft a courteous refusal email.
  • Document Summarizer · github.com/Pipelex/methods/[email protected]: Deep document summarization: profile the document and extract importance-ranked key points in parallel, then synthesize a structured summary with themes and open questions.
  • Documents · github.com/Pipelex/methods/[email protected]: Document extraction methods for text, images, and page views.
  • Image Card · github.com/Pipelex/methods/[email protected]: Generate an image from a text description with a small, fast image model, and present the image and its description side by side in an HTML page.
  • Image Generation · github.com/Pipelex/methods/[email protected]: Image generation methods: render a description directly, or refine it into an optimized image prompt first.
  • Image Generation Fast · github.com/Pipelex/methods/[email protected]: Fast image generation: render a text description directly with a small image generation model.
  • Invoice Extraction · github.com/Pipelex/methods/[email protected]: Extract structured invoice data from a document: classify each page as bill or receipt, then extract amounts, VAT, vendor and buyer details using both the OCR text and the page view.
  • Slide Designer · github.com/Pipelex/methods/[email protected]: Turn a rough slide-deck brief into design proposals: polish the brief, generate multiple visual themes, render a mockup image for each, and compose an HTML report presenting them all.
  • Table Extraction · github.com/Pipelex/methods/[email protected]: Extract a data table from a screenshot into faithful HTML, then review the result against the image to correct text and formatting.
  • Text Stats · github.com/Pipelex/methods/[email protected]: Deterministic text statistics computed in pure Python: character, word, sentence and paragraph counts, vocabulary richness, most frequent words, and estimated reading and speaking times, reported as Markdown.
  • Tweet Optimizer · github.com/Pipelex/methods/[email protected]: Optimize a tech tweet: score the draft for fluffiness, cringiness, humblebragging and vagueness, then rewrite it in your own writing style following Twitter/X best practices.

Recipes

A recipe takes one way of using a method further, on a real case, calling it by an address pinned to a release tag.

  • Run a method: from your coding agent, then followed later by its run id, or with the three HTTP calls any tool can make. From your terminal, the pipelex command runs one by its address too, as shown below.
  • Put a method in your code: in Python, a FastAPI endpoint, a method over every row of a CSV, a CrewAI agent's tool and a weekly digest; in TypeScript, a Next.js server action, a run read hours after it started, and a local file sent through an upload grant.
  • Make it an app: from an address to a web app you deploy, and a second method as a second tab of that app.
  • Make it yours: a published method copied, changed and saved to your account, and a new method designed from a sentence and proven by a lab.

Write a method by hand

Your coding agent writes methods for you, but you can write one yourself: the tutorial teaches MTHDS, the language methods are written in, from a first pipe to structured outputs, model settings, batches and parallel steps.

The Pipelex extension highlights .mthds files and draws their flowcharts: install it from the VS Code Marketplace, or from the Open VSX Registry for Cursor, Windsurf and other VS Code forks.

Run a method from your terminal

The Pipelex runtime runs a method by its address from your terminal, on the hosted Pipelex API, with your Pipelex account and no provider key of your own. Install it and sign in once:

uv tool install "pipelex[cli]"
pipelex login

pipelex login signs you in through your browser and saves a Pipelex API key to ~/.pipelex/.env, where the runtime reads it; pipelex init, answered with Enter, does the same while it sets Pipelex up. Then download the sample inputs a method's page links, and run the method by the address its page names. Each run spends credit on your Pipelex account.

curl -sLo inputs.json <the inputs.json link on the method's page>
pipelex run method <the method's address> --hosted --inputs inputs.json

To run it on your own machine instead, with your own provider keys, pass --local and give the inputs file by its full path, --inputs "$PWD/inputs.json": a local run of an address reads a relative path from inside the method it fetched. Run It Yourself sets up both.

Contributing

Read CONTRIBUTING.md to add a method or a recipe.

Join the Community

Join our vibrant Discord community to connect with other developers, share your experiences, and get help with your Pipelex projects!

Discord

Support

Channel Use case
GitHub Discussions → "Show & Tell" Share ideas, brainstorm, get early feedback.
GitHub Issues Report bugs or request features.
Discord Real-time chat — https://go.pipelex.com/discord
Email (privacy & security) [email protected]
Documentation Comprehensive guides and API reference

Star Us!

If you find Pipelex helpful, please consider giving us a star on both repositories! It helps us reach more developers and continue improving the tool.

  • ⭐ Main Pipelex Repository
  • ⭐ Pipelex Cookbook Repository

License

This project is licensed under the MIT license. Runtime dependencies are distributed under their own licenses via PyPI.


Happy piping! 🚀

"Pipelex" is a trademark of Evotis S.A.S.

© 2025 Evotis S.A.S.

About

Worked examples of AI methods, written in MTHDS and run with Pipelex, to read, run and adapt.

pipelex.com

Topics

ai-methodscookbookexamplesllmmthdspipelexpython

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

39 stars

Watchers

3 watching

Forks

10 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.