PromptFlow โ AI Agent Builder Platform
PromptFlow is an open-source, local-first AI Agent Builder Platform that allows users to visually create and execute custom AI workflows through a drag-and-drop canvas. It supports prompt engineering, retrieval-augmented generation (RAG), tool calling, and real-time streaming.
๐ Features
- Visual Canvas Editor โ Drag and drop nodes to build AI workflows
- RAG Support โ Upload documents and retrieve context for prompts
- Local-First โ Everything runs locally with open-source components
- Real-time Streaming โ Watch your agents execute live
- Tool Integration โ Extend agents with custom tools
- Team Collaboration โ Multi-user workspaces with role-based access
๐๏ธ Architecture
- Frontend: Next.js 15 + TypeScript + Tailwind CSS + React Flow
- Backend: FastAPI + Python 3.11
- Databases: PostgreSQL + Qdrant (vectors)
- Storage: MinIO (S3-compatible)
- Cache/Queue: Redis
- LLM Runtime: Ollama
- Task Queue: Celery
๐ฆ Quick Start
Prerequisites
- Docker and Docker Compose
- Node.js 18+
- Python 3.11+
- Ollama (for local LLMs)
Installation
- Clone the repository
git clone <https://github.com/prajjwal-23/PromptFlow.git>
cd PromptFlow- Start all services
make setup
make dev- Access the application
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
๐ ๏ธ Development
Setup Development Environment
# Install dependencies
make install
# Start development servers
make dev
# Run tests
make test
# Lint code
make lintProject Structure
PromptFlow/
โโโ backend/ # FastAPI backend
โโโ frontend/ # Next.js frontend
โโโ docker-compose.yml
โโโ Makefile
โโโ docs/ # Documentation
๐ Documentation
๐ค Contributing
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Built with FastAPI
- UI powered by Next.js and React Flow
- Vector search with Qdrant
- LLMs via Ollama
On this page
Languages
Python89.0%Makefile4.8%TypeScript2.4%Dockerfile1.7%PLpgSQL1.1%Mako0.4%JavaScript0.4%CSS0.3%
Contributors
MIT License
Created November 29, 2025
Updated November 29, 2025