76 lines
No EOL
2 KiB
Text
76 lines
No EOL
2 KiB
Text
---
|
|
id: agent-memory-api
|
|
title: "Agent Memory API"
|
|
description: "A temporal-semantic memory system for AI agents that stores, retrieves, and reasons over memories."
|
|
sidebar_label: Introduction
|
|
sidebar_position: 0
|
|
hide_title: true
|
|
custom_edit_url: null
|
|
---
|
|
|
|
import ApiLogo from "@theme/ApiLogo";
|
|
import Heading from "@theme/Heading";
|
|
import SchemaTabs from "@theme/SchemaTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Export from "@theme/ApiExplorer/Export";
|
|
|
|
<span
|
|
className={"theme-doc-version-badge badge badge--secondary"}
|
|
children={"Version: 1.0.0"}
|
|
>
|
|
</span>
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"Agent Memory API"}
|
|
>
|
|
</Heading>
|
|
|
|
|
|
|
|
|
|
A temporal-semantic memory system for AI agents that stores, retrieves, and reasons over memories.
|
|
|
|
## Features
|
|
|
|
* **Batch Memory Storage**: Store multiple memories efficiently with automatic fact extraction
|
|
* **Semantic Search**: Find relevant memories using natural language queries
|
|
* **Fact Type Filtering**: Search across world facts, agent actions, and opinions separately
|
|
* **Think Endpoint**: Generate contextual answers based on agent identity and memories
|
|
* **Graph Visualization**: Interactive memory graph visualization
|
|
* **Document Tracking**: Track and manage memory documents with upsert support
|
|
|
|
## Architecture
|
|
|
|
The system uses:
|
|
- **Temporal Links**: Connect memories that are close in time
|
|
- **Semantic Links**: Connect semantically similar memories
|
|
- **Entity Links**: Connect memories that mention the same entities
|
|
- **Spreading Activation**: Intelligent traversal for memory retrieval
|
|
|
|
|
|
<div
|
|
style={{"display":"flex","flexDirection":"column","marginBottom":"var(--ifm-paragraph-margin-bottom)"}}
|
|
>
|
|
<h3
|
|
style={{"marginBottom":"0.25rem"}}
|
|
>
|
|
Contact
|
|
</h3><span>
|
|
Memory System:
|
|
</span>
|
|
</div><div
|
|
style={{"marginBottom":"var(--ifm-paragraph-margin-bottom)"}}
|
|
>
|
|
<h3
|
|
style={{"marginBottom":"0.25rem"}}
|
|
>
|
|
License
|
|
</h3><a
|
|
href={"https://www.apache.org/licenses/LICENSE-2.0.html"}
|
|
>
|
|
Apache 2.0
|
|
</a>
|
|
</div>
|
|
|