A sophisticated system for managing AI assistant context, memories, and knowledge across conversations using GitHub repositories and Gists with MCP (Model Context Protocol) integration.
This system creates a persistent "memory bank" for AI assistants that:
- Stores system prompts, rules, and behavioral instructions
- Maintains conversation memories and learned patterns
- Automatically fetches and caches external documentation
- Provides intelligent context loading for new conversations
- Syncs with companion Gists for sharing and personal use
The core system with full automation, complex workflows, and comprehensive memory management.
- AI Context Templates (Public) - Templates for new users
- Personal AI Memory Bank (Private) - Personal preferences and memories
- Shareable Prompt Collection (Public) - Domain-specific expertise prompts
- Quick Context Snippets (Public) - Reusable context components
-
Clone and Setup:
git clone https://github.com/hypeitnow/ai-context-system.git cd ai-context-system -
Environment Configuration:
cp .env.template .env # Edit .env with your GitHub token and other settings -
Initialize:
python scripts/setup.py
-
Validate:
python scripts/validate.py
ai-context-system/
βββ src/ # Core system code
βββ prompts/ # System prompts and rules
βββ memories/ # Conversation memories and preferences
βββ external-sources/ # Cached external documentation
βββ config/ # System configuration
βββ scripts/ # Utility scripts
βββ .github/ # GitHub workflows and templates
βββ tests/ # Test suites
βββ docs/ # Documentation
- Intelligent Context Loading: Prioritizes relevant context based on conversation type
- Memory Persistence: Stores and retrieves conversation summaries and learnings
- Version Control: Tracks prompt evolution and performance
- External Knowledge: Automatically updates documentation from external sources
- Fetch MCP: Retrieves and caches web content
- GitHub MCP: Seamless repository management
- Custom MCPs: Extensible for additional data sources
- Scheduled Updates: Daily external documentation refresh
- Memory Backup: Automatic conversation storage
- Context Validation: Ensures prompt integrity
- Performance Monitoring: Tracks system effectiveness
- Template Sharing: Public templates for community use
- Personal Sync: Private gist for sensitive data
- Snippet Library: Reusable context components
- Sensitive data encrypted at rest
- Personal memories kept in private gists
- Configurable access controls
- Audit logging for all operations
We welcome contributions! Please see our Contributing Guidelines for details.
MIT License - see LICENSE file for details.
- Create an Issue for bugs or feature requests
- Check our Troubleshooting Guide
- Review existing Discussions