sol_ai_agent_trade
An open-source toolkit for connecting AI agents to Solana protocols. Enables autonomous performance of 15+ Solana actions including trading tokens, launching new tokens, lending assets, and more.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Repository
An open-source toolkit for connecting AI agents to Solana protocols. Enables autonomous performance of 15+ Solana actions including trading tokens, launching new tokens, lending assets, and more.
Basic Info
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Solana AI Agent
An open-source toolkit for connecting AI agents to Solana protocols. Enables autonomous performance of 15+ Solana actions including trading tokens, launching new tokens, lending assets, and more.
Core Blockchain Features
Token Operations
- Deploy SPL tokens by Metaplex
- Transfer assets
- Balance checks
- Stake SOL
- Zk compressed Airdrop by Light Protocol and Helius
NFTs on 3.Land
- Create your own collection
- NFT creation and automatic listing on 3.land
- List your NFT for sale in any SPL token
NFT Management via Metaplex
- Collection deployment
- NFT minting
- Metadata management
- Royalty configuration
DeFi Integration
- Jupiter Exchange swaps
- Launch on Pump via PumpPortal
- Raydium pool creation (CPMM, CLMM, AMMv4)
- Orca Whirlpool integration
- Manifest market creation, and limit orders
- Meteora Dynamic AMM, DLMM Pool, and Alpha Vault
- Openbook market creation
- Register and Resolve SNS
- Jito Bundles
- Pyth Price feeds for fetching Asset Prices
- Register/resolve Alldomains
- Perpetuals Trading with Adrena Protocol
- Drift Vaults, Perps, Lending and Borrowing
Solana Blinks
- Lending by Lulo (Best APR for USDC)
- Send Arcade Games
- JupSOL staking
- Solayer SOL (sSOL)staking
Non-Financial Actions
- Gib Work for registering bounties
AI Integration Features
LangChain Integration
- Ready-to-use LangChain tools for blockchain operations
- Autonomous agent support with React framework
- Memory management for persistent interactions
- Streaming responses for real-time feedback
Vercel AI SDK Integration
- Vercel AI SDK for AI agent integration
- Framework agnostic support
- Quick and easy toolkit setup
Autonomous Modes
- Interactive chat mode for guided operations
- Autonomous mode for independent agent actions
- Configurable action intervals
- Built-in error handling and recovery
AI Tools
- DALL-E integration for NFT artwork generation
- Natural language processing for blockchain commands
- Price feed integration for market analysis
- Automated decision-making capabilities
Installation
bash
npm install solana-agent-kit
Quick Start
```typescript import { SolanaAgentKit, createSolanaTools } from "solana-agent-kit";
// Initialize with private key and optional RPC URL const agent = new SolanaAgentKit( "your-wallet-private-key-as-base58", "https://api.mainnet-beta.solana.com", "your-openai-api-key" );
// Create LangChain tools const tools = createSolanaTools(agent); ```
Usage Examples
Deploy a New Token
```typescript const result = await agent.deployToken( "my ai token", // name "uri", // uri "token", // symbol 9, // decimals 1000000 // initial supply );
console.log("Token Mint Address:", result.mint.toString()); ```
Create NFT Collection
typescript
const collection = await agent.deployCollection({
name: "My NFT Collection",
uri: "https://arweave.net/metadata.json",
royaltyBasisPoints: 500, // 5%
creators: [
{
address: "creator-wallet-address",
percentage: 100,
},
],
});
Project Structure
src/- Source codeexamples/- Example implementationsdocs/- Documentationguides/- Usage guidestest/- Test filesREADME.md- Documentation
Owner
- Name: Silvio Silva (Yuki)
- Login: diobenu2silva
- Kind: user
- Website: https://t.me/Silvia_ittech
- Repositories: 1
- Profile: https://github.com/diobenu2silva
If things are not failing, you are not innovating enough.
Citation (CITATION.cff)
cff-version: 1.2.0 title: Solana Agent Kit message: >- If you use this software, please cite it using the metadata from this file. type: software authors: - name: SendAI repository-code: 'https://github.com/sendaifun/solana-agent-kit' url: 'https://github.com/sendaifun/solana-agent-kit' abstract: >- Connect any AI Agents to Solana Protocols keywords: - solana - blockchain - web3 - agent - toolkit license: Apache-2.0 version: 1.2.0 preferred-citation: type: software title: Solana Agent Kit abstract: Connect any AI Agents to Solana Protocols version: 1.2.0 date-released: '2024-12-21' license: Apache-2.0 url: 'https://github.com/sendaifun/solana-agent-kit' repository-code: 'https://github.com/sendaifun/solana-agent-kit' authors: - name: SendAI
GitHub Events
Total
Last Year
Dependencies
- actions/checkout v4 composite
- actions/setup-node v4 composite
- pnpm/action-setup v3 composite
- tsx ^4.19.2 development
- typescript ^5.0.0 development
- @langchain/community ^0.3.20
- @langchain/core ^0.3.26
- @langchain/langgraph ^0.2.36
- dotenv ^16.4.7
- solana-agent-kit ^1.3.0
- zod ^3.24.1
- 168 dependencies
- prettier 3.0.0 development
- @langchain/community ^0.3.11
- @langchain/core ^0.3.17
- @langchain/langgraph ^0.2.20
- @langchain/openai ^0.3.11
- @next/bundle-analyzer ^13.4.19
- @supabase/supabase-js ^2.32.0
- @tailwindcss/typography ^0.5.15
- @types/node 20.12.12
- @types/react 18.3.2
- @types/react-dom 18.3.0
- ai ^3.1.12
- autoprefixer 10.4.14
- eslint 8.46.0
- eslint-config-next 13.4.12
- isomorphic-dompurify ^2.19.0
- langchain ^0.3.5
- marked ^15.0.4
- next ^14.2.3
- postcss 8.4.27
- react ^18.3.1
- react-dom ^18.3.1
- react-toastify ^9.1.3
- solana-agent-kit ^1.3.0
- tailwindcss 3.3.3
- typescript 5.1.6
- zod ^3.22.3
- zod-to-json-schema ^3.21.4
- 216 dependencies
- @types/node ^22.10.5 development
- @typescript-eslint/parser 8.19.0 development
- eslint ^8.56.0 development
- eslint-config-prettier ^9.1.0 development
- eslint-import-resolver-typescript ^3.7.0 development
- eslint-plugin-import ^2.31.0 development
- eslint-plugin-prettier ^5.2.1 development
- eslint-plugin-promise ^7.2.1 development
- eslint-plugin-security ^3.0.1 development
- eslint-plugin-sonarjs ^3.0.1 development
- nodemon ^3.1.9 development
- prettier ^3.4.2 development
- tsconfig-paths ^4.2.0 development
- tsx ^4.19.2 development
- typescript ^5.7.2 development
- discord.js ^14.17.2
- dotenv ^16.4.7
- solana-agent-kit ^1.3.4
- 315 dependencies
- @langchain/langgraph-checkpoint-postgres ^0.0.2
- solana-agent-kit ^1.3.6
- 192 dependencies
- @langchain/langgraph-checkpoint-postgres ^0.0.2
- solana-agent-kit ^1.3.0
- 107 dependencies
- @types/node ^20 development
- @types/react ^19 development
- @types/react-dom ^19 development
- postcss ^8 development
- tailwindcss ^3.4.1 development
- typescript ^5 development
- @langchain/core ^0.3.26
- @langchain/langgraph ^0.2.36
- @langchain/langgraph-checkpoint-postgres ^0.0.2
- @langchain/openai ^0.3.16
- firebase ^11.1.0
- grammy ^1.33.0
- messages link:@langchain/core/messages
- next 15.1.3
- prebuilt link:@langchain/langgraph/prebuilt
- react ^19.0.0
- react-dom ^19.0.0
- solana-agent-kit ^1.3.0
- 207 dependencies
- @types/node ^20 development
- @types/react ^19 development
- @types/react-dom ^19 development
- postcss ^8 development
- tailwindcss ^3.4.1 development
- typescript ^5 development
- @langchain/core ^0.3.26
- @langchain/langgraph ^0.2.36
- @langchain/openai ^0.3.16
- grammy ^1.33.0
- messages link:@langchain/core/messages
- next 15.1.3
- prebuilt link:@langchain/langgraph/prebuilt
- react ^19.0.0
- react-dom ^19.0.0
- solana-agent-kit ^1.3.0
- 150 dependencies
- @types/node ^20 development
- @types/react ^19 development
- @types/react-dom ^19 development
- postcss ^8 development
- tailwindcss ^3.4.1 development
- typescript ^5 development
- @langchain/core ^0.3.26
- @langchain/langgraph ^0.2.36
- @langchain/langgraph-checkpoint-postgres ^0.0.2
- @langchain/openai ^0.3.16
- firebase ^11.1.0
- grammy ^1.33.0
- messages link:@langchain/core/messages
- next 15.1.3
- prebuilt link:@langchain/langgraph/prebuilt
- react ^19.0.0
- react-dom ^19.0.0
- solana-agent-kit ^1.3.0
- 207 dependencies
- @types/bn.js ^5.1.6 development
- @types/chai ^5.0.1 development
- @types/node ^22.10.2 development
- @typescript-eslint/eslint-plugin ^8.18.2 development
- @typescript-eslint/parser ^8.18.2 development
- eslint ^8.56.0 development
- eslint-config-prettier ^9.1.0 development
- eslint-plugin-prettier ^5.2.1 development
- husky ^9.1.7 development
- lint-staged ^15.3.0 development
- prettier ^3.4.2 development
- tsx ^4.19.2 development
- typescript ^5.7.2 development
- @3land/listings-sdk ^0.0.7
- @ai-sdk/openai ^1.0.11
- @alloralabs/allora-sdk ^0.1.0
- @bonfida/spl-name-service ^3.0.7
- @cks-systems/manifest-sdk 0.1.59
- @coral-xyz/anchor 0.29
- @drift-labs/sdk 2.107.0-beta.3
- @drift-labs/vaults-sdk ^0.2.49
- @langchain/core ^0.3.26
- @langchain/groq ^0.1.2
- @langchain/langgraph ^0.2.36
- @langchain/openai ^0.3.16
- @lightprotocol/compressed-token ^0.17.1
- @lightprotocol/stateless.js ^0.17.1
- @mercurial-finance/dynamic-amm-sdk ^1.1.19
- @metaplex-foundation/digital-asset-standard-api ^1.0.4
- @metaplex-foundation/mpl-core ^1.1.1
- @metaplex-foundation/mpl-token-metadata ^3.3.0
- @metaplex-foundation/mpl-toolbox ^0.9.4
- @metaplex-foundation/umi ^0.9.2
- @metaplex-foundation/umi-bundle-defaults ^0.9.2
- @metaplex-foundation/umi-web3js-adapters ^0.9.2
- @meteora-ag/alpha-vault ^1.1.7
- @meteora-ag/dlmm ^1.3.0
- @onsol/tldparser ^0.6.7
- @orca-so/common-sdk 0.6.4
- @orca-so/whirlpools-sdk ^0.13.12
- @pythnetwork/hermes-client ^1.3.0
- @raydium-io/raydium-sdk-v2 0.1.95-alpha
- @solana/spl-token ^0.4.9
- @solana/web3.js ^1.98.0
- @sqds/multisig ^2.1.3
- @tensor-oss/tensorswap-sdk ^4.5.0
- @tiplink/api ^0.3.1
- @voltr/vault-sdk ^0.1.1
- ai ^4.0.22
- bn.js ^5.2.1
- bs58 ^6.0.0
- chai ^5.1.2
- decimal.js ^10.4.3
- dotenv ^16.4.7
- flash-sdk ^2.24.3
- form-data ^4.0.1
- langchain ^0.3.8
- openai ^4.77.0
- typedoc ^0.27.6
- zod ^3.24.1
- 376 dependencies