Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
Memory provides the agentic memory lifecycle: read, recall, and write. It wraps an MCP client that connects to the ogden memory server.
func New ¶
New creates a Memory wrapper. If client is nil or doesn't have memory tools, memory is disabled and all methods gracefully degrade.
func (*Memory) ReadMemory ¶
ReadMemory fetches the session knowledge graph as text via memory_graph. Returns empty string on failure (graceful degradation).
func (*Memory) RecallMemory ¶
RecallMemory performs semantic recall for a specific question via memory_recall. Returns empty string on failure (graceful degradation).
Click to show internal directories.
Click to hide internal directories.