---
title: "Deploy Agentic Data Stack Lite"
description: "LibreChat, ClickHouse, Langfuse: an open-source agentic analytics stack"
category: "AI/ML"
url: https://railway.com/deploy/agentic-data-stack-lite
---

# Deploy Agentic Data Stack Lite

LibreChat, ClickHouse, Langfuse: an open-source agentic analytics stack

**[Deploy Agentic Data Stack Lite on Railway](https://railway.com/template/agentic-data-stack-lite)**

- **Creator:** LibreChat
- **Category:** AI/ML
- **Total deploys:** 5

## Template content

### mongo https://devicons.railway.app/mongo

- **Image:** mongo:8.0.17

### langfuse-worker https://raw.githubusercontent.com/langfuse/langfuse/8f2e30bbefa0a48ea4c1e9164fdc560b2bd6c938/web/public/icon.svg

- **Image:** langfuse/langfuse-worker:3

### librechat https://raw.githubusercontent.com/danny-avila/LibreChat/main/client/public/assets/logo.svg 

- **Image:** ghcr.io/danny-avila/librechat:latest
- **Health check:** /health
- **Public domain:** Yes

### clickhouse https://devicons.railway.app/cli

- **Image:** clickhouse/clickhouse-server

### langfuse https://raw.githubusercontent.com/langfuse/langfuse/8f2e30bbefa0a48ea4c1e9164fdc560b2bd6c938/web/public/icon.svg

- **Image:** langfuse/langfuse:3
- **Health check:** /api/public/health
- **Public domain:** Yes

### redis https://devicons.railway.app/redis

- **Image:** redis:7-alpine
- **Start command:** `sh -c "redis-server --requirepass \"$REDIS_PASSWORD\" --maxmemory-policy noeviction"`

### postgres https://devicons.railway.app/postgres

- **Image:** postgres:17

### clickhouse-mcp https://devicons.railway.app/cli

- **Image:** mcp/clickhouse

### minio https://devicons.railway.app/minio

- **Image:** quay.io/minio/minio
- **Start command:** `sh -c 'mkdir -p /data/langfuse && minio server --address ":9000" --console-address ":9001" /data'`

### librechat-admin-panel https://raw.githubusercontent.com/LibreChat-AI/librechat.ai/9587c90b0af53185d70398853bcd5712eac226fc/public/librechat_alt.svg

- **Image:** ghcr.io/clickhouse/librechat-admin-panel:latest
- **Health check:** /
- **Public domain:** Yes

## Documentation


# 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](https://librechat.ai): chat frontend with MCP tool integration
- [Langfuse](https://langfuse.com): LLM observability and tracing
- [ClickHouse MCP](https://github.com/ClickHouse/mcp-clickhouse): Model Context Protocol server for ClickHouse
- [Agentic Data Stack](https://github.com/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.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/agentic-data-stack-lite
