From 6ade09d7324ccb6bfdf02db11def7c5723644f09 Mon Sep 17 00:00:00 2001 From: Woolfgm <160153877+Dahka2321@users.noreply.github.com> Date: Wed, 26 Feb 2025 12:07:36 +0100 Subject: [PATCH 1/2] Update add_your_own_tool.md --- guides/add_your_own_tool.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guides/add_your_own_tool.md b/guides/add_your_own_tool.md index c96fef78..348dd98b 100644 --- a/guides/add_your_own_tool.md +++ b/guides/add_your_own_tool.md @@ -6,11 +6,11 @@ Extending the **Solana Agent Kit** with custom tools allows you to add specializ 1. Create a new tool file 2. Export the new tool -3. Add supporting functions in SolanaAgentKit +3. Add supporting functions to SolanaAgentKit 4. Implement the Langchain tool class 5. Export the Langchain tool 6. Export your protocol's langchain tools (if not already exported) -7. Define Action class for given tool +7. Define an Action class for given tool 8. Export Action 9. Use the custom tool @@ -87,7 +87,7 @@ export * from "./tiplink"; export * from "./your_protocol"; // Add your protocol here if it's not already in the list ``` -### 7. Define Action class for given tool +### 7. Define an Action class for given tool > `src/actions/your_protocol/custom_action.ts` ```typescript:src/actions/your_protocol/custom_action.ts From aab6d579d2ab54f5b27182395c5ed42fc7c9d3d9 Mon Sep 17 00:00:00 2001 From: Woolfgm <160153877+Dahka2321@users.noreply.github.com> Date: Wed, 26 Feb 2025 12:11:47 +0100 Subject: [PATCH 2/2] Update README.md --- examples/agent-kit-langgraph/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/agent-kit-langgraph/README.md b/examples/agent-kit-langgraph/README.md index 878fdb96..b8a42068 100644 --- a/examples/agent-kit-langgraph/README.md +++ b/examples/agent-kit-langgraph/README.md @@ -8,7 +8,7 @@ This example demonstrates how to build an advanced Solana agent using LangGraph - Multi-agent architecture using LangGraph's StateGraph - Specialized agents for different tasks: - - General purpose agent for basic queries (with optional Tavily search integration) + - General-purpose agent for basic queries (with optional Tavily search integration) - Transfer/Swap agent for transaction operations - Read agent for blockchain data queries - Manager agent for routing and orchestration