Task chain management engine for AI agents with MCP integration
Project description
Lackey
AI agents that actually get things done. Task chain management with intelligent dependency handling
๐ฏ What is Lackey
Lackey turns AI agents from chatbots into project managers. Instead of endless back-and-forth, your AI agent breaks down complex goals into manageable task chains, tracks dependencies, and keeps everything organizedโall stored directly in your repository.
30-second demo
# Install and initialize
python3 -m venv .venv && source .venv/bin/activate
pip install lackey-mcp && lackey init
# Launch Q chat with developer agent
q chat --agent developer
# Then in Q chat, tell the agent
# > "Build a REST API for user management with authentication"
# Watch it create a complete task chain
# โ
Setup development environment
# โ
Design database schema
# โณ Implement user model (depends on schema)
# โณ Add authentication (depends on user model)
# โณ Create API endpoints (depends on auth)
# โณ Write tests (depends on endpoints)
๐ Quick Start
1. Install Lackey
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install Lackey
pip install lackey-mcp
2. Initialize Your Project
# Initialize project (creates Q chat agent configurations)
lackey init
# This creates
# - .lackey/ directory with project data
# - .amazonq/ directory with Q chat agent configurations
3. Start Working with AI Agents
# Launch Q chat with a specific agent role
q chat --agent manager
# Then interact within Q chat
# > "Let's plan our first project"
# > "Create a web development project for user management"
# Or use other agent roles
q chat --agent developer
# > "Get all ready tasks and start implementing authentication"
q chat --agent architect
# > "Design the database schema for our user system"
4. Watch the Magic
Your AI agent can now:
- Break down complex projects into task chains
- Manage dependencies automatically (no circular references!)
- Track progress and identify blockers
- Take notes and document decisions
- Keep everything in your git repository
โจ Why Lackey
| Problem | Lackey Solution |
|---|---|
| ๐ Repetitive AI conversations | AI agents create persistent task chains |
| ๐ง Agents forget context | All data stored in your repository |
| ๐ Complex dependencies | Automatic DAG validation prevents cycles |
| ๐ No project visibility | Clear task status and progress tracking |
| ๐ข Vendor lock-in | File-based storage, works with any AI agent |
๐ ๏ธ Core Features
- ๐ค AI-First Design: Built specifically for AI agent workflows
- ๐ Repository Storage: All data lives in your project (no cloud required)
- ๐ Smart Dependencies: Prevents circular dependencies with DAG validation
- โก Strand Executor: Convert projects to executable workflow graphs with parallel processing and real-time communication
- ๐ Rich Notes: Comprehensive documentation with search
- ๐ฏ Zero Global State: Each project is completely self-contained
๐ Documentation
New to Lackey? Start here:
- ๐ Getting Started Tutorial - Your first project in 5 minutes
- ๐ง AI Agent Integration - Connect different AI agents
Need specific help
- ๐ Troubleshooting Guide - Common issues and solutions
- ๐ Task Patterns - Best practices and workflows
Looking up information
- ๐ API Reference - Complete API documentation (coming soon)
- ๐ ๏ธ CLI Commands - All command-line options (coming soon)
- ๐ MCP Tools - All 25 tools + 3 gateways (coming soon)
Want to understand how it works
- ๐๏ธ Architecture Overview - System design principles
- ๐ช Gateway Pattern - Why we use gateways
- ๐ง Cognitive Load Management - AI optimization (coming soon)
๐ฌ Real-World Examples
Web Development Project
lackey init
q chat --agent manager
# > "Create an e-commerce website with user authentication, product catalog, shopping cart, and payment processing"
Data Science Pipeline
lackey init
q chat --agent manager
# > "Build a customer segmentation ML pipeline with data processing, model training, and deployment"
Content Creation
lackey init
q chat --agent writer
# > "Plan a 5-part technical blog series on microservices architecture with code examples"
๐ MCP Integration
Lackey provides 3 semantic gateways that consolidate 26 individual tools:
lackey_get- Retrieve information (projects, tasks, notes)lackey_do- Perform actions (create, update, manage, generate strand templates)lackey_analyze- Analyze and optimize (dependencies, progress, bottlenecks)
This reduces AI agent cognitive load by 89% while maintaining full functionality.
๐๏ธ How It Works
your-project/
โโโ .lackey/ # All Lackey data
โ โโโ projects/ # Project definitions
โ โโโ tasks/ # Task chains and metadata
โ โโโ notes/ # Documentation and decisions
โ โโโ config.yaml # Configuration
โโโ src/ # Your actual code
โโโ docs/ # Your documentation
โโโ README.md # This file
Key principle: Your repository, your data. Delete .lackey/ anytime to remove all traces.
โก Advanced Features
Strand Executor System
Convert projects into executable workflow graphs with parallel processing and real-time monitoring:
# Generate strand template from existing project
result = lackey_core.generate_strand_template(project_id="c4f26b1b-5fe3-4538-a619-911319e02170")
print(f"Created execution graph with {result['node_count']} nodes")
# Execute with real-time updates via named pipe communication
execution = lackey_core.execute_strand_template(template_id=result['template_id'])
print(f"Execution {execution['execution_id']} started with real-time monitoring")
# Analyze project for parallel execution opportunities
analyzer = DAGAnalyzer()
analysis = analyzer.analyze_project(project, tasks)
print(f"Found {len(analysis.parallel_chains)} parallel execution chains")
Real-time Communication Features:
- Status updates during task execution
- Progress tracking with percentages
- Cost monitoring per task
- Error reporting with full stack traces
- Cross-virtual environment support
Intelligent Dependencies
# Lackey prevents circular dependencies automatically
task_a.depends_on(task_b)
task_b.depends_on(task_c)
task_c.depends_on(task_a) # โ Circular dependency detected and prevented
Rich Notes System
# AI agents can document their decisions
lackey.add_task_note(
content="## API Design Decision\nUsing REST over GraphQL for simplicity",
tags=["architecture", "api", "decision"]
)
Bulk Operations
# Efficiently manage multiple tasks
lackey.bulk_update_status(
task_ids=[1, 2, 3, 4],
status="in_progress",
note="Starting sprint 2"
)
๐ฆ System Requirements
- Python: 3.10 or higher
- Storage: File-based (no database required)
- Platform: Windows, macOS, Linux
- AI Agent: Any MCP-compatible agent
๐ง Installation Options
Standard Installation
pip install lackey-mcp
Development Installation
git clone https://github.com/lackey-ai/lackey
cd lackey
pip install -e ".[dev]"
pre-commit install
With All Features
pip install lackey-mcp[docs,security]
๐ค Contributing
We welcome contributions! See our Development Guide for setup instructions.
# Quick development setup
git clone https://github.com/lackey-ai/lackey
cd lackey
pip install -e ".[dev]"
pytest # Run tests
๐ License
Proprietary License - See LICENSE for details.
Ready to turn your AI agent into a project manager
pip install lackey-mcp && lackey serve
๐ Get Started โ | ๐ Get Help โ | ๐๏ธ Learn More โ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lackey_mcp-5.0.1.tar.gz.
File metadata
- Download URL: lackey_mcp-5.0.1.tar.gz
- Upload date:
- Size: 311.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5af9953d4fbe6b9d2119776a91eadcd8f9e096380da9135bf5a4ca683ec9a73
|
|
| MD5 |
26eda37c076cd66ff02063681b579f49
|
|
| BLAKE2b-256 |
e13715335670b07eebc3d58e28739573fa2e9c6e1d8faa905c0a6ffb0b5fc390
|
Provenance
The following attestation bundles were made for lackey_mcp-5.0.1.tar.gz:
Publisher:
publish-to-pypi.yml on raseley/lackey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lackey_mcp-5.0.1.tar.gz -
Subject digest:
b5af9953d4fbe6b9d2119776a91eadcd8f9e096380da9135bf5a4ca683ec9a73 - Sigstore transparency entry: 474638175
- Sigstore integration time:
-
Permalink:
raseley/lackey@6a5a4058bcf1163b7badb094babb24bb46e0e6bc -
Branch / Tag:
refs/tags/v5.0.1 - Owner: https://github.com/raseley
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@6a5a4058bcf1163b7badb094babb24bb46e0e6bc -
Trigger Event:
push
-
Statement type:
File details
Details for the file lackey_mcp-5.0.1-py3-none-any.whl.
File metadata
- Download URL: lackey_mcp-5.0.1-py3-none-any.whl
- Upload date:
- Size: 353.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a0cc7eaa975f0cf7c789264c097198dac9e63cc4e476105d56f8cf3fccfb047
|
|
| MD5 |
fdcf47fe0b1a4fce44e6aba35741aadf
|
|
| BLAKE2b-256 |
053f182ab113ca09892a023d70560824220a9a14f4e9bc5aae56ffe83dd08ca5
|
Provenance
The following attestation bundles were made for lackey_mcp-5.0.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on raseley/lackey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lackey_mcp-5.0.1-py3-none-any.whl -
Subject digest:
6a0cc7eaa975f0cf7c789264c097198dac9e63cc4e476105d56f8cf3fccfb047 - Sigstore transparency entry: 474638189
- Sigstore integration time:
-
Permalink:
raseley/lackey@6a5a4058bcf1163b7badb094babb24bb46e0e6bc -
Branch / Tag:
refs/tags/v5.0.1 - Owner: https://github.com/raseley
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@6a5a4058bcf1163b7badb094babb24bb46e0e6bc -
Trigger Event:
push
-
Statement type: