feat: add composio CrewAI tool wrapper

This commit is contained in:
angrybayblade
2024-06-24 20:48:52 +05:30
parent bd13b55afd
commit d4449ee5f0
2 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# ComposioTool Documentation
## Description
This tools is a wrapper around the composio toolset and gives your agent access to a wide variety of tools from the composio SDK.
## Installation
To incorporate this tool into your project, follow the installation instructions below:
```shell
pip install composio-core
pip install 'crewai[tools]'
```
## Example
The following example demonstrates how to initialize the tool and execute a mathematical operation:
```python
from composio import Action
from crewai_tools.tools.composio_tool.composio_tool import ComposioTool
tool = ComposioTool.from_tool(
tool=Action.MATHEMATICAL_CALCULATOR,
)
```