SPR v1.2.0 · Semantic Pipeline Runtime
Listed in the official MCP Registry · GitHub MCP Registry

The first language
with built-in MCP

MCP server and client in one ~8 MB binary. Connect to any stdio MCP server, expose your own tools, and run AI pipelines. 246 builtins. Zero dependencies.

40
AI Builtins
752
Tests
246
Total Builtins
6
Providers
23
Modules
▶ Try in Browser ⬇ Download for Linux Read the Docs →

v1.2.0 · ~8 MB single binary · Linux · macOS · Windows · Raspberry Pi

v1.2.0 · ~8 MB einzelne Binary · Linux · macOS · Windows · Raspberry Pi

curl -fsSL https://pipe-lang.com/install.sh | bash

A real pipeline: classify → summarize → translate → save. Run it yourself below ↓

Eine echte Pipeline: klassifizieren → zusammenfassen → übersetzen → speichern. Probier sie unten selbst aus ↓

New in v1.2

Neu in v1.2

NEW AI Builtins

🐝 ai_swarm — handoff multi-agent swarms

🐝 ai_swarm — Handoff-Multi-Agent-Swarms

Named agents with their own prompt and tools transfer a conversation to one another via a reserved tool call — full shared history, the pattern OpenAI's original "Swarm" popularized.

Benannte Agenten mit eigenem Prompt und Tools reichen eine Konversation per reserviertem Tool-Call weiter — geteilter Verlauf, das Pattern von OpenAIs ursprünglichem „Swarm“.

NEW AI Builtins

👁️ ai_vision — image understanding

👁️ ai_vision — Bildverständnis

Answer questions about an image — a URL, a local file, or raw bytes — against DeepSeek's vision model. "photo.jpg" > ai_vision "What's in this?"

Fragen zu einem Bild beantworten — URL, lokale Datei oder rohe Bytes — gegen DeepSeeks Vision-Modell. "foto.jpg" > ai_vision "Was ist zu sehen?"

NEW CLI

🔄 Built-in self-updater

🔄 Eingebauter Self-Updater

pipe --update checks GitHub, verifies the SHA256 checksum, and replaces the running binary atomically. pipe --version / --update-check included.

pipe --update prüft GitHub, verifiziert den SHA256-Checksum und ersetzt die laufende Binary atomar. pipe --version / --update-check inklusive.

NEW AI Providers

🆓 OpenCode Zen — keyless AI provider

🆓 OpenCode Zen — schlüssellose KI

The 6th provider runs free-tier models with zero API key at all: ai_provider "opencode" and go.

Der 6. Provider läuft mit Free-Tier-Modellen ganz ohne API-Key: ai_provider "opencode" und los.

NEW Sandbox

🛡️ Two more sandbox audit rounds closed

🛡️ Zwei weitere Sandbox-Audit-Runden geschlossen

Round 7 (CLI --sandbox missed 6 fs-write builtins) and round 8 (wiki_search bypassed the AI egress gate entirely) — found, fixed, live-verified.

Runde 7 (CLI --sandbox verfehlte 6 Schreib-Builtins) und Runde 8 (wiki_search umging den KI-Egress-Gate komplett) — gefunden, gefixt, live verifiziert.

FIXED Reliability

🐛 .pipec cache correctness bug

🐛 .pipec-Cache-Korrektheitsbug

A stale bytecode cache could resolve a builtin call to the wrong function after the builtin table changed. Now self-invalidating — no known repeat possible.

Ein veralteter Bytecode-Cache konnte einen Builtin-Aufruf nach einer Änderung der Builtin-Tabelle auf die falsche Funktion auflösen. Jetzt selbst-invalidierend — keine Wiederholung mehr möglich.

Try Pipe in your browser

Probier Pipe im Browser

No install. No signup. Just type Pipe code and run.

Keine Installation. Keine Anmeldung. Einfach tippen und ausführen.

pipe playground
Loading WASM...
pipeline graph

