Sign inGet started

Docs

Quick start, editor setup and FAQ for the OpenAI-compatible API.

Cursor

Overview

AI-native code editor with Chat, Cmd+K edits and Agent mode. It lets you override the OpenAI base URL and use your own key, so LIBRA works for chat and edits.

You need a LIBRA API key (libra_sk_...) from the console (API keys > Create key), and the base URL https://<your-host>/v1.

Installation

  1. Install from cursor.com and open a project.
  2. Gear icon (top right) or Ctrl/Cmd+,, then Models.

Configure LIBRA

On the Models page:

OpenAI API Key           : libra_sk_...
Override OpenAI Base URL : https://<your-host>/v1
+ Add Model              : libra/smart   (then enable it)

Press Enter after the base URL to save. Turn off the official OpenAI models to avoid mixing quotas.

Quick start (up and running in 5 minutes)

  1. Cursor > Settings > Models.
  2. Paste the LIBRA key, set the override base URL, press Enter.
  3. + Add Model, enter libra/smart and switch it on.
  4. Ctrl/Cmd+L opens Chat: pick libra/smart, send "Siapa kamu?".

FAQ

  • 404 / timeout? The base URL is missing /v1 or has an extra /chat/completions. Use exactly https://<your-host>/v1.
  • Model not found? Model ids are case-sensitive and must match the console Models page, e.g. libra/smart or asix-deepseek-v4/deepseek-v4-flash.
  • 401? The key is wrong, disabled or expired. 402? Your organization balance is Rp 0; see Credits.
  • 403 model_not_allowed? The key's guardrails block that model. Ask your workspace Admin or pick another model.