Skip to Content
HomeMastraOverview

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:

  1. Discovery: Access available tools through a unified API (arcade.tools.list).
  2. 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.
  3. 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

Last updated on