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

# Dokumentasi Neosantara

> AI Gateway Indonesia dan infrastruktur agen terpadu untuk developer.

Neosantara adalah AI Gateway Indonesia yang kompatibel dengan standar OpenAI dan Anthropic, dilengkapi penagihan Rupiah (IDR) langsung, routing berlatensi rendah, serta hub Model Context Protocol (MCP).

## Contoh Cepat

Kirim request menggunakan SDK resmi OpenAI:

<CodeGroup>
  ```python Python icon="python" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}}
  from openai import OpenAI
  import os

  client = OpenAI(
      base_url="https://api.neosantara.xyz/v1",
      api_key=os.environ.get("NEOSANTARA_API_KEY")
  )
  ```

  ```typescript TypeScript icon="js" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}}
  import OpenAI from "openai";

  const client = new OpenAI({
    baseURL: "https://api.neosantara.xyz/v1",
    apiKey: process.env.NEOSANTARA_API_KEY
  });
  ```
</CodeGroup>

```python theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}}
response = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[{"role": "user", "content": "Apa itu Neosantara?"}]
)
print(response.choices[0].message.content)
```

## Framework & Integrasi yang Didukung

### Framework Native

Provider Neosantara terintegrasi langsung di dalam SDK resmi tanpa perlu konfigurasi base URL manual:

<CardGroup cols={3}>
  <Card title="Any-LLM" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/any-llm.png?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=28d63eeb0c7d33cbbf08e295b4c4b0bc" href="/id/integrations/any-llm" width="1023" height="935" data-path="images/integrations/any-llm.png">
    SDK Any-LLM native dengan provider id `neosantara` tanpa konfigurasi base URL.
  </Card>

  <Card title="LiteLLM" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/litellm.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=6423ae40eb025e2fbd909430aac616fd" href="/id/integrations/litellm" width="512" height="512" data-path="images/integrations/litellm.svg">
    Integrasi provider native `neosantara/<model>` untuk routing multi-model.
  </Card>

  <Card title="Agno" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/agno.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=c46fcbc2366c9c7a9514dc31c98e64a1" href="/id/integrations/agno" width="120" height="120" data-path="images/integrations/agno.svg">
    Bangun agen AI multimodal otonom dengan model class `Neosantara` bawaan.
  </Card>
</CardGroup>

### Framework Orkestrasi

Gunakan library orkestrasi standar dengan mengarahkan base URL ke gateway Neosantara:

<CardGroup cols={3}>
  <Card title="LangChain" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/langchain.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=2fda60bd632e752437fe82868af3b9cb" href="/id/integrations/langchain" width="24" height="24" data-path="images/integrations/langchain.svg">
    Integrasi model OpenAI-compatible untuk chain, memori, dan agent LangChain.
  </Card>

  <Card title="DSPy" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/dspy.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=08c84a36efed096fffc121cc6c7a0b1d" href="/id/integrations/dspy" width="2000" height="2000" data-path="images/integrations/dspy.svg">
    Program dan optimalkan prompt model bahasa secara modular menggunakan signature DSPy.
  </Card>

  <Card title="CrewAI" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/crewai.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=ee6a13252d1457330daf7b391709c783" href="/id/integrations/crewai" width="24" height="24" data-path="images/integrations/crewai.svg">
    Orkestrasi multi-agent kolaboratif dengan pembagian peran dan eksekusi tugas berurutan.
  </Card>

  <Card title="Google ADK" icon="https://mintcdn.com/neosantara/u2qw1fXeV_SBVusR/images/integrations/google-adk.svg?fit=max&auto=format&n=u2qw1fXeV_SBVusR&q=85&s=d0ef827215540e6c62457845cd45db6c" href="/id/integrations/google-adk" width="512" height="512" data-path="images/integrations/google-adk.svg">
    Framework agen code-first dengan eksekusi multi-agent dan tool calling via LiteLLM.
  </Card>

  <Card title="OpenAI Agents SDK" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/openai.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=69e05803e80721ddc2f9fa7933f78012" href="/id/integrations/openai-agents" width="24" height="24" data-path="images/integrations/openai.svg">
    Framework multi-agent otonom dengan tool-calling, agent handoffs, dan integrasi model via LiteLLM.
  </Card>

  <Card title="LlamaIndex" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/llamaindex.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=58c204341fb8aedf1298c84f4ca3a584" href="/id/integrations/llama-index" width="24" height="24" data-path="images/integrations/llamaindex.svg">
    Hubungkan data kustom dan bangun pipeline RAG dengan model chat dan embedding.
  </Card>

  <Card title="Pydantic AI" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/pydantic.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=e9df7a770172c9a9596b208b9f49d3e4" href="/id/integrations/pydantic-ai" width="24" height="24" data-path="images/integrations/pydantic.svg">
    Bangun agent type-safe dengan structured output dan validasi skema otomatis.
  </Card>

  <Card title="AutoGen (AG2)" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/autogen.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=fc591771e857b920a95f540ea1407444" href="/id/integrations/autogen" width="56" height="50" data-path="images/integrations/autogen.svg">
    Alur kerja percakapan multi-agent dan eksekusi kode otomatis antar-agent.
  </Card>

  <Card title="Vercel AI SDK" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/vercel.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=f57435eea4d329029c704f64b235f151" href="/id/integrations/vercel-ai-sdk" width="100" height="100" data-path="images/integrations/vercel.svg">
    Integrasi streaming token dan hook UI reaktif untuk Next.js dan TypeScript.
  </Card>

  <Card title="E2B" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/e2b.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=1210d51b1a6ae41b76a78f585e7c4f62" href="/id/integrations/e2b" width="32" height="30" data-path="images/integrations/e2b.svg">
    Eksekusi kode Python dan visualisasi data dalam sandbox cloud Firecracker terisolasi.
  </Card>

  <Card title="Daytona" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/daytona.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=daa837e5c237567b57bd256d900061d4" href="/id/integrations/daytona" width="64" height="64" data-path="images/integrations/daytona.svg">
    Sandbox terisolasi dengan filesystem, git, dan eksekusi shell untuk agen AI.
  </Card>

  <Card title="OpenAI & Anthropic SDK" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/openai.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=69e05803e80721ddc2f9fa7933f78012" href="/id/gateway/overview" width="24" height="24" data-path="images/integrations/openai.svg">
    Gunakan SDK resmi Python dan TypeScript via base URL gateway Neosantara.
  </Card>
