Declare multi-step AI methods in typed .mthds files — deterministic orchestration, structured outputs, repeatable results.
[pipe.summarize_article]
type = "PipeLLM"
inputs = { article = "Text", audience = "Text" }
output = "Text"
prompt = "Summarize $article in three bullet points for $audience."From here, Pipelex handles model routing across 60+ models, structured output parsing, and pipeline orchestration.
Install the mthds CLI, it's required by the plugin for method validation and execution:
npm install -g mthdsStart Claude Code:
claudeTell Claude to install the MTHDS plugins marketplace:
/plugin marketplace add mthds-ai/mthds-plugins
Then install the MTHDS Claude Code plugin:
/plugin install mthds@mthds-plugins
Then reload plugins:
/reload-plugins
If that doesn't work, exit Claude Code and reopen it:
/exit
Build your first method:
/mthds-build A method to summarize articles with key takeaways for different audiences
Run it:
/mthds-run
uv tool install pipelex
pipelex init- Install the VS Code extension for
.mthdssyntax highlighting - Browse methods on the MTHDS Hub for inspiration
- Author your own
.mthdsmethods - Validate with
pipelex validate bundle your_method.mthds - Run with
pipelex run bundle your_method.mthds
- Pipelex Gateway (Recommended) — Free credits, single API key for LLMs, OCR / document extraction, and image generation across all major providers.
- Bring Your Own Keys — Use existing API keys from OpenAI, Anthropic, Google, Mistral, etc. See Configure AI Providers.
- Local AI — Ollama, vLLM, LM Studio, or llama.cpp — no API keys required. See Configure AI Providers.
Ready-to-run methods in the Cookbook: classification, extraction, analysis, generation, and more.
- Discord — Get help, share methods, meet the team
- Documentation — Guides and reference
- GitHub Issues — Report bugs and request features
- security@pipelex.com — Security and privacy concerns
| Repository | Description |
|---|---|
pipelex |
Python runtime — build and run AI methods |
mthds |
The MTHDS open standard — specification and docs |
mthds-plugins |
Claude Code plugin — skills for building, running, and editing methods |
pipelex-cookbook |
Production-ready examples and tutorials |
All repositories are MIT licensed unless otherwise specified. See individual LICENSE files for details.
"Pipelex" is a trademark of Evotis S.A.S.