composio-griptape


Namecomposio-griptape JSON
Version 0.6.5 PyPI version JSON
download
home_pagehttps://github.com/ComposioHQ/composio
SummaryUse Composio to get an array of tools with your Griptape wokflow.
upload_time2024-12-20 10:45:35
maintainerNone
docs_urlNone
authorSawradip
requires_python<4,>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## 🚀🔗 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.

```bash
# 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.
```python
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.

```python
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.

```python
Chat(agent).start()
```




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ComposioHQ/composio",
    "name": "composio-griptape",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Sawradip",
    "author_email": "sawradip@composio.dev",
    "download_url": "https://files.pythonhosted.org/packages/7a/8c/ea174a9cab48abc5d5115083aefb9eea089f9f62364f4b9e4c6f0e389787/composio_griptape-0.6.5.tar.gz",
    "platform": null,
    "description": "## \ud83d\ude80\ud83d\udd17 Integrating Composio with Griptape\n\nStreamline 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.\n\n### Objective\n\n- **Facilitate the automation of starring a GitHub repository** through the use of conversational commands within the Griptape framework, leveraging Composio's Function Calls.\n\n\n### Installation and Setup\n\nEnsure you have the necessary packages installed and connect your GitHub account to allow your agents to utilize GitHub functionalities.\n\n```bash\n# Install Composio LangChain package\npip install composio-griptape\n\n# Connect your GitHub account\ncomposio-cli add github\n\n# View available applications you can connect with\ncomposio-cli show-apps\n```\n\n### Usage Steps\n\n#### 1. Initialize Environment and Client\n\nEstablish your development environment by importing necessary libraries and setting up the Griptape client.\n```python\nfrom griptape.structures import Agent\nfrom griptape.utils import Chat\n\nfrom composio_griptape import App, Action, Tag, ComposioToolSet\nimport dotenv\n\n\ndotenv.load_dotenv(\"/Users/sawradip/Desktop/practice_code/practice_composio/composio_sdk/examples/.env\")\n\n```\n\n### 2. Integrating GitHub Tools with Composio for Griptape Operations\n\nThis section guides you through the process of integrating GitHub tools into your Griptape projects using Composio's services.\n\n```python\ncomposio_toolset = ComposioToolSet()\ncomposio_tools = composio_toolset.get_tools(tools = App.GITHUB)\n\nagent = Agent(\n    tools=composio_tools\n)\n```\n\n### Step 3: Agent Execution\n\nThis step involves configuring and Chatting with the Griptape agent to carry out specific tasks, for example, starring a GitHub repository.\n\n```python\nChat(agent).start()\n```\n\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Use Composio to get an array of tools with your Griptape wokflow.",
    "version": "0.6.5",
    "project_urls": {
        "Homepage": "https://github.com/ComposioHQ/composio"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "764e888f502389f6759f8539ad21b7b913134914e8533e8ff45bd6a4e212de3d",
                "md5": "0cec781ebf13db93476c7bc205dde43b",
                "sha256": "3c505122f84447025bdccf0a3c59b8336cbaf7a4bcecc1b431d24f74b2ff6f31"
            },
            "downloads": -1,
            "filename": "composio_griptape-0.6.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0cec781ebf13db93476c7bc205dde43b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.9",
            "size": 4332,
            "upload_time": "2024-12-20T10:45:33",
            "upload_time_iso_8601": "2024-12-20T10:45:33.054275Z",
            "url": "https://files.pythonhosted.org/packages/76/4e/888f502389f6759f8539ad21b7b913134914e8533e8ff45bd6a4e212de3d/composio_griptape-0.6.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a8cea174a9cab48abc5d5115083aefb9eea089f9f62364f4b9e4c6f0e389787",
                "md5": "78fc7f8f2bbf821267b68aaac2e666f7",
                "sha256": "02f52d703db826ab5986b8061cdaf9304bf31ae9fa88df15ca6728aecf3600e6"
            },
            "downloads": -1,
            "filename": "composio_griptape-0.6.5.tar.gz",
            "has_sig": false,
            "md5_digest": "78fc7f8f2bbf821267b68aaac2e666f7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.9",
            "size": 3919,
            "upload_time": "2024-12-20T10:45:35",
            "upload_time_iso_8601": "2024-12-20T10:45:35.079776Z",
            "url": "https://files.pythonhosted.org/packages/7a/8c/ea174a9cab48abc5d5115083aefb9eea089f9f62364f4b9e4c6f0e389787/composio_griptape-0.6.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-20 10:45:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ComposioHQ",
    "github_project": "composio",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "composio-griptape"
}
        
Elapsed time: 0.75840s