# Ollama Client

> Privacy-first browser extension for local LLM chat with Ollama, LM Studio, llama.cpp, and OpenAI-compatible servers.

Ollama Client is a local-first browser extension for private LLM chat, provider management, and local RAG workflows.

## When to use Ollama Client

- Use it when a person wants to chat with Ollama, LM Studio, llama.cpp, Anthropic, or an OpenAI-compatible server from a Chrome or Firefox side panel.
- Use it for local-first conversations, file and knowledge-base retrieval, current-page context, optional web search, and browser tools whose permissions remain visible to the user.
- In releases with native Ollama mode, bare **olc** starts/reuses Ollama with extension access at 127.0.0.1:11434. Use olc --lan for trusted-network access and olc --check --json for read-only readiness. Existing Windows processes must be stopped manually before reconfiguration.
- Use **olc -b opencode** or **olc -b codex** for the local OpenAI-compatible agent proxies at 127.0.0.1:8083 (Codex) and 127.0.0.1:8084 (OpenCode), including client-owned function tools. **olc -b fm** (alias apple) serves Apple's on-device Foundation Model on macOS 27 at 127.0.0.1:8085 as apple/foundation: 8K context, text and image input, no tool calling. --backend and -b are aliases. All modes detach by default; --debug implies foreground and --foreground keeps normal logs attached. Detached proxies print a ready URL, PID and private log path. Use --foreground under supervisors/containers. Native olc never persists environment or configuration; OLLAMA_* values exist only on a standalone process it starts. Compatible app/services are reused unchanged, and an incompatible macOS app can transition to a standalone child without reconfiguration.

## When not to use Ollama Client

- Do not treat ollamaclient.in as a hosted inference API. The website publishes documentation; model requests go to endpoints configured by the user.
- Do not assume a model, provider, web-search backend, or browser permission is available. Ask the user or inspect their configuration first.
- Do not send sensitive data to a remote provider without the user's informed approval.

## Docs