Running AI in production is harder than it should be

KI in Produktion ist schwieriger als nötig

🔒

Security

Sicherheit

LLMs with file access, network, and exec are a liability. You need sandboxing at the language level — not afterthought middleware.

LLMs mit Dateizugriff, Netzwerk und exec sind ein Risiko. Du brauchst Sandboxing auf Sprachebene — kein nachträgliches Middleware-Gefrickel.

🐌

Performance

Performance

Sequential API calls turn a 1-second pipeline into a 10-second bottleneck. Parallelism shouldn't require asyncio.gather() boilerplate.

Sequentielle API-Calls machen aus einer 1-Sekunden-Pipeline einen 10-Sekunden-Flaschenhals. Parallelismus sollte kein asyncio.gather()-Boilerplate brauchen.

🔗

Vendor Lock-in

Vendor-Lock-in

Switching from OpenAI to DeepSeek means rewriting your SDK code. Provider changes should be one line — not a refactor.

Von OpenAI zu DeepSeek wechseln heißt SDK-Code umschreiben. Provider-Wechsel sollten eine Zeile sein — kein Refactor.

Pipe fixes this at the language level. Pipe löst das auf Sprachebene.

From log files to AI agents — in a few lines

Von Logdateien bis KI-Agenten — in wenigen Zeilen

Log Analysis → Incident Report

Log-Analyse → Incident-Report

Read server logs, filter critical entries, summarize findings with AI, translate to German, and save — 8 lines, measured in benchmarks/python-vs-pipe. No intermediate files. No Python script.

Server-Logs einlesen, kritische Einträge filtern, per KI zusammenfassen, ins Deutsche übersetzen und speichern — 8 Zeilen, gemessen in benchmarks/python-vs-pipe. Keine Zwischendateien. Kein Python-Skript.

ai_provider "deepseek"

logs: read_lines "data/incident.log"
errors: filter logs (fn line: (len (split line "ERROR")) > 1)
joined: join errors "\n"

summary: summarize joined
german: translate summary "de"

write_file "incident_report.md" ("# Incident Report\n## Deutsch\n" ++ german ++ "\n")
print german

RAG Pipeline — Context-aware Q&A

RAG-Pipeline — Kontextbezogene Q&A

Vectorize documents, find matches by meaning — not keywords. Built-in embed, nearest, cosine_sim. Works with every provider: OpenAI, DeepSeek, Anthropic, Ollama, OpenRouter. No vector DB setup.

Dokumente vektorisieren, Treffer nach Bedeutung finden — nicht nach Stichwörtern. Eingebaute embed, nearest, cosine_sim. Funktioniert mit jedem Provider: OpenAI, DeepSeek, Anthropic, Ollama, OpenRouter. Keine Vektor-DB.

ai_provider "deepseek"

docs: [read_file "data/docs/database.txt"]
push docs (read_file "data/docs/caching.txt")
push docs (read_file "data/docs/api.txt")
push docs (read_file "data/docs/deployment.txt")

vectors: embed_batch docs
question: "How do we rate-limit API requests?"
q_vec: embed question
top: nearest q_vec vectors 3

context: ""
for idx in top
    context: context ++ (at docs idx) ++ "\n---\n"

answer: ask ("Context:\n" ++ context ++ "\nQuestion: " ++ question)
print answer

AI Agents — Sandboxed & Parallel

KI-Agenten — Sandboxed & Parallel

Define a tool, register it with the LLM, and let the model call it autonomously. Sandbox profiles lock down exec, write_file, and network access. The same code swaps between OpenAI, DeepSeek, OpenRouter, and Ollama with one line.

Ein Tool definieren, beim LLM registrieren und das Modell autonom aufrufen lassen. Sandbox-Profile sperren exec, write_file und Netzwerkzugriff. Derselbe Code wechselt mit einer Zeile zwischen OpenAI, DeepSeek, OpenRouter und Ollama.

