Skip to content

docs: add GOAT to tool docs #7906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 17, 2025
Merged

Conversation

0xaguspunk
Copy link
Contributor

This PR adds:

  1. Docs for the GOAT toolkit integration

Twitter handle: @0xaguspunk

Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Apr 3, 2025 8:50pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Apr 3, 2025 8:50pm

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 26, 2025
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Mar 26, 2025
Copy link
Collaborator

@jacoblee93 jacoblee93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, see comments!

# GOAT

[GOAT](https://github.com/goat-sdk/goat) is the finance toolkit for AI agents.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run yarn format from root and add the following warning:

:::warning
This tool exists outside of the main LangChain repository [here](https://github.com/goat-sdk/goat/).
Please use caution when linking wallets to external providers and make sure they are trusted.
:::

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran yarn format, tho it didn't change anything it seems? Prob missing something

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget the warning!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

const tools = await getOnChainTools({
wallet: viem(walletClient),
plugins: [sendETH(), erc20({ tokens: [USDC, PEPE] })],
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add an example here that uses this with createReactAgent from LangGraph?

https://langchain-ai.github.io/langgraphjs/how-tos/create-react-agent/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done! :) thanks for the review!

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Apr 3, 2025
@0xaguspunk
Copy link
Contributor Author

@jacoblee93 following up here :) Anything else that would be required?

@dosubot dosubot bot added the lgtm PRs that are ready to be merged as-is label Apr 17, 2025
@jacoblee93 jacoblee93 merged commit 15d5985 into langchain-ai:main Apr 17, 2025
5 checks passed
@jacoblee93
Copy link
Collaborator

Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder lgtm PRs that are ready to be merged as-is size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants