Pipelex/pipelex
Declarative language for composable Al workflows. Devtool for agents and mere humans.
What it solves
Pipelex provides a way to create reusable, typed, and repeatable AI procedures called "Methods." It solves the problem of fragile, non-deterministic AI workflows by introducing a declarative language (.mthds files) that allows developers to define structured inputs, outputs, and multi-step pipelines that can be executed across different LLM providers without rewriting the logic.
How it works
Users define AI Methods using a TOML-like syntax in .mthds files. These methods can be simple single-prompt LLM calls (PipeLLM) or complex sequences of steps (PipeSequence), including document extraction (PipeExtract). Pipelex handles the model routing (supporting 60+ models), structured output parsing, and orchestration. These methods can be executed via a CLI, Python SDK, TypeScript SDK, or as tools for AI agents via the Model Context Protocol (MCP).
Who it’s for
It is designed for developers and AI engineers who need to build production-ready AI pipelines that are model-agnostic, composable, and easy to share or version.
Highlights
- Declarative Syntax: Uses human-readable
.mthdsfiles to define AI logic. - Typed Concepts: Implements semantic types to ensure inputs and outputs connect correctly across pipeline steps.
- Model Agnostic: Supports 60+ models via the Pipelex Gateway, local AI (Ollama, vLLM), or direct API keys.
- Composable: Allows nesting methods within other methods and chaining pipes into sequences.
- Multi-Target Execution: Can be run via CLI, Python, Node.js, REST API, or integrated into workflow tools like n8n.
Related
- Project
- Project
- Project
- Project
- Project