Pluggable tools for Vercel AI SDK which allow AI assistants to interact with Sui Network and perform various actions, and an MCP server to use within your AI app, like Claude Desktop.
-
@suiware/ai-tools - a collection of pluggable tools for Vercel AI SDK, which allow AI assistants to interact with Sui Network and perform various actions.
-
Examples - examples of AI assistants, demonstrating
@suiware/ai-tools
in action. -
@suiware/mcp - An stdio MCP server with built-in @suiware/ai-tools and API to use in your apps.
- suiAddressTool
- suiWalletBalanceTool
- suiTransferTool
- suiSwapTool (mainnet only)
- suiStakeTool
- suiUnstakeTool
To get all available tools, use getSuiwareAiTools()
.
Check out the @suiware/ai-tools package docs for more details.
Example | Model | Description |
---|---|---|
Simple balance tool | Anthropic: claude-3-5-sonnet-latest | Gets Sui wallet balance, no interactivity |
Interactive agent (text streaming) | Anthropic: claude-3-5-sonnet-latest | Portfolio management agent with all tools enabled |
Interactive agent (text streaming) | OpenAI: gpt-3.5-turbo | Portfolio management agent with all tools enabled |
Interactive agent (text generating) | OpenAI: gpt-3.5-turbo | Portfolio management agent with all tools enabled |
Interactive agent (text generating) | Google: gemini-2.0-flash-001 | Portfolio management agent with all tools enabled |
Check out the examples package docs for more details.
Please refer to the MCP package docs @suiware/mcp to see how to use the server.
Learn the simple @suiware/ai-tools package and contribute your own tool by sending a PR to this repository. It can be an integration with pools, lending protocols, or any other services that can be beneficial for building AI assistants for Sui.