Install
What’s included
| Class | Purpose |
|---|---|
SynapPlugin | Semantic Kernel plugin with search_memory and store_memory kernel functions |
Quick start
Plugin functions
search_memory(query: str, max_results: int = 5) -> str
Searches Synap for memories matching query. Returns a formatted string of results for direct use in prompt templates.
store_memory(content: str, memory_type: str = 'fact') -> str
Stores a new memory. Returns "Memory stored successfully." on success.
Using with auto function calling
Register the plugin and enable auto function calling so the kernel invokes Synap tools automatically:Next steps
Microsoft Agent Framework
Context and history providers for MAF agents.
OpenAI Agents
Function tools for the OpenAI Agents SDK.