-- Declare a sandbox: temp files only, network ok, no exec
sandbox_profile "agent" {fs: "temp-only", network: true, exec: false, ai: true}
set_sandbox "agent"

fn get_weather city
    match city
        | "Berlin" -> "22°C, sunny"
        | "London" -> "15°C, rainy"
        | _ -> city ++ ": no data"

ai_tool "get_weather" "Get current weather for a city" {city: "City name"} get_weather

ai_with_tools "You are a weather assistant." "What's the weather in Berlin and London?"
     > print

MCP-Native — Connect any MCP server

MCP-Nativ — Beliebige MCP-Server einbinden

Pipe is the first language with built-in MCP — both server and client. Connect to any stdio MCP server off npm/uvx, expose your own tools to Claude Desktop, and use everything together in ai_with_tools. Zero dependencies, pure Go stdlib.

Pipe ist die erste Sprache mit eingebautem MCP — Server und Client. Verbinde dich mit jedem stdio-MCP-Server per npm/uvx, stelle eigene Tools für Claude Desktop bereit und nutze alles zusammen in ai_with_tools. Zero Dependencies, reines Go.

mcp_use_stdio "npx" "-y" "@modelcontextprotocol/server-github" {GITHUB_TOKEN: (env "GITHUB_TOKEN")}

mcp_use_stdio "npx" "-y" "@modelcontextprotocol/server-filesystem" "/tmp"

ai_with_tools "You have GitHub + filesystem tools."
    "Check pipe's open issues, list /tmp files, save a summary."

Social CI/CD — Discord & Telegram in pipelines

Social CI/CD — Discord & Telegram in Pipelines

Built-in Discord webhook and Telegram Bot modules. Send rich embeds with AI code reviews from CI, post notifications, or build custom chat bots — pure Pipe, zero API costs for sending.

Eingebaute Discord-Webhook- und Telegram-Bot-Module. Sende Rich-Embeds mit KI-Code-Reviews aus der CI, poste Benachrichtigungen oder baue eigene Chat-Bots — reines Pipe, keine API-Kosten fürs Senden.

import "discord.pipe" as d
ai_provider "deepseek"

-- Send AI code review to Discord on every push
review: ai_chat "Review this code" diff 800

d.d_webhook_embed (env "DISCORD_WEBHOOK") {
    title: "🔧 CI: Push to master",
    color: 3447003,
    fields: [
        {name: "Changed Files", value: stat},
        {name: "AI Review", value: review}
    ]
}

Pipe vs. Python + LangChain

Pipe vs. Python + LangChain

Same job. Less code. Built-in safety.

Gleicher Job. Weniger Code. Eingebaute Sicherheit.

Python + LangChainPipe
RAG pipelineRAG-Pipeline26 LOC26 Zeilen14 LOC14 Zeilen
Sandbox LLM accessLLM-Zugriff sandboxenCustom middlewareCustom MiddlewareOne sandbox_profile blockEin sandbox_profile-Block
Switch AI providerKI-Provider wechselnRewrite SDK callsSDK-Calls umschreibenai_provider "deepseek"
Deploy to serverAuf Server deployenDocker + venv + pipDocker + venv + pipscp pipe binaryscp pipe binary
Expose an HTTP APIHTTP-API bereitstellenFastAPI + uvicorn + depsFastAPI + uvicorn + Depsroute_get + serve
Parallel LLM callsParallele LLM-Callsasyncio.gather() boilerplateasyncio.gather()-Boilerplate>> operator, ai_batch
MCP Server + ClientMCP Server + Clientlangchain-mcp-adapters + pip depslangchain-mcp-adapters + pip-Deps13 MCP builtins, zero deps, any stdio server
Binary size (with deps)Binary-Größe (mit Deps)345 MB venv345 MB venv8.6 MB8.6 MB

What you get with Pipe

Was du mit Pipe bekommst

Ship AI pipelines 10× faster

KI-Pipelines 10× schneller bauen

36 AI operations are language primitives — not library calls. summarize, translate, classify work without imports, SDKs, or API wrappers.

