A complete, enterprise-ready agentic workflow platform with visual builder, real-time monitoring, intelligent agents with memory, tool-calling capabilities, and advanced execution features.
- Without an account session, the app still supports the Marketplace (templates). Your saved workflows (
GET /api/workflows) are empty until you sign in; the builder uses a local draft tab only. - Workflow assistant (chat) supports an optional iteration limit per message (UI default 20); see docs/API_REFERENCE.md.
- Local dev login: Prefer
REACT_APP_API_BASE_URLunset infrontend/.env.developmentso the UI talks to/apithrough the dev proxy. OptionalDEV_BOOTSTRAP_USERNAME/DEV_BOOTSTRAP_PASSWORDin root.envcreate or reset a dev user on API startup โ see docs/CONFIGURATION_REFERENCE.md.
Build complex multi-agent workflows where AI agents collaborate sequentially to accomplish tasks. Perfect for:
- Content creation pipelines (write, edit, review)
- Research and analysis workflows
- Data processing chains
- Automated decision-making systems
- ๐ WebSocket Streaming - Real-time execution monitoring
- ๐ง Agent Memory - Short-term and long-term memory with vector storage
- ๐ ๏ธ Tool Calling - Agents can execute functions and use tools
- ๐ Enhanced Monitoring - Live progress updates and detailed logging
- ๐ Analytics Dashboard - Execution metrics with interactive charts (success rates, duration trends, status distribution)
- ๐ฅ Log Management - Download execution logs (text/JSON), filter and paginate logs
- ๐ Execution Control - Cancel running executions
- โจ Visual Workflow Builder - Drag-and-drop UI with React Flow
- โจ Conditional Branching - If/else logic with multiple condition types
- โจ Loop Support - For-each, while, and until loops
- โจ Parallel Execution - Independent nodes run simultaneously
- โจ Real-time Execution Viewer - Watch workflows execute live
- โ Sequential Workflow Execution - Agents execute in dependency order
- โ LLM-Powered Agents - Integrated with OpenAI (GPT-4, GPT-4o-mini, etc.)
- โ Node-Based Workflows - Visual graph representation of agent pipelines
- โ Input/Output Chaining - Data flows seamlessly between agents
- โ Execution Tracking - Complete logs and state management
- โ REST API - Full-featured API with OpenAPI documentation
- โ Persistent Storage - SQLite database (PostgreSQL-ready)
- โ Async Architecture - Non-blocking execution for scalability
- Python 3.8+
- Node.js 18+ and npm
- OpenAI API key
# Setup (first time only)
pip install -r requirements.txt
cd frontend && npm install && cd ..
cp .env.example .env # Then add your OpenAI API key
# Start both backend and frontend
./start.shVisit http://localhost:3000 to use the visual workflow builder!
python3 -m uvicorn backend.main:app --host 0.0.0.0 --port 8000Backend runs at http://localhost:8000. (Running python main.py from the repo root only runs a PyCharm sample stub and does not start the API.)
cd frontend
npm startFrontend runs at http://localhost:3000 (CRA dev server; API defaults to proxied /api).
- Open
http://localhost:3000 - Drag nodes from the left panel onto the canvas
- Connect nodes by dragging between the handles (circles)
- Configure nodes by clicking them (right panel)
- Save your workflow (top toolbar)
- Execute and watch it run!
# Simple 2-agent workflow
python examples/simple_workflow.py
# 3-agent research pipeline
python examples/research_workflow.py
# Conditional branching (NEW!)
python examples/conditional_workflow.py
# Loop-based batch processing (NEW!)
python examples/loop_workflow.py- GETTING_STARTED.md - Step-by-step guide for beginners
- PHASE3.md - Phase 3 features: WebSockets, Memory, Tools (NEW!)
- PHASE2.md - Visual builder and advanced control flow
- QUICKSTART.md - Detailed setup and CLI usage
- ARCHITECTURE.md - System architecture and design
- docs/EXECUTION_SYSTEM_ARCHITECTURE.md - Detailed execution system architecture
- docs/CONFIGURATION_REFERENCE.md - Complete configuration guide (NEW!)
- docs/TROUBLESHOOTING.md - Common issues and solutions (NEW!)
- docs/NODE_TYPES_REFERENCE.md - Complete node types reference (NEW!)
- WORKFLOW_EXAMPLES.md - Pattern library and use cases
- frontend/README.md - Frontend development guide
- Visual Builder - http://localhost:3000 (when frontend is running)
- API Docs - http://localhost:8000/docs (when backend is running)
python examples/phase3_demo.pyDemonstrates WebSocket streaming, memory, and tool calling
python examples/conditional_workflow.pyAnalyzes sentiment โ Routes to positive/negative responder
python examples/loop_workflow.pyProcesses multiple topics โ Combines results
python examples/simple_workflow.pyWriter โ Editor โ Polished Story
python examples/research_workflow.pyResearcher โ Analyzer โ Summarizer โ Final Report
cursor-test/
โโโ main.py # Application entry point
โโโ requirements.txt # Dependencies
โโโ verify_setup.py # Setup verification
โโโ test_api.py # API tests
โ
โโโ frontend/ # Create React App UI (React 18, styled-components, Redux)
โ โโโ README.md # Frontend stack, proxy, styling, build output
โ
โโโ backend/
โ โโโ models/ # Pydantic schemas & types
โ โโโ database/ # SQLAlchemy ORM & connection
โ โโโ engine/ # Workflow execution engine
โ โโโ agents/ # Agent implementations
โ โโโ api/ # FastAPI routes
โ
โโโ examples/
โโโ simple_workflow.py # 2-agent example
โโโ research_workflow.py # 3-agent example
# Test API connectivity (server must be running)
python test_api.py
# Manual API testing
curl http://localhost:8000/healthPOST /api/workflows- Create a workflowGET /api/workflows- List all workflowsGET /api/workflows/{id}- Get workflow detailsDELETE /api/workflows/{id}- Delete a workflow
POST /api/workflows/{id}/execute- Execute a workflowGET /api/executions/{id}- Get execution details
A workflow consists of Nodes (agents) connected by Edges:
[Start] โ [Agent 1] โ [Agent 2] โ [Agent 3] โ [End]
โ โ โ
Research Analysis Summary
Each agent:
- Receives input from previous agents or workflow variables
- Processes with an LLM (configurable model, temperature, prompts)
- Produces output for the next agent
- โ Phase 1: Core engine, sequential execution, REST API
- โ Phase 2: Visual builder, conditionals, loops, parallel execution
- โ Phase 3: WebSockets, agent memory, tool calling
- ๐ Phase 4: Templates, collaboration, advanced debugging
- ๐ Phase 5: Enterprise (SSO, RBAC, audit logs, governance)
This is Phase 1 of a multi-phase project. The architecture is designed for extensibility:
- Add new agent types by extending
BaseAgent - Support new LLM providers in the agent layer
- Implement custom node types via the registry pattern
MIT License - See LICENSE file for details
Built with:
- FastAPI - Modern web framework
- SQLAlchemy - SQL toolkit and ORM
- Pydantic - Data validation
- OpenAI - LLM API
- React + Create React App - Visual builder UI
- styled-components - Component styling (see
frontend/README.md)
Ready to build? Start with: python verify_setup.py