Briglia CLI
GitHub
Reference

Providers & models

Briglia's main agent runs on the provider you choose; a few side services (voice, OCR, search, page reading) have their own keys. You can configure several main providers and switch with /provider at any time.

Main agent providers

OpenCode Go (recommended)

One subscription key, generous limits, a curated catalogue where every model has been tested with Briglia's tools and reasoning replay. Endpoint https://opencode.ai/zen/go/v1.

Model idNameNotes
glm-5.3-flashGLM 5.3 Flashvision · default
kimi-k2.6Kimi K2.6vision
glm-5.3GLM 5.3text-only
deepseek-v4-proDeepSeek V4 Protext-only
deepseek-v4-flashDeepSeek V4 Flash (requires China opt-in)text-only
deepseek-v4-flash-vision-expDeepSeek V4 Flash Vision (experimental)vision
gpt-5.6-lunaGPT 5.6 Lunatext-only
kimi-k2.7-codeKimi K2.7 Codevision
kimi-k3Kimi K3vision
minimax-m3MiniMax M3vision
qwen3.8-maxQwen 3.8 Maxvision

OpenRouter

Pay-per-token access to almost any model; enter any model id (the wizard suggests google/gemini-3-flash-preview). The wizard asks whether the model can see images.

Custom OpenAI-compatible endpoint

Any server speaking the OpenAI chat-completions API: base URL, model id and API key. Reasoning models are supported, with per-provider replay of their reasoning across turns.

Local server

vLLM, Ollama, LM Studio and friends on your own hardware — no key, default http://localhost:1234/v1. Prefix caching on the server helps a lot with Briglia's long contexts.

Text-only vs vision

With a text-only main model, images and scanned PDFs go through an OCR preprocessor first (on your OpenAI key), so they still work — a vision model just sees them directly. PDFs are rendered page by page at a bounded resolution and cached by content hash, so a 20-page document doesn't become tens of megabytes on every request.

Side services

ServiceUsed forWhere to get it
OpenAIweb-research planning and writing, voice transcription (gpt-transcribe), image generation (gpt-image-2), OCR of scanned documentsplatform.openai.com
SerperGoogle search resultsserper.dev (2,500 free queries)
Jina Readerclean text of web pagesjina.ai/reader (free tier)

The web-research backend (which model plans and synthesises research) can be OpenAI, OpenRouter or OpenCode — /websearch shows or switches it.

Subagent lanes

Briglia can delegate to subagents (exploration, planning, browsing, watcher triage). Each runs on a lane: inherit (the main model, default), cheap-vision or cheap-text. Configure the two cheap lanes once with /subagentmodels per provider; unset lanes fail loudly rather than silently falling back. /subagents off removes delegation entirely.

Costs

Briglia has no subscription of its own — you pay your providers. It is built to be frugal: exact token accounting from provider telemetry, prompt-cache-friendly request shapes, compaction instead of blind truncation, and optional per-turn, daily and monthly spend limits you set from chat (/spend) — none are on by default.