█

AI/TLDR

Buy me a coffee
Buy me a coffee

Pezzo

Self-hostable LLMOps: manage prompts, then watch what they cost

Observability & LLMOpsOpen source
Language
TypeScript
License
Apache-2.0
IN SHORT

What is Pezzo?

Pezzo is an open-source, cloud-native LLMOps platform. It sits in the Observability & LLMOps category of the Evaluation & Production Ops tools and is open-source, written in TypeScript and licensed Apache-2.0. To get started: check the prerequisites.

Overview

Pezzo is an open-source, cloud-native LLMOps platform. It puts prompt management and production observability in one place: prompts are stored, versioned and edited in a console rather than pasted into source files, and every request made through a Pezzo client is traced so you can see what ran, what it cost, how long it took and what came back. The pitch is that a prompt change should be deliverable without a deploy, and its effect should be visible immediately.

Three capabilities are offered consistently across the clients — prompt management, observability and caching — via the Node.js client (`@pezzo/client` on npm), the Python client, and a LangChain integration. Caching is the direct cost lever: repeated calls can be served without hitting the provider, which is where the project's claim of saving up to 90% on cost and latency comes from.

The whole stack is self-hostable and built entirely on open-source infrastructure — PostgreSQL for application data, ClickHouse for the request telemetry, Redis, and Supertokens for auth — with a Docker Compose path for running it locally and a managed Pezzo Cloud for teams that would rather not. It is licensed Apache 2.0, and the repository also documents a development mode for working on Pezzo itself.

What it does

  • Prompt management: store, version, edit and collaborate on prompts in a console, and deliver changes without a redeploy
  • Observability over every AI request made through a Pezzo client — troubleshooting, cost and latency visibility
  • Response caching to cut repeated provider calls, the mechanism behind the project's cost and latency savings claim
  • Node.js (@pezzo/client), Python and LangChain clients, all three supporting prompt management, observability and caching
  • Fully self-hostable on open-source infrastructure: PostgreSQL, ClickHouse, Redis and Supertokens
  • Docker Compose deployment for local or on-prem use, plus a hosted Pezzo Cloud option

Getting started

The fastest way to run the full stack is the Docker Compose path documented under 'Running With Docker Compose' in the Pezzo documentation. The steps below are the repository's development mode, which runs the server and console from source.

Check the prerequisites

Development mode needs Node.js 18+ and Docker. The GraphQL Language Feature Support VS Code extension is recommended.

bashbash
node --version   # 18 or newer
docker --version

Install dependencies and set up the environment

Pezzo reads configuration from a .env file; when using Docker you also create a .env.docker. See .env.example for reference.

bashbash
npm install

Start the infrastructure dependencies

PostgreSQL, ClickHouse, Redis and Supertokens all come up from the bundled compose file.

bashbash
docker-compose -f docker-compose.infra.yaml up

Migrate and run the server

Deploy the Prisma migrations, then start the API. Verify it at http://localhost:3000/api/healthz.

bashbash
npx dotenv-cli -e apps/server/.env -- npx prisma migrate deploy --schema apps/server/prisma/schema.prisma
npx nx serve server

Run the console

The Pezzo Console is then available at http://localhost:4200. In development you will also want GraphQL codegen running in watch mode in a separate terminal.

bashbash
npm run graphql:codegen:watch   # separate terminal
npx nx serve console

Connect your app

Install the client for your language and point it at your Pezzo instance. The Node.js client is published as @pezzo/client; a Python client and a LangChain integration are also supported.

bashbash
npm install @pezzo/client

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Move prompts out of the codebase so product and prompt changes ship without a deploy
  • Trace LLM requests in production to find the calls that are slow, expensive or failing
  • Cut spend on repetitive requests by caching responses at the client layer
  • Run prompt management and LLM observability entirely on your own infrastructure when data cannot go to a hosted vendor

How Pezzo compares

Pezzo alongside other open-source observability & llmops tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Langfuse★ 38kA self-hostable platform for tracing LLM and agent calls, managing prompts, and running evaluations to debug and improve AI applications.
Opik★ 23.5kAn open-source platform from Comet for tracing, evaluating, and monitoring LLM applications, RAG systems, and agent workflows with dashboards and LLM-as-judge metrics.
RagaAI Catalyst★ 16.2kPython SDK that combines agentic tracing, metric evaluation, dataset and prompt management, guardrails and red-teaming for LLM and multi-agent applications.
CodeBurn★ 11.9kReads the session files 41 AI coding tools already write to disk and breaks token spend down by model, project and task — no API keys or proxy — then flags waste and correlates spend with git commits.
TensorZero★ 11.7kAn open-source LLMOps platform that puts a single gateway in front of every major LLM provider and adds observability, evaluation, optimization, and A/B testing.
Evidently★ 8.1kA monitoring and evaluation framework for ML and LLM systems that tracks output quality, drift, and test results over time with reports and dashboards.
Star Office UI★ 7.6kA self-hosted pixel-art office that shows an AI agent's live work state, with a character moving between desk, sofa and bug corner as it writes, idles or hits errors; built for OpenClaw but drivable by any HTTP client.
Pezzo★ 3.3kSelf-hostable LLMOps: manage prompts, then watch what they cost