Crates.io | tsk-ai |
lib.rs | tsk-ai |
version | 0.5.1 |
created_at | 2025-06-27 21:10:29.009249+00 |
updated_at | 2025-09-25 05:21:44.483242+00 |
description | AI-powered development task delegation and sandboxing tool |
homepage | https://github.com/dtormoen/tsk |
repository | https://github.com/dtormoen/tsk |
max_upload_size | |
id | 1729324 |
size | 6,273,172 |
A Rust CLI tool that lets you delegate development tasks to AI agents running in sandboxed Docker environments. Get back git branches for human review.
TSK enables a "lead engineer + AI team" workflow:
Think of it as having a team of engineers who work independently and submit pull requests for review.
# Install using cargo
cargo install tsk-ai
# Build Docker images (required)
tsk docker build
# Add a task using the "feat" task template
tsk add --type "feat" --name "greeting" --description "Add a warm greeting to all CLI commands"
# Or pipe the description from stdin
echo "Add a warm greeting to all CLI commands" | tsk add --type "feat" --name "greeting"
# Pipe from a file
cat detailed-instructions.md | tsk add --type "feat" --name "complex-feature"
# Run all queued tasks
tsk run
# Check results
tsk list
# Review the changes
git checkout tsk/a1b2c3d4
git diff main...HEAD
# Merge if it looks good
git checkout main && git merge tsk/a1b2c3d4
For continuous task processing across multiple repositories:
# Start server
tsk server run
# Add tasks from any repo
cd ~/project-a && tsk add --type "fix" --name "task1" --description "..."
cd ~/project-b && tsk add --type "feat" --name "task2" --description "..."
# Stop server
tsk server stop
The server includes automatic retry logic for agent warmup failures (e.g., API rate limits). When a task fails during the agent warmup phase, the server will:
TSK supports parallel task execution for improved throughput:
# Run up to 4 tasks in parallel
tsk run --workers 4
# Server mode also supports parallel execution
tsk server run --workers 4
Each task runs in its own isolated Docker container, so parallel execution is safe and efficient.
tsk add
- Queue a tasktsk run
- Execute queued taskstsk list
- View task status and branchestsk quick
- Execute a task immediatelytsk debug
- Start an interactive docker containertsk clean
- Clean up completed taskstsk delete <task-id>...
- Delete one or more taskstsk retry <task-id>...
- Retry one or more taskstsk server run
- Start the TSK server daemontsk server stop
- Stop the running TSK servertsk docker build
- Build required docker imagestsk proxy stop
- Stop the TSK proxy containertsk template list
- View available task type templatesRun tsk help
or tsk help <command>
for detailed options.
This project uses:
cargo test
for running testsjust precommit
for full CI checksMIT License - see LICENSE file for details.