Overview
Task tracking may not always be desirable. For example, when you’re launching a new sub-agent with simple tasks, or running test conversations, the session may not need to track tasks. By default, all sessions have task tracking enabled. When enabled, every message sent to a session will be monitored on agent planning and user feedback.When to Disable Task Tracking
Consider disabling task tracking in these scenarios:- Testing and Development: When you’re testing your agent and don’t want to clutter your task logs
- Simple Conversations: For basic Q&A sessions that don’t require task analysis
- Sub-agents: When running lightweight sub-agents for simple operations
How to Disable Task Tracking
You can disable task tracking by setting thedisable_task_tracking parameter to true when creating a session.
What Happens When Task Tracking is Disabled
Whendisable_task_tracking is set to true:
- ✅ Messages are saved: Messages sent to the session are still saved to the database normally
- ❌ No automatic tasks: No automatic task extraction.
- ❌ No task analysis: The session won’t appear in task-based analytics
Best Practices
- Use selectively: Only disable task tracking when you specifically don’t need it
- Document your decision: Make it clear in your code why task tracking is disabled
- Testing environments: Consider disabling task tracking in test/development environments