Skip to content

Latest commit

 

History

History
880 lines (616 loc) · 91.5 KB

functionality.md

File metadata and controls

880 lines (616 loc) · 91.5 KB

Kelpie — Feature Catalogue

The embeddable browser extraction keeps the complete native UI, tabs and behavior in core/, with thin standalone hosts in apps/. Embedded apps supply their existing UOA session. Linux retains its own shell and consumes only the shared C++ core. A cached host identity may select local browser data without a fresh grant; account requests and remote agent control still require verified live authorization. A host may hide a retained Windows session while pausing agent work without changing the person’s saved Pause choice. See the embedding contract.

Every user-facing feature is described here. When adding or changing a feature, update this file in the same commit.

Website analytics

Visitors to kelpie.rocks can allow or decline Google Analytics and change their choice through Analytics settings in the site footer. See Website analytics.

App icon

The Orbit icon combines Kelpie's multicolour K with a globe and a cyan orbit. It appears across the standalone apps and their welcome screens. The icon assets include the Apple and Google Play listing formats.

App updates

Direct Kelpie installs on macOS, Windows, Linux and Android check GitHub for compatible stable releases at launch and every six hours while running. A new component version offers Update, Skip version, and Not now. Skip version remembers that component version across restarts; a later version can still prompt. Not now dismisses the prompt for this launch and asks again on the next launch. Closing the prompt has the same effect.

On desktop, Update downloads and verifies the complete package before closing Kelpie, installs it, and restarts with the same launch arguments. Mac packages must be signed by the installed app's team and pass Gatekeeper; Windows packages must have valid, matching UnlikeOtherAI signatures on the CEF bootstrap, client DLL and chrome_elf.dll. All desktop downloads must match the SHA-256 published by GitHub. Portable installs retain the previous installation for recovery; Linux .deb and .rpm installs use the system package manager and its normal authorization prompt. Sideloaded Android installs can open the published APK. Mac App Store, iOS App Store and Google Play installs receive updates through their stores. Android also defers to other stores when the OS identifies the installation as store-managed.

Unrelated component releases, prereleases, drafts, missing packages and installed or older versions do not prompt. Offline checks retry after fifteen minutes without interrupting browsing. Embedded Kelpie browsers and headless Linux runs do not check for standalone updates. See App update delivery for the release metadata and packaging contract.

Prerelease downloads can be published for verification without entering automatic updates or the stable Linux APT/RPM repositories, including when a running release is put on hold before its packages are attached.

Linux profiles from the old Chromium 120 build need the profile upgrade tool before replacing the application. It migrates persistent cookies through the old and new browser APIs, verifies them after restart, and retains the original profile. Verification opens only copied Chromium data; native account state, saved tabs and settings stay outside those launches and are preserved unchanged. The ordinary update installer does not perform this legacy migration.

For information about browser engine availability by platform and Apple's regulatory requirements for alternative engines, see browser-engines.md.

Desktop Chromium maintenance uses a public GitHub Actions pipeline: scheduled upstream checks verify stable CEF archives, propose version-update PRs, and run platform-specific candidate checks. Public run summaries and a timestamped status issue distinguish source pins, build candidates and published releases. iOS and Android use their system browser engines. See maintenance and review evidence for the workflow links, platform coverage and remaining release gates.


How It Works

Kelpie has two parts: native browser apps (iOS, Android, macOS, Linux, and an in-progress Windows shell) and a Node.js CLI. The apps run real browsers with embedded HTTP and MCP servers. The CLI discovers them on the local network via mDNS and sends commands. An LLM can control everything through the CLI's MCP server — or talk to device MCP servers directly.

No emulators, no cloud, no persistent scripts. Real browsers on real devices, fully controllable by language models.

One Desktop App per Computer

Only one standalone Kelpie app may run on a computer. Another executable copy, CLI alias, profile directory or HTTP port cannot start a second browser. Close the running app before switching copies or profiles. Tabs and browser windows remain part of that one app; embedded Kelpie sessions belong to their containing apps and do not take standalone ownership.

Ownership is acquired before opening profiles or starting browser services and is released automatically on normal exit or a crash. A rejected launch leaves the running app's tabs, port and readiness record intact. Windows and direct macOS relaunches bring the existing app forward when its window is available; Linux reports that Kelpie is already running. macOS also asks Launch Services to prohibit simultaneous app instances, and the CLI no longer requests a new one.

Device Discovery

CLI and MCP discovery send mDNS queries on each local IPv4 interface and report the service, timeout, interface addresses and any socket errors. An empty result gives a direct-address hint. Discovery never starts pairing. An exact host:port works independently of mDNS, and connection errors name the socket tried. Listeners that share a device ID remain visible at their respective ports.

Every running Kelpie app advertises itself via mDNS (_kelpie._tcp) on the local network. The CLI auto-discovers all devices and exposes their metadata: device name, model, platform, screen resolution, port, and app version. Devices can be targeted by name, ID, or IP address. Apps prefer port 8420, but if that port is already occupied they bind the next available local port and advertise the actual port they chose. When mDNS misses a same-host macOS browser, the CLI probes recorded local ports plus 8420–8429 and accepts only targets whose automation API answers /v1/get-device-info; discover, devices, info, and untargeted commands all share that fallback. On macOS, advertisement remains up for the lifetime of the running app instance. On iOS and Android, the app re-establishes mDNS advertisement whenever it returns to the foreground so discovery recovers after background suspension. On Android, a foreground-service notification ("Kelpie is reachable") keeps the server alive in the background; tapping it brings the running browser back without restarting it, so open tabs, pending pairing prompts and just-approved tokens survive.

Works identically with real devices, iOS Simulators, and Android Emulators — a developer with no phones can spin up multiple simulators at different screen sizes and control them all.

Pairing & Authentication

Signed-in Windows and Linux Chromium apps also connect outbound to Nessie under the same UOA account, without pairing or team setup. Their account menu shows connection status and Pause/Stop controls; see desktop Nessie connection. This connection uses a dedicated, scoped UOA ticket and does not expose local listeners.

Trust a computer once. Localhost programs can control Kelpie without a prompt. For another computer, Kelpie asks No or Allow computer once. Allow computer permits every browser API and MCP operation until revoked in Settings. The dialog shows its self-reported name, current IP and public signing key. Settings lists trusted computers and lets you revoke a key immediately.

Permission belongs to the computer's Ed25519 signing key, never its IP, mDNS name, HTTP port, client UUID or browser profile. Moving between Wi-Fi networks, changing an address or port, restarting Kelpie, and launching another CLI/MCP process do not require another approval. Another computer that obtains the old IP does not inherit access. Local tools running as the same OS user share the key automatically.

The CLI creates ~/.kelpie/computer-key.pem automatically, with a private directory and owner-only file permissions on POSIX systems; Windows uses the current user's protected profile directory. It never prints or sends the private key. Losing or replacing this file creates a new computer identity that needs approval again. Copying the private key to another machine also copies its authority.

Set KELPIE_HOME to use a separate directory for browser aliases, the CLI client ID, pairing tokens and the signing key. A CLI command that names a tab can use an existing approval. Starting a new pairing for that command requires an explicit browser target, including for screenshots and tab cookie stores.

Pairing protocol. POST /v1/pair first obtains a random, expiring challenge. The CLI signs it together with its public key, then submits the proof. Kelpie verifies possession before showing a prompt. One decision resolves concurrent requests from that key. A trusted key completes automatically, including from a new IP. A different key still needs approval even when it uses the same IP or self-reported name. Challenges are single use and polling is bound to the source of that short handshake. A verified computer already displayed in the native gate stays answerable until the person decides, even if an OS dialog covers it or the original CLI times out. The issued bearer is stored by the CLI for reuse at its pinned browser socket; only its hash is stored by Kelpie. Revoking the key invalidates all its tokens immediately. Token pinning prevents forwarding a credential to a changed discovery endpoint; signing a fresh challenge recovers without another prompt. Ordinary commands, browser-control and CLI MCP use this same automatic flow; users do not need a separate pairing command for each tool or discovery endpoint. See computer pairing.

Discovery endpoints (/v1/pair, /v1/pair/status, /v1/get-device-info, /health) are public. Remote API/MCP requests require a bearer issued to an approved signing key or an existing authorized account/client grant. Browser Origin, cross-site requests, unsafe Host headers and ambiguous framing cannot use implicit localhost permission. IP-only approvals from an unreleased build never become key trust. Headless desktop apps reuse trusted keys; a new key needs the native approval UI.

Same-account access. Apple and Android retain their existing live UOA challenge protocol. Those grants expire, are revalidated, and never create permanent computer trust. Existing legacy client tokens remain individually revocable; new manual pairing requires an updated CLI that proves its computer key. See account pairing.

MCP transport. kelpie mcp --http still binds 127.0.0.1 by default. A non-loopback listener requires --unsafe-host. Stdio transport is unchanged.

Cookie access. An approved computer can read and write the device's default cookie store, HttpOnly cookies included. While the person is signed in, cookie sync shares that store with their other signed-in devices, so approval on one device reaches those sessions too. See Cookie sync.

API: POST /v1/pair, GET /v1/pair/status?requestId=…; CLI: kelpie pair; MCP: kelpie_pair.

Browser Control

Use a webpage's upload button or file input to open the system file picker on macOS (Safari/WebKit and Chrome/Chromium), Windows, Linux, iOS, and Android. Choose one or more files as allowed by the page, or cancel to dismiss the picker without adding files.

