Agent Tools
Give your AI agents persistent memory. Expose Functor's 71 memory operations as native tools for any agent framework.
The Problem
AI agents are stateless by default. Each conversation starts fresh with no memory of past interactions, user preferences, or learned procedures. Building memory into agents typically requires:
- Custom database integrations
- Manual state management
- Framework-specific implementations
- Significant boilerplate code
The Solution
Functor's Agent Tools layer automatically exposes the entire memory system as native tools that any AI agent can use. With a single import, your agent gains access to:
10 Memory Modules
Episodic, Semantic, Procedural, Short-term, Long-term, Pruning, Personalization, Observability, Multi-tenant, Rollout
71 Memory Operations
Create, search, update, archive, prune, and manage memory across all modules with full type safety
4 Framework Adapters
Native support for MCP (Claude), LangChain, OpenAI function calling, and direct SDK usage
Zero Configuration
Tools are auto-generated from SDK annotations. No manual schema definitions required.
Architecture
The tools layer sits between the Functor SDK and your agent framework:
Supported Frameworks
| Framework | Adapter | Use Case |
|---|---|---|
| MCP | generate_mcp_tools() | Claude Desktop, Claude Code, MCP-compatible clients |
| LangChain | get_functor_tools() | LangChain agents, ReAct, AgentExecutor |
| OpenAI | generate_openai_tools() | OpenAI Assistants, function calling |
| Direct SDK | FunctorToolContext | Custom agents, any Python application |
Quick Example
Here's how simple it is to give your LangChain agent persistent memory: