Setup
Start Ollama v0.35.0 or later, then download Nimble:setup.sh
Ask from the terminal
ollama run answers questions about a state: text or JSON, piped in or given after the model name. Ask each question with --ask. It is answered yes or no, unless you follow it with labels to choose from (--choice) or levels to score it on (--level).
examples.sh
ollama run nimble opens an interactive prompt. Your first message is the state, and after that each line is a yes/no question about it, so you can paste several at once; /clear starts over. With --ask, each message is a new state to answer those questions about.
Choose a label
Put your input instate and describe the possible answers in criteria:
choice.sh
Judge an image
Clef and Clef Flash read images alongside the state. Send base64-encoded PNG, JPEG, or WebP files inimages; they are shared by all questions, in request order. URLs and data URLs are not accepted. state is still required — it holds the context for the decision.
image.sh
Use a cloud model
Clef also runs in Ollama’s cloud with a paid plan or purchased usage credits. Add:cloud to the model name to send the request through a local Ollama server, v0.40.5 or later, signed in to ollama.com:
cloud.sh
cloud-direct.sh
_, ., or -, and up to 4 images of at most 4 MiB and 16 megapixels each, 8 MiB in total. Input is limited to the model’s 65,536-token context window; longer input is rejected. Usage is billed per input token at the listed price.
Question types
For the urgency criteria below:
choice and score, confidence measures how strongly the model favors one answer over the others, from 0 to 1. A higher value does not guarantee the answer is correct.
Ask multiple questions
Combine question types in one request. Here, both questions use the same ticket:multiple.sh
0.9989 and an urgency score of 0.8308 on the 0–2 scale (rounded). Results can vary with the model and configuration.
See the API reference for request fields, limits, errors, and token usage.
