Expand description
TODO task tracking for agents.
This module provides tools for agents to track tasks and show progress. Task tracking helps agents organize complex work and gives users visibility into what the agent is working on.
§Example
use agent_sdk::todo::{TodoState, TodoWriteTool, TodoReadTool};
use std::sync::Arc;
use tokio::sync::RwLock;
let state = Arc::new(RwLock::new(TodoState::new()));
let write_tool = TodoWriteTool::new(Arc::clone(&state));
let read_tool = TodoReadTool::new(state);Structs§
- Todo
Item - A single TODO item.
- Todo
Read Tool - Tool for reading the current TODO list.
- Todo
State - Shared TODO state that can be persisted.
- Todo
Write Tool - Tool for writing/updating the TODO list.
Enums§
- Todo
Status - Status of a TODO item.