agent-memory
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agent Memory
A unified memory system for AI Agents with ChromaDB, Task Management, and Architecture Graph. Works with any MCP-compatible agent.
Features
Persistent Memory - Semantic search with ChromaDB
Task Management - ChromaDB-based tracking (no external deps)
Architecture Graph - Map APIs, screens, journeys with NetworkX
Auto-Documentation - Generate AGENT.md from memory
Conversation Tracking - Never lose session context
33+ MCP Tools - Comprehensive toolkit for any AI agent
Agent-Agnostic - Works with any MCP-compatible agent
Windows-First - PowerShell scripts and Windows-compatible
Related MCP server: Hicortex - AI Fleet Memory
Architecture
┌─────────────────────────────────────────────────────────────┐
│ Layer 1: AI Agents (Any MCP-compatible agent) │
│ - Memory tools (semantic search) │
│ - Task management tools (ChromaDB-based) │
│ - Architecture graph tools (APIs, screens, journeys) │
└─────────────────────────────────────────────────────────────┘
↕ (MCP RPC)
┌─────────────────────────────────────────────────────────────┐
│ Layer 2: MCP Server (Tool Provider) │
│ - ChromaDB Manager (memory storage) │
│ - Task Manager (ChromaDB-based tasks) │
│ - Graph Manager (NetworkX + ChromaDB) │
│ - Documentation Manager (AGENT.md generation) │
└─────────────────────────────────────────────────────────────┘
↕ (Storage)
┌─────────────────────────────────────────────────────────────┐
│ Layer 3: Storage (Project-Isolated) │
│ ChromaDB: ~/.agent-chromadb/{project}/ │
│ - Memories, Tasks, Graph Nodes, Graph Edges, Documentation │
└─────────────────────────────────────────────────────────────┘Quick Start
# 1. Clone and install
git clone https://github.com/zeronsec/ai-agent-memory.git
cd ai-agent-memory
pip install .
# 2. Run installer (creates directories, configures MCP server)
.\scripts\install.ps1
# 3. Restart your agent - tools are now available!Installation
Option 1: PowerShell Installer (Recommended for Windows)
git clone https://github.com/zeronsec/ai-agent-memory.git
cd ai-agent-memory
.\scripts\install.ps1Option 2: Manual Installation
# Clone
git clone https://github.com/zeronsec/ai-agent-memory.git
cd ai-agent-memory
# Install
pip install .
# Or development mode
pip install -e ".[dev]"Configure Your MCP Client
Add to your MCP client configuration:
{
"mcpServers": {
"agent-memory": {
"command": "python",
"args": ["-m", "src.server"]
}
}
}For other MCP-compatible agents, consult their documentation for MCP server configuration.
Available Tools (33)
Memory Tools (3)
Tool | Description |
| Store knowledge with semantic search |
| Find relevant memories |
| Get memory statistics |
Task Tools (10)
Tool | Description |
| Create new task |
| List with filters |
| Get task details |
| Update status/priority |
| Close task with reason |
| Semantic search |
| Get statistics |
| Quick open task list |
| Tasks by assignee |
| Tasks linked to graph |
Graph Tools (12)
Tool | Description |
| Add API, screen, service, etc. |
| Create relationship |
| Find connections |
| Impact analysis |
| Find path between nodes |
| Generate Mermaid diagram |
| Get node details |
| List by type |
| Remove node |
| Graph statistics |
| Find disconnected nodes |
| Export ARCHITECTURE.md |
Documentation Tools (5)
Tool | Description |
| Store documentation section |
| Search documentation |
| Generate AGENT.md |
| Import existing AGENT.md |
| Get by section type |
Conversation Tools (3)
Tool | Description |
| Store session summary |
| Search past sessions |
| Get recent summaries |
Usage Examples
Store Knowledge
memory_store(
content="Decision: Use PostgreSQL for invoices due to complex queries",
category="decision",
tags="database,invoices"
)Track Tasks
# Create
task_create(
title="Implement invoice validation",
priority=1,
graph_node="api-create-invoice"
)
# Update
task_update(task_id="task-abc123", status="in_progress")
# Close
task_close(task_id="task-abc123", reason="Completed with tests")Map Architecture
# Add nodes
graph_add_node(
node_id="api-invoices",
node_type="api",
name="Invoice API"
)
graph_add_node(
node_id="screen-invoice-form",
node_type="screen",
name="Invoice Form"
)
# Connect
graph_add_edge(
from_id="screen-invoice-form",
to_id="api-invoices",
relationship="calls"
)
# Analyze impact
graph_analyze_impact("api-invoices")Generate Documentation
# Store sections
doc_store_section(
section_type="architecture",
content="The system uses a microservices architecture...",
title="System Overview"
)
# Generate md files
doc_generate_agent_md(output_path="AGENT.md")Project Configuration
Set Project ID
The system auto-detects project ID from:
AGENT_PROJECT_IDenvironment variable.agent-projectfile in project rootGit repository name
Current folder name
To explicitly set:
echo "my-project-name" > .agent-projectData Storage
ChromaDB:
~/.agent-chromadb/{project}/Config:
~/.agent-memory-mcp/config/Logs:
~/.agent-memory-mcp/logs/
Directory Structure
ai-agent-memory/
├── src/
│ ├── __init__.py
│ ├── server.py # MCP server (33 tools)
│ ├── chromadb_manager.py # ChromaDB operations
│ ├── task_manager.py # Task tracking
│ ├── graph_manager.py # Architecture graph
│ ├── documentation_manager.py
│ ├── config.py
│ └── utils.py
├── scripts/
│ ├── install.ps1 # Windows installer
│ ├── test-integration.ps1 # Integration tests
│ ├── visualize-graph.ps1 # Graph visualization
│ └── session-wrapper.ps1
├── config/
│ ├── mcp-server.json
│ └── graph-templates.yaml
├── templates/
│ ├── AGENTS.md
│ └── ARCHITECTURE.md
├── pyproject.toml
├── requirements.txt
└── README.mdTesting
# Run integration tests
.\scripts\test-integration.ps1
# Or with pytest
pip install -e ".[dev]"
pytest tests/ -vMemory Not Persisting
Check project ID:
python -c "from src.config import get_project_id; print(get_project_id())"Verify ChromaDB path exists:
~/.agent-chromadb/
License
MIT License - see LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Shared long-term memory vault for AI agents with 20 MCP tools.
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI coding agents and IDEs to capture conversations, extract structured knowledge into a queryable graph database, and recall past decisions, patterns, files, and errors across all projects and workspaces. Provides persistent memory tools for saving, searching, and cleaning up knowledge via MCP.2-
- FlicenseAqualityBmaintenanceShared fleet memory for AI agents — what one agent learns, the whole fleet knows. Nightly self-correction: stale facts rewritten in place, duplicates merged. Recall pushed into every prompt in supported coding agents. Self-hosted.113-
- FlicenseNot gradedqualityAmaintenanceProvides local-first, cross-session persistent memory that lets AI coding agents store, semantically search, and recall project-specific and cross-project knowledge via MCP tools and resources, with an optional task queue for autonomous execution.-

Mandrelofficial
AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to maintain structured, persistent memory as a typed-edge knowledge graph over contexts, decisions, and tasks, with deterministic auto-threading, trust signals, and replayable story recall. It also exposes a token-lean MCP gateway for on-demand tool discovery, helping agents preserve causal project context across sessions.5MIT