36 KI-Operationen sind Sprach-Primitives — keine Library-Calls. summarize, translate, classify funktionieren ohne Imports, SDKs oder API-Wrapper.

🔒

Lock down AI agents in one line

KI-Agenten in einer Zeile einsperren

Declarative sandbox profiles restrict exec, write_file, and http_get. Essential for ai_with_tools — keep LLMs on a leash.

Deklarative Sandbox-Profile beschränken exec, write_file und http_get. Essentiell für ai_with_tools — LLMs an die Leine nehmen.

📦

One binary — deploy anywhere

Eine Binary — überall deployen

One statically-linked ~8 MB binary — no venv, no pip, no Docker. pipe -build embeds your script + modules; -upx compresses to ~2.9 MB. Linux, macOS, Windows, Raspberry Pi — or your browser via WebAssembly.

Eine statisch gelinkte ~8-MB-Binary — kein venv, kein pip, kein Docker. pipe -build bettet Skript + Module ein; -upx komprimiert auf ~2,9 MB. Linux, macOS, Windows, Raspberry Pi — oder dein Browser per WebAssembly.

⚡⚡

3 LLM calls in 1.2s, not 3.3s

3 LLM-Calls in 1,2s, nicht 3,3s

>> starts any pipeline stage in the background. Futures auto-resolve. ai_batch processes hundreds of texts concurrently with rate limiting.

>> startet jede Pipeline-Stufe im Hintergrund. Futures lösen sich automatisch auf. ai_batch verarbeitet hunderte Texte parallel mit Rate-Limiting.

🌐

No vendor lock-in

Kein Vendor-Lock-in

OpenAI, Anthropic, DeepSeek, Ollama, OpenRouter. Switch providers with ai_provider. Same code. Same pipeline. Zero rewrites.

OpenAI, Anthropic, DeepSeek, Ollama, OpenRouter. Provider wechseln mit ai_provider. Gleicher Code. Gleiche Pipeline. Keine Rewrites.

🧪

Tests & CI built in

Tests & CI eingebaut

Zero-setup testing: test blocks with assert_eq, assert_error — run via pipe -test. The official GitHub Action runs Pipe in CI with sandbox profiles on demand.

Testen ohne Setup: test-Blöcke mit assert_eq, assert_error — ausgeführt per pipe -test. Die offizielle GitHub Action führt Pipe in CI aus, Sandbox bei Bedarf.

📚

Module ecosystem & LSP

Modul-Ökosystem & LSP

23 curated modules: discover with pipe -search, install with pipe -get, pin versions with @1.0.0. Plus LSP-powered IntelliSense in VSCode — completion, hover docs, go-to-definition.

23 kuratierte Module: entdecken mit pipe -search, installieren mit pipe -get, Versionen pinnen mit @1.0.0. Dazu LSP-IntelliSense in VSCode — Completion, Hover-Docs, Go-to-Definition.

🌍

Web apps & APIs built in

Web-Apps & APIs eingebaut

pipe-web: routing, JSON, middleware, and a real HTTP server. Ship APIs and dashboards as a single binary — no FastAPI, no Express. See the AI Summarize API and RAG Knowledge Base examples.

pipe-web: Routing, JSON, Middleware und ein echter HTTP-Server. APIs und Dashboards als einzelne Binary ausliefern — kein FastAPI, kein Express. Siehe AI-Zusammenfassungs-API und RAG-Wissensbasis.

🧩

MicroPipe — the embedded edition (preview)

MicroPipe — die Embedded-Edition (Preview)

A faithful Pipe core that runs on MicroPython and a real ESP32 — same pipelines, same MCP client over WiFi. Read a sensor, call an MCP server, drive a GPIO, all in Pipe. Preview, MIT: github.com/MachuraHarry/micropipe