Website pop-ups

Sites can open a separate window on macOS, Windows and Linux, or a dismissible sheet on iOS and Android. This includes sign-in buttons that hand off to an embedded provider. The original tab stays open, and the pop-up inherits its storage profile and existing sign-in session. The site can return its result to the original tab and close the pop-up, and you can also dismiss it with the close control. Linux requires the graphical app for native pop-up windows.

Website microphone access

Open a secure voice site and start a microphone-only session from the page. The site needs HTTPS or a browser-trusted loopback origin.

  • macOS shows the Apple permission prompt on first use in both renderers. Apple grants permission to Kelpie, and Kelpie remembers the site that requested it. For another site, choose More browser controls, then Allow microphone on this site, and start the session. To withdraw access for the current site, choose Remove microphone permission.
  • iOS uses WebKit's site prompt.
  • Windows, Linux, and Android show the requesting site's origin so you can choose Allow or Deny. Android also requires the system microphone permission.

Some voice sites require a browser user gesture to start Web Audio before asking for the microphone. Start the session with a click or tap in the app when a synthetic browser-control action leaves the audio context suspended.

Apple apps expose the shared versioned POST /v1/browser-control and authenticated POST /mcp surface. Common snapshots, references, append typing and navigation share one native coordinator; product tools are discovered separately. See Apple binding.

Full navigation control: go to any URL, go back/forward, reload, get the current page URL and title. The browser uses Safari's user agent on iOS, Chrome's on Android, Chromium on Linux, and on macOS can switch between Safari/WebKit and Chrome/Chromium behavior for website compatibility. Google can decline sign-in from embedded browsers. If it does, open the original website in Safari or Chrome and start sign-in there. That session stays in the external browser. On Mac, a sign-in that checks for a nearby device can trigger the macOS Bluetooth permission prompt.

While the active page loads, a three-unit blue stroke starts at the left edge of the address field and follows its upper and lower borders to the right, with rounded leading tips. The outline fades when loading ends. The indicator is part of the address field on iOS, Android, macOS, Windows, and Linux.

On macOS, the desktop URL bar stays synced with both API/MCP-triggered navigation and user-driven page navigation, uses a pale top tab strip alongside the native close/minimize/maximize controls, an outlined navigation row and rounded address field, autocompletes previously visited URLs inline as you type, supports native fullscreen toggling for the active window from the Window menu or with Cmd+F, and maps Cmd+R to a hard refresh in both WebKit and Chromium so cached desktop state can be cleared without switching renderers. On Linux, the GTK shell matches the Windows title-strip tabs, outlined navigation controls, rounded address field, conditional favorites row and UOA account menu.

On Linux, the desktop shell runs in either GUI or headless mode. Both Chromium modes expose the shared HTTP/MCP surface with implicit localhost trust and persistent signing-key approval, persist profile-backed bookmarks, history, full tab sessions and a home page URL. They do not advertise the listener over mDNS. The no-CEF fallback build keeps its limited legacy runtime but follows the same control contract: it accepts localhost without a token and remote clients with a bearer from an approved computer key, sends no CORS grant and does not advertise over mDNS. In GUI mode, the browser window can also be toggled into fullscreen via API/MCP. Published GitHub releases now attach Linux .tar.gz, .deb, .rpm, and .AppImage artifacts automatically and refresh Debian/Ubuntu apt plus Fedora-compatible dnf package repositories on GitHub Pages from the same release event.

