Commit Graph

69 Commits

Author SHA1 Message Date
michaelessiet
69cfcd90d2 merge: main. Also removed eslint config from discord bot starter it was conflicting with global eslint config 2025-01-13 21:42:22 +01:00
shivaji43
9d1623ed7e added actions for tools 2025-01-13 17:37:20 +05:30
shivaji43
be3f158aaa fix : able to send transaction with priority fee 2025-01-13 17:37:05 +05:30
shivaji43
e09c6b5d0b fix:added solana tool in createSolanaTools 2025-01-13 17:37:04 +05:30
shivaji43
418f55178a feat:parsing transactions and getting all Assets 2025-01-13 17:37:04 +05:30
Arihant Bansal
338cc410ea feat: move to tsx 2025-01-12 00:16:13 +05:30
calintje
e5e25b0ab0 Fix 2025-01-10 20:39:43 +01:00
michaelessiet
b4b36e5adb feat: add drift vault tools 2025-01-09 21:13:00 +01:00
A91y
06e025c1a8 Merge branch 'main' into feat/squads_multisig 2025-01-08 22:58:50 +05:30
aryan
afcf0ad9c1 Merge branch 'main' into feature/reclaim_rent 2025-01-07 18:58:59 +05:30
biccsdev
9892b39a0c refactor 2025-01-06 21:43:36 -06:00
biccsdev
b3555ebded test 2025-01-06 21:39:31 -06:00
biccsdev
e680ddd4f3 3land tools implementation 2025-01-06 21:37:08 -06:00
A91y
6c29c84f54 fix 2025-01-06 15:24:20 +05:30
A91y
62749519a8 Merge branch 'main' into feat/squads_multisig 2025-01-06 15:19:01 +05:30
UjjwalGupta49
d90ee517d6 hermes client for flash price feed 2025-01-05 20:34:28 +05:30
UjjwalGupta49
a1088797b3 resolve conflicts 2025-01-05 17:21:25 +05:30
Arihant Bansal
6a84a16c1c merge fix 2025-01-05 12:44:52 +05:30
Arihant Bansal
b773f43c3c feat: add husky and lint-staged 2025-01-05 11:14:26 +05:30
DonDuala
3752d3f656 Fix manifest integration 2025-01-04 16:39:52 -04:00
UjjwalGupta49
42eb30a3b6 Add Flash.Trade leveraged open and close position 2025-01-04 18:55:09 +05:30
aryan
06ad5ba728 chore: docs + lint 2025-01-04 15:29:47 +05:30
JoshuaSum
058877b4d5 Merge remote-tracking branch 'upstream/main' 2025-01-03 14:35:16 -08:00
JoshuaSum
1a34e9a4e5 Add Solayer staking through blinks 2025-01-01 17:41:46 -08:00
michaelessiet
802f42ca6f fix: update to the new actions architecture and add the wallet address action 2025-01-01 05:11:03 +01:00
Michael Essiet
9b934d636f Merge branch 'main' into feature/vercel-ai-sdk 2025-01-01 04:11:57 +01:00
aryan
9bf1755c75 Merge branch 'main' into gib-bounty-sol756670 2025-01-01 03:04:34 +05:30
aryan
e438f8e4fa fix: dependency 2025-01-01 02:56:34 +05:30
aryan
15034ac749 chore: docs 2025-01-01 02:41:49 +05:30
aryan
5048f19c50 feat: config 2024-12-31 16:28:23 +05:30
aryan
9b8bd14cf5 chore: deploy to vercel 2024-12-31 02:39:56 +05:30
Michael Essiet
9b9bdbaade Merge branch 'main' into feature/vercel-ai-sdk 2024-12-30 12:26:08 +01:00
aryan
93055a8837 Merge branch 'main' into update-orca-single-sided-pools-and-send_transaction 2024-12-30 14:51:22 +05:30
calintje
3f9828d672 Update lockfile 2024-12-30 05:05:02 +01:00
calintje
20b1f4ab57 Remove console.logs 2024-12-30 05:00:58 +01:00
Michael Essiet
00c9e3d616 Merge branch 'main' into feature/vercel-ai-sdk 2024-12-28 21:05:45 +01:00
A91y
675bd399fc feat: add @sqds/multisig package to dependencies 2024-12-28 20:13:00 +05:30
Damjan
4559fb8551 Upgrade NPM dependencies 2024-12-28 10:26:27 +01:00
calintje
7976de50d7 Add Orca tools. 2024-12-28 05:30:27 +01:00
ARYAN
fd15656304 Langgraph (#78)
# Pull Request Description

## Related Issue
Fixes #61

## Changes Made
This PR adds the following changes:
- Added a new example demonstrating LangGraph integration with Solana
Agent Kit
- Implemented a multi-agent system with specialized agents for different
tasks
- Added state management and routing logic using LangGraph's StateGraph
- Integrated Tavily search capabilities for enhanced general-purpose
queries
- Added support for token swaps using Jupiter DEX
- Implemented TypeScript-based project structure with full type safety
- Added comprehensive documentation and architecture diagram

## Implementation Details
- Created a directed workflow using StateGraph with the following
components:
  - Manager Agent: Handles query classification and routing
- General Agent: Processes basic queries with Tavily search integration
  - Transfer/Swap Agent: Handles token transfers and DEX operations
  - Read Agent: Manages blockchain data queries
- Implemented state management using LangGraph annotations for query
classification
- Added environment-based configuration for API keys and RPC endpoints
- Integrated with external dependencies:
  - @langchain/community v0.3.20
  - @langchain/core v0.3.26
  - @langchain/langgraph v0.2.36
  - solana-agent-kit v1.3.0
- Set up TypeScript configuration with ESM support

## Architecture

<img width="801" alt="Screenshot 2024-12-27 at 5 59 26 PM"
src="https://github.com/user-attachments/assets/a90597ac-3bfc-47e1-b1de-5a17a3de106b"
/>


## Transaction executed by agent 
Example transaction: 


## Additional Notes
- The implementation follows a modular architecture as shown in the
architecture diagram
- Supports both read and write operations on the Solana blockchain
- Includes comprehensive error handling and type safety
- Provides flexible configuration through environment variables
- Project structure follows best practices with clear separation of
concerns
- Includes example queries for testing different agent pathways

## Checklist
- [x] I have tested these changes locally
- [x] I have updated the documentation
- [x] I have added a transaction link
- [x] I have added the prompt used to test it
2024-12-28 02:25:28 +05:30
Deepak
45d5ad21a7 init 2024-12-27 14:14:17 +05:30
michaelessiet
35c1e54989 feat: vercel-ai-sdk 2024-12-26 16:03:36 +01:00
shivaji43
18ddd247c3 feat: created tiplink for Sol and spl tokens 2024-12-26 12:33:55 +05:30
aryan
c81aa7f892 feat: linting + prettier 2024-12-25 17:08:17 +05:30
aryan
d81d17e2fd Merge branch 'gib-bounty-sol033188' of github.com:adpthegreat/solana-agent-kit into gib-bounty-sol033188 2024-12-23 14:00:14 +05:30
aryan
cec8b33105 wip: alldomain + sns 2024-12-23 13:57:20 +05:30
adpthegreat
cfda7151a2 feat: added langchain class, refactored methods to use tlb parser, wrote and ran tests 2024-12-23 08:52:42 +01:00
Zhe
7d076c8f4c chore: add pyth dep 2024-12-22 19:27:23 +00:00
adpthegreat
cdec8ed32d feat: added langchain class, refactored methods to use tlb parser, wrote and ran tests 2024-12-22 00:23:21 +01:00
aryan
3602a23d0e Merge branch 'main' into rudy5348/main 2024-12-20 23:49:28 +05:30