Skip to main content
ClaudeWave
Skill28.7k repo starsupdated today

building-agents

This Claude Code skill provides comprehensive guidance and code examples for building AI agents with Composio SDK across 10+ frameworks including OpenAI, Anthropic, and LangChain. Use this skill when integrating external tools and APIs into agent applications or needing framework-specific setup instructions, installation commands, and best practices for your chosen provider.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/ComposioHQ/composio /tmp/building-agents && cp -r /tmp/building-agents/.claude/skills/building-agents ~/.claude/skills/building-agents
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Building AI Agents with Composio SDK

This skill provides comprehensive guidance for building AI agents using Composio SDK with various provider frameworks.

## Overview

Composio integrates with 10+ major AI agent frameworks, allowing you to add tools and external integrations to your agents. Each framework-specific skill provides:
- Installing and setting up the provider SDK
- Finding latest SDK versions (NPM/PyPI)
- Official documentation links and latest examples
- Code examples for building agents with Composio tools
- Best practices and troubleshooting tips

## Installing Composio Packages

### Working in Composio SDK Repository (This Workspace)

If you're working within the Composio SDK repository itself, install packages from the workspace:

**TypeScript:**
```bash
pnpm i @composio/core @composio/<provider> --workspace
```

**Example:**
```bash
pnpm i @composio/core @composio/openai --workspace
```

### External Projects (Outside SDK Repository)

For projects outside the Composio SDK repository, install from NPM/PyPI:

**TypeScript:**
```bash
npm install @composio/core @composio/<provider>
```

**Python:**
```bash
pip install composio-<provider>
# or
uv pip install composio-<provider>
```

**Examples:**
```bash
# TypeScript
npm install @composio/core @composio/openai

# Python
pip install composio-openai
```

## Available Framework Skills

Use `/building-agents-using-<framework>` to access specific guides:

### 1. **building-agents-using-openai**
Build agents using OpenAI's Chat Completions API, Assistants API, and Agents API.
- **Languages**: TypeScript, Python
- **Key Features**: Function calling, streaming, parallel tool calls
- **Models**: GPT-4o, GPT-4o-mini, GPT-4 Turbo
- **Use Cases**: General-purpose agents, chatbots, automation

**Invoke:** `/building-agents-using-openai`

### 2. **building-agents-using-anthropic**
Build agents using Anthropic's Claude API and Claude Agent SDK.
- **Languages**: TypeScript, Python
- **Key Features**: Prompt caching, long context, thinking blocks
- **Models**: Claude 3.7 Sonnet, Claude 3.5 Sonnet, Claude 3 Opus
- **Use Cases**: Complex reasoning, code analysis, long documents

**Invoke:** `/building-agents-using-anthropic`

### 3. **building-agents-using-langchain**
Build agents using LangChain and LangGraph for production workflows.
- **Languages**: TypeScript, Python
- **Key Features**: Graph-based agents, middleware, state management
- **Framework**: LangGraph recommended for production
- **Use Cases**: Multi-step workflows, RAG with actions, complex agents

**Invoke:** `/building-agents-using-langchain`

### 4. **building-agents-using-langgraph**
Build stateful, durable agents using LangGraph (v1.0).
- **Languages**: TypeScript, Python
- **Key Features**: Durable execution, human-in-the-loop, persistent memory
- **Status**: Production-ready (v1.0 released late 2025)
- **Use Cases**: Long-running workflows, supervised agents, multi-agent systems

**Invoke:** `/building-agents-using-langgraph`

### 5. **building-agents-using-google**
Build agents using Google's Gemini API and GenAI SDK.
- **Languages**: TypeScript, Python
- **Key Features**: Compositional function calling, parallel execution, thinking
- **Models**: Gemini 3 Flash/Pro, Gemini 2.5 Flash/Pro
- **Use Cases**: Multi-step workflows, location-based services, data analysis

**Invoke:** `/building-agents-using-google`

### 6. **building-agents-using-vercel**
Build agents using Vercel AI SDK for TypeScript/JavaScript applications.
- **Languages**: TypeScript, JavaScript
- **Key Features**: ToolLoopAgent, streaming, multi-provider support (40+)
- **Frameworks**: Next.js, Node.js, React, Vue, Svelte
- **Use Cases**: AI chatbots, web applications, full-stack AI

**Invoke:** `/building-agents-using-vercel`

### 7. **building-agents-using-llamaindex**
Build RAG-enhanced agents using LlamaIndex.
- **Languages**: TypeScript, Python
- **Key Features**: ReAct agents, query engines as tools, workflows
- **Framework**: Workflows 1.0 for complex agentic systems
- **Use Cases**: RAG + actions, documentation bots, code assistants

**Invoke:** `/building-agents-using-llamaindex`

### 8. **building-agents-using-mastra**
Build agents using Mastra, the modern TypeScript framework from the Gatsby team.
- **Languages**: TypeScript
- **Key Features**: Autonomous agents, 40+ model providers, streaming
- **Status**: v1.0 released January 2026
- **Use Cases**: GitHub automation, web search, multi-tool workflows

**Invoke:** `/building-agents-using-mastra`

### 9. **building-agents-using-cloudflare**
Build edge-deployed agents using Cloudflare Workers AI and Agents SDK.
- **Languages**: TypeScript, JavaScript
- **Key Features**: Edge deployment, embedded function calling, Durable Objects
- **Platform**: Cloudflare Workers, Workers AI
- **Use Cases**: Low-latency agents, real-time chat, API orchestration

**Invoke:** `/building-agents-using-cloudflare`

### 10. **building-agents-using-crewai**
Build multi-agent teams using CrewAI for collaborative AI.
- **Languages**: Python
- **Key Features**: Role-based agents, task dependencies, YAML configs
- **Framework**: Lean, fast, independent of LangChain
- **Use Cases**: Research & reporting, content creation, data analysis

**Invoke:** `/building-agents-using-crewai`

### 11. **building-agents-using-autogen**
Build multi-agent conversational systems using Microsoft AutoGen.
- **Languages**: Python
- **Key Features**: Multi-agent chat, AutoGen Studio, event-driven core
- **Status**: Microsoft Agent Framework is the successor
- **Use Cases**: Multi-agent conversations, research, customer support

**Invoke:** `/building-agents-using-autogen`

## Finding Latest SDK Versions

Each skill includes commands to find the latest versions of both Composio packages and provider SDKs.

### Find Latest Composio Package Version

**NPM (TypeScript):**
```bash
npm view @composio/<provider> version
# Example
npm view @composio/openai version
```

**PyPI (Python):**
```bash
pip i