Composio enables your Langchain agents to connect with many tools!

Goal: Star a repository on GitHub with natural language & Langchain Agent

Install Packages & Connect a Tool

These commands prepare your environment for seamless interaction between Langchain and Github.

1

Import Base Packages

2

Fetch all Github Langchain Tools via Composio

3

Execute the Agent

Create an agent, set up an executor, and invoke tasks to perform GitHub API calls using Composio.

4

Check Response

Executing Agents
> Entering new AgentExecutor chain...

Invoking: `github_star_repo` with `{'owner': 'composiohq', 'repo': 'docs'}`

{'connectedAccountId': 'ade8c167-836b-404b-bb47-fb8550203417', 'input': {'owner': 'composiohq', 'repo': 'docs'}}
{'execution_details': {'executed': True}, 'response_data': ''}I have successfully starred the repository composiohq/composio on GitHub.

Use Specific Actions

Use Specific Apps