- [Start chatting with a local model](https://www.ollamaclient.in/guides/quick-start.md): Start Ollama, LM Studio, or llama.cpp, connect Ollama Client, and send your first message.
- [Set up a model provider](https://www.ollamaclient.in/guides/provider-setup.md): Connect a local model server or configure a hosted provider in Ollama Client.
- [Use Ollama Cloud models](https://www.ollamaclient.in/guides/ollama-cloud.md): Sign in to Ollama, discover hosted models automatically, and use :cloud models without downloading them.
- [Context, Images, and Tools](https://www.ollamaclient.in/guides/context-and-tools.md): How Ollama Client adds files, images, tabs, selected text, and local tool calls to a chat turn.
- [Agent (Preview)](https://www.ollamaclient.in/guides/agent-preview.md): What the supervised browser agent does, what it refuses, and where it stops.
- [Fix Ollama CORS errors in browser extensions](https://www.ollamaclient.in/guides/troubleshooting/ollama-cors-error.md): Resolve 403 Forbidden and CORS errors when Ollama Client connects to a local Ollama server from Chrome or Firefox.
- [Understand error reports](https://www.ollamaclient.in/guides/troubleshooting/error-reports.md): Read Ollama Client error codes, incident IDs, failure phases, and privacy-safe diagnostic details.
- [Local-first privacy in Ollama Client](https://www.ollamaclient.in/concepts/privacy.md): How Ollama Client stores chats, files, settings, permissions, and model requests for private local AI workflows.
- [Architecture](https://www.ollamaclient.in/concepts/architecture.md): Implementation details, tradeoffs, and constraints for Ollama Client.
- [Provider Capability Matrix](https://www.ollamaclient.in/concepts/provider-matrix.md): Which features each provider supports. Generated from the extension's TypeScript source at build time.
- [Open WebUI vs Ollama Client](https://www.ollamaclient.in/compare/open-webui-vs-ollama-client.md): A factual comparison of Open WebUI and Ollama Client for local LLM chat — hosting model, privacy, page context, RAG, and when to choose each.
- [Page Assist vs Ollama Client](https://www.ollamaclient.in/compare/page-assist-vs-ollama-client.md): A factual comparison of Page Assist and Ollama Client — two browser extensions for Ollama and local LLMs, their grounding, providers, and privacy.
- [LM Studio vs Ollama Client](https://www.ollamaclient.in/compare/lm-studio-vs-ollama-client.md): How LM Studio and Ollama Client relate — a desktop model runner versus a browser extension — and how to use them together for private local AI.
- [Browser Agent Benchmark: Ollama Client 0.14.0 and Nanobrowser](https://www.ollamaclient.in/compare/browser-agent-benchmark-0.14.0.md): Interim same-model comparison with task-by-task outcomes for Ollama Client 0.14.0 and Nanobrowser.
- [Browser agent qualification baseline](https://www.ollamaclient.in/compare/agent-qualification-baseline.md): Development-split results with independent effect oracles, rescored completion claims, and the latest 0.15.0 candidate run.
- [Ollama Client developer portal](https://www.ollamaclient.in/developers.md): Integrate with Ollama Client's local olc OpenAI-compatible proxy, including setup, authentication, endpoints, errors, tools, and its OpenAPI specification.
- [Frontend Design System](https://www.ollamaclient.in/internal/frontend-design-system.md): App-owned frontend primitives, shadcn ownership boundaries, token policy, and visual QA checklist.
- [Performance Audit](https://www.ollamaclient.in/internal/performance-audit.md): Evidence plan for extension startup, streaming, search-cache retention, and embedding-batch latency.
- [Privacy Policy](https://www.ollamaclient.in/legal/privacy-policy.md): What Ollama Client processes, where data is stored, and when it leaves your device.
- [About Ollama Client](https://www.ollamaclient.in/about.md): Learn what Ollama Client is, who maintains it, what local-first means, and how the open-source browser extension is developed and supported.
- [Contact Ollama Client](https://www.ollamaclient.in/contact.md): Contact the Ollama Client maintainer, report bugs or security concerns, request features, and find the right support channel.
- [Ollama Client FAQ](https://www.ollamaclient.in/about/faq.md): Answers about local chat, model providers, privacy, files, web search, and setup problems.
- [Changelog](https://www.ollamaclient.in/about/changelog.md): Release history for Ollama Client.
- [Keyboard Shortcuts](https://www.ollamaclient.in/about/keyboard-shortcuts.md): Default keyboard shortcuts for Ollama Client.

## Developer resources

- [Ollama Client Developer Portal](https://www.ollamaclient.in/developers.md): Local proxy quickstart, authentication, endpoints, errors, and integration guidance.
- [Ollama Client OpenAPI 3.1 Specification](https://www.ollamaclient.in/openapi.json): Machine-readable schema for the local olc proxy; its servers are loopback addresses, not this website.
- [Ollama Client API Catalog](https://www.ollamaclient.in/.well-known/api-catalog): RFC 9727 linkset naming both API surfaces and their descriptions, docs, and status endpoints.
- [Ollama Client Website JSON API](https://www.ollamaclient.in/api): Read-only service metadata, error format, versioning, and rate-limit conventions for agents.
- [Ollama Client Website API health](https://www.ollamaclient.in/api/health): Machine-readable liveness response.
- [olc CLI](https://github.com/Shishir435/ollama-client/tree/main/packages/olc): Official command-line tool. Install with `curl -fsSL https://www.ollamaclient.in/olc.sh | sh` on macOS/Linux or `irm https://www.ollamaclient.in/olc.ps1 | iex` on Windows; both verify a checksummed archive from the GitHub release.
- [Ollama Client TypeScript API Reference](https://www.ollamaclient.in/reference/): Generated reference for the extension's public modules.

## API conventions

- Versioning: the website API is `/api` (version `v1`); the local olc API is versioned in its path under `/v1`. Every response carries `X-API-Version`.
- Deprecation: no route is removed without notice. A deprecated route responds with `Deprecation` (RFC 9745) and a `Sunset` date (RFC 8594) at least 30 days ahead, plus a `Link` to its replacement. Policy: https://www.ollamaclient.in/developers/#versioning-rate-limits-and-deprecation
- Rate limits: responses carry `RateLimit-Policy`, `RateLimit`, `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset`. A `429` adds `Retry-After`.
- Errors: JSON, shaped `{ "error": { "status", "code", "message", "resolution" } }`. Agents should read `resolution` before retrying.
- Content negotiation: send `Accept: text/markdown` to any documentation URL for its Markdown twin; responses `Vary` on `Accept`. An unsupported `Accept` returns `406` with JSON.

## Entrypoints

- [Markdown home](https://www.ollamaclient.in/index.md): Markdown twin of the landing page.
- [Full Markdown Docs](https://www.ollamaclient.in/llms-full.txt): All public docs in one Markdown file.
- [AI crawler guidance](https://www.ollamaclient.in/ai.txt): Fetch order and usage boundaries.
- [Sitemap](https://www.ollamaclient.in/sitemap-index.xml): Canonical HTML URLs.
- [Recovery map](https://www.ollamaclient.in/404.md): What a 404 returns, so a lost agent can re-orient.
- [GitHub Repository](https://github.com/Shishir435/ollama-client): Source code and issue tracker.
