Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mastra ai adapter #394

Merged
merged 8 commits into from
Mar 24, 2025
Merged

Add Mastra ai adapter #394

merged 8 commits into from
Mar 24, 2025

Conversation

aeither
Copy link
Contributor

@aeither aeither commented Mar 6, 2025

Relates to:

Background

What does this PR do?

Add Mastra AI Adapter

Testing

Detailed testing results

Method Prompt Screenshot Transaction Link
Action #1 Prompt to get it to take that action Screenshot of the result Transaction link
Action #2 Prompt to get it to take that action Screenshot of the result Transaction link

Docs

Checklist

  • I have tested this change and added the relevant screenshots to the PR description
  • I updated the README if necessary to include the new plugin, wallet, chain, etc.

Copy link

changeset-bot bot commented Mar 6, 2025

⚠️ No Changeset found

Latest commit: 4e8632c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@0xaguspunk 0xaguspunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool to see this! Made some comments

@@ -0,0 +1,33 @@
import { type GetToolsParams, type ToolBase, type WalletClientBase, getTools } from "@goat-sdk/core";
import type { Tool } from "@mastra/core";
import { createTool } from "@mastra/core";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail to build since it's not declared on the package.json

id: t.name,
description: t.description,
inputSchema: t.parameters,
execute: async ({ context }) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter will complain here too

@0xaguspunk 0xaguspunk merged commit 6f63a36 into goat-sdk:main Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants