Overview: Arcade Tools in Mastra
Mastra is an open-source TypeScript framework that provides essential primitives for building AI applications. Integrate Arcade’s extensive ecosystem to enhance your Mastra agents and enable them to interact seamlessly with numerous third-party services.
This integration enables you to:
- Access a wide range of : Use Arcade’s pre-built tools for GitHub, Google Workspace, Slack, and more directly within your Mastra .
- Simplify management: Let Arcade handle the complexities of tool discovery, execution, and authentication.
- Build sophisticated : Combine Mastra’s agent framework (including memory, workflows, and RAG) with Arcade’s powerful capabilities.
How it Works
The integration works through three key mechanisms:
- Discovery: Access available tools through a unified API (
arcade.tools.list
). - Schema Conversion: Transform Arcade’s definitions into Mastra-compatible Zod schemas with the
toZodToolSet
utility, enabling seamless integration between the two frameworks without manual schema mapping. - Execution Delegation: Seamlessly route tool calls from your Mastra through Arcade’s API, which handles all the complexities of third-party service authentication and execution.
Before starting, obtain an Arcade API key.
Next Steps
- Learn how to use Arcade tools in a Mastra
- Implement user authentication handling for in multi- applications
Last updated on