Integrations / Crush
C

Crush

Charm · Verified setup guide

A polished terminal coding agent with native custom-provider support.

Setup steps

  1. 1
    Installbrew install charmbracelet/tap/crush (or npm i -g @charmland/crush).
  2. 2
    Add the providerPut the two lines below in ~/.config/crush/crushrc.
  3. 3
    Run crushStart crush; the LuxeChain model appears in the model picker (ctrl+l).
  4. 4
    VerifyPick it and send a prompt.

Configuration example

bash
# ~/.config/crush/crushrc
provider add luxechain --type completions \
  --base-url "https://api.luxechain.si/v1" \
  --api-key "lxc_live_YOUR_KEY"

model add luxechain/YOUR_MODEL_ID --name "LuxeChain model" --context-window 1000000

# then run: crush   (pick the model with ctrl+l)

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

Troubleshooting

Use --type completions for OpenAI-compatible endpoints (--type responses is only for proxying OpenAI itself).

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.