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
- ๐ Rich Notes: Comprehensive documentation with search
- ๐ฏ Zero Global State: Each project is completely self-contained
- ๐ง Extensible: Template system for different project types
๐ 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
- ๐ ๏ธ CLI Commands - All command-line options
- ๐ MCP Tools - All 25 tools + 3 gateways
Want to understand how it works
- ๐๏ธ Architecture Overview - System design principles
- ๐ช Gateway Pattern - Why we use gateways
- ๐ง Cognitive Load Management - AI optimization
๐ฌ 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 25 individual tools:
lackey_get- Retrieve information (projects, tasks, notes)lackey_do- Perform actions (create, update, manage)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
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-3.1.0.tar.gz.
File metadata
- Download URL: lackey_mcp-3.1.0.tar.gz
- Upload date:
- Size: 277.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a33f779fcaca141519caab9a30a2653e080d41fccb99aadc3f62070febce7cb
|
|
| MD5 |
ba0c3eb5b17bda5b6373470bfe182c0f
|
|
| BLAKE2b-256 |
330b4247f8a2bf1dc060d12db10bde2d9a9825edbacd86e8e235e8f224975307
|
Provenance
The following attestation bundles were made for lackey_mcp-3.1.0.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-3.1.0.tar.gz -
Subject digest:
7a33f779fcaca141519caab9a30a2653e080d41fccb99aadc3f62070febce7cb - Sigstore transparency entry: 383271783
- Sigstore integration time:
-
Permalink:
raseley/lackey@22dca5c61909dba00ffe2aef068c3d44510f49d6 -
Branch / Tag:
refs/tags/v3.1.0 - Owner: https://github.com/raseley
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@22dca5c61909dba00ffe2aef068c3d44510f49d6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lackey_mcp-3.1.0-py3-none-any.whl.
File metadata
- Download URL: lackey_mcp-3.1.0-py3-none-any.whl
- Upload date:
- Size: 282.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bd1de7e3260c5418be68a1be4ab09a5d3452cbd15fc6ea6c3772fda4facd231
|
|
| MD5 |
d718319c9bdc56e4c1ca91693d027eed
|
|
| BLAKE2b-256 |
92baf027aafb73fc49d31471ae4e994493f5f2d5e11cf669e9fb3cffe2b0d398
|
Provenance
The following attestation bundles were made for lackey_mcp-3.1.0-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-3.1.0-py3-none-any.whl -
Subject digest:
2bd1de7e3260c5418be68a1be4ab09a5d3452cbd15fc6ea6c3772fda4facd231 - Sigstore transparency entry: 383271788
- Sigstore integration time:
-
Permalink:
raseley/lackey@22dca5c61909dba00ffe2aef068c3d44510f49d6 -
Branch / Tag:
refs/tags/v3.1.0 - Owner: https://github.com/raseley
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@22dca5c61909dba00ffe2aef068c3d44510f49d6 -
Trigger Event:
push
-
Statement type: