I Built a Language Where AI Calls Are Sandboxed by Default
The 30-line Python problem
Last month I needed a script that reads server logs, classifies errors with an LLM, summarizes them, and writes a report. In Python, it looked like this:
- Import the SDK
- Initialize the client
- Handle the API response
- Parse JSON
- Add
asyncio.gather()because sequential calls took 8 seconds - Write a custom sandbox because I don't trust LLMs with
execand file writes - Package it in Docker because
requirements.txtalways breaks on the server
80 lines later, it worked. But it felt wrong. I wasn't building logic — I was plumbing.
So I asked myself: What if AI operations were language primitives, not library calls?
Meet Pipe
Pipe is a small runtime (~10 MB, single binary, zero dependencies) that treats summarize, translate, classify, and ask as first-class citizens — on the same level as +, sort, or len.
Try it
Browser Playground (WASM, no install): pipe-lang.com
Source: github.com/MachuraHarry/pipe
Docs: pipe-lang.com/docs
Top comments (0)