About Www Project Agent Memory Guard
Www Project Agent Memory Guard is an MCP server published by OWASP in the RAG category: runtime defense against memory poisoning in AI agents (OWASP ASI06). Drop-in for LangChain, OpenAI Agents, AutoGen, CrewAI and mem0. Conduid read 5 tools from its source: get_threat_categories, scan_memory_batch, scan_memory_entry, validate_before_recall and validate_before_store. It is published to PyPI as agent-memory-guard and runs with uvx.
The repository has 214 stars and 65 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.4.0 (28 Oct 2026): Release 0.4.0. Package metadata now lists both authors (Vaishnavi Gudur and Anshul Rajkumar). See CHANGELOG.md for details. It follows v0.3.3 (6 Oct 2026), and the 5 most recent releases go back to v0.3.0 (10 Jun 2026). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Its topics include agent-memory, ai-safety, ai-security, autogen, crewai and langchain.
Install
uvx agent-memory-guardpip install agent-memory-guardgit clone https://github.com/OWASP/www-project-agent-memory-guardTools (5)
get_threat_categoriesList all threat categories that Agent Memory Guard detects.scan_memory_batchScan multiple memory entries in batch.| Parameter | Type | Description |
|---|---|---|
| entries * | array |
scan_memory_entryScan a single memory entry for security threats.| Parameter | Type | Description |
|---|---|---|
| text * | string |
validate_before_recallValidate a recalled memory entry before injecting into context.| Parameter | Type | Description |
|---|---|---|
| text * | string |
validate_before_storeValidate a memory entry before storing. Returns ALLOW or BLOCK.| Parameter | Type | Description |
|---|---|---|
| text * | string | |
| user_id | string |
Security checks
- ✓README presentThe repository's README runs to about 2.0K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- !No dynamic code executionScanned 62 source files and found 1 call to eval or shell execution, in src/agent_memory_guard/scanner/__init__.py. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 2.0K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README