Skip to content

vitylabs/vity-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vity ToolKit 🧰

A framework to integrate AI agents and LLMs with Web2 and Web3 tools, ensuring secure and seamless authentication and reliability. Inspired from composio

NPM Downloads NPM Version NPM Last Update NPM Type Definition

🎥 DEMO

demo video

📙 Features

Vity Toolkit is an open-source framework that works with any LLM that supports tool use. It is your gateway to AI integrations:

  • Seamless Connections: Link AI agents to multiple apps like X, Superteam Earn, Solana Wallet, etc.
  • Agent Authentication: Easily and securely manage user-level authentication across multiple accounts and tools using Lit Protocol and connect it with any storage provider, allowing you to use your preferred storage solution, such as IPFS, Arweave, Ceramic, or even a centralized provider like AWS.
  • Extensions: Connect other toolkits like Solana Agent Kit, very easily.
  • Frameworks: Support different frameworks like Langchain, OpenAI, Vercel AI (comming soon).
  • Effortless Integration: From using actions to auth integration, all made simple and easy, thanks to typescript.

🚀 Quick Start

  1. Install the package.
npm install vity-toolkit ai @ai-sdk/openai
  1. Using App of Vity Toolkit in Vercel AI SDK
import { openai } from "@ai-sdk/openai";
import { generateText } from "ai";
import { App, VercelAIToolkit } from "vity-toolkit";


const toolKit = new VercelAIToolkit();
const tools = toolKit.getTools({ apps: [App.EARN] });

const { text } = await generateText({
    model: openai("gpt-4o"),
    tools,
    maxSteps: 5,
    prompt: "What is top 5 bounties in superteam earn?",
});

console.log(text);

🤗 Contributing

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-name.
  3. Make your changes.
  4. Push your branch: git push origin feature-name.
  5. Create a pull request.