The Problem I Kept Running Into
Every time I built an AI agent, workflow, or custom model integration, I hit the same wall: how do I actually get this in front of users?
The AI logic was the easy part. The infrastructure? That’s where things got complicated.
To properly distribute an AI solution, you need:
- A production-ready chat interface
- User authentication and session management
- Multi-tenant architecture so clients don’t see each other’s data
- Access control (who can use what)
- Conversation history and search
- Secure API key storage
- Usage tracking
For most teams, this means 2–6 months of development and $5k–$50k in engineering costs before a single user chats with your AI.
I built AgentFlow to solve this problem.
What is AgentFlow?
AgentFlow is an enterprise-grade platform for distributing AI agents, models, and workflows. You connect your AI endpoint with a simple YAML file, and you instantly get:
- Production-ready chat interface — responsive, clean, works on mobile
- Multi-tenant data isolation — complete separation between organizations
- Group-based access control — control who can use which AI models
- Full conversation history — search, export, analyze
- Encrypted credential storage — API keys protected at rest
- Audit trails — for compliance and debugging
Setup time: 5 minutes. Not weeks. Not months. Minutes.
Who Is This For?
Agencies & Consultants
You’re building bespoke solutions for multiple clients using completely different tools.
- Client A (Legal): Needs a secure “Contract Analyzer” built with LangChain and a vector database.
- Client B (Retail): Needs a “Refund Bot” powered by an n8n automation workflow.
Without AgentFlow: You’re managing two completely different deployment nightmares. A custom Streamlit app for the lawyers, a hacked-together web interface for the retailers. Two codebases, two auth systems, struggling to look like a cohesive agency.
With AgentFlow: One portal. Two frameworks. Complete isolation.
You deploy AgentFlow once. In your config, you route the LangChain endpoint to the Law Firm’s organization and the n8n webhook to the Retailer’s organization.
The lawyers log in and see only their secure LangChain agent. The retailers log in and see only their n8n automation. You use whatever backend tool is best for the job while giving every client the same polished, professional frontend.
SaaS Companies Adding AI Features
You want to offer AI capabilities at different subscription tiers:
- Free tier → GPT-3.5
- Pro tier → GPT-4
- Enterprise → Custom fine-tuned model
Without AgentFlow: Build an entire access control system, figure out multi-tenancy, handle subscription-based model routing.
With AgentFlow: Create groups for each tier. Assign models to groups. Users automatically get access based on membership.
Agent Builders and Researchers
You’ve built something interesting with LangChain, CrewAI, or AutoGen. You want to demo it, test it with real users, or share it with colleagues.
Without AgentFlow: Jupyter notebooks, command-line interfaces, or cobbling together a Streamlit app.
With AgentFlow: Connect your agent’s HTTP endpoint. Get a professional interface instantly.
What You Can Connect
AgentFlow works with any HTTP/SSE endpoint:
- Direct APIs: OpenAI, Anthropic, Mistral, Cohere, local Ollama
- Workflow tools: n8n, Make.com, Zapier, Relay.app
- Agent frameworks: LangChain, LlamaIndex, CrewAI, AutoGen
- Cloud functions: Google Cloud Run, AWS Lambda, Azure Functions
- Custom backends: Any service that accepts HTTP requests
Configuration is done via YAML:
name: 'My Custom Agent'
endpoint: 'https://my-agent.example.com/chat'
headers:
Authorization: 'Bearer {{api_key}}'
request_schema:
message: '{{message}}'
response_path: 'response'
Version-controlled. Human-readable. Simple.
What’s Working Today
Stable and production-ready:
- AI endpoint connections via YAML
- Multi-tenant organizations with complete data isolation
- Group-based access control
- Full-featured chat interface
- Conversation history, search, and export
- Encrypted API key storage
- Row-Level Security throughout
- Comprehensive test suite (unit, integration, and E2E)
- Supabase Auth integration
Coming soon:
- File uploads and multimedia
- Voice input/output
- Team collaboration features
- Enterprise SSO/SAML
Getting Started
Option 1: Try the Cloud Version
Visit app.agentflow.live. Free tier available. No setup required.
Option 2: Self-Host
git clone git@github.com:connorbell133/Agentflow.git
cd chat-platform
npm install
cp .env.example .env.local
# Configure your Supabase credentials
supabase start && supabase db reset
npm run dev
Visit http://localhost:3000. You're running.
Open Source, Self-Hostable, Free Forever
AgentFlow is released under AGPL-3.0:
- Free to use — no licensing fees, no usage limits
- Self-hostable — deploy on your own infrastructure
- Fully customizable — it’s your code, modify it as needed
- Community-driven — contributions welcome
There’s also a managed cloud version if you don’t want to deal with hosting. But the self-hosted version has the exact same features.
Why I Built This
I’ve been building AI solutions for a while now. The most frustrating part was never the AI itself — it was everything around it. The infrastructure. The auth. The multi-tenancy. The UI.
Every project felt like reinventing the wheel.
AgentFlow is the platform I wish I had when I started. Build your AI logic. Let AgentFlow handle the rest.
This isn’t a massive framework that will change the world. It’s a focused tool that solves a real problem I kept encountering. If you’re building AI solutions and distribution infrastructure has been a pain point, I hope AgentFlow helps.
Links
- Cloud Platform: app.agentflow.live
- GitHub Repository: github.com/connorbell133/Agentflow
- Documentation: deepwiki.com/connorbell133/Agentflow
- Website: agentflow.live
Stop building infrastructure. Start shipping AI.
