Learn Manager Protocol • AI Agent SDK
LearnManagerProtocol: Protocol for LearnManager implementations.
LearnManagerProtocol
Defined in the protocols module.
AI Agent
Protocol for LearnManager implementations.
Defines the interface for managing learning across multiple stores.
Methods
capture_persona()
Capture user preference or profile information.
capture_insight()Capture an observation or learning.
capture_pattern()Capture a reusable knowledge pattern.
get_learning_context()Get learning context from all enabled stores.
search()Search across all enabled stores.
to_system_prompt_context()Generate context for system prompt injection.
process_conversation()Process a conversation to extract learnings automatically.
Source
View on GitHubpraisonaiagents/memory/learn/protocols.py at line 212