Contributing
Adding Tools
Contribute your own Agent tool to the ecosystem
If you’re reading this section, you probably have a product that AI agents can use as a tool. We’re glad you’re here!
Adding tools is easy once you understand the project structure. A few things need to be done for a tool to be considered completely supported:
1
Create a config for your tool
- Create a new tool config at
agentstack/tools/<your_tool>.json
- As an example, look at our tool config fixture
- AgentStack uses this to know what code to insert where. Follow the structure to add your tool.
2
Create your implementation for each framework
- In
agentstack/templates/<framework>/tools
, you’ll see other implementations of tools. - Build your tool implementation for that framework. This file will be inserted in the user’s project.
- The tools that are exported from this file should be listed in the tool’s config json.
3
Test your tool
Manually test your tool integration by running agentstack tools add <your_tool>
and ensure it behaves as expected.
4
Open a PR to add your tool to the next release
Tool Config
name
(str) - Name of your toolcategory
(str) - Category your tool belongs intools
(List[str]) - The exported functions within your tool fileurl
(str) - URL to where developers can learn more about your tooltools_bundled
(bool) - True if the tool file exports a list of toolscta
(str) - Call To Action printed in the terminal after installenv
(dict) - Key: Environment variable name; Value: default valuepackages
(List[str]) - Python packages to be installed to support your toolpost_install
(str) - A script to be run after install of your toolpost_remove
(str) - A script to be run after removal of your tool