How jamalla/deep-task-planner-agentcore works
This repository hosts a conversational task planner on Amazon Bedrock AgentCore. A user sends a prompt through the AgentCore console or the optional chat UI; the runtime maintains per-session history, invokes the deep agent, and returns a reviewed plan with a deterministic dated schedule. The README documents the browser-to-Lambda-to-runtime path; excerpts show runtime, agent, scheduling, and UI proxy behavior. Agent sub-agent dispatch is described in the agent prompt and setup, but its execution details are not fully excerpted.
Main entry points: agent.py Planner agent · main.py Session handler · tools.py Schedule tool · index.html Chat page
Components 14
Runtime and sessions
- AgentCore Runtime
- Session handler
main.py - Session history
main.py
Plan generation
- Planner agent
app/agent.py - OpenAI models
- Todo middleware
app/agent.py - Plan reviewer
app/agent.py - Schedule tool
app/tools.py - Calendar scheduling
app/tools.py
Chat UI proxy
- Chat page
ui/index.html - Lambda proxy
ui/handler.py - AgentCore API
Other components
- Console user
- Browser user
Connections 13
- Console user → AgentCore Runtime: invokes
README.md - AgentCore Runtime → Session handler: routes to
README.md - Session handler → Session history: reads and writes
main.py - Session handler → Planner agent: calls
main.py - Planner agent → OpenAI models: queries
app/agent.py - Planner agent → Todo middleware: uses
app/agent.py - Planner agent → Plan reviewer: delegates review
app/agent.py - Planner agent → Schedule tool: calls
app/agent.py - Schedule tool → Calendar scheduling: computes dates
app/tools.py - Browser user → Chat page: uses
README.md - Chat page → Lambda proxy: sends prompt
README.md - Lambda proxy → AgentCore API: invokes runtime
ui/handler.py - AgentCore API → AgentCore Runtime: forwards request
README.md