Install
What’s included
| Function | Purpose |
|---|---|
create_synap_tools | Returns a list of two ADK FunctionTool objects for memory search and store |
Quick start
create_synap_tools returns [search_memory, store_memory] — two FunctionTool instances ready to pass directly to Agent(tools=...).
Tool signatures
search_memory(query: str, max_results: int = 5) -> list[dict]
Semantic search over the user’s memories. Returns a list of {"content": "...", "type": "...", "confidence": float}.
store_memory(content: str, memory_type: str = "fact") -> dict
Stores a new memory. Returns {"status": "stored", "id": "..."}.
Multi-user setup
Create separate tool sets per user — the tools close overuser_id and customer_id at construction time:
Next steps
Haystack
Pipeline components for Haystack.
Agno
InMemoryDb replacement for Agno agents.