Deploy Agentic Data Stack Lite
LibreChat, ClickHouse, Langfuse: an open-source agentic analytics stack
LibreChat
mongo
Just deployed
/data/db
librechat
Just deployed
clickhouse-mcp
Just deployed
librechat-admin-panel
Just deployed
Langfuse
langfuse-worker
Just deployed
clickhouse
Just deployed
/var/lib/clickhouse
langfuse
Just deployed
redis
Just deployed
postgres
Just deployed
minio
Just deployed
Deploy and Host Agentic Data Stack Lite on Railway
A self-hosted, observability-first agentic chat platform combining LibreChat (multi-provider LLM chat with MCP tool support), Langfuse v3 (full trace observability), and a ClickHouse MCP server pre-wired to the public ClickHouse demo cluster.
About Hosting Agentic Data Stack Lite
This template deploys ten Railway services: LibreChat with its admin panel and MongoDB store, Langfuse v3 (web + worker) backed by Postgres, Redis, MinIO, and ClickHouse, and a ClickHouse MCP server that exposes ClickHouse's public sql-clickhouse.clickhouse.com demo cluster to LibreChat's agents. After deploy, you sign into LibreChat and start chatting with agents that can query the ClickHouse demo data out of the box, OAuth into your own ClickHouse Cloud account via the ClickHouse Cloud MCP, or bring your own MCP servers. Every agent run streams traces to Langfuse for inspection, scoring, and evaluation.
Common Use Cases
- Self-hosted ChatGPT-style frontend with multi-provider LLM support and per-trace observability
- First-touch demo environment for ClickHouse Cloud combined with agentic SQL workflows
- Learning how to navigate and evaluate traces generated by LLM-based chat applications with Langfuse
Dependencies for Agentic Data Stack Lite Hosting
- At least one LLM provider API key
- Optional: a ClickHouse Cloud account to point the ClickHouse Cloud MCP at your own data
Deployment Dependencies
- LibreChat: chat frontend with MCP tool integration
- Langfuse: LLM observability and tracing
- ClickHouse MCP: Model Context Protocol server for ClickHouse
- Agentic Data Stack: source repository for the LibreChat config this template fetches at boot
Why Deploy Agentic Data Stack Lite 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 Agentic Data Stack Lite 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
mongo
mongo:8.0.17langfuse-worker
langfuse/langfuse-worker:3librechat
ghcr.io/danny-avila/librechat:latestclickhouse
clickhouse/clickhouse-serverlangfuse
langfuse/langfuse:3redis
redis:7-alpinepostgres
postgres:17clickhouse-mcp
mcp/clickhouseCLICKHOUSE_PASSWORD
MUST be left blank - if Railway prevents you from deploying from template without populating this field, please remember to change it back to an empty value after deployment, otherwise calls to the clickhouse sample database will fail auth.
minio
quay.io/minio/miniolibrechat-admin-panel
ghcr.io/clickhouse/librechat-admin-panel:latest