Skip to main content

Pipelex

Turn your expertise into an AI-powered App, MCP or API

Describe how the work gets done in plain English, and your coding agent builds it into a method with the Pipelex plugin. A method is a multi-step, deterministic AI procedure that chains LLMs, OCR, image generation and more. Then run it as a webapp for your team or as SaaS for your customers, as an MCP for chatbots, or via API for your software.


Elastic License 2.0 Tests PyPI – latest release

Quick start

Pipelex lets you build AI methods with your coding agent and run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

1. Sign up at app.pipelex.com.

2. Install the Pipelex plugin in your coding agent. The plugin gives your agent the skills that build methods, run them and put them in your software, a hook that checks every edit, and the Pipelex tools.

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.

Claude Code also loads what you have added to your Claude account, so if you added the Pipelex MCP to Claude, Claude Code has it too. An agent with the plugin does not need the Pipelex MCP, and there is nothing to turn off: when both are present, the Pipelex MCP defers to the plugin's tools.

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.

3. Ask your agent for the method you want.

Design a method that reads an invoice PDF and returns the supplier, the total and the line items. Then run it on ~/Downloads/invoice.pdf and save it to my Pipelex account.

/pipelex-design writes the method, the hook checks it on every edit, /pipelex-run starts it and prints a run id you can come back to, and /pipelex-catalog saves it to your account, where your chatbot can run it too.

Run your methods from your chatbot. The Pipelex MCP is a connector for your chatbot (ChatGPT, Claude): it gives it access to the Pipelex service, so it can list the methods saved in your account and run them right in the conversation. Your methods become your chatbot's tools. To build a method, use the Pipelex plugin in a coding agent such as Claude Code or Codex, as in steps 2 and 3 above.

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

Then ask your chatbot:

What methods do I have?

Run the invoice method on https://example.com/invoice.pdf

You get a run id straight away, and you can ask for its status, its results or the files it produced at any time.

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.

The other two ways, built by your agent too. Ask it 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. Ask it 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.

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

Prefer to run it yourself? This repository is the Pipelex runtime — its own install and configuration are below.

Run it yourself

This repository is the Pipelex runtime: the Python package that reads a .mthds file and runs it. Install it and everything happens on your own machine, against the model providers you choose.

Install

uv tool install "pipelex[cli]"
pipelex init
pipelex doctor

pipelex init writes your ~/.pipelex configuration and offers to install the editor extension; pipelex doctor reports what is configured and what is missing. The cli extra installs Rich, which the pipelex and pipelex-agent commands render their output through.

Some providers and features need an extra:

  • cli: Rich, for the pipelex and pipelex-agent commands, the console log sink and the rich pretty-print mode. Install it wherever Pipelex runs in a terminal; a server leaves it out and selects the json log sink with the poor or silent pretty-print mode, and then nothing the runtime does on the way to running a method asks for Rich. Leaving the extra out does not make the environment Rich-free: typer and instructor are core dependencies and both require Rich, so a stock install still contains it
  • anthropic: Anthropic/Claude support for text generation
  • google: Google models (Vertex) support for text generation
  • google-genai: Google Gemini API support for text and image generation
  • mistralai: Mistral AI support for text generation and OCR
  • bedrock: Amazon Bedrock support for text generation
  • fal: Image generation through fal
  • linkup: Web search with Linkup
  • docling: OCR with Docling

Name the ones you need when you install, or take them all:

uv tool install "pipelex[cli,anthropic,google,google-genai,mistralai,bedrock,fal,linkup,docling]"

Configure AI Access

  • 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.

Run a method

Save the method shown under What a method looks like, further down, as summarize.mthds, and its inputs as inputs.json:

{
  "article": "Paste the text of an article here.",
  "audience": "busy executives"
}

The method names no model, so it runs on the deck's default-general alias, which pipelex init points at an OpenAI model. With a provider other than OpenAI or Azure OpenAI, point that alias at one of your provider's models first, by adding it to ~/.pipelex/inference/deck/x_custom_llm_deck.toml — the models each provider serves are listed under ~/.pipelex/inference/backends/:

[llm.aliases]
default-general = "claude-5-sonnet"     # an Anthropic model, for example

Then run it:

pipelex run bundle summarize.mthds --inputs inputs.json

The result is written under results/. For a method with several steps, typed concepts and a batch, run from the CLI and from Python, read CV batch screening, step by step.

Editor extension

.mthds syntax highlighting and flowchart visualization: the VS Code Marketplace, or the Open VSX Registry for Cursor, Windsurf and other VS Code forks. pipelex init offers to install it when it detects your IDE.

See Pipelex in action

Claude Code builds your AI method

Pipelex Demo

What a method looks like

A method is a reusable, typed AI procedure, written in MTHDS, an open standard, and saved as a .mthds file. Each step is explicit, each output is structured, and every run is repeatable.

domain    = "articles"
main_pipe = "summarize_article"

[pipe.summarize_article]
type        = "PipeLLM"
description = "Summarize an article for a given audience"
inputs      = { article = "Text", audience = "Text" }
output      = "Text"
prompt      = "Summarize $article in three bullet points for $audience."

From here, Pipelex handles model routing across providers, structured output parsing, and pipeline orchestration.

Why methods?

