AIOS Docs
  • Welcome
  • Getting Started
    • Installation
    • Quickstart
      • Use Terminal
      • Use WebUI
    • Environment Variables Configuration
  • AIOS Kernel
    • Overview
    • LLM Core(s)
      • LiteLLM Compatible Backend
      • vLLM Backend
      • Hugging Face Backend
      • LLM Routing
    • Scheduler
      • FIFOScheduler
      • RRScheduler
    • Context
    • Memory
      • Base Layer
      • Agentic Memory Operations
    • Storage
      • sto_mount
      • sto_create_file
      • sto_create_directory
      • sto_write
      • sto_retrieve
      • sto_rollback
      • sto_share
    • Tools
    • Access
    • Syscalls
    • Terminal
  • AIOS Agent
    • How to Use Agent
    • How to Develop Agents
      • Develop with Native SDK
      • Develop with AutoGen
      • Develop with Open-Interpreter
      • Develop with MetaGPT
    • How to Publish Agents
  • AIOS-Agent SDK
    • Overview
    • LLM Core API
      • llm_chat
      • llm_chat_with_json_output
      • llm_chat_with_tool_call_output
      • llm_call_tool
      • llm_operate_file
    • Memory API
      • create_memory
      • get_memory
      • update_memory
      • delete_memory
      • search_memories
      • create_agentic_memory
    • Storage API
      • mount
      • create_file
      • create_dir
      • write_file
      • retrieve_file
      • rollback_file
      • share_file
    • Tool API
      • How to Develop Tools
    • Access API
    • Post API
    • Agent API
  • Community
    • How to Contribute
Powered by GitBook
On this page
  • Overview
  • Key Capabilities ✨
  • API Integration
  1. AIOS-Agent SDK
  2. Memory API

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}
}
Previoussearch_memoriesNextStorage API

Last updated 1 month ago

For implementation details and experimental results, see our and .

official repository
research paper