🚀🔗 Integrating Composio with Griptape
Streamline the integration of Composio within the Griptape agentic framework to enhance the interaction capabilities of Griptape agents with external applications, significantly extending their operational range and efficiency.
Objective
- Facilitate the automation of starring a GitHub repository through the use of conversational commands within the Griptape framework, leveraging Composio's Function Calls.
Installation and Setup
Ensure you have the necessary packages installed and connect your GitHub account to allow your agents to utilize GitHub functionalities.
# Install Composio LangChain package
pip install composio-griptape
# Connect your GitHub account
composio-cli add github
# View available applications you can connect with
composio-cli show-apps
Usage Steps
1. Initialize Environment and Client
Establish your development environment by importing necessary libraries and setting up the Griptape client.
from griptape.structures import Agent
from griptape.utils import Chat
from composio_griptape import App, Action, Tag, ComposioToolSet
import dotenv
dotenv.load_dotenv("/Users/sawradip/Desktop/practice_code/practice_composio/composio_sdk/examples/.env")
2. Integrating GitHub Tools with Composio for Griptape Operations
This section guides you through the process of integrating GitHub tools into your Griptape projects using Composio's services.
composio_toolset = ComposioToolSet()
composio_tools = composio_toolset.get_tools(tools = App.GITHUB)
agent = Agent(
tools=composio_tools
)
Step 3: Agent Execution
This step involves configuring and Chatting with the Griptape agent to carry out specific tasks, for example, starring a GitHub repository.
Chat(agent).start()
Metadata
Release files for composio-griptape 0.7.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| composio_griptape-0.7.20.tar.gz | 4.1 kB | Without provenance | Details for composio_griptape-0.7.20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| composio_griptape-0.7.20-py3-none-any.whl | Python 3 | none | any | Details for composio_griptape-0.7.20-py3-none-any.whl |
Total release size: 8.7 kB
Release files / composio_griptape-0.7.20.tar.gz
| Download URL | composio_griptape-0.7.20.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7b9a1a70bc0554e9de92ee8a36e65c409668e9ea6dcdc7dd73499fc281c8aa4
|
|
BLAKE2b-256 checksum How to use checksums |
56f6770e0acd57926ec579d9585216bd5f6705f7fef587b162866d7d12ac3bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / composio_griptape-0.7.20-py3-none-any.whl
| Download URL | composio_griptape-0.7.20-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ead2a54bc623762904996cc5275128b0f613673288c9b1067e8ccf89fec94ce
|
|
BLAKE2b-256 checksum How to use checksums |
27899f635ddc460cc6d67950b8be0ae2b1c55ed787f5b972bea9ea41fe395ee7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for composio-griptape 0.7.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.