Skip to main content

Usage

DeepAgent provides automatic todo tracking. Todos follow a strict lifecycle: pendingin_progresscompleted.

Todo Lifecycle

  1. Created as "pending" or "in_progress"
  2. Marked "in_progress" before starting work
  3. Marked "completed" immediately after finishing
  4. Agent continues until ALL todos are "completed"

Example

Programmatic Access

Key Points

  • Todos are automatically tracked per task
  • Agent updates todos after each completion
  • Use get_current_plan() to monitor progress
  • All todos must be completed before task finishes