Local model mode removes the cloud LLM dependency for CLI orchestration. It does not make every tool offline: tools that read or write Operalta, integrations, or web resources still call their respective APIs.

How it fits
What local model mode changes
The reasoning loop can be local while the tools it chooses still keep their own network and company boundaries.
- Choose
Model server
Point the CLI at Ollama, LM Studio, vLLM, or another compatible endpoint.
- Local
- OpenAI-compatible
- Endpoint
- drivesReason
Local loop
The model selects tools, prepares arguments, and reads their results locally.
- Prompt
- Tool call
- Result
- may callReach
Tool boundary
Operalta, integrations, and web tools still call the services they belong to.
- API
- Drive
- Web
- still governsControl
Approval
The same command approval and company scope rules remain in force.
- Plan
- Consent
- Company
What becomes local
- The model reasoning loop can run against an OpenAI-compatible endpoint on your machine.
- The model can decide which CLI tools to call, generate tool arguments, read tool results, and continue the turn without calling Anthropic.
- Local-only tools can stay fully local when they only touch your machine: file reads, file edits, grep/glob search, and shell commands, subject to your CLI approval mode.
What is not offline
- Operalta business tools still call Operalta APIs when they need company context, initiatives, pipeline records, metrics, artifacts, rooms, or account data.
- Integration-backed tools still call their providers. Google Drive, Composio, GitHub, web search, Stripe, and similar services are not made local by switching the model.
- MCP runtime tools supplied by the host environment are separate from the CLI model provider. Changing the CLI model does not replace host-provided memory, filesystem, connector, or approval behavior.
- The useful mental model is: local brain, tool-specific data rails. The brain can be local; the data rail may still be cloud or networked.
Configure a local model
OPERALTA_LLM_PROVIDER=openai-compatibleselects the OpenAI-compatible provider.OPERALTA_LLM_BASE_URLpoints to the local server. Common defaults are Ollamahttp://localhost:11434/v1, LM Studiohttp://localhost:1234/v1, and vLLMhttp://localhost:8000/v1.OPERALTA_LLM_MODELmust match the model name exposed by your local server.OPERALTA_LLM_API_KEYis optional for local servers that do not require authentication.
OPERALTA_LLM_PROVIDER=openai-compatible \
OPERALTA_LLM_BASE_URL=http://localhost:11434/v1 \
OPERALTA_LLM_MODEL=qwen2.5:7b \
operaltaExamples
Read README.md and suggest a patchcan be fully local if the CLI only reads or edits local files.List my initiativesuses the local model for orchestration, then calls an Operalta API tool with yourOPERALTA_API_KEYto fetch the data.Sync this folder to a roomis not a model-tool workflow today; use explicit Transporter or room upload operations for tenant-bound persistence.
When to use it
- Use local model mode when you want to avoid cloud LLM calls for terminal reasoning, codebase exploration, or local document work.
- Use direct provider keys such as Anthropic, Mistral, or Bedrock when you need stronger tool-call reliability, multimodal support, or larger context behavior than your local model provides.
- For sensitive work, combine local model mode with restrictive CLI approval modes and path boundaries. Local model mode is not a substitute for reviewing tool permissions.