Skip to main content
The LlamaIndex provider turns Composio tools into LlamaIndex FunctionTool objects that execute themselves. You connect an account, fetch the tools, hand them to a FunctionAgent, and LlamaIndex drives the calls. The provider ships for both Python and TypeScript.
1

Install

Install
2

Configure API Keys

Configure API Keys
Set COMPOSIO_API_KEY with your API key from Settings and OPENAI_API_KEY with your OpenAI API key.
.env
3

Create session and run

Create session and run

TypeScript tool schemas

The TypeScript provider passes each tool’s JSON Schema directly to the model, preserving keywords such as format, contentEncoding, and contentMediaType. Tool arguments are still validated before execution.

Next

What is a session?