---
title: "Deploy PandaProbe"
description: "Open source AI agent observability: traces, LLM evals and metrics"
category: "AI/ML"
url: https://railway.com/deploy/pandaprobe
---

# Deploy PandaProbe

Open source AI agent observability: traces, LLM evals and metrics

**[Deploy PandaProbe on Railway](https://railway.com/template/pandaprobe)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/pandaprobe/manifest.json

- **Creator:** Auromations
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

### Worker https://cdn.simpleicons.org/celery

- **Image:** ghcr.io/chirpz-ai/pandaprobe-backend:v0.10.0
- **Start command:** `/app/.venv/bin/celery -A app.infrastructure.queue.celery_app worker -B --loglevel=info --concurrency=2`

### Gateway https://cdn.simpleicons.org/caddy

- **Image:** caddy:2.10.2-alpine
- **Start command:** `/bin/sh -c "printenv CADDYFILE > /tmp/Caddyfile && DASHBOARD_PASSWORD_HASH=$(caddy hash-password --plaintext $DASHBOARD_PASSWORD) exec caddy run --config /tmp/Caddyfile --adapter caddyfile"`
- **Health check:** /healthz
- **Public domain:** Yes

### Redis https://devicons.railway.app/i/redis.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Backend https://raw.githubusercontent.com/chirpz-ai/pandaprobe/v0.10.0/frontend/public/web-app-manifest-512x512.png

- **Image:** ghcr.io/chirpz-ai/pandaprobe-backend:v0.10.0
- **Start command:** `/bin/sh -c "/app/.venv/bin/python -m alembic upgrade head && exec /app/.venv/bin/uvicorn app.main:app --host '' --port 8000 --proxy-headers --forwarded-allow-ips '*'"`
- **Health check:** /health

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:16

### Frontend https://raw.githubusercontent.com/chirpz-ai/pandaprobe/v0.10.0/frontend/public/web-app-manifest-512x512.png

- **Image:** ghcr.io/chirpz-ai/pandaprobe-frontend:v0.10.0
- **Start command:** `/bin/sh -c "printenv PANDAPROBE_FRONTEND_BOOT > /tmp/boot.sh && exec /bin/sh /tmp/boot.sh"`
- **Health check:** /

## Documentation

# Deploy and Host PandaProbe on Railway

PandaProbe is an open source agent engineering platform. Your agents send traces through its SDKs (LangGraph, CrewAI, Claude Agent SDK, OpenAI, Anthropic, Gemini and more), and you debug them in a dashboard, score them with LLM-judged evaluations, and watch metrics over time. This template runs the full stack (AGPL-3.0, release v0.10.0) behind a password-protected gateway. No PandaProbe Cloud account and no external auth provider are needed.

## About Hosting PandaProbe

PandaProbe needs PostgreSQL, Redis, a FastAPI backend, a Celery worker and scheduler, and a Next.js dashboard. This template wires all of it on Railway's private network:

- **Gateway**: Caddy, the only public service. It puts a login on the dashboard and the API, and lets your SDKs send traces with an API key.
- **Backend**: the PandaProbe API from upstream's image. It applies database migrations on every start.
- **Worker**: trace processing, evaluation runs and scheduled monitors (Celery worker with the beat scheduler built in).
- **Frontend**: the PandaProbe dashboard from upstream's image.
- **Postgres** and **Redis**: Railway's own images, with generated passwords.

Every password is generated per deploy. Only the Gateway gets a public domain.

## Common Use Cases

- Debug agent runs span by span: LLM calls, tool calls, inputs, outputs, latency and tokens.
- Score traces and multi-turn sessions with built-in metrics such as task completion, tool correctness, plan adherence and loop detection.
- Run scheduled monitors that evaluate new production traces automatically.
- Keep agent traces, which often contain user data and prompts, on your own infrastructure.

## Dependencies for PandaProbe Hosting

- PostgreSQL 16 (included)
- Redis 8 (included)
- Optional: an OpenAI, Anthropic or Google AI Studio API key for LLM-judged evaluations

### Deployment Dependencies

- Source: https://github.com/chirpz-ai/pandaprobe
- Docs: https://docs.pandaprobe.com
- SDKs: https://github.com/chirpz-ai/pandaprobe-sdk

### Implementation Details

**Log in.** Open the Gateway's public URL. Your browser asks for a username and password. The username is `admin`. The password is the `DASHBOARD_PASSWORD` variable on the **Gateway** service. To change it, edit that variable and redeploy the Gateway.

**Single-user mode.** Upstream's public images have no built-in login. They run in upstream's development mode, where the whole instance belongs to one built-in user and one organization. The dashboard shows a `DEV MODE` badge for this reason. The Gateway's password is what protects the instance. Inviting members and the billing pages do not apply here. Usage is unlimited.

**Send your first trace.** In the dashboard, open **Settings > API Keys** and create a key, or follow the tracing quickstart in the dashboard, which shows your endpoint. Then set these in your agent's environment:

```bash
export PANDAPROBE_API_KEY="sk_pp_..."
export PANDAPROBE_PROJECT_NAME="my-agent"
export PANDAPROBE_ENDPOINT="https://YOUR_DOMAIN/api"
```

Note the `/api` at the end of the endpoint. Projects are created on first use. SDK requests need only the API key: the Gateway lets a request that carries an `X-API-Key` header reach the trace, session and evaluation routes, and the backend checks the key. Every other route needs the dashboard password.

**Evaluations.** LLM-judged metrics need a model provider key. Add one or more of `OPENAI_API_KEY`, `ANTHROPIC_API_KEY` or `GEMINI_API_KEY` to the **Backend** service. The Worker reads them from Backend, so redeploy both. `EVAL_LLM_MODEL` sets the default judge model in LiteLLM form (default `openai/gpt-5.4-mini`). With only an Anthropic key, set it to something like `anthropic/claude-haiku-4-5`. You can also pick a model per evaluation run. Similarity-based metrics (coherence, loop detection, session consistency and reliability) also use `EVAL_EMBEDDING_MODEL`, which defaults to `openai/text-embedding-3-small` and so needs an OpenAI key. The first evaluation request after a Backend restart takes about 12 seconds while the evaluation library loads.

**Custom domain.** Add the domain to the **Gateway** service. The dashboard calls the API on whatever domain it is opened from, so nothing else has to change.

**Upgrades.** Change the image tag on Backend, Worker and Frontend together (all three use the same PandaProbe release) and redeploy. Backend applies new migrations when it starts. Read upstream's release notes first. On start, the Frontend points the dashboard at `/api` on its own domain. Its logs print `pandaprobe-boot: API URL rewritten` when this works.

**Scaling.** Each service runs one replica. The Worker runs two evaluation processes at a time. To raise that, change `--concurrency=2` in the Worker's start command. Run only one Worker, because the scheduler runs inside it.

**Troubleshooting.**

- The SDK gets HTTP 401: check that `PANDAPROBE_ENDPOINT` ends in `/api` and that the key has not been revoked.
- The dashboard loads but every panel shows a network error: open the Frontend logs. If the `pandaprobe-boot: API URL rewritten` line is missing, a newer frontend image changed how it stores the API URL. Roll the Frontend back to the previous tag.
- An evaluation run fails with a provider message: the judge model's provider key is missing on Backend, or the Worker was not redeployed after you added it.

## Why Deploy PandaProbe on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying PandaProbe on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/pandaprobe
