Skip to main content
100%

Gist 9f4e39fe4aaf2f89cae73af7d1004a8b

✓ Published0🌍 Public
Aandrewxhill
Last edited Apr 3, 2025
Created on Apr 3, 2025

This example demonstrates how to integrate Recall's decentralized persistent storage with Mastra's agent framework using the `@mastra/core/agent` and `@mastra/mcp` packages. The code shows an agent connecting to the `@recallnet/mcp` server via `MCPConfiguration` to retrieve toolsets that enable storing and retrieving data from Recall buckets. It configures environment variables for the Recall private key and network, then uses the Anthropic AI SDK as the language model provider. The example illustrates the complete setup process, including package installation, TypeScript configuration, and the agent initialization flow.

AI-generated description

Similar vizzes