Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
md 1.12 KB

Llamaindex Example

This example demonstrates how to use Composio SDK for llamaindex.

Setup

  1. Install dependencies: bash pnpm install

  2. Configure environment: bash cp .env.example .env

Then edit .env and add your API keys: - COMPOSIO_API_KEY: Get it from Composio Dashboard

Running the Example

# Run the example
pnpm start

# Run in development mode (with file watching)
pnpm dev

What This Example Does

  • Initializes Composio SDK
  • Fetches available tools
  • Demonstrates basic usage patterns

Customization

Edit src/index.ts to: - Add specific apps you want to integrate with - Implement your business logic - Add error handling and logging

Support