Start with Ollama
FYI Ollama supports both “chat completions” and “responses” protocols, so use whichever suits your needs best.
If you have Ollama running, create a file enkaidu.yaml and copy in the following configuration, then run enkaidu from the commandline in the same folder as the config file.
session:
model: qwen3 # <---
auto_load:
toolsets:
- DateAndTime
- FileManagement
- TextEditing
llms:
my_ollama:
provider: ollama
models:
- name: qwen3 # <---
model: qwen3:8b # <---If you’re using a different local model, change the values pointed to by the # <--- comment.
Cloud-hosted Ollama models New in 0.9.12
Enkaidu also supports Ollama cloud-hosted models. To use one, set your API key in the OLLAMA_API_KEY environment variable before starting Enkaidu:
export OLLAMA_API_KEY=your-api-key-hereThen reference the cloud model by name in your enkaidu.yaml as shown above. On Windows use set OLLAMA_API_KEY=your-api-key-here (or setx for persistence).
Responses protocol Early Access in 0.9.17
You can also drive Ollama through the OpenAI “Responses” protocol by using the ollama:responses provider variant instead of ollama:
llms:
my_ollama:
provider: ollama:responses
#
# ... the rest same as above
#The plain ollama provider keeps using the “Chat Completions” protocol. See LLM Providers for details.