> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipellm.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PipeLLM — Gateway, Managed Tools, and Agent Integrations

> Model gateway routes, protocol conversion, managed WebSearch, and agent-ready integrations for production AI systems.

**PipeLLM is the infrastructure layer for production AI systems.** Start with the model gateway, add managed tools like WebSearch, and connect the agent frameworks or coding assistants your team already uses.

## Platform Surfaces

<Columns cols={3}>
  <Card title="Gateway API" icon="route" href="/api-reference/introduction">
    Use one gateway layer for provider routing, protocol compatibility, and model access.
  </Card>

  <Card title="Managed Tools" icon="globe" href="/websearch/overview">
    Add WebSearch and retrieval surfaces that work well inside agent workflows.
  </Card>

  <Card title="Agent Integrations" icon="terminal" href="/integrations/overview">
    Connect Claude Code, OpenClaw, OpenCode, and LangChain to PipeLLM.
  </Card>
</Columns>

## The Problem

Every AI provider has its own SDK, API format, and authentication method. Switching between OpenAI, Anthropic, and Gemini means rewriting integration code, managing multiple API keys, and risking vendor lock-in.

## Gateway Compatibility

PipeLLM provides **native protocol conversion** at the gateway level. Your existing code works as-is — just change the base URL.

<Columns cols={3}>
  <Card title="Use OpenAI SDK" icon="arrow-right-arrow-left">
    Call Claude, Gemini, DeepSeek, Llama and more — all through the OpenAI SDK you already know.
  </Card>

  <Card title="Use Anthropic SDK" icon="arrow-right-arrow-left">
    Call GPT, Gemini, Grok, DeepSeek and more — all through the Anthropic SDK you already know.
  </Card>

  <Card title="Use Gemini SDK" icon="arrow-right-arrow-left">
    Call GPT, Claude, DeepSeek and more — all through the Gemini SDK you already know.
  </Card>
</Columns>

<Tabs>
  <Tab title="OpenAI SDK → Claude">
    ```python theme={null}
    # Call Claude using OpenAI SDK
    from openai import OpenAI

    client = OpenAI(
        api_key="your-pipellm-key",
        base_url="https://api.pipellm.ai/openai/v1"  # ← just change this
    )

    response = client.chat.completions.create(
        model="claude-sonnet-4-6",  # ← use any model
        messages=[{"role": "user", "content": "Hello!"}]
    )
    ```
  </Tab>

  <Tab title="Anthropic SDK → Gemini">
    ```python theme={null}
    # Call Gemini using Anthropic SDK
    import anthropic

    client = anthropic.Anthropic(
        api_key="your-pipellm-key",
        base_url="https://api.pipellm.ai/anthropic"  # ← just change this
    )

    message = client.messages.create(
        model="gemini-3-flash-preview",  # ← use any model
        max_tokens=1024,
        messages=[{"role": "user", "content": "Hello!"}]
    )
    ```
  </Tab>

  <Tab title="Gemini SDK → GPT">
    ```python theme={null}
    # Call GPT using Gemini SDK
    from google import genai

    client = genai.Client(
        api_key="your-pipellm-key",
        http_options={"base_url": "https://api.pipellm.ai/gemini"}  # ← just change this
    )

    response = client.models.generate_content(
        model="gpt-5.4",  # ← use any model
        contents="Hello!"
    )
    ```
  </Tab>
</Tabs>

## Who Is PipeLLM For

<Columns cols={2}>
  <Card title="Startups & Dev Teams" icon="rocket">
    **Evaluate and switch models in minutes, not weeks.** Test GPT, Claude, Gemini, DeepSeek side-by-side with your existing codebase. No SDK migrations, no new auth flows — just swap the model name.
  </Card>

  <Card title="Enterprises" icon="building">
    **Add latest AI capabilities to legacy systems without rewriting code.** Your production integrations built on OpenAI SDK can instantly access Claude or Gemini. Zero migration cost, full protocol compatibility.
  </Card>
</Columns>

## What You Get

* **Universal SDK Compatibility** — Use OpenAI, Anthropic, or Gemini SDK interchangeably to access 50+ models
* **Native Protocol Conversion** — Not a simple proxy; full request/response format translation with streaming, tool use, vision, and thinking support
* **Enterprise-Grade Routing** — High-concurrency gateway with automatic failover and load balancing
* **Managed Tool Surfaces** — Add WebSearch and retrieval routes without building a separate tool service
* **Agent-Ready Integrations** — Plug existing coding agents and frameworks into PipeLLM-compatible routes
* **Zero Vendor Lock-In** — Switch providers by changing one line; your integration code stays the same
* **Pay As You Go** — No subscriptions, no minimums, only pay for what you use

## Get Started

<Columns cols={2}>
  <Card title="Quick Start" icon="play" href="/quickstart">
    Get your API key and make your first request in 2 minutes
  </Card>

  <Card title="Converters" icon="shuffle" href="/converter/overview">
    Learn when to use native routes versus protocol conversion
  </Card>
</Columns>

## Supported Providers

<Columns cols={3}>
  <Card title="OpenAI Compatible" href="/api-reference/openai/overview">
    GPT, Grok, GLM, DeepSeek, Groq
  </Card>

  <Card title="Anthropic" href="/api-reference/anthropic/overview">
    Opus, Sonnet, Haiku
  </Card>

  <Card title="Gemini" href="/api-reference/gemini/overview">
    Gemini 3, 2.5, 2.0
  </Card>
</Columns>
