Wavefunction

Use Wavefunction with LM Studio

LM Studio, and any other server with an OpenAI-compatible API, can run the agent’s models on your own computer.

Updated November 26, 2026

Before you start

  1. In LM Studio, download a model that supports tool calling.
  2. Start LM Studio’s local server. By default it listens at http://127.0.0.1:1234.
  3. Note the model’s ID as LM Studio shows it.

Connect it

  1. Open Settings › Models › Add provider and choose OpenAI & compatible servers.
  2. Set Provider to Compatible server.
  3. Enter the model’s ID in Model ID.
  4. Enter http://127.0.0.1:1234/v1 in API base URL. The field starts empty.
  5. Leave API key empty for a local server.
  6. Click Enable model.

Wavefunction doesn’t read the server’s model list: add each model by its ID. The model you enable last becomes your default.

Other servers

Any server with an OpenAI-compatible API connects the same way, such as llama.cpp’s server or vLLM. Use its base URL, ending in /v1, and its API key if it needs one.

Good to know

  • Models must support tool calling to make code changes.
  • Web search needs a Tavily API key under Settings › Models › Web search.
  • Using Ollama instead? See Ollama.

Your download has started

  1. Open the Wavefunction DMG in your Downloads.
  2. Drag Wavefunction to Applications.
  3. Open it and connect a model.

Stars help other developers find Wavefunction.