On Windows, the desktop shell under apps/windows/ now combines an undecorated rounded Win32 frame (maximized, it fills the monitor's work area exactly, clearing the taskbar and leaving an auto-hide taskbar reachable) with Windows-style minimize/maximize/close controls, a native tab strip, URL bar, native settings dialog, resizable bookmarks/history windows and a DevTools-style network panel (all opening centred over the browser window), native toast overlay, and the shared Chromium desktop runtime. Like macOS, it remembers the window size, on-screen position, and maximized state across launches in the profile's settings.json: the saved position is reused only when at least 120x40 px of the window still lands on a connected monitor, otherwise Windows places it, and explicit --width/--height flags override the remembered size. A failed startup (for example an occupied --port) shows its reason in the window; a launch started hidden exits with a failure code instead. Its agent-control server supports local programs automatically and remote clients through signed computer pairing. The protected readiness file remains available for local integrations. Windows screenshots are viewport PNG only; full-page, JPEG, and annotated screenshot requests return an explicit unsupported-parameter error. Viewport size is browser-wide.

The Windows shell places curved tabs in the title bar, a new-tab plus at the top left, and window controls at the top right. The navigation row has unboxed controls and an IME-capable rounded address field. Home opens the saved home URL; the address-field star adds the current page to favorites. The favorites row disappears when empty and offers an overflow menu when crowded. Rendered page-edge colors animate into the chrome, with a one-pixel separator at 10% contrasting opacity. Native accessibility, high contrast, DPI scaling, tab shortcuts and inline history completion remain available. See Windows shell notes for sampling limits and viewport behavior.

Persistent Home Page

Every platform keeps a persisted home page URL. Fresh launches load that URL instead of a hard-coded blank tab, and automation can change it remotely with set-home / get-home or the matching CLI commands kelpie home set / kelpie home get.

Renderer Switching (macOS)

Switch between Safari (WebKit) and Chrome (Chromium/CEF) rendering engines at runtime. Available via the UI segmented control and the set-renderer / get-renderer HTTP endpoints. Cookies are migrated automatically when switching to preserve login sessions.

The current native app exposes WebKit and Chromium. The optional Gecko helper staging script does not provide a callable renderer or control capability.

External Display — Apple TV (iOS)

When an iPhone or iPad running Kelpie connects to an Apple TV via AirPlay, the app automatically detects the external screen and displays a fullscreen WKWebView on it. This external browser appears as a separate device in mDNS discovery with the name "{device} (TV)" on port 8421, fully controllable from the CLI independently of the main device. No UI chrome — just the web content, controlled entirely via the API. The phone UI also exposes a sync control that mirrors the phone browser onto the TV: page URL, cookies, storage-backed session state, and scroll position all stay aligned so the TV follows the same browsing session instead of acting like a separate login context. A landscape touchpad remote with a visible cursor and inertial swipe scrolling is also available. When the AirPlay connection drops, the external server and window are torn down automatically.

Screenshots

Capture viewport or full-page screenshots on demand in PNG or JPEG. Full-page mode now works across iOS, Android, and macOS, each using its renderer's native mechanism: iOS takes an unclipped WKWebView snapshot of the full content, Android paints the whole document into a full-height bitmap via WebView.draw, and macOS scrolls-and-stitches the page viewport-by-viewport (covering both the WebKit and Chromium renderers). Quality is adjustable for JPEG. Screenshot responses now include explicit viewport-mapping metadata: viewport width and height, device pixel ratio, and computed image-to-viewport scale factors. That makes the coordinate space visible to LLMs instead of forcing them to guess from image size alone.

On macOS, WebKit and Chromium can pause animation frames and WebGL painting while the selected tab's window is fully covered. Tab listings report native rendererVisibility alongside selection. HTTP and direct MCP screenshots return RENDERER_HIDDEN without an image while rendering is hidden. Bring the browser window into view to resume rendering and capture a new frame.

Android viewport screenshots wait for the tab to render and capture only the WebView. With hardware acceleration on Android 10 or later, they include hardware-rendered page content such as WebGL. Hidden tabs return a screenshot error. Android 9 and software-only hosts use software viewport capture.

On macOS, a fully covered browser window can suspend the selected page's animation frames. Screenshot requests for a hidden page return RENDERER_HIDDEN. Bring the window into view and retry after the page resumes.

Annotated Screenshots

Take a screenshot with numbered labels overlaid on every interactive element (buttons, links, inputs). The LLM sees both the image and a structured list of what each number corresponds to, plus an annotation session ID and validity hint. Then it can say "click element 5" or "fill element 12 with hello@example.com" — visual-first automation without needing CSS selectors. For LLM use, Kelpie prefers CSS-pixel/non-retina annotated screenshots so the image payload is smaller and the coordinate system lines up with interaction APIs more directly. Annotation indices are valid until the page URL changes; after navigation, Kelpie returns ANNOTATION_EXPIRED and expects a fresh annotated screenshot.

DOM Access and Queries

Full read access to the page DOM. Query elements by CSS selector, get their text, attributes, bounding boxes, and visibility. Retrieve the full DOM tree from any root element with configurable depth. All queries return structured data, not raw HTML.

Element Interaction

Semantic find commands return CSS selectors for the observed tab's current document. Reuse the same tabId for the follow-up action. When several elements share an ID, Kelpie resolves the selector against the observed element before returning it.

Click elements by selector or tap at specific coordinates. Fill form inputs, type text character-by-character (simulating human typing with per-character delays), select dropdown options, check/uncheck checkboxes. Every interaction shows a blue touch indicator animation on the device so you can see what happened.

For LLM-driven automation, the intended order is semantic first: read the accessibility tree or use the smart find endpoints, then interact by selector. If the model needs to reason over an image after it already knows the selector, Kelpie can draw a visible highlight box/ring around that exact DOM element and then capture a screenshot, which keeps the visual target and the selector aligned. Annotated screenshots are the broader visual fallback when semantic targeting fails. Raw coordinate taps exist for edge cases and are intentionally the least-preferred option because they drift with viewport changes, scrolling, and overlays. Selector clicks and annotation clicks now dispatch coordinate-bearing pointer and mouse events at the rendered hit target instead of shortcutting through el.click(), so DOM-targeted automation exercises the same observable interaction path as raw taps and fails with a visibility error when the target center is obscured. When raw taps do drift, every shipped app build now includes a bundled local calibration page at /debug/coordinate-calibration that shows manual tap coordinates, previews requested versus applied automation taps, and persists additive X/Y offsets used by the raw tap endpoint.

On iOS, Android, macOS, and the Windows and Linux Chromium builds, a coordinate tap shows a blue circle by default. Callers can request a crosshair labeled with the applied viewport and page coordinates, and set the hold time before either marker fades. Windows and Linux deliver the tap as a native Chromium click in the target tab. Tap API and marker options

Swipe gestures are first-class too: give Kelpie start and end viewport coordinates and it renders a visible swipe trail while dispatching synthetic pointer events to JS-driven touch listeners. For native scrolling, use the scroll endpoints instead.

Console messages, JavaScript errors and the network log accept a tab ID so an agent can inspect a background tab without changing the visible tab. Network entries preserve observed HTTP statuses, methods and resource types. The error filter includes HTTP failures and observed transport errors, and the summary counts errors before the status filter and entry limit are applied. Engines with limited visibility report unavailable metadata as null. See DevTools API.

For regression debugging, coordinate-diagnostics combines hit-test samples, page-side event logs, optional tap/swipe/scroll actions, viewport metadata, optional oracle JavaScript, and optional screenshot capture into one structured response. It reports inputSource and inputCapabilities explicitly; today the mirrored iOS, macOS, and Android implementation uses page-synthesized coordinate events, not trusted OS-level input.

Scripted Video Recording

Kelpie can run a whole walkthrough as one timed script instead of one command at a time. A script enters recording mode, hides the browser chrome, locks the normal controls, and leaves only a stop button visible while it plays. Actions can mix navigation, taps, typing, swipes, waits, screenshots, viewport changes, commentary pills, and element highlights. This scripted-recording surface is now aligned across Android and iOS, with the same HTTP, CLI, and MCP entry points.

The main use case is support and presentation work: record a few clean steps that show a customer exactly where to click, how to reach a setting, or how to complete a workflow, then hand over the resulting walkthrough video instead of writing a long email.

The feature is exposed through play-script, abort-script, and get-script-status, with matching CLI commands (kelpie script run, kelpie script status, kelpie script abort) and MCP tools. Commentary and highlight overlays are also available as standalone commands and tools, so an LLM can narrate or spotlight a page without running a full script.

Scrolling

Scroll by pixel deltas, scroll a specific element into view (with configurable alignment: top/center/bottom), or jump to the top or bottom of the page. On iOS and Android, the native scroll-by-delta and page-edge methods report the offsets observed in the renderer and return an error if the renderer cannot evaluate the operation. The scroll2 method is resolution-aware — it adapts its behavior based on the device's viewport size.

Wait and Synchronisation

Wait for an element to appear, become visible, or disappear, or for page navigation to complete. The CLI and its MCP server allow extra time for the browser to report the outcome of a wait. On Apple WebKit and Android, waiting for a failed navigation returns the load error. Loopback connection failures explain that the address belongs to the device running the browser.

JavaScript Evaluation

Execute JavaScript in the page context and get its result. When a script returns a Promise, evaluation returns its resolved value or reports its rejection. See the evaluate endpoint for renderer limits.

Console and Error Capture

Read console output (log, warn, error, info, debug) from the page. Get JavaScript errors with full stack traces. The console bridge captures everything including unhandled promise rejections on iOS, macOS, and Android. Messages buffer up to 5,000 entries — clearable on demand.

Network Monitoring

Two levels of network visibility:

Performance timeline — uses the browser's Performance API to get resource loading data: URLs, methods, status codes, MIME types, sizes, and detailed timing breakdowns (DNS, TCP, TLS, waiting, download). The get-network-log type, status, and since filters and the aggregate summary block are now honored consistently across iOS, Android, and macOS.

WebSocket monitoring — tracks active WebSocket connections created by the page, including URL, ready state, negotiated protocol, sent/received message counters, and a bounded recent-message buffer with timestamps and direction. The monitoring data is best-effort page observability rather than an authoritative packet trace, and on macOS it is available on the WebKit renderer path.

Network Inspector (new) — a Charles Proxy-style traffic viewer built into the app. See below.

Network Inspector

On macOS, iOS and Android, request capture updates retained entries incrementally. A single background writer coalesces private network-history file writes, capped at the native store's 2,000 entries. Existing preference-based history migrates only after a successful write. Mobile apps flush pending history when backgrounded; a failed write retries without clearing the previous history. The inspector is an app-wide developer log, including requests from isolated tabs; deleting a website partition does not clear that log.

A built-in network traffic viewer accessible from the floating menu. Captures all HTTP/HTTPS requests and responses flowing through the loaded website.

List view: every request shows its HTTP method (GET, POST, PUT, DELETE, OPTIONS, etc.), URL, status code, content type, category, duration, and size. The app records the top-level page document alongside fetch/XHR traffic, so a normal page load always appears in the inspector. Three filter dropdowns: Method (All Methods, GET, POST, PUT, DELETE), Type (All Types, HTML, JSON, JS, CSS, Image, Font, XML, Other), and Source (All Sources, Browser, JS (fetch/XHR)). The Source filter distinguishes browser-initiated requests (page loads, subresources) from JavaScript-initiated requests (fetch, XHR). URL search is also available. All three platforms (iOS, Android, macOS) have identical filter sets.

Detail view: drill into any request to see the full picture — request method, URL, headers, query parameters, and body. Response status, headers, and body (formatted for JSON). Timing: start time, duration, bytes transferred. On Android and Chromium-backed macOS views, top-level document rows may have partial metadata where the native web view does not expose a full response.

LLM integration: the LLM can list and filter captured traffic, navigate to a specific request by index or URL pattern, and read its full details. When the user is viewing a specific request in the inspector, the LLM knows exactly which one and can debug it — inspecting headers, payloads, and response data.

On macOS, capture updates the retained history incrementally so busy pages do not rebuild the entire history on every request. History is saved in batches to a private Application Support file, with a final save on normal quit. Existing history migrates automatically from preferences after the first successful file write. A forced quit can lose the most recent second of traffic.

API: network-list, network-detail, network-select, network-current, network-clear.

3D DOM Inspector

Experimental. On iOS, Android and macOS the 3D inspector is visible by default and can be turned off in Settings without restarting. On macOS the toolbar icon is enabled for WebKit. On Windows and Linux the icon is enabled on loaded pages in Chromium builds.

A visual debugging tool for inspecting element stacking and layer order. On phones and tablet windows narrower than 600 points or dp, select 3D inspector directly above Network inspector in More. On wider tablets and desktops, select the cube next to the three dots. On macOS the Chromium/WebKit switch sits between the cube and the three dots when both engines are available. Every element is pushed along the Z-axis based on its depth in the DOM tree, making it easy to see which elements overlap, identify invisible overlays blocking interaction, and understand the page structure.

Inspector controls:

  • Left toolbar — Rotate orbits the page, Pan moves the camera horizontally and vertically using drag or wheel/trackpad input, without changing zoom, Scroll moves through the source page, and Inspect picks an element without moving the scene. Pointer and one-finger drags follow the selected tool.
  • Page orientation card — a native screenshot taken before disassembly shows the actual website inside red X, green Y, and blue Z rings. Drag the preview to orbit the scene, or choose Top, Side, and Front views. If snapshot capture is unavailable, the card says so; inspection remains available.
  • Zoom controls — zoom out/in or select a percentage from 15% to 250%. Wheel/trackpad and pinch gestures update the displayed level.
  • Vertical layer slider — adjust separation from 0 (assembled) to 80 pixels per DOM depth step. The current value is displayed beside the slider; + and - keys also adjust it.
  • Elements toolbox — open Elements to browse the page's DOM, including hidden elements, open shadow roots and accessible same-origin frames. Branches expand on demand. Hover or focus a tree row to highlight its plane; hovering a plane expands its ancestor branches and reveals the matching tree row. Off-screen planes are brought into view by camera translation, preserving the zoom level and rotation. Hidden elements and nodes outside the render limit are identified as having no rendered plane.
  • Native shell controls — macOS, iOS and Android provide shortcuts for rotation, scrolling, zoom and reset. R resets the camera. Escape or the toolbar cube restores normal browsing.

The camera pivots around the visible viewport, including on long pages. The toolbox supports keyboard expansion, navigation and selection; the layer slider supports keyboard adjustment. Controls adapt to narrow phone and landscape viewports.

iOS, macOS, Windows and Linux bundle the same inspector scripts, and Android bundles identical scene and tool sources. Missing or unreadable scripts fail activation without terminating the app. On macOS the inspector follows the visible tab even when several tabs are open. Windows and Linux keep the inspector state with the tab and reset it on document navigation.

The 3D view shows DOM depth (tree nesting), not CSS paint order. Tag, classes, dimensions, original position and z-index appear in the hover info panel. Source-page interactions are suppressed while inspecting, but background page logic (timers, network callbacks) may still execute. Exit removes controls and listeners and restores the source styles. The screenshot remains in memory for that inspector session only. Works with WebKit and Chromium renderers.

Limitations: Canvas, WebGL, and video elements appear as opaque layers. Cross-origin frames cannot expose their contents; closed shadow roots are not traversable. Hover detection degrades at steep rotation angles. Pages with more than 5,000 visible elements have their rendered planes capped with a warning toast; the toolbox can still browse their DOM. The tree reflects the structure when its branches are expanded; it does not continuously track background DOM changes.

The macOS, iOS and Android API exposes snapshot-3d-enter, snapshot-3d-exit, snapshot-3d-status, snapshot-3d-set-mode, snapshot-3d-zoom, and snapshot-3d-reset-view (MCP: kelpie_snapshot_3d_enter, kelpie_snapshot_3d_exit, kelpie_snapshot_3d_status, kelpie_snapshot_3d_set_mode, kelpie_snapshot_3d_zoom, kelpie_snapshot_3d_reset_view).

Bookmarks

Saved URLs accessible from the floating menu. Fully controllable through the MCP and CLI — an LLM or user can add, remove, list, and clear bookmarks remotely. Tapping a bookmark navigates the browser to that URL. Persisted across app restarts. Primary use case: push project URLs from the CLI so you can tap to navigate without typing.

API: bookmarks-list, bookmarks-add, bookmarks-remove, bookmarks-clear.

History

Chronological log of every URL navigated to. Auto-recorded from real navigation changes inside each tab or browser surface instead of from tab selection state, so switching tabs does not create false history writes and revisiting a URL moves it back to the top cleanly. Viewable from the floating menu, clearable by the user or via API. Stores up to 500 entries, persisted across restarts. If a navigation is recorded before the page title settles, the latest history entry self-updates once the final title arrives, so rows do not stay blank or half-populated.

API: history-list (with limit), history-clear.

Start Page (macOS, Windows, Linux)

New tabs open Kelpie's own start page instead of a blank document. Under a small app icon it shows two grids of site cards: "Favourites", with every saved page, and "Recent", with the eight most recently visited sites that are not already favourites (one card per site, linking to its latest visit). Each card is a 16:10 screenshot of the site with its favicon in the bottom-left corner and the domain, without www., underneath; the page title appears on hover. A site Kelpie has not captured yet shows a two-tone tile in one of six colours chosen from its host, with its favicon or initial. Cards lift on hover and rise in on load unless reduced motion is on. Soft mint and blue glows from the app icon sit behind the content. The page follows the system light and dark appearance, and shows "Open a website to get started" when there is nothing to list. Clicking a card navigates that tab.

Screenshots are taken automatically. About 1.5 seconds after a page in the active tab finishes loading and stops changing, Kelpie captures the visible viewport, keeps its top-left corner at the card's 16:10 shape, scales it to 640 by 400 pixels and stores it as a JPEG, keyed by host, with the site's favicon. A site is recaptured at most every two minutes while browsing around it. Start pages, error pages, pages still loading, non-web URLs and in-memory (non-persistent) partitions are never captured, and a capture showing a single flat colour is discarded. The store keeps the 96 most recently captured sites in the profile (site-previews on Windows and Linux, SitePreviews in the macOS caches directory). Clearing history deletes every screenshot except the favourites'.

On macOS the page is the SwiftUI StartPageView, and screenshots come from the tab's WebKit snapshot. On Windows and Linux it is the same layout served to the tab as first-party content from Kelpie's own kelpie:// scheme, which the browser registers as standard, secure, CORS- and fetch-enabled. The page reads its bookmarks and history from data.json on that same origin and each screenshot from kelpie://start/preview/<hex host>.jpg. It is not a script injected into a third-party page, and no bridge script is involved. Screenshots are captured through a fixed internal DevTools observation that is fenced to one document, on a background worker, so the page and agent control are not held up.

A tab on the start page reports its URL as kelpie://start from get-tabs, and its tab pill shows a star instead of a favicon. new-tab without a url opens it, as does the + button, the first tab at launch when no home page is set, and the replacement tab left behind after the last tab is closed.

The kelpie scheme is never recorded in history and cannot be bookmarked, so the start page never appears inside its own Favourites grid or Recent list.

Favicons (macOS, Windows, Linux)

Each tab shows the page's favicon in its pill. macOS fetches it per host and caches it on disk; Windows takes it from Chromium itself — the browser reports the page's icon URLs and downloads them without sending cookies, keeping the 32 px representation where the site offers one and the 16 px one otherwise. Icons are cached by host, so every tab on a site and every start page card for it share one image. An icon belongs to the site whose page requested it: a download that finishes after the tab has moved to another site never labels the new site, and a site that declares no icon shows no icon rather than the previous site's. On Windows and Linux the session's icons are in memory; the copy stored with each start page screenshot lets cards show icons after a restart.

A tab whose site has no favicon yet shows a letter avatar: the first letter of the host, white on one of six colours chosen deterministically from the host name. macOS and Windows use the same palette and the same hash, so a given site is the same colour on both.

Floating Menu

The floating menu is used on iOS and Android. On macOS these same actions live as icon buttons directly in the top toolbar instead (see the macOS section below).

A 44-point circular flame button, vertically centered on the screen edge. Horizontally draggable — swipe it left or right so it's never in the way. Tap to expand a fan of icon-only menu items in a wide half-circle: reload, Safari/Chrome auth, bookmarks, history, network inspector, AI status, 3D inspector, and settings. The fan radius grows automatically with the number of visible actions so newly added buttons do not overlap. On tablets, the fan also includes a phone icon that opens a pill picker anchored off that icon instead of toggling immediately. The picker uses the same sorted fitting preset list shown by the iPad View menu and MCP APIs, including phone, tablet, and laptop classes when they fit the current device geometry. Pills use full visible labels such as 6.1" Compact, 11" iPad Pro, and 13" Laptop, and they flow into extra columns outside the fan lane so they do not cover the action buttons. Tapping the active pill again returns the browser to full width. Opens with a blur overlay behind it.

LLM-Optimised Queries

Purpose-built methods that return semantic data instead of raw HTML:

  • Accessibility tree — ARIA roles, labels, states, and nesting. What a screen reader sees.
  • Visible elements — only what's currently in the viewport, optionally filtered to interactive elements only. Up to 200 elements with positions.
  • Page text — reader-mode text extraction: title, content, word count, language.
  • Form state — snapshot of every form on the page: fields, values, validation state, which required fields are empty.
  • Smart find — find a button, link, input, or any element by its visible text or label. No selectors needed.

When those semantic methods are not enough, Kelpie also provides an annotated screenshot workflow: the app returns a screenshot plus numbered interactive elements, and the LLM can act on those indices with click-annotation or fill-annotation instead of guessing raw coordinates.

Address-bar search

On Windows, macOS, Linux, iOS and Android, entering a word such as GitHub or a phrase opens a Google search. Search queries preserve Unicode and punctuation. Domains, IP addresses, localhost and explicit URLs remain direct navigations; blank input does nothing. Accepted history completions still open the displayed URL. This shared rule applies to the address bar, not HTTP/MCP navigation commands. Old single-label history entries such as https://github/ are excluded from implicit completion, so they cannot turn GitHub back into a broken URL. An explicitly typed URL can still access an intranet hostname.

Local AI

For verified platform coverage and remaining inference gaps, see the platform inference audit.

AI inference on macOS, iOS, Android and Windows; Linux does not yet expose AI handlers. Windows implements the inference and endpoint methods described below, without the recording/catalog methods. HTTP endpoints (ai-status, ai-load, ai-unload, ai-infer, ai-record, ai-catalog, ai-fitness, plus ai-endpoints, ai-endpoint-save, ai-endpoint-remove, ai-endpoint-models, ai-endpoint-test, ai-endpoint-health and ai-cancel) and corresponding MCP tools let language models query local AI without sending data to the cloud. ai-catalog returns the approved on-device model catalog and ai-fitness scores a model against a device's RAM/disk — both are supported on iOS, Android, and macOS and require a HuggingFace token configured on the device. On iOS and Android, AI remains available from the browser shell while the visible URL-bar shortcut is reserved for the 3D inspector.

macOS — native GGUF + Ollama + HF Cloud: The CLI manages GGUF model downloads from HuggingFace (kelpie ai pull). The macOS app loads them via llama.cpp on Apple Silicon. An inference harness runs a lightweight agent loop (max 3 tool calls) so 2B models can request page data on demand instead of receiving everything upfront. Audio recording captures 16kHz mono PCM (max 30s) for voice input. Intel Macs get Ollama-only mode. HF cloud inference is available as a third backend when a token is set.

macOS tab conversations: Each open tab keeps its own in-memory conversation and draft until the tab closes. Switching tabs, navigating, and closing/reopening the AI panel preserve the conversation. Every backend receives previous user/assistant messages in order, without a ten-message cutoff (subject to its model context window). Local chat reads the originating tab explicitly and includes current page text plus accessible image/logo labels. Read failures are shown as errors rather than passed to the model as an empty page. Closing a tab clears its conversation; restored tabs start fresh after an app restart.

Windows tab conversations: The Local AI dialog keeps a separate in-memory transcript for its originating tab, includes page context by default, and sends all prior turns. Reopening the dialog or navigating preserves that transcript; closing the tab clears it and ignores late replies. Page text includes accessible image, ARIA and SVG names on both Windows and Linux.

iOS and Android API context: Existing AI APIs accept complete caller-supplied conversation history on every backend. Page-text, DOM and accessibility context capture the requested tab without switching it. Page-text evidence includes the title, URL, text and accessible labels. Invalid tabs and extraction failures return errors. Mobile does not add a chat panel or a second conversation store; API clients own their conversation history. See mobile AI context.

iOS — Apple Intelligence + Ollama: Platform AI (Foundation Models framework) provides text inference when available on iOS 26 or later with supported hardware and Apple Intelligence enabled. Users can select an OpenAI-compatible or Ollama endpoint on a LAN computer when on-device inference is unavailable.

Windows, Android and iOS — embedded GGUF: Import a small instruction GGUF for offline CPU text inference, or explicitly select an OpenAI-compatible LAN server for a larger model. Mobile imports use app-private storage. Loading, cancellation, memory checks and the Windows endpoint/settings surface are described in embedded inference. The Android runtime does not depend on Gemini Nano/AICore, so it also works on supported 64-bit devices without Google platform AI.

OpenAI-compatible endpoints (macOS, iOS, Android): A person can add, edit, test, select and remove named endpoints for any server that speaks the OpenAI chat API — Strata, llama.cpp llama-server, LM Studio, vLLM, Ollama's /v1 and others. The base URL keeps its path (/v1, /openai/v1); pasted /chat/completions suffixes are stripped and an empty path becomes /v1. API keys are optional, stored in Kelpie's encrypted secret store, never returned or logged, and no Authorization header is sent without one; only same-origin redirects are followed. Saving never connects — Refresh models, Test and Use do. localhost means the device running Kelpie: the Mac on macOS, the phone on iOS and Android (which need the computer's LAN or .local address and a server listening on the network). Health is reported as unknown, unreachable, auth_failed, loading, no_model, model_missing, ready or busy; a 200 response alone is never ready, stale results read as unknown, the active endpoint is re-checked on wake and network changes, and failures never fall back to another backend. Capabilities (context window, vision, tool calling, JSON schema) come only from server metadata, the person's declaration or a bounded test, each with its source. The selected endpoint drives Kelpie's browser agent: the model calls semantic page tools (text, visible elements, find, form state, accessibility tree) and, only when the caller or the person allows page actions, click/fill/select/check — always in one pinned tab, never navigation or scripts. The agent keeps a task list, sees its remaining step budget, and always ends with a final answer or, when the budget runs out, a final report. Text-only models never receive screenshots. The macOS AI panel (Models → OpenAI-compatible, Chat with "Page actions" and Stop), the iOS Settings screen and the Android AI sheet expose this; the API is described in OpenAI-compatible endpoints and the CLI in AI endpoints.

Hugging Face Token: Gated models (e.g. Gemma) require a HF access token. On macOS, a "Set HF Token" button appears in the AI panel's Models tab (NATIVE section header). When a download fails due to missing auth, the browser navigates to huggingface.co/settings/tokens and the error message guides the user to set their token. The token is stored in UserDefaults and sent as a Bearer header on all HF download and cloud inference requests.

HF Cloud Inference: When a HF token is set, models available on the HF Inference API can be queried remotely without downloading. The cloud client posts to api-inference.huggingface.co/models/{id} and returns the generated text with timing metadata. Supports prompt, chat-message, and raw HF input formats.

Shared AI Library (core/native/core-ai): Model catalog, fitness evaluation, HF token management, and shared model-store helpers live in a shared C++ library. Apple apps use URLSession for authenticated downloads, Ollama, and HF cloud inference; Linux and Windows keep the cpp-httplib path.

CLI model management: kelpie ai list shows approved models and their download status, plus any locally running Ollama models. kelpie ai pull/rm manage downloads. kelpie ai load/unload/status/ask control inference on devices. kelpie ai catalog lists a device's approved model catalog and kelpie ai fitness <model> scores a model against a device's RAM/disk. kelpie ai endpoint list|add|edit|remove|models|test|health|use and kelpie ai cancel manage OpenAI-compatible endpoints. All available as MCP tools (kelpie_ai_models, kelpie_ai_pull, kelpie_ai_remove, kelpie_ai_status, kelpie_ai_load, kelpie_ai_unload, kelpie_ai_ask, kelpie_ai_record, kelpie_ai_catalog, kelpie_ai_fitness, kelpie_ai_endpoints, kelpie_ai_endpoint_save, kelpie_ai_endpoint_remove, kelpie_ai_endpoint_models, kelpie_ai_endpoint_test, kelpie_ai_endpoint_health, kelpie_ai_cancel).

Annotated Screenshot Workflow

A visual-first automation loop designed for LLMs:

  1. Take an annotated screenshot — get an image with numbered labels on interactive elements.
  2. The LLM examines the image and decides what to do.
  3. Click or fill by annotation index — "click 5" or "fill 12 with my@email.com".
  4. Repeat.

No CSS selectors, no DOM knowledge. The LLM works from what it sees, like a human would.

Mutation Observation

Watch the DOM for changes in real time. Start an observer on any element (or the whole document), specifying what to track: attributes, child nodes, subtree, text content. Retrieve accumulated mutations later. Stop when done. Useful for detecting dynamic UI updates, loading spinners, and AJAX content across iOS, macOS, and Android.

Shadow DOM

Query elements inside shadow roots, even nested ones. List all shadow DOM hosts on the page. The pierce option recursively searches through nested shadow trees. Essential for modern web components (Lit, Stencil, etc.) on iOS, macOS, and Android.

Tabs

List open tabs, create new ones, switch between them, close them. Each tab tracks its URL, title, and active state. Each tab owns its own WebView instance so page state, scroll position, and history are preserved across tab switches.

On macOS, WebKit and Chromium both use the native tab strip, keyboard shortcuts, and tab API. Each opened Chromium page uses a separate browser in the window's tab store, retaining its document and scroll position when another tab is selected. Select a Chromium tab before using automation that needs a visible renderer, such as JavaScript evaluation.

On macOS, Cmd+T focuses the address field immediately after opening a new tab. Windows does the same with Ctrl+T, the new-tab plus and New isolated tab. Clicking an unfocused address field selects its full contents on both desktops, so typing replaces the existing address; later clicks allow normal caret placement and text selection. On Windows, address text follows the window DPI, including 200% scaling and moves between displays.

On macOS with WebKit, and on Windows and Linux, tab-scoped browser commands can target a background tab by tabId. When only one tab is open, tabId can be omitted; when multiple tabs are open, it is required and the server returns TAB_REQUIRED if it is missing. The Windows and Linux lease also accepts the generation returned by new-tab. Legacy macOS Chromium calls without a tab ID target the active tab. iOS and Android always operate on the active tab. Legacy mobile requests capture that tab's WebView at dispatch, so a pending UI refresh cannot redirect navigation or cookie access to the previous tab's store.

macOS also supports multiple top-level windows. Each window has its own tab list, and tab IDs are scoped per window. Tab-related requests accept an optional windowId field, and get-tabs returns a windows array enumerating every window when more than one is open. iOS and Android only ever expose one window and report windowId: "main".

Tabs can carry an optional display name and an optional storage partition. A name is a free-form label (up to 200 characters) that replaces the page title in the tab bar and comes back in get-tabs, so an orchestrator can find the tab it means without matching on URLs. A partition binds the tab to its own cookie / localStorage / IndexedDB container: tabs created with the same partition string share storage, tabs with different strings are fully isolated, and tabs created without one keep using the shared default container exactly as before. That makes N independent logins to the same origin possible on a single device — twelve employee identities on one Mac, each with its own session. Partitions can also be non-persistent, in which case their storage is in-memory only and disappears with their tabs. kelpie partitions lists what exists and kelpie partition delete <id> closes the partition's tabs and wipes its storage.

This delivers isolated identities, not parallel execution: commands still serialise on each app's main thread, so an orchestrator drives twelve partitions in turn rather than all at once.

Storage partitioning is available on macOS with the WebKit engine, Windows and Linux with the Chromium (CEF) engine, iOS 17+, and Android WebViews supporting multiple profiles. Mobile supports persistent named partitions; persistent:false and unsupported runtime requests fail with PARTITION_UNSUPPORTED before creating a tab. macOS on the Chromium engine also rejects isolation. On macOS, switching to the Chromium engine is blocked while any partitioned tab is open because partitioned storage cannot be migrated into CEF. On Windows and Linux each partition is a separate CefRequestContext — persistent ones stored as a Chromium profile directory <profile>/cache/partition-<id>, non-persistent ones in memory — window.open inherits the opener's partition, and each tab's partition is recorded in the session snapshot and rebound on restart. Windows normalizes profile paths before creating CEF stores, so forward-slash launch paths preserve persistent isolation. Both desktop engines stop restoration if a named store cannot load, preserving the saved session without reopening isolated URLs in the shared store.

The Windows shell exposes the same feature without the API: the top-left + creates a tab, and its context menu offers "New tab" and "New isolated tab" (Ctrl+Shift+N), an isolated pill carries a 2-DIP accent stripe and shows its name in place of the page title, its tooltip spells out the partition id, and Settings has an Isolate every new tab toggle that is off by default.

On iOS, Android, macOS, and Linux, the current tab set is also persisted automatically while the browser is running and restored automatically on the next app launch. Restarting the browser reopens the same tabs and URLs that were active before exit instead of dropping back to a blank start state.

On iOS and Android, the bottom address toolbar expands to 62 points/dp and collapses to a 34-point/dp domain lane during deliberate finger scrolling. Programmatic scrolling leaves its geometry unchanged. Tablets keep a persistent top tab strip with a left-side plus button, neutral grey inactive tabs, and a page-coloured selected tab. Every tab can close, including the final tab, which creates a replacement. Phones expose a two-column tab overview through More or an upward address drag, with in-memory previews, close buttons and horizontal swipe dismissal. More also retains bookmarks, history, sharing, external-browser page sign-in, AI, inspectors, tablet viewport presets, settings and welcome help. Android's URL field retains inline history completion and reload/stop. Android preserves live tabs during resizing and orientation changes. Its network service stops only the server instance owned by the departing Activity, so other configuration changes cannot leak an old listener or stop the replacement server.

Iframes

List all iframes on the page with their URLs, names, positions, and cross-origin status. Switch context into an iframe to interact with its content, then switch back to the main frame.

Cookies and Storage

Full read/write access to cookies (with domain, path, expiry, httpOnly, secure, sameSite attributes) and both localStorage and sessionStorage. Clear individual items or wipe everything.

Cookies are read from and written to the platform's native cookie store (WKHTTPCookieStore on iOS/macOS, CookieManager on Android), not through JavaScript. This means httpOnly cookies are fully settable and readable — the common case for session auth — which eval / document.cookie can never do. To start automation from an authenticated session, set the session cookie with set-cookie (CLI cookies set --http-only, MCP kelpie_set_cookie) before navigating; no external proxy is required. See the CLI reference's "Authentication / session state" section.

Each cookie call works on one store: the default store, a tab's store, or a partition's store. get-cookies with all:true exports every cookie in a store, not just the current page's, and domain narrows it to one site. set-cookies writes up to 500 cookies at once, and copy-cookies copies cookies between stores on one device without the values leaving it — for example from the default store into an isolated tab. CLI: kelpie cookies list --all, kelpie cookies import, kelpie cookies copy. See cookies.md.

Cookie sync

Kelpie devices signed in to the same UOA account share their website cookies. Sign in to a site on one device and the others are signed in within seconds while they are running. Sign out of the site on one and the others are signed out too.

  • Same network, no server. Devices find each other with mDNS on the local network and talk directly over an encrypted channel. No server stores or sees a cookie; UOA only confirms that both devices belong to the same account. A device that was away catches up the next time it is on the same network as another signed-in Kelpie.
  • Automatic. Sync starts when you sign in and stops when you sign out or switch accounts. There is no setting.
  • Default store only. Isolated (partitioned) tabs never sync, never receive synced cookies and never send theirs. An agent can copy cookies into one when asked.
  • Standalone apps only. A Kelpie browser embedded in another app does not sync.
  • iOS syncs only while Kelpie is in the foreground. It sends pending changes as it goes to the background and reconnects when it comes back.
  • Android syncs in the background while its foreground service runs. Its WebView cannot list every cookie, so it checks the sites it knows about: history, recent pages and cookies it already synced. A WebView too old to report cookie attributes cannot sync.
  • Windows and Linux open a separate sync listener on the local network; automation stays on loopback. Windows may ask to let it through the firewall. If inbound connections are blocked, the device still syncs by connecting to its peers. Linux needs Avahi for discovery.
  • Restarts. A browser loses its session cookies when it restarts. A restart does not log the other devices out, and they send the session cookies back.
  • Shared computer. When a different account signs in, the cookies already on that device stay local and never reach the new account's devices.
  • Clearing is local. Signing out of one site reaches every device. Removing more than 20 cookies that are also more than a quarter of the store at once — clearing all cookies, or the system purging them — is treated as a purge and clears that device only.
  • Some sites refuse copies. A site that ties its session to one device, address or user agent may reject a synced cookie. Kelpie delivers it; the site decides whether to accept it.
  • Limits. Up to 150 cookies per site (a domain and its subdomains, as browsers count it) and 3 000 in total sync. Devices whose clocks differ by more than 2 minutes do not sync; status shows clock-skew.

Who can read synced cookies. Every signed-in device holds the shared set, so any client paired with any one device can read and plant cookies for all of them. Pair a client only if you would trust it with the sessions on all your devices.

API: get-cookies with all:true, set-cookies, copy-cookies and get-cookie-sync-status (cookies.md); device-to-device protocol in cookie-sync.md. CLI: kelpie cookies sync-status. MCP: kelpie_get_cookie_sync_status, kelpie_copy_cookies.

Clipboard

Read and write the device clipboard. On iOS, a system permission banner appears briefly.

Keyboard and Viewport

Show or hide the soft keyboard, check its state, and see how it affects the visible viewport. Resize the viewport to simulate different screen conditions. Check whether a specific element is obscured (e.g., by the keyboard).

On Android, keyboard visibility and height now come from live WindowInsets tracking instead of a stubbed value. Kelpie subtracts the navigation-bar inset from the IME inset and reports the resulting keyboard height plus the remaining visible viewport in dp.

On iPad and Android tablets, the browser shell also has a More-menu phone viewport picker that stages the live browser view inside a centered device-class viewport instead of stretching edge to edge. The staged viewport honors the current tablet orientation: portrait uses a portrait frame, landscape uses a landscape frame, and the preset list only shows the shared phone, tablet, and laptop sizes that fit the current device geometry. When staged mode is active, a persistent black close button with a white border sits outside the browser frame at the upper-left, and a centered black summary pill sits above the viewport with clear spacing and shows the simulated inches band and pixel range.

On macOS, the browser window and the browser viewport are separate concepts. Full mode fills the live stage, shared device presets create a centered simulated viewport inside that shell, and raw resize-viewport calls enter a Custom viewport mode instead of resizing the native window. The shell can grow larger, but never smaller than the configured minimum. The native window retains the current page title for system menus; the tabs show it visually, and the three-dot popup shows the live viewport resolution. The shell persists the user-resized shell window size and on-screen position across launches — the saved position is restored only when it still lands on a connected screen, otherwise the window is re-centered — and shows the same first-launch welcome card used on iOS. The macOS preset picker now uses the same shared categories as tablets, sorted by screen size: Flip Fold (Cover), Compact / Base, Standard / Pro, Book Fold (Cover), Large / Plus, Flip Fold (Internal), Ultra / Pro Max, Book Fold (Internal), and Tri-Fold (Internal). If the window becomes too small for the active preset, Kelpie clears that preset and returns to Full mode instead of keeping a stale hidden selection. The same menu exposes links to the Kelpie website, the GitHub repository, and unlikeotherai.com. macOS keeps back, forward, reload, Home, bookmark, native page sharing and history in the navigation row. The right-hand three-dot popup contains bookmark management, network inspector, settings, AI, 3D inspection, renderer selection, viewport presets, orientation and scale. All chrome controls use AppKit-backed hit targets. Tabs stay pinned while downward page scrolling hides the address and favourites rows; the first upward scroll reveals them, as do navigation, Home, reload and tab selection. The compact bars use native translucent blur. On macOS 26+ in full-size WebKit mode, page content renders beneath that blur while native insets keep fixed/sticky headers and the visible automation viewport correctly positioned. Other engines, older macOS and staged viewports retain their reserved content area. Chrome samples a narrow visible WebKit page strip during navigation and throttled scrolling, then transitions background, selected tabs, text and toolbar icons together over 200 ms. Sampling stays in memory, ignores bright foreground details when choosing the background, and stops when idle. A compact light-blue link preview overlays the bottom-left of the page only while a link is hovered. It sizes to the destination, truncates long URLs within 640 points or the available width, fades in and out over 150 ms (instantly with Reduce Motion), and never reserves viewport space or intercepts page clicks. It shows destinations including same-origin frames and open shadow roots, and clears on exit, scrolling or navigation; cross-origin frame links cannot be inspected through the native tracker’s one-shot DOM query. The favourites row contains real saved bookmarks and is hidden while the store is empty. Cmd+D, Add bookmark in the application or three-dot menu, and the address star save the current window’s page, avoiding duplicates and start pages, and reveal the row. Favourites open their saved URLs; removing the last bookmark removes the row and its 29-point WebKit underlap. The divider moves with the bottom of the visible rows and uses adaptive foreground colour at 10% opacity. History opens in an anchored 320-by-420-point popover matching the additional-controls menu, retaining entry navigation and Clear history with AppKit-backed hit targets. Bookmarks, network and settings open native macOS sheets backed by the same stores and inspector data as iOS, with full-row hit targets.

The browser HTTP API and MCP now expose named viewport presets directly via get-viewport-presets / set-viewport-preset and kelpie_get_viewport_presets / kelpie_set_viewport_preset, so an LLM can inspect the current preset catalog and activate one of the shared device classes remotely. Linux does not support named viewport presets yet.

Orientation Control

Lock the device to portrait, landscape, or auto-rotate. Query the current orientation and lock state.

On macOS this applies to the staged viewport only, not the native window. A named viewport preset must be active before orientation can change, and the three-dot popup hides the portrait/landscape toggle unless such a preset is active. If automation asks for orientation while macOS is in Full mode or raw Custom viewport mode, Kelpie now returns an explicit explanatory error instead of pretending the feature is unsupported.

Device Info

Get comprehensive metadata: device ID, name, model, platform, OS version, screen dimensions, pixel ratio, network address, port, app version. Query what capabilities each device supports (e.g., on-screen keyboard control is mobile-only; renderer switching is macOS-only).

Toast Messages

Show a message overlay on the device screen — a blurred pill at the bottom that auto-dismisses after 3 seconds. Useful for feedback during automation ("Logging in..." or "Test passed"). Accessible via the toast endpoint. On macOS the toast is rendered as a native shell card over the browser window instead of being injected into the page DOM.

Group Commands

Send the same command to every discovered device simultaneously — or filter by platform, device name, or ID. Navigate all devices to the same URL, take screenshots from all of them at once, fill the same form on every screen. Results come back per-device.

Smart group queries go further: "find the login button on all devices" returns which devices found it and which didn't. The LLM can then decide what to do per-device.

Filtering: --platform ios, --exclude "iPad Air", --include "a1b2c3d4,My iPhone".

MCP Server

The CLI runs as an MCP server (stdio or HTTP/SSE transport) exposing 100+ tools — every browser command plus discovery and group operations. Add it to Claude Desktop, Cursor, or any MCP-compatible client:

{
  "mcpServers": {
    "kelpie": {
      "command": "kelpie",
      "args": ["mcp"]
    }
  }
}

All MCP tools use the kelpie_ prefix and include JSON schemas with descriptions.

Install Description (kelpie describe)

One machine-readable document answering what an external integrator needs to know before it can drive anything: which CLI version is answering, where its binary lives, how to start its MCP server over stdio or HTTP, how large the tool catalog is (with a digest so a poller notices an upgrade that changed the tool surface), and every instance currently visible — from the mDNS browse and the loopback probe, since a Kelpie on the same host is routinely missed by the announcement.

kelpie describe                        # human-readable summary
kelpie describe --json                 # the integration contract
kelpie describe --json --include-tools # embed every tool schema

--json is a stability contract: readers must tolerate unknown fields and unknown enum values, and nothing is removed or repurposed without raising schemaVersion. It exits 0 with a valid document even when nothing is found, and distinguishes "looked and found nothing" from "could not look". Pairing travels as a boolean per instance and never as a token. See docs/cli.md for the full grammar.

LLM Help System

Every CLI command supports --llm-help for machine-readable documentation. kelpie --llm-help outputs the complete reference, including guidance on reporting unexpected automation failures or missing capabilities to the GitHub issue tracker. kelpie explain <command> gives natural-language explanations. Designed so an LLM can teach itself the tool without human guidance.

The CLI manages local browser aliases under ~/.kelpie. On macOS, kelpie browser register <name> and kelpie browser launch <name> start a fresh Kelpie.app instance on an explicit or auto-assigned port. On Windows, users extract the release ZIP into a current-user-owned directory, register the executable with an absolute profile directory, and launch it through the same alias commands. Windows aliases use a protected readiness file and kelpie --browser <name> mcp for local agent stdio. Auto-assigned launch ports skip reserved ports such as 8421 so AppReveal and CLI MCP do not clash with launched browser instances.

CLI MCP also honors --device <id|name|ip|host:port> as its default browser, using the same resolver as explicit pairing. Tools may override the target explicitly; an unresolved launch target fails instead of silently selecting another device. Without a target, browser-control documentation and local help capabilities are available immediately. A tab-targeted command using automatic discovery requires an explicit target before starting a new pairing.

Published GitHub releases also build Android release artifacts and publish the CLI packages to npm automatically, so the release page and npm stay aligned with the tagged version.

Settings Panel

Slides in from the floating menu. The current settings surfaces are primarily status and control panels, not device-identity editors: they show device info, network status, and version/build information, plus platform-specific help and experimental controls.

On iOS, the settings sheet shows device and network details, a copyable connection URL, a Debug Overlay toggle for external-display diagnostics, an Experimental toggle for the 3D DOM inspector, the shared help actions (Show Welcome Screen, Open Kelpie Website, Open GitHub Repository, and Open UnlikeOtherAI), and app version/build details.

On Android, the settings sheet mirrors the same core device and network status, the shared help actions, and an Experimental 3D DOM inspector toggle.

On macOS, the settings sheet adds renderer status plus a native AI section: active model picker, Ollama endpoint field, reachability test, and local-model status summary, alongside the same network/app information and the Experimental 3D DOM inspector toggle.

On iPad, the same help actions are also exposed directly from the app menu, immediately under the app Settings item, so keyboard-and-menu users do not need to open the settings sheet first. The iPad app also adds a View menu that lists the currently available staged phone, tablet, and laptop viewport presets plus Full Width, and those menu items are sourced from the same native preset catalog used by the floating menu and MCP APIs.

Dialogs

Detect, accept, or dismiss JavaScript alerts, confirms, and prompts. Configure auto-handling (always accept, always dismiss, or queue for manual decision). Queued dialogs are cleared if a new navigation starts so the browser never stays blocked on a stale native dialog callback. Dialog handling now has full parity across iOS, Android, and macOS — the macOS WebKit renderer enqueues dialogs into a shared store the handler reads, so it is no longer a stub.

Request Interception

Blocking requests by URL pattern and mocking responses (custom bodies and status codes) is part of the API surface, but is not currently implemented on any platform — set-request-interception, get-intercepted-requests, and clear-request-interception return PLATFORM_NOT_SUPPORTED on iOS, Android, and macOS alike.

Geolocation Override

Overriding the device GPS location (latitude, longitude, accuracy) is part of the API surface, but is not currently implemented on any platform — set-geolocation and clear-geolocation return PLATFORM_NOT_SUPPORTED on iOS, Android, and macOS alike.

Windows local control

Windows 0.1.4 uses the shared CEF desktop runtime for tabs, navigation, trusted input, DOM/evaluation, screenshots, cookies, storage, dialogs, console and network inspection. The GUI listens only on loopback. Each launch writes a current-user ACL-protected readiness file at <profile-dir>/readiness.json; it holds the bound port and per-launch bearer token. Public device discovery reports only 127.0.0.1, the actual bound port, and loopback MCP transport. kelpie browser register <name> --platform windows --app-path <Kelpie.exe> --profile-dir <absolute> creates an alias, kelpie browser launch <name> starts it, and kelpie --browser <name> mcp provides a token-free stdio bridge for local development agents and local Nessie executors. kelpie browser stop <name> requests orderly app shutdown and clears its alias state only after that launch removes readiness. Windows home, native toast, and fullscreen are callable through HTTP and MCP. Account-based remote browser control uses the separate authenticated Nessie connection.

On macOS, Windows and Linux, the selected tab carries the sampled page colour continuously into the navigation area below. Inactive tabs and the entire title strip stay static light gray, including on dark pages. Page colours animate while the gray strip remains unchanged. On macOS, a bounded trailing sample catches sticky-header colour transitions after the last scroll event.

Desktop UOA account and favourites

On macOS, Windows and Linux, pressing the circular account control between History and More while signed out starts Login/register immediately, with no intermediary menu. It opens authentication.unlikeotherai.com in a Kelpie login window, using a public OAuth client and S256 PKCE; see Shared sign-in profile. Windows and Linux fall back to the default browser only when the login window cannot open (headless mode or a build without Chromium). The window shows the page's real origin, is excluded from automation, tab lists, history and session persistence, and closes when login finishes or is cancelled. Repeated clicks during login offer cancellation. Password and authenticator verification stay on UOA's hosted screen. Once signed in, the popup displays the authoritative UOA name/email and avatar, with Sign out and Refresh favourites actions. The sign-in survives restarts and access-token expiry; see Staying signed in.

While signed in, favourites load and save directly in UOA's personal settings store (browser / bookmarks). Add, remove and clear wait for durable saves; conflicts fetch the current server list and reapply the intended change. Sync failures appear in the account popup and are returned by bookmark API mutations. Refresh favourites reloads changes from another device. Signed-out favourites remain local and are restored on sign-out; they are never silently uploaded. Access tokens, identity, avatar and signed-in favourites remain in memory and are cleared on sign-out or account change.

iPhone and iPad browser chrome

iPad keeps a horizontally scrolling tab strip at the top, with curved tab shoulders, active-tab close and a New Tab control. Only the active tab follows the visible page background using the same median color sampler and 200ms transition as Mac; inactive tabs and the strip remain neutral grey. iPhone opens a two-column tab overview by dragging upward on the bottom address bar, or selecting Tabs in More. Tap a preview to switch; swipe a card sideways or use its close button to close it. Closing the last tab creates a start tab.

The native bottom toolbar provides Back, Forward, address/reload and More. Wide tablets show Share, Bookmarks, the account control and the 3D inspector cube directly. On phones and narrow tablet windows, More holds the account control and a labeled 3D inspector row directly above Network inspector. More also holds Bookmarks, History, AI, viewport presets and Settings. Narrow phones put Share in More. Scrolling down shrinks the toolbar to a small domain capsule; scrolling upward or tapping it expands it. The same address capsule shrinks and moves continuously while the surrounding controls and material fade away. Editing locks the bar open above a docked keyboard; floating iPad keyboards leave the bar at the bottom. iPad tabs remain visible throughout. Programmatic scrolling does not collapse chrome. WebView geometry and staged viewport selection stay stable during collapse. Script recording hides all browser chrome.

Mobile accounts

Android and iOS expose Login/register directly from the bottom toolbar's account button. Authentication is hosted by UOA and uses public OAuth with random state and S256 PKCE. Both open the hosted page in a Kelpie login screen with no automation bridge; see Shared sign-in profile. Android falls back to the default browser only when no WebView is available. Cancellation returns to a signed-out state; a completed sign-in persists as described in Staying signed in. Apple and Android register a fresh public client for each login so revoked cached registrations cannot strand the app. Signing keys and branded configuration stay on the authentication server; no shared secret ships in the applications.

Mobile favourites use the same account settings and compare-and-set updates as desktop. Local favourites are retained and restored on logout. Each queued change has its own success/failure result, so concurrent API mutations cannot mask each other's failures. Cloud data stays in memory; errors appear in the favourites screen and the account menu. Other clients' opaque fields are preserved. Apple and Android write UTC ISO-8601 dates and accept the older Apple numeric format. Paired browser automation operates on the currently displayed favourites store, including the account store while signed in.

The signed-in account menu on iOS and Android offers Delete account. It opens UnlikeOtherAI’s deletion request in the system browser without passing an email or session token. Verify the account email and the authenticator code when enabled. UnlikeOtherAI reviews the request and handles deletion across connected products. The same form is accessible from the public Kelpie privacy policy, which is also linked from Settings → Help.

Shared sign-in profile

On every platform the UOA login screen uses the same cookie and website-data store as the browser's default (unpartitioned) tabs, with the tabs' user agent. Signing in to UOA with Google therefore also signs every default tab in to Google, so a site's "Sign in with Google" offers the existing account instead of asking again; an existing Google session in the tabs likewise makes the UOA login a single choice, subject to Google's own consent and reauthentication requirements. Partitioned tabs stay isolated. iOS 17+ and Android WebViews supporting multiple profiles accept named persistent partitions; unsupported isolation requests fail before creating a tab. Mobile session restoration preserves each tab's partition. Memory-only partitions are unsupported on mobile; they never silently become shared or disk-backed tabs. On macOS with the Chromium engine active, cookies are copied between the engine and the login screen around the sign-in. Signing out of UOA does not sign the tabs out of Google; use the provider's own sign-out or clear cookies. These cookies sit in the same store that paired automation can read with the cookie API, as if the user had signed in to Google in a tab. Cookie sync also shares them with the person's other signed-in Kelpie devices on the same network.

Registered app sign-in

Windows, Linux, macOS, iOS and Android identify Kelpie to UOA with the public com.unlikeotherai.kelpie app identifier. The hosted page loads its logo, colors and allowed Google/password methods from the administrator's Apps record. No shared secret or client-controlled authentication configuration is embedded. Every login registers a fresh client so policy changes take effect without clearing local state. State, exact callbacks and S256 PKCE still protect the authorization code return.

Staying signed in

Every platform keeps the UOA sign-in across app restarts. UOA issues each registered native client a rotating refresh token, and Kelpie persists only that refresh token and the public client ID (uoa.session.v1), encrypted:

  • macOS and iOS: SecretStore, an AES-GCM file whose key lives in user defaults (never the Keychain).
  • Android: Keystore-backed EncryptedSharedPreferences.
  • Windows: DPAPI for the current user, in the profile directory (%APPDATA%\Kelpie\uoa.session.v1 by default).
  • Linux: AES-256-GCM with a random key in a separate file, both 0600 inside the profile's 0700 uoa/ directory (~/.config/kelpie/uoa/ by default). This works headless, without a desktop keyring.

Access tokens, identity, avatar and signed-in favourites are never written to disk; UOA remains the only identity store.

At launch Kelpie exchanges the stored refresh token, persists the rotated replacement before using the new access token, and reloads the profile and favourites from UOA while the account control shows sign-in in progress. An access token within a minute of expiry is renewed before its next use, and once more when UOA refuses one early, so an idle session is no longer signed out every access-token lifetime. When UOA rejects the refresh token (expired, revoked, reused or the account's credentials changed), Kelpie forgets it, signs out and asks for a new sign-in. When UOA is unreachable the stored session is kept, an error explains that it could not be restored, and the next Login/register or launch tries it again before opening the browser. Sign out forgets the session immediately and asks UOA to revoke it in the background; quitting Kelpie keeps it. A UOA server that issues no refresh token keeps the older memory-only session, which still ends at access-token expiry.

Nessie account connection

Signed-in Kelpie connects outbound to Nessie using a short-lived UOA ticket. Nessie can choose the person's ready device and drive its visible browser without LAN pairing or an executor. Settings and the active browser expose Pause/Resume/Stop; switching the controlled tab or backgrounding a mobile app cancels active remote work. Browser jobs pin the exact document and completion results survive reconnect. Nessie can take a viewport screenshot of the controlled tab on every platform; an image too large for one job result is recaptured as a smaller JPEG so it still reaches the agent. Loaded on-device text models can extract bounded page evidence asynchronously; installed and ready models are advertised separately. Embedded GGUF does not run delegated browser tool loops. See the native connection contract.

Shared browser control

Android exposes the common core directly at authenticated /v1/browser-control and /mcp. Its existing OpenAI-compatible agent uses the compact shared catalog with per-run tab and action permissions. Product extensions are discovered on demand; pairing and plain local inference retain their permissions. See the Android binding, including its WebView page-realm limitation and verification commands.

Native /v1/browser-control, direct /mcp, kelpie browser-control <request-json> and CLI MCP expose one versioned browser core used by runtime consumers. Native owns the persistent reference registry. The default MCP catalog advertises the core and three extension discovery/invocation tools; rich functions remain reachable through the generic extension caller. Its owning surface is machine-facing control, reached through HTTP, existing kelpie mcp, or a pinned browser alias. Authentication and native capability inventory govern every device. Observed refs, bounded value-free snapshots, navigation and screenshots share one package contract; unsupported native methods are refused according to actual capabilities. The Linux no-CEF fallback supports the protocol with metadata-only core capabilities and legacy extensions. Existing tools remain extensions. See the browser-control reference.

The shared browser gateway preserves rich native extension argument schemas through the shared CLI catalogue projection. macOS get-links exposes bounded href/text pairs to existing local agent tools; other platforms do not advertise it. See shared control.

Downloads

The Downloads toolbar button appears when the first transfer starts and disappears when the list is empty. The popup lists the latest transfers first, including files still downloading and failures. Clear removes finished entries from the list. Files stay on disk and active transfers continue.

Desktop apps save files in the system Downloads folder. Android 10 and later use the shared Downloads collection. Android 9 and iOS keep files in Kelpie’s own Downloads folder. Select a completed filename to open it. The magnifying glass beside it reveals the file in Finder, File Explorer or the Linux file manager. On iPhone, iPad and Android, the share icon opens the system share sheet. Repeated filenames get separate files.

With the macOS WebKit renderer, agents can start a download in a tab’s session and read its local path, size and SHA-256. See downloads.

Favourites folders and live updates

On macOS, the favourites bar shows the ordered top-level pages and folders, including empty folders. Click or hover over a folder to open its menu; nested folders open cascading submenus. Dragging an item lifts a copy of it onto a floating chip with a shadow that follows the pointer, while its slot in the bar stays faintly visible. Drop it along the bar to reorder, onto a folder to move it inside, or more than 32 points outside the bar to remove it: once the pointer is that far out, the chip dims and shows a red remove badge, and the drop bursts it into a cloud puff. Escape, or a drop in the margin around the bar, glides the chip back to its slot. Removal supports Undo; Reduce Motion replaces the glide and the expanding puff with a brief fade.

On Windows, dragging a favourite off the favourites bar works the same way: the item lifts out of the bar and follows the pointer, leaving an outlined empty slot, shows the red remove badge more than 32 DIPs from the bar, and dropping it there removes the favourite with the same cloud puff. A drop anywhere else, Escape, or losing the pointer to another window glides it back. The favourite disappears from the bar immediately while a signed-in account saves the change. Windows has no favourites reordering or Undo; the "Show animations" setting turns the glide and the puff off. Linux has no favourites drag.

Edit Favourites opens a tree with expandable folders, drag-and-drop reordering and nesting, name/URL editing, folder creation, removal and Undo Remove. A folder cannot be moved into itself or one of its descendants. Removing a folder removes its contents; a concurrent change to that subtree rejects the removal so the user can review it again.

On iOS and Android, Favourites uses a full-screen tree below 600 points/dp and a left drawer on wider windows. Both offer expandable folders, drag handles, a top-level drop destination, Edit, Move, New Folder Inside, Add Current Page Here, Remove and Undo Remove. Move also provides folder and sibling-position choices for keyboard and assistive-technology users. Folder removal asks for confirmation. Tablet drawers remain open while navigating; phone screens close after opening a page.

All three clients share the ordered browser/bookmarks UOA setting. Nodes have a UUID, kind (bookmark or folder), parentId (null at the top level), title, URL and creation date. Existing flat bookmarks load as top-level pages. Signed-out collections stay local and separate from the signed-in collection. Unknown account records and metadata survive edits.

Signed-in clients subscribe to UOA's reusable settings WebSocket. The initial snapshot establishes an opaque version; later frames contain a version-fenced array splice or replacement. A gap, invalid frame or reconnect obtains a new snapshot. Writes still use fresh reads and conditional saves; the stream pauses during queued writes and restarts afterward so an older response cannot overwrite a pushed change. No account favourites are persisted locally. Offline errors remain visible and changes are not reported as saved until UOA acknowledges them.