Integrations / Plandex
P

Plandex

Plandex · Verified setup guide

A terminal coding agent built for large tasks. Custom providers are a self-hosted feature.

Setup steps

  1. 1
    Self-host PlandexCustom providers do not work on Plandex Cloud.
  2. 2
    Edit custom modelsRun plandex models custom and add the provider + model below.
  3. 3
    Export the keyExport the env var you named in apiKeyEnvVar.
  4. 4
    Select itAdd the model to a model pack and pick it.

Configuration example

json
// plandex models custom  →  custom-models.json
{
  "providers": [
    { "name": "luxechain", "baseUrl": "https://api.luxechain.si/v1", "apiKeyEnvVar": "LUXECHAIN_API_KEY" }
  ],
  "models": [
    {
      "modelId": "luxechain-model", "publisher": "LuxeChain", "description": "LuxeChain model",
      "defaultMaxConvoTokens": 50000, "maxTokens": 128000,
      "maxOutputTokens": 8192, "reservedOutputTokens": 8192,
      "preferredOutputFormat": "xml",
      "providers": [ { "provider": "custom", "customProvider": "luxechain", "modelName": "YOUR_MODEL_ID" } ]
    }
  ]
}

# export LUXECHAIN_API_KEY="lxc_live_YOUR_KEY"
# then add the model to a model pack and select it

Replace YOUR_MODEL_ID with any model from the catalogue. Never paste a real API key into a shared document.

Troubleshooting

Custom providers are self-hosted only (not Plandex Cloud). Defining a provider is not enough: you must also define a model and reference it from a model pack.

If the tool rejects the endpoint, confirm the base URL exactly matches the value on the right, and that the key is active in your account.