aimemory

aimemory is an extension for AI workflows in Cursor and VS Code that provides persistent, context-aware memory. It allows the AI assistant to remember project context, decisions, and progress across sessions, reducing repetitive tasks and enabling the AI to learn and grow with the project.

GitHub Stars

2

User Rating

Not Rated

Favorites

0

Views

18

Forks

0

Issues

0

README
AI Memory Extension for Cursor ๐Ÿน

Build Status
License
Version

Persistent, context-aware memory for AI workflows in Cursor and VS Code

Give your AI assistant a memory bank that remembers your project context, decisions, and progress across sessions. No more repeating yourselfโ€”your AI learns and grows with your project.


๐Ÿš€ Quick Start
Installation

For Cursor Users:

  1. Install the extension from Cursor marketplace (coming soon)
  2. Open Command Palette (Cmd/Ctrl+Shift+P)
  3. Run: AI Memory: Open Dashboard
  4. Click "Initialize Memory Bank"

For Developers:

git clone https://github.com/sm-moshi/aimemory.git
cd aimemory
pnpm install && pnpm build
# Press F5 in Cursor/VS Code to launch extension
Basic Usage
# Chat commands in Cursor
/memory status              # Check memory bank health
/memory list               # See all stored memories
/memory read projectbrief  # Read specific memory file

โœจ What It Does
  • ๐Ÿง  Persistent Memory: Your AI remembers project context between sessions
  • ๐Ÿ“ Organized Structure: Auto-creates folders for project briefs, technical context, and progress
  • ๐Ÿ”„ Self-Healing: Automatically repairs missing or corrupted files
  • ๐Ÿ’ฌ Chat Integration: Use /memory commands directly in Cursor chat
  • ๐Ÿ›ก๏ธ Secure: Input validation, path protection, no data sent to external services
  • โš™๏ธ Set Log Level: Configurable logging from trace to error levels

๐Ÿ“– Memory Bank Structure
memory-bank/
โ”œโ”€โ”€ core/                    # Essential project information
โ”‚   โ”œโ”€โ”€ projectBrief.md     # Project overview and goals
โ”‚   โ”œโ”€โ”€ productContext.md   # Product requirements and context
โ”‚   โ””โ”€โ”€ activeContext.md    # Current focus and priorities
โ”œโ”€โ”€ progress/               # Project tracking and history
โ”‚   โ”œโ”€โ”€ index.md           # Progress overview
โ”‚   โ”œโ”€โ”€ current.md         # Current tasks and status
โ”‚   โ””โ”€โ”€ history.md         # Completed work history
โ”œโ”€โ”€ systemPatterns/         # Architecture and design patterns
โ”‚   โ”œโ”€โ”€ index.md           # Pattern overview
โ”‚   โ”œโ”€โ”€ architecture.md    # System architecture
โ”‚   โ”œโ”€โ”€ patterns.md        # Design patterns used
โ”‚   โ””โ”€โ”€ scanning.md        # Code analysis patterns
โ””โ”€โ”€ techContext/           # Technical stack and environment
    โ”œโ”€โ”€ index.md          # Tech stack overview
    โ”œโ”€โ”€ stack.md          # Technology choices
    โ”œโ”€โ”€ dependencies.md   # Key dependencies
    โ””โ”€โ”€ environment.md    # Development environment

๐Ÿ› ๏ธ Key Features
  • Zero Configuration - Works out of the box
  • STDIO MCP Server - Optimized for Cursor compatibility
  • React Dashboard - Modern webview for memory management
  • Efficient File Operations - Optimized for typical memory bank file sizes
  • British English - Consistent language throughout

๐Ÿ“š Documentation

๐Ÿค Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes following our coding standards
  4. Run tests: pnpm test
  5. Submit a pull request

Requirements:

  • British English throughout codebase
  • Comprehensive test coverage
  • Follow existing code patterns

๐Ÿ“„ License & Support

License: Apache 2.0

Need Help?


Built with โค๏ธ for the Cursor and VS Code communities