@devries-cameron20 / composio Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 04:45 UTC

next
md 58 lines 1.22 KB
Rendered Raw
1 # Google Example
2
3 This example demonstrates how to use Composio SDK with Google's GenAI (Gemini).
4
5 ## Setup
6
7 1. **Install dependencies:**
8
9 ```bash
10 pnpm install
11 ```
12
13 2. **Configure environment:**
14
15 ```bash
16 cp .env.example .env
17 ```
18
19 Then edit `.env` and add your API keys:
20
21 - `COMPOSIO_API_KEY`: Get it from [Composio Dashboard](https://app.composio.dev)
22 - `GEMINI_API_KEY`: Get it from [Google AI Studio](https://makersuite.google.com/app/apikey)
23
24 ## Running the Example
25
26 ```bash
27 # Run the example
28 pnpm start
29
30 # Run in development mode (with file watching)
31 pnpm dev
32 ```
33
34 ## What This Example Does
35
36 - Initializes Composio SDK
37 - Fetches available tools
38 - Demonstrates basic usage patterns
39
40 ## Customization
41
42 Edit `src/index.ts` to:
43
44 - Add specific apps you want to integrate with
45 - Implement your business logic
46 - Add error handling and logging
47
48 ## Related Examples
49
50 - [OpenAI Example](../openai) - Shows integration with OpenAI
51 - [LangChain Example](../langchain) - Shows integration with LangChain
52 - [More Examples](../) - Browse all available examples
53
54 ## Support
55
56 - [Documentation](https://docs.composio.dev)
57 - [Discord Community](https://discord.gg/composio)
58 - [GitHub Issues](https://github.com/ComposioHQ/composio/issues)