Open source · Apache-2.0 · Self-hosted

The projects

Use one on its own, or run them together. Each is a complete product with its own repository, documentation and Docker setup — and pacod-demo runs all five as one platform.

AI gateway

pacod-gw

One gateway in front of every model — with the keys, prices, quotas and usage your applications should not have to hold.

pacod-gw sits between your applications and the LLM providers. A Rust core relays or translates every call, keeps provider keys out of your apps, enforces quotas, prices each request and streams usage into ClickHouse analytics — all managed from a SvelteKit console.

  • Proxy and managed modes on one Rust core
  • OpenAI, Anthropic and Gemini dialects
  • Quotas, cost and analytics per workspace
  • Rust
  • PostgreSQL
  • ClickHouse
  • SvelteKit
  • Caddy
  • Docker
  • Helm
  • Prometheus

Content management

pacod-cms

One stack, many editorial websites — articles, advertising and statistics, with AI translation built in.

pacod-cms is an open-source content management system for editorial websites. One installation hosts many sites, each with its own database, files and cache; editors work in a multilingual studio, and readers get fast, host-routed public sites.

  • Many websites on one stack
  • Articles, ads and statistics in one studio
  • AI translation through the gateway
  • Java 25
  • Spring Boot 4.1
  • Thymeleaf
  • MongoDB
  • Maven
  • Caddy
  • Gotenberg
  • Docker

Agent-building platform

pacod-ap

Host any number of AI agents on one deployment — each with its own knowledge, prompts and rules, behind one sign-in.

pacod-ap is an agent-building platform. Every agent (a profile) has its own knowledge base, reference facts, prompts, directives, configuration, conversations and reviews, and all of them share one sign-in, one admin console and one LLM gateway.

  • Many self-contained agents, one deployment
  • RAG, MCP tools and a visual agent editor
  • A review loop that improves every agent
  • FastAPI
  • LangGraph
  • MCP
  • SvelteKit
  • PostgreSQL
  • Redis
  • Qdrant
  • Caddy

Identity and access

pacod-id

One place where people and machines sign in — and where it is recorded what they may do, across all your products.

pacod-id is an OpenID Connect provider for first-party applications, with accounts, organisations, role bindings and a change feed that products follow to decide access locally. Written in Rust, with client libraries for Rust, TypeScript and Python.

  • OpenID Connect, tested for conformance
  • One rules engine in Rust, TypeScript and Python
  • Branded sign-in pages, light and dark
  • Rust
  • axum
  • PostgreSQL
  • OpenID Connect
  • SvelteKit
  • Docker
  • Helm

RAG knowledge base

pacod-kb

Turn files and web pages into versioned, searchable knowledge — with a stable contract for the models that read it.

pacod-kb ingests files and web pages, converts them to canonical Markdown, indexes them for hybrid semantic and keyword search, keeps every version, and hands downstream models chunks with a stable metadata contract. It runs on CPU alone.

  • Hybrid search with BGE-M3 and BM25
  • Every version kept, point-in-time queries
  • Prompt-injection defence built in
  • FastAPI
  • Qdrant
  • BGE-M3
  • BM25
  • SQLite
  • PostgreSQL
  • HTMX
  • Docker

The whole stack

pacod-demo

All five projects working as one platform — one address, one sign-in, one gateway. Try it at demo.pacod.io.

pacod-demo runs identity, the AI gateway, the agent platform, the CMS and the knowledge base together on one machine, from one configuration file and one make. It takes each repository's own compose file unchanged, shares one of each common component between them, bootstraps the products to know each other, and checks that they work as one.

  • All five projects behind one address
  • One sign-in, one gateway, one network
  • One configuration file, one make
  • Docker Compose
  • Caddy
  • PostgreSQL
  • Qdrant
  • Prometheus
  • Grafana
  • OpenTelemetry
  • Mailpit