How jamalla/deep-task-planner works
Deep Task Planner turns browser chat history into a reviewed, dependency-aware action plan with deterministic dates, then returns the plan and timing data. The main flow is documented in the README and shown in the handler and agent excerpts. The agent and scheduling modules are substantial core modules; unsampled UI details are limited to documented chat and localStorage behavior.
Main entry points: handler.py Lambda routes · index.html Chat interface · agent.py Chat turn runner · tools.py Schedule tool
Components 14
Chat client
- Chat interface
app/static/index.html - Local history
app/static/index.html
Request handling
- Lambda routes
app/handler.py - Access and validation
app/handler.py
Agent planning
- Chat turn runner
app/agent.py - Task planning agent
app/agent.py - Todo middleware
app/agent.py - Plan reviewer
app/agent.py
Scheduling and response
- Schedule tool
app/tools.py - Schedule calculation
app/tools.py - Reply assembly
app/agent.py - Call timings
app/agent.py
Other components
- Planner user
- OpenAI models
Connections 18
- Planner user → Chat interface: enters goal
README.md - Chat interface → Local history: stores history
README.md - Local history → Chat interface: supplies history
README.md - Chat interface → Lambda routes: requests chat
README.md - Lambda routes → Chat interface: serves page
app/handler.py - Lambda routes → Access and validation: checks request
app/handler.py - Lambda routes → Chat turn runner: calls run_chat
app/handler.py - Chat turn runner → Task planning agent: invokes agent
app/agent.py - Task planning agent → OpenAI models: requests completions
README.md - Task planning agent → Todo middleware: tracks todos
app/agent.py - Task planning agent → Plan reviewer: delegates review
README.md - Task planning agent → Schedule tool: calls tool
README.md - Schedule tool → Schedule calculation: builds schedule
app/tools.py - Chat turn runner → Reply assembly: fills schedule
app/agent.py - Reply assembly → Schedule tool: reads tool output
app/agent.py - Chat turn runner → Call timings: records calls
app/agent.py - Chat turn runner → Lambda routes: returns reply
app/handler.py - Lambda routes → Chat interface: returns chat result
README.md