| Crates.io | taskai |
| lib.rs | taskai |
| version | 0.1.0 |
| created_at | 2025-04-22 20:04:25.339623+00 |
| updated_at | 2025-04-22 20:04:25.339623+00 |
| description | Generate structured task backlogs from natural language for AI agents and automation |
| homepage | |
| repository | https://github.com/graniet/taskai |
| max_upload_size | |
| id | 1644561 |
| size | 73,159 |
TaskAI bridges natural language and structured task definitions, generating well-organized backlogs that both humans and AI agents can understand and execute. Convert informal descriptions into actionable tasks with dependencies, deliverables, and completion criteria - perfect for driving autonomous agents or organizing human-AI collaboration.
# Install directly from crates.io
cargo install taskai
# Or build from source
git clone https://github.com/graniet/taskai.git
cd taskai
cargo install --path crates/cli
Create a simple text file with your requirements:
# simple_request.txt
Create a Python script that fetches weather data from an API.
Generate a structured task backlog:
taskai gen simple_request.txt > weather_tasks.yml
The output will be a structured YAML backlog:
project: weather-api-client
tasks:
- id: W-1
title: "Setup project structure"
depends: []
state: Todo
deliverable: ["README.md", "requirements.txt"]
done_when: ["Project directory structure is created"]
- id: W-2
title: "Create API client for weather data"
depends: ["W-1"]
state: Todo
deliverable: ["weather_client.py"]
done_when: ["Client can connect to weather API", "Basic error handling implemented"]
- id: W-3
title: "Implement data parsing and formatting"
depends: ["W-2"]
state: Todo
deliverable: ["weather_client.py"]
done_when: ["Weather data is properly parsed and formatted"]
Identify tasks that are ready to be worked on (all dependencies satisfied):
taskai next weather_tasks.yml
Output:
Tasks ready to work on:
W-1: Setup project structure
Deliverables:
- README.md
- requirements.txt
With TaskAI, you can supercharge Claude's coding capabilities by giving it structured tasks to work on:
# Generate tasks from a simple description
echo "Build a weather dashboard with React" > idea.txt
taskai gen idea.txt > tasks.yml
Now, simply tell Claude to read and implement the task:
Read tasks.yml and implement the next ready task.
Use 'taskai next tasks.yml' to see what task to work on
and 'taskai mark-done tasks.yml --task TASK-ID' to mark it complete when done.
That's it! With just this simple prompt, Claude will:
When Claude finishes, simply mark the task as done:
taskai mark-done tasks.yml --task TASK-ID
Then you can ask Claude to work on the next task with the same basic prompt. This creates a continuous loop where Claude methodically works through the entire project, one task at a time, with minimal input from you.
TaskAI is organized into three Rust crates:
OPENAI_API_KEY: Required for LLM functionalityContributions welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.