How matrix2211/ai-task-breakdown works
AI Task Breakdown Agent accepts a goal in a browser, sends it to a FastAPI endpoint, and uses CrewAI agents to produce a structured plan and tool recommendations with a review stage. The frontend renders the result as an interactive checklist, tracks completion progress, and switches between plan and tools tabs. The source excerpts show the backend orchestration and frontend behavior; the README documents local Ollama use and UI capabilities. Styling and HTML structure are represented, but their implementation details were not sampled.
Main entry points: script.js Plan and tools UI · main.py FastAPI endpoint · tasks.py Task definitions · index.html Web page
Components 15
Browser interface
- Web page
static/index.html - Interface styles
static/style.css - Plan and tools UI
static/script.js - Checklist state
static/script.js - Progress display
static/script.js - Tabbed views
static/script.js
API and orchestration
- FastAPI endpoint
main.py - CrewAI runtime
Planning agents
- Task definitions
tasks.py - Step planner
agents.py - Tool advisor
agents.py - Plan reviewer
agents.py
Language model
- Local Ollama
Other components
- Goal setter
- Browser
Connections 22
- Goal setter → Web page: enters goal
README.md - Browser → FastAPI endpoint: requests page
main.py - FastAPI endpoint → Web page: serves page
main.py - Web page → Interface styles: uses styles
- Web page → Plan and tools UI: loads script
- Plan and tools UI → FastAPI endpoint: posts goal
static/script.js - FastAPI endpoint → Task definitions: creates tasks
main.py - Task definitions → Step planner: assigns agent
tasks.py - Task definitions → Tool advisor: assigns agent
tasks.py - Task definitions → Plan reviewer: assigns agent
tasks.py - FastAPI endpoint → CrewAI runtime: runs kickoff
main.py - CrewAI runtime → Step planner: dispatches tasks
- CrewAI runtime → Tool advisor: dispatches tasks
- CrewAI runtime → Plan reviewer: dispatches tasks
- Step planner → Local Ollama: uses model
agents.py - Tool advisor → Local Ollama: uses model
agents.py - Plan reviewer → Local Ollama: uses model
agents.py - FastAPI endpoint → Plan and tools UI: returns result
static/script.js - Plan and tools UI → Checklist state: renders steps
static/script.js - Plan and tools UI → Progress display: updates progress
static/script.js - Plan and tools UI → Tabbed views: switches views
static/script.js - Goal setter → Checklist state: marks complete
static/script.js