create_agentic_memory

Overview

The Agentic Memory system provides advanced memory management capabilities that enable LLM agents to dynamically organize and utilize memories through autonomous decision-making. Unlike traditional static memory storage, this system implements intelligent memory operations inspired by cognitive architectures.

Key Capabilities ✨

Dynamic Memory Organization

  • 🔄 Zettelkasten-inspired knowledge networking

  • 🔗 Auto-generated memory relationships

  • 🧩 Context-aware memory clustering

Intelligent Memory Operations

  • 🔍 Semantic indexing with multi-modal tagging

  • 📈 Adaptive retention/forgetting mechanisms

  • 🤖 Autonomous memory refinement cycles

Agent-Memory Interaction

  • 🌐 State-aware memory activation

  • 🎯 Task-specific memory prioritization

  • 🔄 Bidirectional memory-agent influence


API Integration

Create Agentic Memory

Function: create_agentic_memory() Purpose: Store memories with autonomous organization capabilities

Parameters:

Parameter
Type
Description

agent_name

str

Agent namespace identifier

content

str

Memory text with contextual signals

metadata

dict

Structured attributes (see below)

base_url

str

API endpoint

Example:

response = create_agentic_memory(
    agent_name="research_bot"
    content="Breakthrough in protein folding: Achieved 92% accuracy...",
    metadata={
        "system": "scientific_discovery"
    }
)

Response Structure:

{
    "success": true,
    "memory_id": "mem_abc123",
    "content": null,
    "metadata": null,
    "error": null
}

AIOS Kernel will automatically use agentic memory to help you organize your memory.

Reference:

@article{xu2025mem,
  title={A-mem: Agentic memory for llm agents},
  author={Xu, Wujiang and Liang, Zujie and Mei, Kai and Gao, Hang and Tan, Juntao and Zhang, Yongfeng},
  journal={arXiv preprint arXiv:2502.12110},
  year={2025}
}

For implementation details and experimental results, see our official repository and research paper.

Last updated