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

@goat-sdk/adapter-vercel-ai

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goat-sdk/adapter-vercel-ai

latest
Source
npmnpm
Version
0.2.10
Version published
Weekly downloads
254
-39.81%
Maintainers
2
Weekly downloads
 
Created
Source
GOAT

Vercel AI SDK Adapter for GOAT

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

Installation

npm install @goat-sdk/adapter-vercel-ai
yarn add @goat-sdk/adapter-vercel-ai
pnpm add @goat-sdk/adapter-vercel-ai

Usage

See a full working example here.

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

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 10 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