🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@goat-sdk/adapter-mastra

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goat-sdk/adapter-mastra

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
2
Created
Source
GOAT

Mastra AI SDK Adapter for GOAT

Integrate the more than +200 onchain tools of GOAT with Mastra AI SDK.

Installation

npm install @goat-sdk/adapter-mastra
yarn add @goat-sdk/adapter-mastra
pnpm add @goat-sdk/adapter-mastra

Usage

See a full working example here.

import { getOnChainTools } from "@goat-sdk/adapter-mastra";

const tools = await getOnChainTools({
    wallet: // your wallet
    plugins: // your plugins
});

const result = await generateText({
    model: openai("gpt-4o-mini"),
    tools: tools,
    prompt: "Your prompt here",
});


Keywords

ai

FAQs

Package last updated on 24 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts