selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Manifest logo

Self-host Manifest

manifest@6.29.2

Open-source LLM gateway for routing AI agent traffic

ReleaseOpen SourceMIT
docker run -d -p 2099:2099 -e DATABASE_URL=postgresql://user:pass@host:5432/manifest -e BETTER_AUTH_SECRET=$(openssl rand -hex 32) -e BETTER_AUTH_URL=http://localhost:2099 manifestdotbuild/manifest
Updated9 minutes ago
LanguageTypescript
Setup difficultyEasy
Stars
7 639
Port
2099 (Web dashboard and OpenAI-compatible API (container listener; host binding defaults to 127.0.0.1))
Requires
PostgreSQL
Docker
manifestdotbuild/manifest
Manifest dashboard preview with routing and usage views

What is Manifest?

An open-source router for large-language-model traffic, Manifest sits between your AI agents and every model provider you use. It exposes one OpenAI-compatible endpoint backed by roughly 35 built-in provider connections covering 300+ models: bring-your-own API keys, existing paid subscriptions (ChatGPT, Claude, Grok and others), local servers such as Ollama, LM Studio or llama.cpp, plus custom endpoints speaking OpenAI- or Anthropic-style APIs. Requests sent with "model": "auto" are dispatched by configurable routing rules, and traffic falls over to a backup provider when one fails. An optional Autofix layer repairs malformed requests in flight; it is disabled per agent by default in self-hosted installs and calls Manifest's hosted healing service. The web dashboard records the complete body of every request and response, breaks spending down per agent, key and provider, and supports budget alerts and email notifications; a CLI and a remote MCP server endpoint are also available. Self-hosting runs through an install script or a Docker Compose stack (app container plus PostgreSQL) serving the UI on port 2099, where the first account created becomes the admin; the code carries the MIT licence. A managed cloud (free tier, then a $19/month Pro plan) and an Enterprise tier adding SSO/SAML, audit logs and support contracts exist alongside it.

Should you self-host Manifest?

Manifest scores 68/100 on selfhost.directory (how scoring works) and ranks #3 of 7 in LLM Integration. It has 7 639 GitHub stars, +62 in the last 30 days.

It shipped 61 stable releases in the past year. The latest, manifest@6.29.2, came out on 17 November 2026. New versions land roughly every 2 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is OmniRoute (89/100, 88 213 stars). It scores higher overall, so compare the two before you pick. See Manifest vs OmniRoute side by side.

Features

  • Admin Dashboard
  • Autofix request self-healingOff by default per agent in self-hosted; when enabled it sends scrubbed failed request bodies to Manifest's hosted healing service.
  • Automatic model fallbacks
  • Bring-your-own API key
  • CLI
  • Cost tracking and budget alerts
  • Custom provider endpoints
  • Custom routing rules
  • Full request/response body logs
  • Local model routing
  • OpenAI-compatible API endpoint
  • Per-agent API keys
  • Remote MCP server
  • Reuse paid model subscriptions
  • Visual model parameter setup

Manifest README

Manifest LLM Gateway

AI Agents that don't break

manifest-gh

How to install Manifest

Install Manifest with Docker

Environment variables
DATABASE_URL, BETTER_AUTH_SECRET, BETTER_AUTH_URL
docker run -d \
  -p 2099:2099 \
  -e DATABASE_URL=postgresql://user:pass@host:5432/manifest \
  -e BETTER_AUTH_SECRET=$(openssl rand -hex 32) \
  -e BETTER_AUTH_URL=http://localhost:2099 \
  manifestdotbuild/manifest

Bring your own PostgreSQL.

How to configure Manifest

  • BETTER_AUTH_SECRETSession signing secret (min 32 chars), generate with openssl rand -hex 32
  • DATABASE_URLPostgreSQL connection string (required for docker run; bundled compose provides it)
  • BETTER_AUTH_URLOverride when deploying to a domain (e.g., https://manifest.example.com). Default: http://localhost:${HOST_PORT:-${PORT:-2099}}
  • MANIFEST_ENCRYPTION_KEY─── At-rest encryption (recommended) ────────────────────────────────────── Encrypts stored LLM provider API keys / OAuth tokens. If unset, falls back to BETTER_AUTH_SECRET — convenient, but a session-cookie leak then also decrypts every stored provider credential. Set to a SEPARATE 32+ char value so the two leak surfaces stay independent. Generate with: openssl rand -hex 32
  • PORTApp port. Default: 2099. This is the one knob for changing the port — the compose file reads ${PORT:-2099} for both the published host port and the backend's internal listener, and BETTER_AUTH_URL below defaults to http://localhost:${PORT:-2099}. No YAML edit needed. Also how existing installs upgrading from an older image stay on the previous port (PORT=3001), keeping reverse-proxy, OAuth callbac

Manifest releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Do you take a cut of our token spend?

No — Manifest does not charge a margin on your provider token spend.

What does Enterprise add over Pro?

Pro is a single-user cloud plan, while Enterprise targets teams with seats and roles, SSO/SAML, audit logs, custom retention and an uptime SLA.

Can you deploy and run Manifest for us?

Yes, on the Enterprise plan: the team helps with the initial deployment in your infrastructure and stays reachable on Slack for upgrades and incidents.

More in LLM Integration

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…