Integrations / Open Interpreter
O

Open Interpreter

Open Interpreter · Verified setup guide

Runs code on your machine from natural language. Add a custom provider in its config.

Setup steps

  1. 1
    Installpip install open-interpreter
  2. 2
    Add the providerPut the model_providers block in its config.toml.
  3. 3
    Export the keyExport the env var you named in env_key.
  4. 4
    Runinterpreter --chat-completions

Configuration example

toml
# Open Interpreter config.toml
[model_providers.luxechain]
name = "LuxeChain"
base_url = "https://api.luxechain.si/v1"
env_key = "LUXECHAIN_API_KEY"
wire_api = "chat"          # a plain OpenAI-compatible gateway needs "chat"

# export LUXECHAIN_API_KEY="lxc_live_YOUR_KEY"
# then run:  interpreter --chat-completions

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

Troubleshooting

For a plain OpenAI-compatible gateway set wire_api = "chat"; the built-in openai provider defaults to the Responses API and will hit the wrong endpoint.

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.