Ein treuer Pipe-Kern, der auf MicroPython und einem echten ESP32 läuft — gleiche Pipelines, gleicher MCP-Client über WLAN. Sensor lesen, MCP-Server aufrufen, GPIO schalten — alles in Pipe. Preview, MIT: github.com/MachuraHarry/micropipe

Built for production AI workloads

Gebaut für Produktions-KI-Workloads

✓ Officially listed in the official MCP Registry — one-click install from GitHub MCP Registry for Copilot & VS Code ✓ Offiziell im offiziellen MCP-Registry gelistet — One-Click-Install aus der GitHub-MCP-Registry für Copilot & VS Code

🔒 DSGVO-konform / GDPR-compliant by design

  • Zero telemetry & analytics — nothing leaves your machine
  • Self-hosted single binary — runs entirely on your infrastructure
  • No cloud — no vendor server processes your data
  • Open source (MIT) — fully auditable
  • • With Ollama, not a single byte leaves your network

53 AI + MCP Builtins (40 AI + 13 MCP) + 192 Standard = 246 Total

53 KI + MCP-Builtins (40 KI + 13 MCP) + 192 Standard = 246 Gesamt

🧠 Understanding6
summarizeText summarization
translateTranslation
classifyClassification
extractData extraction (JSON)
askQuestion answering
generateFree-text generation
⚡ Speed & Parallel6
ai_streamReal-time token streaming
ai_batchAuto-parallel batch
ai_parallelConcurrency control
ai_rate_limitRate limiting
ai_chatLow-level chat
ai_chat_jsonChat → structured JSON
🔍 Embeddings & Search5
embedText → vector
embed_batchBatch embeddings
cosine_simSemantic similarity
dot_productDot product
nearestTop-K nearest
🤖 Tool Calling & Config5
ai_toolRegister function as tool
ai_with_toolsChat with tool access
ai_providerSelect AI provider
ai_modelSelect model
ai_timeoutSet timeout
🐝 Swarms & Vision4
swarm_agentRegister a swarm member
ai_swarmRun a handoff multi-agent swarm
ai_swarm_traceRun a swarm, with trace
ai_visionAnswer questions about an image
🔌 MCP — Model Context Protocol13
mcp_serverCreate MCP server
mcp_serve_stdioStart stdio server
mcp_serve_sseStart HTTP server
mcp_toolsList tools
mcp_resourceDefine resource
mcp_resource_templateDynamic resource
mcp_promptDefine prompt
mcp_resourcesList resources
mcp_read_resourceRead resource
mcp_promptsList prompts
mcp_prompt_getGet prompt
mcp_use_stdioConnect to MCP server
mcp_use_sseConnect via HTTP
🔒 Sandbox Profiles4
sandbox_profileDefine a sandbox profile
set_sandboxActivate a profile
with_sandboxTemp profile override
sandbox_lockLock sandbox state
🧪 Testing6
testGrouped test block
assertTruthy check
assert_eqEquality check
assert_ltLess-than check
assert_gtGreater-than check
assert_errorExpect an error

Get started in 30 seconds

In 30 Sekunden starten

🌐

Browser Playground

Browser-Playground

Write and run Pipe code instantly. No install. No signup. Full syntax highlighting.

Pipe-Code sofort schreiben und ausführen. Keine Installation. Kein Login. Volles Syntax-Highlighting.

Open Playground
💻

Local Install

Lokal installieren

Pre-built binaries for Linux, macOS & Windows — or build from source with git clone + make build.

Fertige Binaries für Linux, macOS & Windows — oder aus dem Quellcode mit git clone + make build.

curl -fsSL https://pipe-lang.com/install.sh | bash
Install Guide
🔄

CI/CD Action

CI/CD-Action

Run Pipe in GitHub Actions. No installation. AI-enabled on demand. Add sandbox on demand via the flags input (e.g. -vm -q --sandbox).

Pipe in GitHub Actions ausführen. Keine Installation. KI bei Bedarf aktivierbar. Sandbox bei Bedarf über den flags-Input (z. B. -vm -q --sandbox).

GitHub Action Docs

