> ## 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.

# Neosantara Documentation

> Indonesia's unified AI gateway and agent infrastructure for developers.

Neosantara is Indonesia's AI Gateway, providing unified OpenAI and Anthropic compatible routing, native Rupiah (IDR) billing, and an integrated Model Context Protocol (MCP) hub.

## Quick Example

Send a request using the official OpenAI client:

```python Python icon="python" theme={"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}}
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":"catppuccin-latte","dark":"ayu-dark"}}
import OpenAI from "openai";

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

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

## Supported Frameworks & Integrations

### Native Frameworks

Neosantara is officially bundled as a native provider inside these SDKs without requiring custom base URL configuration:

> [card] [Any-LLM](https://docs.neosantara.xyz/en/integrations/any-llm.md)
>
> Native Any-LLM SDK integration with provider id `neosantara` without base URL setup.

> [card] [LiteLLM](https://docs.neosantara.xyz/en/integrations/litellm.md)
>
> Native `neosantara/<model>` provider routing for intelligent multi-model orchestration.

> [card] [Agno](https://docs.neosantara.xyz/en/integrations/agno.md)
>
> Build autonomous multimodal AI agents using the native `Neosantara` model class.

### Orchestration Frameworks

Connect popular orchestration libraries by setting the base URL to the Neosantara gateway:

> [card] [LangChain](https://docs.neosantara.xyz/en/integrations/langchain.md)
>
> OpenAI-compatible integration for LangChain chains, memory, and agentic tools.

> [card] [DSPy](https://docs.neosantara.xyz/en/integrations/dspy.md)
>
> Program and compile modular language model prompts with DSPy signatures.

> [card] [CrewAI](https://docs.neosantara.xyz/en/integrations/crewai.md)
>
> Collaborative multi-agent orchestration with role assignment and sequential execution.

> [card] [Google ADK](https://docs.neosantara.xyz/en/integrations/google-adk.md)
>
> Code-first agent framework with multi-agent orchestration and tool calling via LiteLLM.

> [card] [OpenAI Agents SDK](https://docs.neosantara.xyz/en/integrations/openai-agents.md)
>
> Autonomous multi-agent framework with tool calling, agent handoffs, and LiteLLM model integration.

> [card] [LlamaIndex](https://docs.neosantara.xyz/en/integrations/llama-index.md)
>
> Connect private data and build production RAG pipelines with chat and embedding models.

> [card] [Pydantic AI](https://docs.neosantara.xyz/en/integrations/pydantic-ai.md)
>
> Build type-safe agents with structured outputs and automated schema validation.

> [card] [AutoGen (AG2)](https://docs.neosantara.xyz/en/integrations/autogen.md)
>
> Conversational multi-agent workflows and automated code execution between agents.

> [card] [Vercel AI SDK](https://docs.neosantara.xyz/en/integrations/vercel-ai-sdk.md)
>
> Token streaming and reactive UI hooks for Next.js and TypeScript applications.

> [card] [E2B](https://docs.neosantara.xyz/en/integrations/e2b.md)
>
> Execute Python code and generate data visualizations inside isolated Firecracker sandboxes.

> [card] [Daytona](https://docs.neosantara.xyz/en/integrations/daytona.md)
>
> Isolated sandboxes with filesystem, git, and shell execution for AI agents.

> [card] [OpenAI & Anthropic SDK](https://docs.neosantara.xyz/en/gateway/overview.md)
>
> Direct integration using official Python and TypeScript SDKs with gateway base URLs.

### Coding Agents & IDEs

Supercharge software development with integrated AI assistants and coding environments:

> [card] [Cursor](https://docs.neosantara.xyz/en/agents/cursor.md)
>
> Custom model routing (Composer/Chat) and Neosantara MCP server tools in Cursor IDE.

> [card] [Claude Code](https://docs.neosantara.xyz/en/agents/claude-code.md)
>
> Anthropic's official terminal CLI coding assistant via `/anthropic` and MCP.

> [card] [OpenCode](https://docs.neosantara.xyz/en/agents/opencode.md)
>
> Open-source terminal-based AI coding agent for autonomous file edits and testing.

> [card] [Cline & Roo Code](https://docs.neosantara.xyz/en/agents/cline.md)
>
> Autonomous VS Code coding agent extension with MCP tools and terminal execution.

> [card] [Pi](https://docs.neosantara.xyz/en/agents/pi.md)
>
> Minimalist and fast terminal coding agent with non-linear tree-session branching.

> [card] [Claude Desktop](https://docs.neosantara.xyz/en/agents/claude-desktop.md)
>
> Claude desktop application connected directly to the Neosantara MCP gateway via SSE.

### Cloud & Autonomous Agents (Hosted Dashboard)

Deploy autonomous agents directly from the Neosantara dashboard without managing server infrastructure:

> [card] [Hosted OpenClaw](https://docs.neosantara.xyz/en/agents/openclaw.md)
>
> Multi-channel Telegram agent with tool execution, custom skills, and E2B scale-to-zero microVMs.

> [card] [Hosted Hermes](https://docs.neosantara.xyz/en/agents/hermes.md)
>
> Nous Research reasoning agent with multi-turn memory and automated voice message STT transcription.

## Use These Docs with Coding Agents

Add Neosantara documentation directly to your AI coding agents (such as Claude Code, Cursor, Windsurf, or OpenCode) using a single command:

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

This installs the official Neosantara documentation skill automatically, allowing your coding agent to retrieve API endpoints, model catalogs, and integration patterns on the fly.

You can also access programmatic machine resources directly:

| Resource | URL | Purpose |
| :- | :- | :- |
| **LLMs.txt** | [`https://docs.neosantara.xyz/llms.txt`](https://docs.neosantara.xyz/llms.txt) | Comprehensive LLM-optimized documentation index. |
| **Skill Definition** | [`https://docs.neosantara.xyz/skill.md`](https://docs.neosantara.xyz/skill.md) | Agent skill instructions for CLI tools. |
| **Docs MCP Server** | [`https://docs.neosantara.xyz/mcp`](https://docs.neosantara.xyz/mcp) | Live MCP server endpoint for real-time doc search. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.