Start with LMStudio

FYI LM Studio supports both “chat completions” and “responses” protocols, so use whichever suits your needs best.

If you have LMStudio running, create a file enkaidu.yaml and copy in the following configuration, then run enkaidu from the command line in the same folder as the config file.

session:
  model: qwen3                       # <---
auto_load:
  toolsets:
    - DateAndTime
    - FileManagement
    - TextEditing
llms:
  my_lmstudio:
    provider: openai
    env:
      OPENAI_ENDPOINT: 'http://localhost:1234'
      OPENAI_API_KEY: n/a
    models:
      - name: qwen3                 # <---
        model: qwen/qwen3-4b        # <---

If you’re using a different local model, change the values pointed to by the # <--- comment

Responses protocol Early Access in 0.9.17

An OpenAI-compatible server like LM Studio can also be driven through the OpenAI “Responses” protocol by using the openai:responses provider variant instead of openai:

llms:
  my_lmstudio:
    provider: openai:responses
    #
    # ... the rest is same as above
    #

The plain openai provider keeps using the “Chat Completions” protocol. See LLM Providers for details.