A comprehensive system that combines Next.js UI, Python workflow system, and AI agent system for automated task processing.
frontend/- Next.js UI applicationworkflow_system/- Python workflow management systemai_agents/- Python AI agent systemshared/- Shared types and utilities
cd frontend
npm install
npm run devcd workflow_system
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
pip install -r requirements.txt
python main.pycd ai_agents
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
pip install -r requirements.txt
python main.pyThe system consists of three main components:
-
Frontend (Next.js)
- User interface for initiating workflows
- Real-time updates via Server-Sent Events (SSE)
- Workflow status monitoring
-
Workflow System
- Manages workflow execution
- Coordinates between UI and AI agents
- Handles SSE updates to the frontend
-
AI Agent System
- Contains multiple AI agents that collaborate
- Processes tasks and updates workflow status
- Communicates results back to the workflow system
- UI initiates workflow → Workflow System
- Workflow System creates workflow ID → UI
- Workflow System coordinates with AI Agents
- AI Agents process tasks and update Workflow System
- Workflow System sends updates to UI via SSE
Participant wallet: 0x9CeaC40E54573409F346257Ba941Fae408513028