Skip to main content

Context management toolkit for AI-assisted development

Project description

mem8

Context management toolkit for AI-assisted development. Manage memory, templates, and workflows with Claude Code and other AI tools.

Quick Start

# Install
uv tool install mem8

# Initialize workspace
cd your-project
mem8 init

# Check status
mem8 status

Core Features

๐Ÿง  Context Window Management

Persistent memory system for Claude Code with structured documentation. Keep AI context focused and relevant across long development sessions.

# Search your memory
mem8 search "authentication"

# Use Claude Code commands
/m8-research "payment system"
/m8-plan "add OAuth support"
/m8-implement memory/shared/plans/oauth.md
/m8-commit

๐Ÿ”ง Toolbelt Integration

Verify and manage CLI tools required for AI workflows.

# Check for missing tools
mem8 doctor

# Auto-install missing tools
mem8 doctor --fix

# List all tools and versions
mem8 tools

Verified tools include: ripgrep, fd, jq, gh, git, bat, delta, ast-grep, and more.

๐Ÿšข Port Management

Global port leasing system prevents conflicts across projects.

# Lease port range for project
mem8 ports --lease

# View assigned ports
mem8 ports

# Kill process on port (safe mode)
mem8 ports --kill 20000

๐ŸŽจ External Templates

Share standardized configurations across teams using GitHub templates.

# Use official templates
mem8 init --template-source killerapp/mem8-templates

# Use team templates
mem8 init --template-source your-org/templates

# Set default for all projects
mem8 templates set-default your-org/templates

๐Ÿค– Claude Code Integration

Custom commands and agents for enhanced AI workflows.

Commands installed by default:

  • /m8-research - Parallel codebase exploration
  • /m8-plan - Structured implementation planning
  • /m8-implement - Execute plans with progress tracking
  • /m8-validate - Verify implementation completeness
  • /m8-commit - Create semantic commits
  • /m8-describe-pr - Generate PR descriptions

Documentation

๐Ÿ“š Full documentation at codebasecontext.org

Development Workflow

mem8 provides a structured development cycle:

  1. Research (/m8-research) - Understand existing patterns
  2. Plan (/m8-plan) - Design with concrete steps
  3. Implement (/m8-implement) - Execute with progress tracking
  4. Validate (/m8-validate) - Verify completeness
  5. Commit (/m8-commit) - Create semantic commits

Project Structure

After running mem8 init --template full:

your-project/
โ”œโ”€โ”€ .claude/
โ”‚   โ”œโ”€โ”€ commands/          # Custom slash commands
โ”‚   โ””โ”€โ”€ agents/           # Custom agent definitions
โ”œโ”€โ”€ memory/
โ”‚   โ””โ”€โ”€ shared/
โ”‚       โ”œโ”€โ”€ research/     # Research documents
โ”‚       โ”œโ”€โ”€ plans/        # Implementation plans
โ”‚       โ”œโ”€โ”€ prs/         # PR descriptions
โ”‚       โ””โ”€โ”€ decisions/    # Technical decisions
โ””โ”€โ”€ .mem8/
    โ”œโ”€โ”€ config.yaml      # Configuration
    โ”œโ”€โ”€ ports.md         # Port assignments
    โ””โ”€โ”€ tools.md         # Tool inventory

Requirements

  • Python 3.11+
  • uv (recommended) or pip

Optional:

  • Docker (for backend API features)
  • Node.js 18+ (for web interface)

Support

License

MIT License - see LICENSE file for details.

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

mem8-4.0.3.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

mem8-4.0.3-py3-none-any.whl (83.1 kB view details)

Uploaded Python 3

File details

Details for the file mem8-4.0.3.tar.gz.

File metadata

  • Download URL: mem8-4.0.3.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.24

File hashes

Hashes for mem8-4.0.3.tar.gz
Algorithm Hash digest
SHA256 31c48e921fc70f53d91d90d7cb62e0a41079e3957c34531ce9304feecb3b77ae
MD5 9c5f4623d375c60a4ebf743d6d1551b5
BLAKE2b-256 0cd5183d053cce70e060452afc6fa888fba7dcb6d5ab4f6ccae79f9bd6a7faf0

See more details on using hashes here.

File details

Details for the file mem8-4.0.3-py3-none-any.whl.

File metadata

  • Download URL: mem8-4.0.3-py3-none-any.whl
  • Upload date:
  • Size: 83.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.24

File hashes

Hashes for mem8-4.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4f6909a23c7484ff2c65a5fe29f918ed5109e825c6eec2a5e67e14ceeb357aa8
MD5 5736301c045ef4ca9e7639ae6d4de326
BLAKE2b-256 4276aae41912dd3eb70d537ead64d437a73c82e530da0975300217107a107041

See more details on using hashes here.

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