MCP Ecosystem — connect to any stdio MCP server

MCP-Ökosystem — verbinde dich mit jedem stdio-MCP-Server

Pipe can connect to any MCP server via mcp_use_stdio. GitHub, Filesystem, Postgres, Slack, Brave Search, Git, Memory, Sequential Thinking — everything discoverable from npm/uvx becomes a tool for the AI.

Pipe kann sich mit jedem MCP-Server via mcp_use_stdio verbinden. GitHub, Dateisystem, Postgres, Slack, Brave Search, Git, Memory, Sequential Thinking — alles, was per npm/uvx verfügbar ist, wird zum Tool für die KI.

✓ Pipe is listed in the official MCP Registry (v1.1.1) and on the GitHub MCP Registry for one-click install from Copilot & VS Code. ✓ Pipe ist im offiziellen MCP-Registry gelistet (v1.1.1) und in der GitHub-MCP-Registry für One-Click-Install aus Copilot & VS Code.

📁

Filesystem

Read, write, list, search files — secured to allowed directories.

🐙

GitHub

Issues, PRs, repos, files — full GitHub API as AI tools.

🗄️

Postgres + SQLite

Schema inspection, read-only queries — AI explores your data.

🌐

Fetch + Brave Search

Web content fetching, real-time search — AI stays informed.

💬

Slack

Channels, messages, history — integrate AI into team comms.

🧠

Memory

Persistent knowledge graph — AI remembers across sessions.

Latest from the Blog

Neues aus dem Blog

Releases, deep dives, and tutorials — straight from building with Pipe.

Releases, Deep Dives und Tutorials — direkt aus der Entwicklung von Pipe.

2026-08-23 release

🔍 repo-rag MCP — RAG over ANY Git Repository, Not Just This One

🔍 repo-rag MCP — RAG über ein BELIEBIGES Git-Repository, nicht nur über dieses

One command turns any Git repository into a full RAG MCP server: keyword search without API keys, cited AI answers (now with OpenRouter free models), code symbol lookup in 5 languages, file outlines — persistent SQLite indexes and a locked-down sandbox included.

Ein Befehl macht aus jedem Git-Repository einen vollwertigen RAG-MCP-Server: Keyword-Suche ohne API-Key, zitierte KI-Antworten (jetzt mit OpenRouter-Free-Models), Code-Symbol-Lookup in 5 Sprachen, File-Outlines — mit persistenten SQLite-Indexen und verriegelter Sandbox.

2026-08-21 release

🔍 pipe-docs MCP — Your Entire Codebase as a Semantic Search, Inside Your AI IDE

🔍 pipe-docs MCP — Deine gesamte Codebase als semantische Suche, direkt in deiner KI-IDE

A semantic search and RAG MCP server for the Pipe language — 7 tools, zero dependencies, published on the MCP Registry. Heading-aware chunking, hybrid search, cited answers, code symbol lookup.

Ein semantischer Suche- und RAG-MCP-Server für die Pipe-Sprache — 7 Tools, null Abhängigkeiten, veröffentlicht auf dem MCP Registry. Heading-bewusstes Chunking, Hybrid-Suche, zitierte Antworten, Code-Symbol-Lookup.

2026-08-15 release

🧠 docs-pipe — Turn Your Docs Into a Searchable, Question-Answering AI

🧠 docs-pipe — Verwandle deine Doku in eine durchsuchbare, Frage-beantwortende KI

A documentation-native RAG module plus a web dashboard: heading-aware chunking, hybrid keyword + semantic search, cited answers, incremental re-indexing, and a one-command UI — all in pure Pipe, no vector database.

Ein dokumentations-natives RAG-Modul plus Web-Dashboard: heading-bewusstes Chunking, hybride Keyword- + semantische Suche, zitierte Antworten, inkrementelles Indexieren und ein Ein-Befehl-UI — alles in reinem Pipe, ohne Vektor-Datenbank.

All posts →Alle Beiträge →