adk_memory/lib.rs
1//! # adk-memory
2//!
3//! Semantic memory and search for ADK agents.
4//!
5//! ## Overview
6//!
7//! This crate provides long-term memory capabilities:
8//!
9//! - [`InMemoryMemoryService`] - Simple in-memory memory storage
10//! - [`MemoryService`] - Trait for custom backends
11//! - [`MemoryEntry`] - Structured memory with metadata
12//!
13//! ## Quick Start
14//!
15//! ```rust,no_run
16//! use adk_memory::InMemoryMemoryService;
17//!
18//! let service = InMemoryMemoryService::new();
19//!
20//! // Memory is automatically searched and injected
21//! // when configured via LlmAgentBuilder::include_memory()
22//! ```
23//!
24//! ## Features
25//!
26//! - Per-user memory isolation
27//! - Semantic search queries
28//! - Metadata filtering
29//! - Automatic context injection
30
31pub mod inmemory;
32pub mod service;
33
34pub use inmemory::InMemoryMemoryService;
35pub use service::{MemoryEntry, MemoryService, SearchRequest, SearchResponse};