Deploy PandaProbe

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

Deploy PandaProbe

Just deployed

Just deployed

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

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:

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.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
118
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
9