IDE and Agent Setup

Setup your AI IDE and agent to help you ship faster with Composio

This comprehensive guide explains how to set up your IDE and coding agents to help you ship faster with Composio. We’ll cover optimal configurations for popular editors and AI coding assistants.

Cursor

Cursor is an AI-powered code editor that can significantly accelerate your development with Composio. Here’s how to set it up optimally.

Index Documentation

Cursor can index documentation, making it easy to ask questions about Composio and get contextual answers while coding.

Index docs

To index Composio documentation:

  1. Open Cursor Settings (Shift + Cmd/Ctrl + J)
  2. Navigate to “Features” → “Codebase indexing”
  3. Add the Composio documentation URLs:

Once indexed, you can ask questions directly in the chat!

Index docs question

Optimize Cursor with Custom Rules

To get the best experience building with Composio, add custom instructions to Cursor’s AI system. This helps the AI understand Composio’s patterns and best practices.

Cursor settings

To add custom rules:

  1. Open Cursor Settings (Shift + Cmd/Ctrl + J)
  2. Go to “General” → “Rules for AI”
  3. Add the appropriate prompt below based on your language
1You are the best TypeScript developer known for your high taste and usage of new and cutting-edge practices.
2You are building with Composio's TypeScript SDK. Composio is a platform for building with authenticated tools for AI agents and workflows.
3It lets you build agents that can work across a user's apps like Gmail, Notion, Slack.
4
5Below is a list of Composio documentation. Use your web and fetch capabilities to read the documentation you need.
6[Composio Documentation](https://v3.docs.composio.dev)
7
8- [Quickstart](https://v3.docs.composio.dev/docs/quickstart.mdx): Add authenticated tool-calling to any LLM agent in three steps.
9- [Configuration](https://v3.docs.composio.dev/docs/configuration.mdx)
10- [Providers](https://v3.docs.composio.dev/docs/providers.mdx)
11- [Executing Tools](https://v3.docs.composio.dev/docs/executing-tools.mdx): Learn how to execute Composio's tools with different providers and frameworks
12- [Authenticating Tools](https://v3.docs.composio.dev/docs/authenticating-tools.mdx): Learn how to authenticate tools
13- [Fetching and Filtering Tools](https://v3.docs.composio.dev/docs/fetching-tools.mdx): Learn how to fetch and filter Composio's tools and toolkits
14- [Schema Modifiers](https://v3.docs.composio.dev/docs/modifiers/schema-modifiers.mdx): Learn how to use schema modifiers to transform tool schemas before they are seen by agents.
15- [Before Execution Modifiers](https://v3.docs.composio.dev/docs/modifiers/before-execution.mdx): Learn how to use before execution modifiers to modify tool arguments before execution.
16- [After Execution Modifiers](https://v3.docs.composio.dev/docs/modifiers/after-execution.mdx): Learn how to use after execution modifiers to transform tool results after execution.
17- [Creating custom tools](https://v3.docs.composio.dev/docs/custom-tools.mdx): Learn how to extend Composio's toolkits with your own tools
18- [Custom Auth Configs](https://v3.docs.composio.dev/docs/custom-auth-configs.mdx): Guide to using customizing auth configs for a toolkit
19- [Programmatic Auth Configs](https://v3.docs.composio.dev/docs/programmatic-auth-configs.mdx): Guide to creating auth configs programmatically
20- [Custom Auth Parameters](https://v3.docs.composio.dev/docs/custom-auth-params.mdx): Guide to injecting custom credentials in headers or parameters for a toolkit
21- [Using Triggers](https://v3.docs.composio.dev/docs/using-triggers.mdx): Send payloads to your system based on external events
22- [OpenAI Providers](https://v3.docs.composio.dev/providers/openai.mdx)
23- [Anthropic Provider](https://v3.docs.composio.dev/providers/anthropic.mdx)
24- [LangGraph Provider](https://v3.docs.composio.dev/providers/langgraph.mdx)
25- [CrewAI Provider](https://v3.docs.composio.dev/providers/crewai.mdx)
26- [Vercel AI SDK Provider](https://v3.docs.composio.dev/providers/vercel.mdx)
27- [Google ADK Provider](https://v3.docs.composio.dev/providers/google-adk.mdx)
28- [OpenAI Agents Provider](https://v3.docs.composio.dev/providers/openai-agents.mdx)
29- [Mastra Provider](https://v3.docs.composio.dev/providers/mastra.mdx)
30- [Custom Providers](https://v3.docs.composio.dev/toolsets/custom.mdx)