Overview
Grip AI’s task tracking system provides agents with the ability to plan, track, and manage complex multi-step workflows. Tasks are persisted toworkspace/tasks.json and automatically injected into the agent’s system prompt, ensuring the agent never loses track of what needs to be done.
Core Tools
The task tracking feature exposes two primary tools:todo_write
Replaces the entire task list with a new set of todos. Each call performs a full replacement — you must include all tasks, not just new ones.pending— Not yet startedin_progress— Currently being worked oncompleted— Finishedcancelled— Abandoned or skipped
lowmediumhigh
todo_read
Reads the current task list fromworkspace/tasks.json and returns all todos with their statuses and priorities.
Workspace Persistence
Tasks are stored inworkspace/tasks.json as a simple JSON array:
workspace/tasks.json
The tasks file survives across agent iterations, allowing agents to resume work after interruptions or timeouts.
System Prompt Injection
Active tasks (pending or in_progress) are automatically injected into the agent’s system prompt on every iteration:Best Practices
When to Use Task Tracking
When to Use Task Tracking
Use task tracking for:
- Multi-step features requiring 3+ sequential operations
- Long-running refactoring work that might span multiple sessions
- Complex debugging that requires systematic investigation
- Workflows where order and dependencies matter
- Simple one-step operations
- Exploratory queries
- Quick fixes or patches
Task Organization Tips
Task Organization Tips
- Use short, descriptive IDs:
task-1,auth-flow,test-suite - Set priorities strategically: Focus on high-priority items first
- Mark in_progress before starting: This signals active work to the agent
- Complete tasks promptly: Update status as soon as work finishes
- Cancel abandoned work: Use
cancelledstatus instead of deleting tasks
Error Handling
Error Handling
The
todo_write tool validates all inputs:Integration with Workflows
Task tracking works seamlessly with workflows. Each workflow step can maintain its own task list:Related Features
- Workflows — Multi-agent orchestration with DAG-based execution
- Skills — Specialized knowledge modules
- Scheduling — Automated periodic task execution