</CardGroup>

### Coding Agents & IDE

Tingkatkan produktivitas pemrograman dengan asisten AI dan lingkungan IDE terintegrasi:

<CardGroup cols={3}>
  <Card title="Cursor" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/cursor.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=cb059ccf6ea5b595935e76c785f9cafd" href="/id/agents/cursor" width="512" height="512" data-path="images/integrations/cursor.svg">
    Integrasi model inferensi kustom (Composer/Chat) dan server tools MCP di Cursor IDE.
  </Card>

  <Card title="Claude Code" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/claude-code.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=bb3a18ac7955752653554ec3d6a71c9b" href="/id/agents/claude-code" width="24" height="24" data-path="images/integrations/claude-code.svg">
    Asisten koding CLI terminal resmi Anthropic menggunakan endpoint `/anthropic` dan MCP.
  </Card>

  <Card title="OpenCode" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/opencode.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=a3d4ff1d014e9858321d9ec9b06fc513" href="/id/agents/opencode" width="512" height="512" data-path="images/integrations/opencode.svg">
    Agen koding open-source berbasis terminal untuk otomatisasi dan refactoring kode.
  </Card>

  <Card title="Cline & Roo Code" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/cline.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=1401507614a5761cc2571beda4f53b6d" href="/id/agents/cline" width="24" height="24" data-path="images/integrations/cline.svg">
    Ekstensi agen otonom VS Code dengan dukungan tools MCP dan eksekusi terminal.
  </Card>

  <Card title="Pi" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/pi.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=aa7b635568fd4ce9d62a10e9e65aec52" href="/id/agents/pi" width="24" height="24" data-path="images/integrations/pi.svg">
    Asisten koding terminal minimalis dan cepat dengan navigasi tree session bercabang.
  </Card>

  <Card title="Claude Desktop" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/claude.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=5f0be7b8eabc64ce5a9097ebc400b6b2" href="/id/agents/claude-desktop" width="24" height="24" data-path="images/integrations/claude.svg">
    Aplikasi desktop Claude terhubung langsung ke gateway MCP via transport SSE.
  </Card>
</CardGroup>

### Agen Cloud & Otonom (Hosted Dashboard)

Deploy agen otonom langsung dari dashboard Neosantara tanpa setup server:

<CardGroup cols={2}>
  <Card title="Hosted OpenClaw" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/openclaw.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=cff2c777ffddb432da2fc7d595311df9" href="/id/agents/openclaw" width="24" height="24" data-path="images/integrations/openclaw.svg">
    Agen multi-channel di Telegram dengan eksekusi tool, skill kustom, dan scale-to-zero microVM E2B.
  </Card>

  <Card title="Hosted Hermes" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/hermes.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=571caadc54c05c9b95079dd44f7f3e03" href="/id/agents/hermes" width="1722" height="1749" data-path="images/integrations/hermes.svg">
    Agen penalaran Nous Research dengan memori multi-turn dan transkripsi suara STT otomatis.
  </Card>
</CardGroup>

## Gunakan Dokumen Ini dengan Coding Agent

Tambahkan dokumentasi Neosantara langsung ke coding agent atau asisten AI Anda (seperti Claude Code, Cursor, Windsurf, atau OpenCode) dengan satu perintah:

```bash Terminal icon="terminal" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}}
npx skills add https://docs.neosantara.xyz
```

Perintah ini akan memasang skill dokumentasi resmi Neosantara secara otomatis agar agen AI Anda dapat menelusuri spesifikasi API, katalog model, dan panduan integrasi secara langsung.

Tersedia juga akses endpoint dan file referensi terprogram:

| Sumber Daya          | URL                                                                            | Keterangan                                                  |
| :------------------- | :----------------------------------------------------------------------------- | :---------------------------------------------------------- |
| **LLMs.txt**         | [`https://docs.neosantara.xyz/llms.txt`](https://docs.neosantara.xyz/llms.txt) | Ringkasan konten dokumentasi lengkap teroptimasi untuk LLM. |
| **Skill Definition** | [`https://docs.neosantara.xyz/skill.md`](https://docs.neosantara.xyz/skill.md) | Definisi instruksi skill untuk agentic CLI.                 |
| **Docs MCP Server**  | [`https://docs.neosantara.xyz/mcp`](https://docs.neosantara.xyz/mcp)           | Server MCP remote untuk pencarian dokumentasi real-time.    |


## Related topics

- [Panduan Cepat](/id/quickstart.md)
- [Ringkasan Gateway](/id/gateway/overview.md)
- [Arsitektur MCP & Agen](/id/agents/overview.md)
- [Ringkasan Integrasi](/id/integrations/overview.md)
