Using Tools with LLMs

Composio enables you to integrate various tools (such as Gmail, GitHub, and Salesforce) and perform actions (such as sending emails or creating GitHub issues). Browse our complete list of supported Tools.

Here’s how to use Tools with LLMs:

This code demonstrates how to use LLMs with Composio Tools to execute actions. The example shows how to connect OpenAI’s LLM with Composio’s tools, in this case using the GitHub tool. The LLM understands the natural language task (“Star the repo”) and determines which action to use from the GitHub tool, then executes the action.

Composio supports multiple agent frameworks including LlamaIndex, CrewAI, Letta, and LangChain. See the Supported Frameworks section for details.