Install
What’s included
| Export | Purpose |
|---|---|
preload_synap_context | Injects long-term memory into a ChatContext before the session starts |
attach_synap_recording | Records every committed turn back to Synap during a session |
synap_search_tool | LLM-callable function tool for on-demand memory search |
synap_store_tool | LLM-callable function tool for on-demand memory storage |
Quick start
preload_synap_context
Loads the user’s long-term memories as system messages in theChatContext before the session starts. This gives the LLM awareness of the user’s history from the first turn — no tool call needed.
attach_synap_recording
Subscribes to theAgentSession’s turn commit events and ingests each turn into Synap asynchronously. Returns the conversation_id for the session.
Function tools
Give the agent explicit memory tools for mid-conversation lookup or storage:@llm.ai_callable decorated functions that the LiveKit LLM bridge will expose to the model as function calls.
Next steps
Pipecat
Frame processors for Pipecat voice pipelines.
Claude Agent SDK
Hooks and MCP server for the Claude Agent SDK.