Crate agent_memory

Crate agent_memory 

Source
Expand description

Memory subsystem building blocks used by MXP agents.

Structs§

EmbeddingVector
Wrapper type around an immutable floating-point embedding.
FileJournal
File-backed journal writing newline-delimited JSON entries.
LocalVectorStore
Simple in-memory vector store using cosine similarity.
MemoryBus
Central memory facade used by the runtime.
MemoryBusBuilder
Builder for MemoryBus instances.
MemoryRecord
Describes a single captured piece of memory.
MemoryRecordBuilder
Builder type used to assemble MemoryRecord instances safely.
VectorMatch
Match returned from a vector store query.
VectorPoint
Record stored in a vector database.
VectorQuery
Query parameters for retrieving similar vectors.
VolatileConfig
Configuration for the volatile memory buffer.
VolatileMemory
Volatile memory ring retaining the most recent records.
VolatileStats
Snapshot describing utilisation of the volatile buffer.

Enums§

MemoryChannel
Channel categorising a memory entry.
MemoryError
Errors emitted by memory components.

Traits§

Journal
Trait implemented by durable journals.
VectorStoreClient
Interface for vector store clients.

Type Aliases§

MemoryResult
Result type alias for memory operations.