Declarative — Human-readable .mthds files that work across models Typed — Semantic types: AI understands what you mean, every input/output connects with purpose
Repeatable — Deterministic orchestration with controlled room for AI creativity Composable — Chain pipes into sequences, nest methods inside methods, share with the community

Run anywhere

The same .mthds file runs from multiple execution targets:

Target How
CLI pipelex run bundle method.mthds --inputs inputs.json
Python PipelexMTHDSProtocol().execute(...)
TypeScript / Node @pipelex/sdk against the hosted API, or mthds against any MTHDS API
REST API Self-host pipelex-api; the hosted API is the one in the Quick start above
MCP The Pipelex MCP: your chatbot runs the methods saved in your account
n8n n8n-nodes-pipelex for workflow automation

The ecosystem

Description Link
MTHDS standard The open standard specification — language, package system, and typed concepts mthds.ai
MTHDS Hub Discover and share methods — browse packages, search by signature mthds.sh
Pipelex plugin The Pipelex plugin for Claude Code and Codex: skills that build and run methods, a hook that checks every edit, and the Pipelex tools github.com/Pipelex/pipelex-plugins
Pipelex MCP The Pipelex MCP, which ChatGPT or Claude adds to run the methods saved in your account github.com/Pipelex/pipelex-mcp
Method library Public methods to run by their address or to fork — github.com/Pipelex/methods/<method_name> github.com/Pipelex/methods
TypeScript starter A Next.js app that runs methods through @pipelex/sdk, with worked examples to copy github.com/Pipelex/pipelex-starter-js

Documentation

  • docs.pipelex.com: the Pipelex documentation, from the MTHDS language tutorial to the CLI reference.
  • CV batch screening, step by step: a production method with its concepts, its pipes and its flowchart, and how to run it from the CLI and from Python.
  • The cookbook: Pipelex's example methods, which run by their address on the hosted API with nothing to install, each with a page showing every way to use it: in your chatbot, in your coding agent, in your code, as an app, or as a method of your own.
  • The MTHDS standard: the language a method is written in.
  • The changelog.

Develop

To work on Pipelex itself, fork and clone the repository, then:

make install   # create .venv and install the dependencies
make check     # formatting, lint and type checks
make test      # the unit tests

The contributing guide says how to configure .env, name a branch and open a pull request.

Community

Ask questions and share what you build on Discord, report a bug in GitHub Issues, propose an idea in Discussions, and watch demos on YouTube.

License

The Pipelex runtime is source-available under the Elastic License 2.0 (ELv2); see LICENSE for the terms, and the license page for how Pipelex reads them. Runtime dependencies are distributed under their own licenses via PyPI.


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

© 2025-2026 Evotis S.A.S.

Release files for pipelex 0.66.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipelex 0.66.0
File Size Uploaded
pipelex-0.66.0.tar.gz 1.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipelex 0.66.0
File Interpreter ABI Platform
pipelex-0.66.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 MB

Release files / pipelex-0.66.0.tar.gz

Download URL pipelex-0.66.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
5043cc6068358c38e7cef02b3853e0e2d30c9342c07025c9f5dcd62c1ee3686e
BLAKE2b-256 checksum
How to use checksums
6cee2e85605ccf04ab984eb7c69cd268f7b0e6c28bc1206e6817a0457c894179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / pipelex-0.66.0-py3-none-any.whl

Download URL pipelex-0.66.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cc0294ad349929690bf20d8fe828dc6716a77a9d674d6c7759885ea2cf098883
BLAKE2b-256 checksum
How to use checksums
e9ee790c5d8861a512afe5ceab5e8d945f5802e6599c7e90a09392c2169b8c01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.66.0 This release

2 release files

0.65.0

2 release files

0.64.2

2 release files

0.64.1

2 release files

0.64.0

2 release files

0.63.0

2 release files

0.62.0

2 release files

0.61.0

2 release files

0.60.0

2 release files

0.59.0

2 release files

0.58.0

2 release files

0.55.0

2 release files

0.54.0

2 release files

0.53.0

2 release files

0.52.0

2 release files

0.51.0

2 release files

0.50.0

2 release files

0.49.0

2 release files

0.48.0

2 release files

0.47.0

2 release files

0.46.4

2 release files

0.46.3

2 release files

0.46.2

2 release files

0.46.1

2 release files

0.46.0

2 release files

0.45.0

2 release files

0.44.0

2 release files

0.43.1

2 release files

0.43.0

2 release files

0.41.0

2 release files

0.40.0

2 release files

0.39.2

2 release files

0.39.1

2 release files

0.39.0

2 release files

0.36.0

2 release files

0.35.1

2 release files

0.35.0

2 release files

0.34.0

2 release files

0.33.0

2 release files

0.30.3

2 release files

0.30.2

2 release files

0.30.1

2 release files

0.30.0

2 release files

0.29.1

2 release files

0.29.0

2 release files

0.28.0

2 release files

0.25.2

2 release files

0.25.1

2 release files

0.25.0

2 release files

0.24.1

2 release files

0.24.0

2 release files

0.23.9

2 release files

0.23.2

2 release files

0.23.1

2 release files

0.23.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.9

2 release files

0.20.8

2 release files

0.20.7

2 release files

0.20.6

2 release files

0.20.5

2 release files

0.18.3

2 release files

0.18.2

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.6

2 release files

0.17.5

2 release files

0.17.4

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.7

2 release files

0.15.6

2 release files

0.15.4

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.2

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page