How ideaforg-e/taskpilot-ai works
TaskPilot AI aggregates engineering signals, turns them into linked tasks, evaluates task quality and priority, and builds a calendar-aware daily plan. Users inspect these results in a React dashboard or ask the interactive copilot questions and request mid-day reprioritization. The backend coordinates pipeline stages through an orchestrator and shares persisted state in SQLite. The README documents capabilities and broad topology; sampled source confirms ingestion, orchestration, storage, and UI routing. Several stage implementations and API routes were not sampled, so their documented roles are shown without speculative internal call chains.
Main entry points: agent_0_orchestrator_service.py Pipeline orchestrator · main.py FastAPI application · router_8_chat.py Copilot dialogue · agent_1_ingestion_service.py Source ingestion
Components 25
User interface
- Dashboard pages
frontend/src/pages - Task detail
frontend/src/components/tasks/TaskDetail.jsx - API client
frontend/src/services/api.js
HTTP API
- FastAPI application
backend/app/main.py - Ingestion endpoint
backend/app/routers/router_1_ingest.py - Pipeline endpoints
backend/app/routers/router_0_orchestrator.py - Copilot endpoint
backend/app/routers/router_8_chat.py
Task pipeline
- Pipeline orchestrator
backend/app/services/agent_0_orchestrator_service.py - Source ingestion
backend/app/services/agent_1_ingestion_service.py
Task intelligence
- Action extraction
backend/app/services/agent_2_extraction_service.py - Task fusion
backend/app/services/agent_3_fusion_service.py - Quality audit
backend/app/services/agent_4_quality_service.py - Task prioritization
backend/app/services/agent_5_prioritization_service.py - Daily planning
backend/app/services/agent_6_planning_service.py - Copilot dialogue
backend/app/routers/router_8_chat.py - LLM client
backend/agents/llm_client.py
Persistence and models
- SQLite state
backend/app/database.py - Events and tasks
backend/app/models/task.py - Quality reports
backend/app/models/quality_report.py - Priority scores
backend/app/models/priority_score.py - Plans and time slots
backend/app/models/daily_plan.py - Workflow runs
backend/app/models/workflow_run.py
Other components
- Engineer
- Engineering sources
- Groq LLM
Connections 29
- Engineer → Dashboard pages: views results
README.md - Dashboard pages → API client: requests data
frontend/src/pages/Tasks.jsx - API client → FastAPI application: calls API
README.md - FastAPI application → Ingestion endpoint: registers route
backend/app/main.py - FastAPI application → Pipeline endpoints: registers route
backend/app/main.py - FastAPI application → Copilot endpoint: registers route
backend/app/main.py - Ingestion endpoint → Source ingestion: invokes ingestion
backend/app/routers/router_1_ingest.py - Engineering sources → Source ingestion: provides source feeds
backend/app/services/agent_1_ingestion_service.py - Pipeline endpoints → Pipeline orchestrator: invokes pipeline
backend/app/routers/router_0_orchestrator.py - Pipeline orchestrator → Source ingestion: runs stage
backend/app/services/agent_0_orchestrator_service.py - Pipeline orchestrator → Action extraction: runs stage
backend/app/services/agent_0_orchestrator_service.py - Pipeline orchestrator → Task fusion: runs stage
backend/app/services/agent_0_orchestrator_service.py - Pipeline orchestrator → Quality audit: runs stage
backend/app/services/agent_0_orchestrator_service.py - Pipeline orchestrator → Task prioritization: runs stage
backend/app/services/agent_0_orchestrator_service.py - Pipeline orchestrator → Daily planning: runs stage
backend/app/services/agent_0_orchestrator_service.py - Source ingestion → Events and tasks: writes events
backend/app/services/agent_1_ingestion_service.py - SQLite state → Events and tasks: maps stored records
backend/app/database.py - Quality audit → Quality reports: stores audit results
README.md - Task prioritization → Priority scores: stores rankings
README.md - Daily planning → Plans and time slots: stores schedules
README.md - Pipeline orchestrator → Workflow runs: tracks run state
backend/app/services/agent_0_orchestrator_service.py - Copilot endpoint → Copilot dialogue: handles dialogue
README.md - Copilot dialogue → SQLite state: retrieves task context
README.md - Copilot dialogue → Pipeline orchestrator: triggers incremental run
README.md - Task detail → API client: loads task details
frontend/src/components/tasks/TaskDetail.jsx - Action extraction → LLM client: requests extraction
- Quality audit → LLM client: drafts questions
- Copilot dialogue → LLM client: generates responses
backend/app/routers/router_8_chat.py - LLM client → Groq LLM: requests inference