Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/apneduniya/vity-toolkit

Make your agent powerful in just 2 more lines of code
https://github.com/apneduniya/vity-toolkit

agent agent-authentication agent-toolkit agent-tools ai authentication js langchain llm toolkit typescript vercel-ai-sdk

Last synced: 4 days ago
JSON representation

Make your agent powerful in just 2 more lines of code

Awesome Lists containing this project

README

        

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](https://img.shields.io/npm/dm/vity-toolkit?style=for-the-badge)
![NPM Version](https://img.shields.io/npm/v/vity-toolkit?style=for-the-badge)
![NPM Last Update](https://img.shields.io/npm/last-update/vity-toolkit?style=for-the-badge)
![NPM Type Definition](https://img.shields.io/npm/types/vity-toolkit?style=for-the-badge)

## 🎥 DEMO
[![demo video](https://github.com/user-attachments/assets/14c2b876-dc7b-4d21-8997-dc833dfdf41d)](https://drive.google.com/file/d/1S3mY4NzMSi-NH8pqEK-qrDL1WYWhFSYN/view)

## 📙 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.
```bash
npm install vity-toolkit ai @ai-sdk/openai
```
2. Using App of Vity Toolkit in Vercel AI SDK
```ts
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.