Overview
This guide shows you how to build an AI-powered task board where users can create, update, and organize tasks through natural language. Tasks persist across sessions and update dynamically as the AI modifies them.Architecture
A task board with Tambo uses interactable components:- Interactable Task Components - Persistent tasks that the AI can modify
- Task State Management - Track task status, priority, and metadata
- Board Layout - Organize tasks by status (todo, in-progress, done)
- Chat Interface - Natural language commands for task management
- Context Helpers - Current board state for AI awareness
Interactable Components
Interactable components persist and update as users refine their requests:Task Board Layout
Organize tasks into columns by status:Adding AI Chat Interface
Combine the task board with a chat interface:Task State Management
Track all tasks and provide context to the AI:Advanced Features
- Due Dates
- Assignees
- Subtasks
Example Interactions
Here are natural language commands users can use:Creating Tasks
Creating Tasks
- “Create a task to review the PR”
- “Add a high priority task for the client meeting”
- “Make a task called ‘Fix login bug’ with due date next Friday”
Updating Tasks
Updating Tasks
- “Move ‘Design landing page’ to done”
- “Change the documentation task to high priority”
- “Assign the API task to Sarah”
- “Update the client meeting task with a reminder”
Organizing Tasks
Organizing Tasks
- “Show me all high priority tasks”
- “Move overdue tasks to the top”
- “Group tasks by assignee”
- “Archive completed tasks from last month”
Batch Operations
Batch Operations
- “Mark all design tasks as in progress”
- “Change all low priority tasks to medium”
- “Move all of John’s tasks to done”
Complete Task Board Example
Best Practices
Component Design
Component Design
- Use interactable components for persistent UI elements
- Provide clear prop schemas with descriptions
- Keep component logic simple and focused
- Handle all possible states (loading, empty, error)
State Management
State Management
- Store task state in localStorage or database
- Sync state changes across components
- Use context helpers to inform AI of current state
- Implement optimistic updates for better UX
AI Interactions
AI Interactions
- Write detailed component descriptions
- Provide context about board state
- Support natural language commands
- Handle ambiguous requests gracefully
User Experience
User Experience
- Show visual feedback for state changes
- Support keyboard shortcuts
- Implement drag-and-drop for manual reordering
- Add undo/redo functionality
Next Steps
- Learn about Interactable Components
- Explore Additional Context for providing board state
- Add Local Tools for task operations
- Implement MCP Integration for external task systems