Skip to main content

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

Python 3.10+ MCP Compatible License: Proprietary

๐ŸŽฏ 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:

Need specific help

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)

๐Ÿ“‘ Full Documentation Index

๐ŸŽฌ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lackey_mcp-5.0.1.tar.gz (311.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lackey_mcp-5.0.1-py3-none-any.whl (353.9 kB view details)

Uploaded Python 3

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

Hashes for lackey_mcp-5.0.1.tar.gz
Algorithm Hash digest
SHA256 b5af9953d4fbe6b9d2119776a91eadcd8f9e096380da9135bf5a4ca683ec9a73
MD5 26eda37c076cd66ff02063681b579f49
BLAKE2b-256 e13715335670b07eebc3d58e28739573fa2e9c6e1d8faa905c0a6ffb0b5fc390

See more details on using hashes here.

Provenance

The following attestation bundles were made for lackey_mcp-5.0.1.tar.gz:

Publisher: publish-to-pypi.yml on raseley/lackey

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for lackey_mcp-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0cc7eaa975f0cf7c789264c097198dac9e63cc4e476105d56f8cf3fccfb047
MD5 fdcf47fe0b1a4fce44e6aba35741aadf
BLAKE2b-256 053f182ab113ca09892a023d70560824220a9a14f4e9bc5aae56ffe83dd08ca5

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page