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.1.1.tar.gz (1.6 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.1.1-py3-none-any.whl (110.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mem8-4.1.1.tar.gz
Algorithm Hash digest
SHA256 c43beb15881522d83f7c112e2b7e3acc09dd811369d6ef3334f3c33534cffd49
MD5 c320ed80970ae73a69f3eebf136a1d15
BLAKE2b-256 bb7260626aa33594f6129128803e96e7e17d6a3e288dbf4536564b76fc75ccb9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mem8-4.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 473f813bd6ab152aa27341e7f996daab70885ff1c0c8311ff2f5f6881ab9c90a
MD5 38b56fd2160108e31ad3e5d47757c729
BLAKE2b-256 faa8ae1a05b4dd61b681477bf01e7b79b82ec044a238b0c70945be223bb2ff71

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