---
title: "Deploy Flowise + Bifrost | Visual AI Agent Builder with a Built In Gateway"
description: "Flowise + Bifrost | Visual AI Agent Builder with a Built In Gateway"
category: "AI/ML"
url: https://railway.com/deploy/flowise-bifrost-or-visual-ai-agent-build
---

# Deploy Flowise + Bifrost | Visual AI Agent Builder with a Built In Gateway

Flowise + Bifrost | Visual AI Agent Builder with a Built In Gateway

**[Deploy Flowise + Bifrost | Visual AI Agent Builder with a Built In Gateway on Railway](https://railway.com/template/flowise-bifrost-or-visual-ai-agent-build)**

- **Creator:** Maxim AI's Projects
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

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

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

### Bifrost https://framerusercontent.com/images/k49dViw06yckDjJt5uERdfTSjU.png

- **Image:** maximhq/bifrost:latest
- **Health check:** /health
- **Public domain:** Yes

### Flowise https://docs.flowiseai.com/~gitbook/image?url=https%3A%2F%2F2285675912-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FGbkT2LO0nYo1GpaPli6H%252Fsites%252Fsite_xr8IJ%252Ficon%252FK0o2MMI8aGsaEmorO1kF%252FFlowise%2520Logo%2520Dark%2520High%2520Res.png%3Falt%3Dmedia%26token%3D1b448d7c-22a1-43c9-b274-d427b8f9588d&width=32&dpr=2&quality=100&sign=278568ee&sv=2

- **Image:** flowiseai/flowise
- **Public domain:** Yes

## Documentation

# Deploy and Host Flowise with Bifrost on Railway

Building agents and flows usually means pasting a provider key into every model node, with no failover, no shared budget, and no single place to see what the AI is costing. This template fixes that. Flowise gives you the visual drag and drop builder, and Bifrost sits underneath as the gateway every model node routes through, so one connection reaches OpenAI, Anthropic, Google, and more, with provider failover and request logging built in.

## What you get

Flowise is an open source visual builder for LLM agents, RAG pipelines, and chat flows. Bifrost is an open source AI gateway that routes to 20+ providers behind one OpenAI compatible API. You point a Flowise model node at Bifrost once, and from then on your flows reach every provider through it, so you manage providers and keys in Bifrost instead of inside each flow.

## About Hosting This Stack

The stack runs three services: Flowise as the builder with its own embedded storage on a volume, Bifrost as the AI gateway, and Postgres as Bifrost storage for configuration and request logs. After deploy, add a provider key in Bifrost, then in Flowise add a ChatOpenAI node and set its base URL to Bifrost over the private network. Every model call then flows through Bifrost with failover and full logging.

## Common Use Cases

- Visual AI agents and RAG pipelines that can switch providers without editing every flow
- Chatbots and support assistants with one place to control AI cost and keys
- A shared builder for a team, with all model traffic logged through one gateway

## Dependencies for This Stack

- Postgres for Bifrost configuration and request log storage

### Deployment Dependencies

- Flowise: https://github.com/FlowiseAI/Flowise
- Bifrost docs: https://docs.getbifrost.ai
- Bifrost Docker Hub: https://hub.docker.com/r/maximhq/bifrost

### Why Deploy This Stack on Railway?

Railway runs your whole stack on one platform, so you do not wire services together by hand and can scale each piece as load grows. By deploying Flowise with Bifrost on Railway, you get a private visual AI builder connected to every major provider in minutes, with cost control and logging built in.

## 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/flowise-bifrost-or-visual-ai-agent-build
