# Neosantara Docs > Neosantara Documentations, Resources Learning for building AI Agents in Indonesia ## Gateway & Kapabilitas ### Memulai - [Dokumentasi Neosantara](https://docs.neosantara.xyz/id/index.md): AI Gateway Indonesia dan infrastruktur agen terpadu untuk developer. - [Panduan Cepat](https://docs.neosantara.xyz/id/quickstart.md): Kirim panggilan API pertama Anda ke Neosantara dalam dua menit. ### Pengantar & Model - [Ringkasan Gateway](https://docs.neosantara.xyz/id/gateway/overview.md): Arsitektur routing multi-provider, autentikasi, dan endpoint terpadu Neosantara. - [Katalog Model](https://docs.neosantara.xyz/id/gateway/models.md): Daftar model aktif, batas jendela konteks, kapabilitas, dan harga token dalam Rupiah. ### Protokol Kompatibilitas #### OpenAI Chat Completions - [Chat Completions](https://docs.neosantara.xyz/id/gateway/chat-completions.md): Kirim permintaan percakapan dengan standar OpenAI SDK dan cURL. - [Streaming Respons](https://docs.neosantara.xyz/id/gateway/chat-completions/streaming.md): Aliran token inkremental real-time menggunakan protokol Server-Sent Events (SSE). - [Function Calling (Tools)](https://docs.neosantara.xyz/id/gateway/chat-completions/tool-calling.md): Hubungkan model AI ke fungsi, database, dan API eksternal menggunakan OpenAI Tool Calling. - [Structured Outputs](https://docs.neosantara.xyz/id/gateway/chat-completions/structured-outputs.md): Paksa model AI menghasilkan respons JSON yang 100% patuh terhadap JSON Schema. - [Penalaran (Reasoning)](https://docs.neosantara.xyz/id/gateway/chat-completions/reasoning.md): Akses jejak pemikiran model reasoning seperti DeepSeek R1 melalui field reasoning_content. - [Vision Multimodal](https://docs.neosantara.xyz/id/gateway/chat-completions/vision.md): Kirim gambar melalui URL atau Base64 ke model multimodal pada endpoint Chat Completions. #### Anthropic Messages - [Anthropic Messages API](https://docs.neosantara.xyz/id/gateway/anthropic-messages.md): Kirim permintaan pesan Claude menggunakan SDK resmi Anthropic dan cURL. - [Streaming Respons Anthropic](https://docs.neosantara.xyz/id/gateway/anthropic-messages/streaming.md): Aliran event real-time Server-Sent Events (SSE) menggunakan Anthropic Messages API. - [Tool Use Anthropic](https://docs.neosantara.xyz/id/gateway/anthropic-messages/tool-use.md): Panggil tools dan fungsi eksternal menggunakan spesifikasi Anthropic input_schema. - [Extended Thinking Anthropic](https://docs.neosantara.xyz/id/gateway/anthropic-messages/thinking.md): Konfigurasikan anggaran token penalaran dan tangkap blok thinking pada Claude. - [Vision Anthropic](https://docs.neosantara.xyz/id/gateway/anthropic-messages/vision.md): Kirim gambar multimodal ke model Claude menggunakan blok source Base64 dan URL. #### Responses API - [OpenResponses API](https://docs.neosantara.xyz/id/gateway/responses-api.md): Eksekusi komputasi AI dengan OpenAI SDK, ID respons persisten, dan pelacakan state. - [Template Prompt](https://docs.neosantara.xyz/id/gateway/responses-api/prompt-templates.md): Kelola template prompt terpusat dengan variabel dinamis pada Responses API. - [Tugas Latar Belakang & Webhook](https://docs.neosantara.xyz/id/gateway/responses-api/background-jobs.md): Jalankan inferensi AI asinkron dengan polling status dan webhook menggunakan OpenAI SDK. - [Percakapan & State](https://docs.neosantara.xyz/id/gateway/responses-api/conversations.md): Simpan riwayat percakapan otomatis di sisi server menggunakan parameter previous_response_id. - [Server Tools & Integrasi MCP](https://docs.neosantara.xyz/id/gateway/responses-api/tools.md): Eksekusi tools server-side dan integrasi remote MCP server menggunakan OpenAI SDK. - [Penalaran Responses API](https://docs.neosantara.xyz/id/gateway/responses-api/reasoning.md): Kontrol kedalaman pemikiran model menggunakan OpenAI SDK dan parameter reasoning effort. ### Modalitas Khusus - [Generasi Gambar](https://docs.neosantara.xyz/id/gateway/capabilities/image-generation.md): Sintesis gambar berkualitas tinggi dari deskripsi teks via /v1/images/generations. - [Generasi Video](https://docs.neosantara.xyz/id/gateway/capabilities/video-generation.md): Buat video generatif berbasis AI secara asinkron melalui endpoint /v1/videos. - [Audio & Transkripsi](https://docs.neosantara.xyz/id/gateway/capabilities/audio.md): Transkripsi file suara menjadi teks menggunakan model Whisper-1 dan Whisper Large. - [OCR Dokumen](https://docs.neosantara.xyz/id/gateway/capabilities/ocr.md): Ekstraksi teks, tabel, dan formula dari gambar atau pindaian dokumen via /v1/ocr. - [Embeddings](https://docs.neosantara.xyz/id/gateway/capabilities/embeddings.md): Hasilkan representasi vektor teks untuk pencarian semantik dan Retrieval-Augmented Generation. ### Operasional Gateway - [Manajemen File](https://docs.neosantara.xyz/id/gateway/operations/files.md): Upload, kelola, dan download file untuk alur kerja batch dan multimodal via /v1/files. - [Batch Processing](https://docs.neosantara.xyz/id/gateway/operations/batches.md): Eksekusi ribuan permintaan asinkron secara massal dengan potongan harga token 50%. ## Agen & MCP ### Model Context Protocol - [Arsitektur MCP & Agen](https://docs.neosantara.xyz/id/agents/overview.md): Pahami perbedaan MCP Gateway (Server) dan MCP Connector (Client) di Neosantara. - [MCP Connector](https://docs.neosantara.xyz/id/agents/mcp-connector.md): Hubungkan model AI Neosantara ke server MCP eksternal Anda secara otomatis. - [API Key MCP](https://docs.neosantara.xyz/id/agents/mcp-keys.md): Buat dan kelola API key khusus untuk integrasi Model Context Protocol. ### Asisten Koding & IDE - [Integrasi Cursor](https://docs.neosantara.xyz/id/agents/cursor.md): Konfigurasikan IDE Cursor untuk model koding kustom dan tools MCP Neosantara. - [Integrasi Claude Code](https://docs.neosantara.xyz/id/agents/claude-code.md): Konfigurasikan Claude Code CLI menggunakan endpoint Anthropic dan MCP Neosantara. - [Integrasi OpenCode](https://docs.neosantara.xyz/id/agents/opencode.md): Hubungkan terminal coding agent OpenCode ke gateway API Neosantara. - [Integrasi Cline & Roo Code](https://docs.neosantara.xyz/id/agents/cline.md): Konfigurasikan ekstensi agen koding Cline dan Roo Code di VS Code menggunakan Neosantara. - [Integrasi Pi Coding Agent](https://docs.neosantara.xyz/id/agents/pi.md): Asisten koding terminal minimalis dan cepat dengan dukungan tree-session dan model Neosantara. - [Integrasi Claude Desktop](https://docs.neosantara.xyz/id/agents/claude-desktop.md): Hubungkan aplikasi Claude Desktop ke server Model Context Protocol Neosantara. ### Agen Otonom & Cloud - [Agen Cloud (Hosted)](https://docs.neosantara.xyz/id/agents/cloud-agents.md): Deploy dan jalankan agen AI otonom langsung dari dashboard Neosantara dengan sandbox E2B dan integrasi Telegram. - [Integrasi OpenClaw](https://docs.neosantara.xyz/id/agents/openclaw.md): Deploy OpenClaw sebagai agen cloud di dashboard Neosantara atau jalankan di terminal lokal via plugin resmi. - [Integrasi Hermes Agent](https://docs.neosantara.xyz/id/agents/hermes.md): Jalankan Hermes Agent dari Nous Research secara hosted di dashboard atau lokal via CLI dan web UI. ## Coding Plan ### Paket Coding Plan - [Ringkasan Coding Plan](https://docs.neosantara.xyz/id/coding-plan/overview.md): Paket langganan flat-fee khusus AI coding agent berbasis kuota prompt tanpa overage. - [Mulai Cepat Coding Plan](https://docs.neosantara.xyz/id/coding-plan/quick-start.md): Panduan setup cepat Neosantara Coding Plan, pembuatan coding key, dan integrasi dengan agent. - [Kuota & Batasan Coding Plan](https://docs.neosantara.xyz/id/coding-plan/quota-and-limits.md): Mekanisme perhitungan kuota prompt, jendela rolling 5 jam dan mingguan, batas konkurensi, dan multiplier beban. - [Integrasi Tool Coding](https://docs.neosantara.xyz/id/coding-plan/tool-integration.md): Panduan konfigurasi IDE dan coding agent untuk Neosantara Coding Plan pada Claude Code, Cline, Cursor, dan OpenCode. - [Model Routes](https://docs.neosantara.xyz/id/coding-plan/model-routes.md): Pengaturan alias model virtual dengan rantai fallback otomatis untuk Coding Plan. - [Kebijakan Penggunaan Coding Plan](https://docs.neosantara.xyz/id/coding-plan/usage-policy.md): Aturan dan pedoman penggunaan wajar (fair-use) untuk pelanggan Neosantara Coding Plan. ### Jelma CLI Runner - [Ringkasan Jelma CLI](https://docs.neosantara.xyz/id/guides/jelma/overview.md): CLI runner resmi Neosantara untuk menjalankan AI coding agent di lingkungan lokal atau cloud server secara instan. - [Panduan Penggunaan Jelma](https://docs.neosantara.xyz/id/guides/jelma/usage.md): Panduan lengkap perintah Jelma CLI: instalasi, konfigurasi kredensial, flag non-interaktif, dan manajemen cloud instance. ## Integrasi ### Framework - [Ringkasan Integrasi](https://docs.neosantara.xyz/id/integrations/overview.md): Pilihan integrasi Neosantara: framework native, library orkestrasi, asisten koding AI, dan agen cloud. - [LiteLLM](https://docs.neosantara.xyz/id/integrations/litellm.md): Orkestrasi model AI, proxy load balancing, dan fallback routing dengan LiteLLM. - [Agno](https://docs.neosantara.xyz/id/integrations/agno.md): Bangun agen otonom multimodal, sistem multi-agent, dan eksekusi tools dengan Agno. - [Any-LLM](https://docs.neosantara.xyz/id/integrations/any-llm.md): Antarmuka Python terstandarisasi untuk inferensi multi-provider, streaming, dan portabilitas model. - [Integrasi LangChain](https://docs.neosantara.xyz/id/integrations/langchain.md): Gunakan Neosantara dengan LangChain Python dan LangChain.js. - [DSPy](https://docs.neosantara.xyz/id/integrations/dspy.md): Program dan optimalkan prompt model bahasa secara algoritmik menggunakan Neosantara dan DSPy. - [CrewAI](https://docs.neosantara.xyz/id/integrations/crewai.md): Bangun dan koordinasikan multi-agent otonom menggunakan Neosantara dan CrewAI. - [Google ADK](https://docs.neosantara.xyz/id/integrations/google-adk.md): Bangun dan koordinasikan agen AI otonom menggunakan Google Agent Development Kit (ADK) dan Neosantara via LiteLLM. - [OpenAI Agents SDK](https://docs.neosantara.xyz/id/integrations/openai-agents.md): Bangun sistem multi-agent otonom dengan OpenAI Agents SDK dan Neosantara via LiteLLM atau client langsung. - [LlamaIndex](https://docs.neosantara.xyz/id/integrations/llama-index.md): Bangun pipeline RAG dan indeks dokumen dengan Neosantara dan LlamaIndex. - [Pydantic AI](https://docs.neosantara.xyz/id/integrations/pydantic-ai.md): Bangun agent berbasis tipe data dan structured output menggunakan Neosantara dan Pydantic AI. - [AutoGen (AG2)](https://docs.neosantara.xyz/id/integrations/autogen.md): Bangun sistem percakapan multi-agent dan eksekusi kode otonom menggunakan Neosantara dan AG2. - [Vercel AI SDK](https://docs.neosantara.xyz/id/integrations/vercel-ai-sdk.md): Hubungkan model Neosantara ke aplikasi Next.js, React, dan TypeScript menggunakan Vercel AI SDK. #### E2B - [E2B Code Interpreter](https://docs.neosantara.xyz/id/integrations/e2b.md): Jalankan kode Python dalam sandbox terisolasi E2B menggunakan Agno, LiteLLM, dan OpenAI atau Anthropic SDK. - [E2B Sandbox](https://docs.neosantara.xyz/id/integrations/e2b-sandbox.md): Buat dan kelola sandbox E2B untuk eksekusi shell, operasi file, dan proses multi-step. #### Daytona - [Daytona Code Interpreter](https://docs.neosantara.xyz/id/integrations/daytona-code-interpreter.md): Eksekusi kode Python stateful dengan context isolation di Daytona menggunakan Agno, OpenAI, atau Anthropic SDK. - [Daytona Sandbox](https://docs.neosantara.xyz/id/integrations/daytona.md): Jalankan shell, kelola file, dan operasi git di sandbox Daytona menggunakan Agno, OpenAI, atau Anthropic SDK. ### Alat & Widget - [Widget Chat Pelanggan](https://docs.neosantara.xyz/id/integrations/chat-widget.md): Pasang widget chat AI interaktif pada website Anda dengan dukungan kustomisasi visual dan knowledge base RAG. ## Referensi API ### Pengantar - [Referensi API](https://docs.neosantara.xyz/id/api-reference/introduction.md): Spesifikasi endpoint OpenAPI interaktif untuk Neosantara AI Gateway dan ekosistem MCP. ### Chat & Responses - [Create chat completion](https://docs.neosantara.xyz/api-reference/chat/create-chat-completion.md): Creates a model response for the given chat conversation. Supports sseStreaming and tool calling. - [Generate a response](https://docs.neosantara.xyz/api-reference/responses/generate-a-response.md): Create a response using the specified model and instructions. ### Anthropic Messages - [Create a message](https://docs.neosantara.xyz/api-reference/anthropic/create-a-message.md): Create a message using the Anthropic-compatible API. Supports tool use and sseStreaming. - [Count tokens](https://docs.neosantara.xyz/api-reference/anthropic/count-tokens.md): Count the number of tokens in a message using the Anthropic-compatible API. - [List models](https://docs.neosantara.xyz/api-reference/anthropic/list-models.md): Get a list of models available via the Anthropic-compatible API. - [Retrieve model](https://docs.neosantara.xyz/api-reference/anthropic/retrieve-model.md): Get information about a specific model via the Anthropic-compatible API. ### Katalog Model - [List models](https://docs.neosantara.xyz/api-reference/models/list-models.md): Lists the currently available models, and provides information about each one such as the owner and availability. - [Retrieve model](https://docs.neosantara.xyz/api-reference/models/retrieve-model.md): Retrieves a model instance, providing basic information about the model. ### Multimodal & Audio - [Create image](https://docs.neosantara.xyz/api-reference/images/create-image.md): Creates an image given a prompt. - [Transcription](https://docs.neosantara.xyz/api-reference/audio/transcription.md): Transcribes audio into the input language. - [OCR Extraction](https://docs.neosantara.xyz/api-reference/vision/ocr-extraction.md): Extract text from images using advanced OCR models. - [Create embeddings](https://docs.neosantara.xyz/api-reference/embeddings/create-embeddings.md): Creates an embedding vector representing the input text. - [Create video job](https://docs.neosantara.xyz/api-reference/videos/create-video-job.md): Create a video generation job compatible with OpenAI-style Sora workflows. - [Retrieve video job](https://docs.neosantara.xyz/api-reference/videos/retrieve-video-job.md): Get the current status and metadata for a previously created video job. - [Download generated video](https://docs.neosantara.xyz/api-reference/videos/download-generated-video.md): Redirect to the generated video content once the video job is completed. ### Berkas & Batches - [Upload file](https://docs.neosantara.xyz/api-reference/files/upload-file.md): Upload a file that can be used across various endpoints. - [List files](https://docs.neosantara.xyz/api-reference/files/list-files.md): Returns a list of files that belong to the user. - [Retrieve file](https://docs.neosantara.xyz/api-reference/files/retrieve-file.md): Returns information about a specific file. - [Delete file](https://docs.neosantara.xyz/api-reference/files/delete-file.md): Deletes the specified file. - [Retrieve file content](https://docs.neosantara.xyz/api-reference/files/retrieve-file-content.md): Returns the contents of the specified file. - [Create batch](https://docs.neosantara.xyz/api-reference/batches/create-batch.md): Creates a new batch job for asynchronous processing. - [List batches](https://docs.neosantara.xyz/api-reference/batches/list-batches.md): Returns a list of batch jobs belonging to the user. - [Retrieve batch](https://docs.neosantara.xyz/api-reference/batches/retrieve-batch.md): Returns information about a specific batch job. - [Cancel batch](https://docs.neosantara.xyz/api-reference/batches/cancel-batch.md): Cancels an in-progress batch job. ### Model Context Protocol (MCP) - [Run web audit for MCP](https://docs.neosantara.xyz/api-reference/mcp/run-web-audit-for-mcp.md): Runs a web audit through local E2B infrastructure, or forwards to configured upstream override. - [Summarize audit report for MCP](https://docs.neosantara.xyz/api-reference/mcp/summarize-audit-report-for-mcp.md): Generates concise findings from a structured audit object using MCP-allowlisted models. ### Moderasi Konten - [Create moderation](https://docs.neosantara.xyz/api-reference/system/create-moderation.md): Classify if text is potentially harmful. ## Panduan ### Panduan - [Panduan](https://docs.neosantara.xyz/id/guides/overview.md): Panduan operasional, keamanan, optimasi prompt, RLMs, dan pipeline RAG dengan Neosantara. ### Operasional & Keamanan - [Batas Rate & Throughput](https://docs.neosantara.xyz/id/guides/rate-limits.md): Kebijakan pembatasan rate RPM, ITPM, dan OTPM di setiap tier langganan Neosantara. - [Data Guardrails & UU PDP](https://docs.neosantara.xyz/id/guides/guardrails.md): Redaksi otomatis data pribadi (PII) dan kepatuhan terhadap UU Perlindungan Data Pribadi No. 27/2022. - [Integrasi Webhook](https://docs.neosantara.xyz/id/guides/webhooks.md): Konfigurasi notifikasi event real-time untuk background responses, batch processing, dan video generation melalui dashboard. ### Recursive Language Models (RLM) - [Ringkasan Recursive Language Models (RLM)](https://docs.neosantara.xyz/id/guides/rlms-overview.md): Arsitektur Recursive Language Models (RLM) pada DSPy untuk pemrosesan konteks panjang tanpa context rot. - [Recursive Language Models (RLMs)](https://docs.neosantara.xyz/id/guides/rlms.md): Pemrosesan konteks panjang menggunakan sandbox Python REPL, orkestrasi sub-agent rekursif, dan streaming eksekusi real-time. - [Tools Kustom & Sandbox Cloud pada DSPy RLM](https://docs.neosantara.xyz/id/guides/rlms-sandboxes-tools.md): Integrasi function tools eksternal dan runtime sandbox cloud seperti E2B atau Daytona pada DSPy RLM. ### Teknik AI Lanjutan - [Prompt Caching & Optimasi Biaya](https://docs.neosantara.xyz/id/guides/prompt-caching.md): Strategi pemotongan biaya token hingga 90% menggunakan automatic prefix caching dan explicit cache control di gateway Neosantara. - [RAG dengan ChromaDB](https://docs.neosantara.xyz/id/guides/rag-chromadb.md): Bangun pipeline Retrieval-Augmented Generation (RAG) lokal menggunakan Neosantara Embeddings dan ChromaDB. - [RAG dengan Cloudflare Vectorize](https://docs.neosantara.xyz/id/guides/rag-cloudflare-vectorize.md): Bangun pipeline Retrieval-Augmented Generation (RAG) serverless berskala global menggunakan Neosantara dan Cloudflare Vectorize. ## FAQ ### FAQ - [FAQ & Tanya Jawab](https://docs.neosantara.xyz/id/guides/faq.md): Jawaban pertanyaan umum seputar top-up saldo, metode pembayaran, mata uang billing, dan operasional gateway. ## OpenAPI Specs - [openapi](/api-reference/openapi.json) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [English (105 pages)](https://docs.neosantara.xyz/_llms/en.md): Documentation for English.