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
/mem8:research "payment system"
/mem8:plan "add OAuth support"
/mem8:implement memory/shared/plans/oauth.md
/mem8: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-plugin
# 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:
/mem8:research- Parallel codebase exploration/mem8:plan- Structured implementation planning/mem8:implement- Execute plans with progress tracking/mem8:validate- Verify implementation completeness/mem8:commit- Create semantic commits/mem8:describe-pr- Generate PR descriptions
Documentation
๐ Full documentation at codebasecontext.org
Development Workflow
mem8 provides a structured development cycle:
- Research (
/mem8:research) - Understand existing patterns - Plan (
/mem8:plan) - Design with concrete steps - Implement (
/mem8:implement) - Execute with progress tracking - Validate (
/mem8:validate) - Verify completeness - Commit (
/mem8: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
- ๐ Documentation
- ๐ Report Issues
- ๐ฌ Discussions
- ๐ง Template Repository
License
MIT License - see LICENSE file for details.
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 mem8-6.0.0.tar.gz.
File metadata
- Download URL: mem8-6.0.0.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daf23cb110b16aea5434b18b3ed1da76e422a1a3db657733e01cd504aa5380b8
|
|
| MD5 |
b8bbb76296ac5489f5aa3024beca72f9
|
|
| BLAKE2b-256 |
c31aecf06d4b6fb4b637c67ea3a82ea121ab394673c22829fbf73189fa25718c
|
File details
Details for the file mem8-6.0.0-py3-none-any.whl.
File metadata
- Download URL: mem8-6.0.0-py3-none-any.whl
- Upload date:
- Size: 108.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
155be401edc52dbda6058ac3ab9385aae949b19ee3dc14a04146b2efb9929084
|
|
| MD5 |
3c6047cbe6b2545baf0aca93d33c12dd
|
|
| BLAKE2b-256 |
22b0f3b04f9e8147a697d4a5a8982c6301914ec34c6db2f5327532f2072eef32
|