agent-flow
AgentFlow is a next-generation, premium agentic workflow system built on the Model Context Protocol (MCP). It transforms the way AI agents handle complex development tasks by bridging the gap between raw LLM reasoning and structured execution.
Ask AI about agent-flow
Powered by Claude ยท Grounded in docs
I know everything about agent-flow. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
AgentFlow ๐
AgentFlow is a next-generation, premium agentic workflow system built on the Model Context Protocol (MCP). It transforms the way AI agents handle complex development tasks by bridging the gap between raw LLM reasoning and structured execution.
โจ The Vision: "Vibe Coding" Refined
AgentFlow is designed for the modern "Vibe Coder"โdevelopers who prioritize high-level intent, rapid iteration, and stunning visual feedback.
- ๐ง Integrated Thought Chain: Native Support for complex multi-step reasoning (
planโanalyzeโreflect). - ๐จ State-of-the-Art Dashboard: A premium Glassmorphism interface with Dynamic Background Gradients, fluid animations (15s ease infinite shift), and meticulous Light/Dark themes.
- ๐ฎ Real-Time Pulse: Live updates via SSE (Server-Sent Events). Watch your agent create, update, and reorder tasks in real-time.
- โ๏ธ Dual Persistence: Robust storage support via SQLite for local portability or Supabase for enterprise-scale persistence.
- ๐ Intelligent Project Context: Auto-detects projects based on workspace paths or Git remote URLs, mapping local work to stable project identities.
๐งญ The Core Workflow
AgentFlow promotes a high-integrity "Think-Then-Do" pipeline:
- ๐ก Plan Idea: Draft initial concepts and design tokens.
- ๐ Analyze: Deep dive into technical requirements and blockers.
- ๐ค Reflect: Self-critique the plan to catch edge cases before a single line of code is written.
- ๐งฉ Split: Automatically decompose the refined plan into a Topological DAG of tasks.
- โถ๏ธ Execute: Move through tasks with built-in Verification Loops ensuring criteria are met.
โ๏ธ Technical Stack
- Backend: Node.js + TypeScript (High-performance ESM).
- MCP Implementation:
@modelcontextprotocol/sdkfor seamless tool-calling integration. - Persistence: SQLite (Local) / Supabase (Remote) via shared
DatabaseAdapter. - Dashboard: Vanilla JS + CSS (Custom Tokens) + D3.js for real-time dependency graph visualization.
- Communication: HTTP REST API + Server-Sent Events (SSE) for zero-latency UI updates.
๐ ๏ธ Advanced Toolset
๐๏ธ Reasoning Engine
| Tool | Description |
|---|---|
plan_idea | Draft architectural concepts with optional Focus Modes (logic, vibe, security, etc.). |
analyze_idea | Context-aware analysis of a planned idea. |
reflect_idea | Critical self-reflection to harden specifications. |
process_thought | High-fidelity thinking tool with support for Design Tokens, axioms, and focus shifts. |
๐ Task Orchestration
| Tool | Description |
|---|---|
split_tasks | Converts specification into a task graph with Dependencies, Priority, and Category. |
reorder_tasks | Legalizes manual reordering while strictly enforcing topological constraints. |
verify_task | A mandatory validation step before task completion. |
get_project_context | Workspace-aware project identification and switching. |
๏ฟฝ Quick Start
๐ฝ Via Smithery (Recommended)
npx -y @smithery/cli install agent-flow --client claude
๐ฝ Manual Setup
git clone https://github.com/farazpawle/agent-flow.git
cd agent-flow
npm install
npm run build
๐ Configuration
AgentFlow is optimized for Zero-Config starts, but uses a .env file for advanced customization.
1. Setup Environment
In your project root (where you run the agent), create a .env file:
# Example .env configuration
DATA_DIR="C:/MyProject/agent-flow-data" # REQUIRED: Absolute path
DB_TYPE="sqlite" # Options: sqlite, supabase
ENABLE_GUI="true" # Enable the visual dashboard
ENABLE_DETAILED_MODE="true" # Record conversation history
2. MCP Client Registration
Register the server in your MCP client (Cursor, Claude Desktop, etc.). Since AgentFlow auto-loads your .env, the configuration is minimal:
Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"agent-flow": {
"command": "npx",
"args": ["-y", "agent-flow"]
}
}
}
๐ก Pro Tip: You can still override any
.envsetting by passing it directly in theenvblock of your client JSON if needed.
โ๏ธ Supabase Cloud Setup
If you want to use Supabase instead of SQLite:
- Initialize Tables: Copy the content of
scripts/supabase-schema.sqland run it in your Supabase SQL Editor. - Verify Setup: Run
npm run supabase:checkto ensure all tables are correctly created and accessible. - Migrate local data: If you have local SQLite data, run
npm run supabase:migrateto push it to the cloud. - Update .env:
DB_TYPE="supabase" SUPABASE_URL="https://your-project.supabase.co" SUPABASE_SERVICE_KEY="your-service-role-key"
๐ License
MIT License. Created with โค๏ธ for the Vibe Coding community.
