Quick Start
Add persistent memory to your AI agent in 5 minutes.
Prerequisites
- Python 3.9 or higher
- A Functor API key (get one from the Authentication guide)
- Functor backend running (see Installation)
Installation
Install the Functor SDK with pip:
Or with uv for faster installation:
Basic Usage
Step 1: Initialize the Client
Create a FunctorClient with your API key:
Step 2: Discover Available Tools
Use the ToolRegistry to discover all available memory tools:
Output:
Step 3: Call Tools
Use FunctorToolContext to execute tools:
Framework-Specific Quick Starts
Choose your framework to see framework-specific examples:
MCP / Claude
Use with Claude Desktop, Claude Code
LangChain
Use with LangChain agents
OpenAI
Use with function calling
Tool Naming Convention
All tools follow a consistent naming pattern:
Available Namespaces
| Namespace | Tools | Description |
|---|---|---|
| episodic | 8 | Temporal interaction events |
| semantic | 7 | Knowledge facts |
| procedural | 6 | Workflow procedures |
| short_term | 5 | Session buffers |
| long_term | 6 | Persistent archives |
| pruning | 5 | Memory lifecycle |
| personalization | 6 | User preferences |
| observability | 5 | Metrics and logging |
| multi_tenant | 7 | Tenant isolation |
| rollout | 6 | Planning simulations |
Next Steps
See the Tool Reference for the complete list of all 71 tools with parameters and examples.