Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content
Minima CLI

Minima CLI

minima is a terminal coding agent. It reads and edits your code, runs commands, and answers questions about a repo — like any agentic CLI — but every prompt is first sent to the Minima recommender to pick the cheapest model that will actually do the job. It then runs that model itself (calling the provider API directly), grades the outcome, and reports feedback so the next pick is sharper.

recommend  ──▶  run the model yourself  ──▶  judge quality  ──▶  feedback
ℹ️Note

The harness talks to the Minima recommender service over the same /v1/* HTTP contract as the SDK. It never proxies LLM calls — it calls OpenAI / Anthropic / Google / etc. directly with your provider keys, so your prompts and code never pass through Minima.

What you get

How it fits together

  • Interactive TUI — the default. A conversation view, status bar (model, cost, context), model picker, and slash commands. See Interactive TUI.
  • Non-interactiveminima -p "…" prints one answer; minima --mode json "…" streams machine-readable events for scripting. See CLI usage.
  • The recommender — the Python FastAPI service that ranks models. The harness needs only a MUBIT_API_KEY (routing + memory auth) plus one provider key to call models. See Configuration.

Next steps