Create your own tools
Contributor Guide
Building Tools for Move Agent Kit
Move Agent Kit uses LangChain's tool format for all blockchain interactions. This guide will help you create new tools for the kit.
Tool Structure
Quick Start Example
Here's a simple token transfer tool example:
Tool Requirements
Extend the
Tool
class from LangChainDefine a unique
name
for your toolProvide a clear
description
of its functionalityImplement the
_call
method with your logic
Testing Your Tool
Contributing Your Tool
Fork the repository
Create your tool in the
tools
directoryAdd tests to the
tests
directorySubmit a pull request to https://github.com/MetaMove/move-agent-kit/pulls
For examples and existing tools, check our GitHub repository: github.com/move-agent-kit/tools
You can even create your own SDK for your tools and use it with createAptosTools
Community Guidelines
Follow TypeScript best practices
Include comprehensive tests
Document your code
Keep tools focused and single-purpose
Need help? Join our Discord: discord.gg/move-agent-kit
Last updated