Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Google Example
This example demonstrates how to use Composio SDK with Google's GenAI (Gemini).
Setup
Install dependencies:
pnpm installConfigure environment:
cp .env.example .envThen edit
.envand add your API keys:COMPOSIO_API_KEY: Get it from Composio DashboardGEMINI_API_KEY: Get it from Google AI Studio
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
Related Examples
- OpenAI Example - Shows integration with OpenAI
- LangChain Example - Shows integration with LangChain
- More Examples - Browse all available examples