# LocalMode UI > LocalMode UI is a shadcn-style registry of copy-owned, composable AI UI components for the browser. Local-first and privacy-first: inference runs entirely in the browser, data never leaves the device. Components are installed with the shadcn CLI under the @localmode/ui namespace (npx shadcn@latest add @localmode/ui/) and styled with shadcn/ui CSS variables so they inherit the consumer's theme. ## Docs - [Bring your own data](https://localmode.ai/docs/bring-your-own-data): Every LocalMode UI component renders plain props and emits callbacks — no orchestration state. This is the contract: the prop shapes each family expects, so you can drive any component from cloud data, your own API, or static fixtures, with no @localmode package installed. - [Components](https://localmode.ai/docs/components): Browse every LocalMode UI Element, grouped by category. - [Device Badge](https://localmode.ai/docs/device-badge): A local-first capability badge that detects WebGPU / WASM / IndexedDB support and renders a themed status pill. - [Introduction](https://localmode.ai/docs): A shadcn-style registry of copy-owned, composable AI UI primitives for the browser — local-first and privacy-first. - [Installation](https://localmode.ai/docs/installation): Configure the @localmode namespace in your shadcn project and install LocalMode UI components. - [Use with an AI agent (MCP)](https://localmode.ai/docs/mcp): Point the shadcn MCP server at the @localmode/ui registry so an AI coding agent (Claude Code, Cursor, VS Code, Codex) can browse and install LocalMode Elements for you — by name or by description. - [Use with the Vercel AI SDK](https://localmode.ai/docs/use-with-ai-sdk): Drive LocalMode UI conversation elements from the Vercel AI SDK (or any cloud backend). The components own no orchestration state — they render plain props — so swapping @localmode/react for @ai-sdk/react changes only the logic line and a small data mapping. - [Artifact](https://localmode.ai/docs/artifacts/artifact): A docked side-panel/canvas shell that renders generated code, docs, SVG, or HTML beside the chat — driven entirely by a local model. - [Chart Artifact](https://localmode.ai/docs/artifacts/chart-artifact): A dependency-free SVG chart (line / bar / area / scatter / radar / gauge) for visualizing local metrics — eval curves, embedding projections, drift, latency — entirely in-browser. - [Code Diff Viewer](https://localmode.ai/docs/artifacts/code-diff-viewer): A unified or side-by-side text/code diff of two local strings — before/after of redacted, translated, or transformed text — computed entirely client-side. - [Data Table Artifact](https://localmode.ai/docs/artifacts/data-table-artifact): A generic, sortable data table for rendering local row data — VectorDB results, model catalogs, eval rows, or generateObject() arrays — entirely client-side. - [Audio Scrub Player](https://localmode.ai/docs/audio/audio-scrub-player): A composable scrubbable audio player for local Blob/object-URL audio — play/pause, a draggable seek bar, and a duration readout. Ships a standalone ScrubBar. - [Mic Selector](https://localmode.ai/docs/audio/mic-selector): A microphone input-device picker with permission handling and live device enumeration — fully offline, browser device APIs only. - [Streaming Speech Panel](https://localmode.ai/docs/audio/streaming-speech-panel): Streaming TTS status surface — waveform + spinner + now-playing clause while synthesizing, then a clause count, local-privacy note, and Download WAV on completion. - [Synced Transcript Viewer](https://localmode.ai/docs/audio/synced-transcript-viewer): A karaoke-style transcript viewer that highlights words in lockstep with audio playback using word-level timestamps — click a word to seek. - [Transcribed Note Card](https://localmode.ai/docs/audio/transcribed-note-card): A transcription list item pairing transcript text with inline audio playback — with a "transcribing…" placeholder that morphs into the populated card. - [Voice Button](https://localmode.ai/docs/audio/voice-button): A press-to-record / release-to-transcribe push-to-talk button with an explicit state machine — idle → recording (pulse + live waveform) → processing → success/error. - [Voice Comparison Panel](https://localmode.ai/docs/audio/voice-comparison-panel): A/B voice comparison — two language-grouped pickers with audio players, a shared textarea, and a Compare button to synthesize the same text through two voices. - [Voice Orb](https://localmode.ai/docs/audio/voice-orb): An animated canvas voice-agent orb that reflects discrete agent states and pulses with input/output volume via callbacks — visual state decoupled from the audio source. - [Voice Picker](https://localmode.ai/docs/audio/voice-picker): Language-grouped TTS voice selection — a compact grouped select plus a card/grid variant with gender badge, voice id, search, and local preview playback. - [Waveform Activity Bars](https://localmode.ai/docs/audio/waveform-activity-bars): A pure-CSS row of pulsing bars that doubles as an audio-processing indicator, an idle empty-state, and a volume-reactive voice-agent visualizer. - [Actions](https://localmode.ai/docs/conversation/actions): Message-level controls — copy, regenerate, read-aloud, an overflow menu, and an on-device feedback bar (no telemetry). - [Agent Step Timeline](https://localmode.ai/docs/conversation/agent-step-timeline): A vertical ReAct timeline with per-step timing, observations, finish-reason badges, auto-scroll, and nested sub-agent handoffs. - [Branch](https://localmode.ai/docs/conversation/branch): A message-versioning navigator that pages between regenerated variants for one turn, with an X of N indicator hidden at N=1. - [Chain of Thought](https://localmode.ai/docs/conversation/chain-of-thought): A structured step-by-step reasoning timeline with per-step status, custom icons, and nested source/image slots, collapsing on completion. - [Code Block](https://localmode.ai/docs/conversation/code-block): Syntax-highlighted code with a language label and a copy-to-clipboard control. - [Conversation](https://localmode.ai/docs/conversation/conversation): A scrollable chat surface with first-class scroll-anchoring — auto-pins while streaming, releases on scroll-up, and re-pins on return. - [In-Message Error](https://localmode.ai/docs/conversation/in-message-error): A per-message inline error/retry block with auto-extracted error text and a classified hint for local inference failures. - [Inline Citation](https://localmode.ai/docs/conversation/inline-citation): Inline superscript markers that open a hovercard with the cited local chunk, paging multiple sources via a carousel. - [Loader](https://localmode.ai/docs/conversation/loader): Busy indicators (dots / pulse / typing / spinner) plus a Shimmer skeleton-text variant for pending assistant content. - [Message](https://localmode.ai/docs/conversation/message): A role-aware chat message rendering string or ContentPart[] — markdown, image thumbnails with fullscreen, and file download chips — with a Checkpoint savepoint marker. - [Multi-Step Pipeline Tracker](https://localmode.ai/docs/conversation/pipeline-tracker): Numbered-step progress, a stage+percentage variant, a Steps/Plan outline, and an inference-queue surface for local workflows. - [Prompt Input Attachments](https://localmode.ai/docs/conversation/prompt-input-attachments): Image/file attachment via picker, paste, and drag-and-drop with preview thumbnails, hovercard previews, media-category detection, and removal. - [Prompt Input](https://localmode.ai/docs/conversation/prompt-input): A form-based, auto-resizing chat composer: Enter submits, Shift+Enter newlines, submit/stop swap while streaming, controlled or uncontrolled, with a voice mic and slash-command picker. - [Reasoning](https://localmode.ai/docs/conversation/reasoning): Collapsible model thinking tokens that auto-expand while streaming and auto-collapse on the final answer, plus a compact ThinkingBar. - [Response](https://localmode.ai/docs/conversation/response): A streaming markdown renderer with a cursor that tolerates partial markdown, plus optional typewriter reveal and swappable KaTeX/Mermaid renderers. - [Scroll To Bottom Button](https://localmode.ai/docs/conversation/scroll-to-bottom-button): A floating scroll-to-bottom affordance tied to a container, appearing when the user scrolls up, with a ScrollAnchor pin element. - [Source Citation List](https://localmode.ai/docs/conversation/source-citation-list): An in-message attributed-sources list with numbered items, a radial confidence ring, and a collapsible Show N sources toggle. - [Sources](https://localmode.ai/docs/conversation/sources): Collapsible local RAG citations with favicon/title/excerpt chips, a relevance score, and an optional tabbed layout. - [Structured Output Viewer](https://localmode.ai/docs/conversation/structured-output-viewer): A useGenerateObject result panel: pretty-printed JSON, an inference-stats footer, and a navigable typed schema-tree view. - [Suggestions](https://localmode.ai/docs/conversation/suggestions): A scrollable row of selectable prompt chips that seed the composer. - [System Notice Banner](https://localmode.ai/docs/conversation/system-notice-banner): An inline info/warning banner for local-first state changes — offline, fallback, capability-unavailable, eviction, download-required. - [Task](https://localmode.ai/docs/conversation/task): A multi-step agent process as an ordered list of steps, aligned to the useAgent step shape, with the final answer distinguished. - [Tool Approval](https://localmode.ai/docs/conversation/tool-approval): A human-in-the-loop gate that confirms a tool call before execution, then re-renders read-only as a decision receipt. - [Tool](https://localmode.ai/docs/conversation/tool): A single tool invocation card with a status taxonomy, expandable input/output, a renderer registry + fallback, and a grouping wrapper. - [Category Facet List](https://localmode.ai/docs/data-documents/category-facet-list): A domain-decoupled, filterable category list/pills with per-category counts, single-select toggle, and an All/clear affordance. - [Chunk Boundary Visualizer](https://localmode.ai/docs/data-documents/chunk-boundary-visualizer): Visualizes a document split into distinct chunks with C# badges and, in semantic mode, inter-chunk boundary similarity scores. - [File Dropzone](https://localmode.ai/docs/data-documents/file-dropzone): A generic, format-agnostic drag-and-drop + click-to-browse upload zone for non-image files, with accept-list and max-size validation. - [Format Detection Badge](https://localmode.ai/docs/data-documents/format-detection-badge): A small badge that displays an auto-detected data format (PINECONE / CHROMA / CSV / JSONL) with a per-format color map. - [Indexed Document Card](https://localmode.ai/docs/data-documents/indexed-document-card): A card for a single locally-indexed document — truncated filename with tooltip, page and chunk counts, file size, and a hover-reveal delete with loading state. - [Char Limit Indicator](https://localmode.ai/docs/input-controls/char-limit-indicator): A radial progress ring + n/MAX counter that turns error-colored over the limit. Self-contained — takes only charCount and maxLength. - [Copy Button](https://localmode.ai/docs/input-controls/copy-button): A copy-to-clipboard button with a 2-second Copied confirmation that disables when there is nothing to copy and no-ops on an unavailable clipboard. - [Language Pair Selector](https://localmode.ai/docs/input-controls/language-pair-selector): A paired source/target language picker — From/To pill toggles with a swap button, or a compact {source} → {target} select. Feeds useTranslate. - [Mask Token Input](https://localmode.ai/docs/input-controls/mask-token-input): A fill-mask / cloze textarea that detects a configurable mask token, highlights the mask span inline, validates, randomizes a sample, and submits on Cmd+Enter. - [Option List](https://localmode.ai/docs/input-controls/option-list): An inline multi-choice selection list (5–7 options then paginate) for human-in-the-loop agent inquiries — distinct from quick-reply suggestion chips. - [Parameter Slider](https://localmode.ai/docs/input-controls/parameter-slider): An inline range slider with a live value readout for tuning local generation parameters — temperature, top-k, top-p, max tokens, GPU layers, KV-cache. - [Prompt Enhance Button](https://localmode.ai/docs/input-controls/prompt-enhance-button): A one-click "enhance my prompt" control that rewrites the user's draft with a local model — fully offline — with an optional few-shot example editor. - [Segmented Mode Picker](https://localmode.ai/docs/input-controls/segmented-mode-picker): A pill toggle for 2–4 mutually-exclusive modes, plus a typed TabBar variant with disabledTabs gating. - [Slash Command Palette](https://localmode.ai/docs/input-controls/slash-command-palette): A "/"-triggered command palette over a local tool/command list — name, category, description, and icon — to layer onto a PromptInput Tools slot. - [System Prompt Editor](https://localmode.ai/docs/input-controls/system-prompt-editor): A controlled system-prompt editor with quick-pick presets composed via Option List — value in, onChange out; persistence stays in the consumer. - [Text Processing Panel](https://localmode.ai/docs/input-controls/text-processing-panel): A two-column input→output NLP shell — labeled textarea + word count + optional Char Limit Indicator, a result pane with copy, and a run/cancel/clear toolbar. - [Event Log Viewer](https://localmode.ai/docs/devtools/event-log-viewer): Newest-first devtools event log with relative timestamps, namespace-colored type badges, a substring type filter, a visible cap with overflow line, and dual empty states. - [DevTools](https://localmode.ai/docs/devtools): Local-AI observability surfaces — queue, event, pipeline, and model-cache monitors that render @localmode/devtools hook snapshots (or any backend's data) with zero @localmode dependencies. - [Inference Queue Monitor](https://localmode.ai/docs/devtools/inference-queue-monitor): Per-queue inference observability: pending, active, completed, failed, and average latency per registered queue, with live active and destructive failed accents. - [Model Cache Table](https://localmode.ai/docs/devtools/model-cache-table): Cached-model observability: model ID, status badge (loaded/loading/error), load duration, and relative last-used time per model — with an optional size column and per-row eviction. - [Pipeline Run Inspector](https://localmode.ai/docs/devtools/pipeline-run-inspector): Per-run pipeline observability cards: status badge, completed/total progress bar, current step while running, duration when done, and optional per-step timing rows. - [Adaptive Batch Card](https://localmode.ai/docs/local-first/adaptive-batch-card): Surfaces useAdaptiveBatchSize: a computed optimal batch number, hardware summary, detection source, and collapsible reasoning — with a compact badge variant. - [Browser Compat Card](https://localmode.ai/docs/local-first/browser-compat-card): A per-model runnability report: a pass/fail RAM-headroom bar, storage, threading, estimated speed, warnings, and a canRun gate. RAMUsageBar is independently usable. - [Cache Badge](https://localmode.ai/docs/local-first/cache-badge): Annotates a result as served from the semantic cache, optionally with the hit latency (e.g. "cached · 12ms"). - [Capability Gate](https://localmode.ai/docs/local-first/capability-gate): A true gate: renders children only when the device meets a stated requirement (e.g. WebGPU), otherwise a themed fallback with guidance. - [Chrome AI Download Gate](https://localmode.ai/docs/local-first/chrome-ai-download-gate): The button a user must click before Chrome will fetch a built-in AI model — plus the in-flight progress and the terminal unsupported / cannot-run states. - [Context Usage Meter](https://localmode.ai/docs/local-first/context-usage-meter): A token / context-window budget meter breaking down input / output / reasoning / cache tokens against the model context limit. No cost field — local models have no billing. - [Device Capability Grid](https://localmode.ai/docs/local-first/device-capability-grid): A full device-capability diagnostic card — the expanded sibling of Device Badge — with a stats bar, feature-flag grid, storage, and browser/OS footer. - [Embedding Drift Banner](https://localmode.ai/docs/local-first/embedding-drift-banner): A warning shown when the active embedding model is incompatible with stored vectors — with reindex progress, phase, and Re-embed/Cancel. - [Model Catalog Card](https://localmode.ai/docs/local-first/model-catalog-card): A rich tile for a single model catalog entry: name, size badge, metadata chips, and conditional capability badges. - [Model Comparison Panel](https://localmode.ai/docs/local-first/model-comparison-panel): A side-by-side comparison of two scored entries with win-highlighted rows derived purely from props, plus onClear. - [Model Downloader](https://localmode.ai/docs/local-first/model-downloader): The headline local-first card a user sees while a model loads on-device — name, size, context, live progress, and cached-vs-downloading copy. - [Model Loading Panel](https://localmode.ai/docs/local-first/model-loading-panel): A full-height "waiting for model" splash combining metadata, a progress bar, and a first-download-vs-cache-load help message. - [Model Metadata Card](https://localmode.ai/docs/local-first/model-metadata-card): A structured key-value grid of parsed model metadata (GGUF and generic), driven by a field-descriptor array that skips absent fields. - [Model Recommendation Card](https://localmode.ai/docs/local-first/model-recommendation-card): A single scored recommendation: a radial score dial, tier/device badges with a stable color mapping, reason chips, and a compare toggle. - [Model Search Browser](https://localmode.ai/docs/local-first/model-search-browser): A cmdk-based searchable model-repo browser: search, sort, result rows, load-more pagination, and per-repo expandable file lists. - [Model Selector](https://localmode.ai/docs/local-first/model-selector): A device-aware model picker with backend filter chips, vision/tools/cached badges, and download + delete-from-cache affordances. - [Network Badge](https://localmode.ai/docs/local-first/network-badge): A reactive online/offline indicator plus an OfflineReady badge that signals the app can run with no network. - [Provider Badge](https://localmode.ai/docs/local-first/provider-badge): Shows the RESOLVED provider identity plus the served model id — composes Provider Fallback Badge and adds a Resolving state. - [Provider Fallback Badge](https://localmode.ai/docs/local-first/provider-fallback-badge): Surfaces the active AI backend tier (zero-download built-in vs model-download provider) and a WASM threading variant. - [Semantic Cache Status Bar](https://localmode.ai/docs/local-first/semantic-cache-status-bar): A compact toolbar for useSemanticCache: entry count, hit-rate, clear button, and an enable/disable toggle — with a per-message Cached annotation. - [Storage Meter](https://localmode.ai/docs/local-first/storage-meter): IndexedDB / origin storage usage versus quota, with a warning threshold and a graceful unavailable state. - [Vector Export Panel](https://localmode.ai/docs/local-first/vector-export-panel): An export surface for vector data: per-format export actions, corpus counts, a busy state, and a last-export summary banner. - [Vector Import Flow](https://localmode.ai/docs/local-first/vector-import-flow): A guarded vector-import flow: format-aware preview, phased progress, a result stats banner, and a record-preview table before a destructive ingest. - [Vector Storage Observability](https://localmode.ai/docs/local-first/vector-storage-observability): VectorDB observability: a compression-stats badge, a three-tier storage estimate (Raw/SQ8/PQ), and a GPU-aware search-latency badge. - [Before / After Image Viewer](https://localmode.ai/docs/media-vision/before-after-image-viewer): Compare an original image with a transformed result — a two-panel grid with checkerboard transparency or a segmented Original / Enhanced toggle. - [Bounding Box Overlay](https://localmode.ai/docs/media-vision/bounding-box-overlay): Color-coded detection boxes positioned over an image as percentage offsets from natural dimensions, with a companion label legend. Serves object / face / hand / pose output. - [Image Processing Overlay](https://localmode.ai/docs/media-vision/image-processing-overlay): A full-bleed overlay shown over a dimmed source image while vision inference runs — spinner ring, status, optional cancel, and an animated scan variant. Renders nothing when idle. - [Image Result Gallery](https://localmode.ai/docs/media-vision/image-result-gallery): A responsive grid / list of image result cards — in-flight overlay, persistent metadata, confidence score, multi-select and delete — sharing one data contract across both layouts. - [Media Dropzone](https://localmode.ai/docs/media-vision/media-dropzone): A drag-and-drop + click-to-browse image upload zone with accept-list / max-size validation, idle / drag-over / processing states, and an "add another" variant. - [useWebcam](https://localmode.ai/docs/media-vision/use-webcam): A React hook that owns a getUserMedia video stream — start / stop / retry with track cleanup on unmount and permission-vs-hardware error mapping. - [Video Canvas](https://localmode.ai/docs/media-vision/video-canvas): A mirrored 16:9 webcam surface — a video element with a pixel-aligned transparent canvas overlay for landmark / skeleton drawing, an FPS badge, and a child slot. Powers real-time MediaPipe trackers. - [Confidence Score Badge](https://localmode.ai/docs/results/confidence-score-badge): Maps a 0–1 score to a semantic color tier (configurable thresholds) and renders it as a flat badge or a radial dial. - [Cosine Similarity Meter](https://localmode.ai/docs/results/cosine-similarity-meter): Shows a cosine similarity (0–1) as a large numeric value with a human-readable bucket label and a proportional arc gauge. - [Editable Label Set](https://localmode.ai/docs/results/editable-label-set): An editable set of color-cycling removable chips for managing candidate labels — controlled via labels / onAdd / onRemove. - [Entity Relationship Graph](https://localmode.ai/docs/results/entity-relationship-graph): An interactive force-directed graph of typed nodes and labeled edges — drag, zoom, pan, hover, click, and SVG/PNG export, all client-side. - [Entity Stats Bar](https://localmode.ai/docs/results/entity-stats-bar): A horizontal stats bar with total entity count plus per-type breakdown badges (PER / LOC / ORG / MISC) computed from detected entities. - [Error Alert](https://localmode.ai/docs/results/error-alert): A compact, dismissible error surface with an optional retry action — the deduped shared alert for operation feedback near a result. - [Evaluation Metrics Dashboard](https://localmode.ai/docs/results/evaluation-metrics-dashboard): A KPI stat-tile row, metric cards, a color-scaled confusion matrix, a radar sub-view, and a threshold-calibration panel — all in-component SVG, no chart library. - [Mode Error Boundary](https://localmode.ai/docs/results/mode-error-boundary): A React error boundary that isolates a render failure in its subtree and offers a Reset — so one failing surface cannot blank the whole page. - [Redacted Text Display](https://localmode.ai/docs/results/redacted-text-display): Inline-annotated text interleaving plain text with color-coded redaction tokens (e.g. [PER], [LOC]) with tooltips, a scan skeleton, and an empty placeholder. - [Scored Result Bar List](https://localmode.ai/docs/results/scored-result-bar-list): A ranked list of {label, score} pairs with proportional fill bars, top-row highlight, skeleton-loading, and an empty-state slot. - [Threshold Calibration Panel](https://localmode.ai/docs/results/threshold-calibration-panel): A presentational panel for similarity-threshold calibration — calibrated vs. preset threshold, metadata, distribution statistics, and a preset reference list. - [Top Result Card](https://localmode.ai/docs/results/top-result-card): A hero card for the single winning classification result — large label, prominent confidence dial, and a tier-tinted glow. - [Differential Privacy Controls](https://localmode.ai/docs/security-privacy/differential-privacy-controls): A collapsible DP settings panel (enable toggle, epsilon slider, privacy-budget bar) plus a compact "DP Applied" provenance badge — driven by the app's DP-middleware state. - [Lock Status Badge](https://localmode.ai/docs/security-privacy/lock-status-badge): A compact session-lock indicator — locked, unlocked, or no-vault — with distinct iconography and an accessible text label. - [Passphrase Gate](https://localmode.ai/docs/security-privacy/passphrase-gate): A controlled passphrase screen with create and unlock modes — composes the password strength bar and surfaces errors, performing no crypto itself. - [Password Strength Bar](https://localmode.ai/docs/security-privacy/password-strength-bar): A presentational password/passphrase strength meter — a themed bar + label driven by a caller-computed 0–100 strength score. - [Vault Item Card](https://localmode.ai/docs/security-privacy/vault-item-card): A lock-state-aware card for an encrypted note or document — masked while locked, decrypt-on-view when unlocked. Never receives ciphertext or keys. ## Blocks > Composed, installable block experiences that wire the primitives to real on-device models. Each runs entirely in the browser and installs with the shadcn CLI (npx shadcn@latest add @localmode/ui/blocks/). ### Chat - [Chat](https://localmode.ai/blocks/chat): Chat with AI models running fully in your browser. ### Knowledge - [Semantic Search](https://localmode.ai/blocks/knowledge/semantic-search): Search your text, PDFs, and scans by meaning. - [Document QA](https://localmode.ai/blocks/knowledge/document-qa): Ask questions and get answers from your documents. - [RAG Chat](https://localmode.ai/blocks/knowledge/rag-chat): Chat with your documents, with cited, grounded answers. - [Vector Data Manager](https://localmode.ai/blocks/knowledge/vector-data-manager): Import, export, and inspect your vector database. ### Vision - [Object Detector](https://localmode.ai/blocks/vision/object-detector): Find and label objects in a photo or webcam frame. - [Live Tracker](https://localmode.ai/blocks/vision/live-tracker): Track hands, pose, face, and gestures from your webcam. ### Audio - [Voice Notes](https://localmode.ai/blocks/audio/voice-notes): Record audio and turn it into searchable text notes. - [Live Transcription](https://localmode.ai/blocks/audio/live-transcription): Transcribe your microphone live as you speak. - [Meeting Assistant](https://localmode.ai/blocks/audio/meeting-assistant): Turn a meeting into a summary and action items. - [Voice Explorer](https://localmode.ai/blocks/audio/voice-explorer): Browse and compare 29 natural text-to-speech voices. - [Audiobook Reader](https://localmode.ai/blocks/audio/audiobook-reader): Turn long text into speech that plays as it streams. - [Audio Classifier](https://localmode.ai/blocks/audio/audio-classifier): Identify the sounds in a recording or audio file. ### Text - [Language Detector](https://localmode.ai/blocks/text/language-detector): Detect the language of a text and compare two. ### Device - [Device Report](https://localmode.ai/blocks/device/device-report): See what your device can do for on-device AI. - [Model Advisor](https://localmode.ai/blocks/device/model-advisor): Get model picks matched to your device and task. - [GGUF Explorer](https://localmode.ai/blocks/device/gguf-explorer): Browse thousands of downloadable AI models. ### Writing Tools - [Write](https://localmode.ai/blocks/writing-tools/write): Rewrite or improve your draft and review the edits. - [Translate](https://localmode.ai/blocks/writing-tools/translate): Translate text between languages, fully offline. - [Summarize](https://localmode.ai/blocks/writing-tools/summarize): Summarize long text at the length you choose. - [Complete](https://localmode.ai/blocks/writing-tools/complete): Predict the next word and autocomplete your text. ### Agents - [Research Agent](https://localmode.ai/blocks/agents/research-agent): Watch an AI agent research a question using tools. - [Data Extractor](https://localmode.ai/blocks/agents/data-extractor): Pull structured data from text into a table and chart. ### Text Insights - [Sentiment Analyzer](https://localmode.ai/blocks/text-insights/sentiment-analyzer): Score text as positive or negative, one or in bulk. - [Text Classifier](https://localmode.ai/blocks/text-insights/text-classifier): Sort text into your own labels, no training needed. - [Model Evaluator](https://localmode.ai/blocks/text-insights/model-evaluator): Measure classifier accuracy on labeled data. - [Threshold Calibrator](https://localmode.ai/blocks/text-insights/threshold-calibrator): Pick the right similarity cutoff from your data. ### Photo - [Smart Gallery](https://localmode.ai/blocks/photo/smart-gallery): Auto-sort your photos into categories on device. - [Image Search](https://localmode.ai/blocks/photo/image-search): Search your photos by text or by another image. - [Duplicate Finder](https://localmode.ai/blocks/photo/duplicate-finder): Find and remove near-duplicate photos in your library. - [Photo Categorizer](https://localmode.ai/blocks/photo/photo-categorizer): Sort your photos into labels you define. ### Image Studio - [Background Remover](https://localmode.ai/blocks/image-studio/background-remover): Cut out a photo subject to a transparent PNG. - [Image Enhancer](https://localmode.ai/blocks/image-studio/image-enhancer): Upscale and sharpen a photo at 2x, 4x, or restore. - [Image Captioner](https://localmode.ai/blocks/image-studio/image-captioner): Generate alt-text captions for your images. ### Privacy - [PII Redactor](https://localmode.ai/blocks/privacy/pii-redactor): Find and mask personal details in text, on device. - [Encrypted Vault](https://localmode.ai/blocks/privacy/encrypted-vault): A passphrase-locked vault for encrypted notes and files. ## Links - [Full Documentation for AI](https://localmode.ai/llms-full.txt): Complete component reference - [Core LocalMode Docs](https://localmode.dev/docs): The @localmode engine and React hooks - [GitHub](https://github.com/LocalMode-AI/LocalMode): Source code