OpenProgram Docs

Desktop App and built-in browser

Each pane holds Files, a chat, the Browser or a Terminal. Panes split and move between windows without changing the session or browser tab.

PlatformInstallTerminal panes
macOSArchitecture-matched DMG, copy OpenProgram.app to /Applications. Developer ID signed, notarized.Login shell
WindowsFrom v1.2.0: per-user win-x64.exe on a GitHub Release (steps). Before that, use a source checkout and the browser UI.PowerShell through ConPTY
Linuxdeb or AppImage, from v1.1.0.Absolute SHELL, then /bin/bash, /bin/sh. Reports a missing shell before starting.

Full installation. Packaged Apps start the worker from their embedded Python, needing no system Python or Node.js.

Startup messageMeaning
Waiting for backend to start...The App is starting the worker; it checks every second
Updating OpenProgram...An installer is replacing the App and runtime; no worker is started and it reconnects by itself
Port 18100 is in useA port you set (ui.web_port) is held by the program named on the page. Quit it and the App connects by itself, or set another port. A port OpenProgram chose itself never stops here: the App reopens on the next free one, which also gives each account on a shared PC its own worker. How the port is chosen

Tabs

SituationBehavior
PagesAll, including Settings and management pages, open in the selected tab. The tab's name follows the page, and visiting a page does not rename the conversation.
Back and ForwardPer tab, including the initial New tab page and saved with the tab. Switching tabs adds no history. A new destination after Back replaces only that tab's forward steps. Webpage URLs use the Browser's own controls.
Same destination from another launcherIndependent tabs
Conversation from a session tabReuses that tab, even if another tab shows it. From other page kinds, an existing session tab can be selected or a new one opened.
Drafts, background title updatesSurvive navigation and reload. Deleted sessions leave every history.
Last tab closedTab bar and center stay empty; use the plus button
Quit and reopenTorn-off windows return with their tabs at their last place. Closed windows stay closed. Off-display places use the default.

Move and tile panes

Drag a tab down out of the strip, or a pane's ••• handle, and the center becomes a window overview.

Leftbeside Rightbeside Above Below Gap or empty spacetab opens on its own Outside the Appnew window Escapecancel
Left or right quarter of a card
beside that window
Upper or lower half of its middle
above or below
Gap or empty space
tab opens on its own
Outside the App
new window
Escape
cancel
Overview
Open without draggingGrid button at the right of the tab strip, or pinch in. On a web page at normal size pinching in opens it; pinching out magnifies the page.
CloseEscape or pinch out; clicking a card switches to it
Drag a cardOnto another's side to merge; onto empty space to move; drag one pane out of a split card to give it a window
MergeThe target grows out of its card, keeps its strip place, and takes the dropped tab's name
••• handle
RedCloses the tab
YellowMoves the pane back to the tab strip
GreenOpens the tab on its own. Rest on it for Move and resize (halves, Option for quarters), Fill and arrange, Return to previous layout, Equalize sizes, More layouts (top and bottom, single, 9, 16, saved).
macOS keysControl+Option+arrow: half. With Shift: two panes side by side or stacked. Control+Option+F: Fill. Control+Option+R: previous layout.

Dividers stick at a third, a half and two thirds, and stop before a pane is too small. Motion follows macOS; with Reduce Motion layouts change at once.

Browser

Create a pane and select Browser, or open a browser tab from the tab bar.

PartHolds
ToolbarBack, Forward, Reload or Stop, Home, address field with bookmark star, Bookmarks, open externally, Browser menu. The field dims all but the host; a lock marks HTTPS.
Bookmarks barShown by default. Hide from the Browser menu or Settings → Browser → Show bookmarks bar.
Narrow paneLess frequent actions move into the menu; address, Back, Reload or Stop, star and menu remain
Browser menuNew browser tab, Bookmarks, History, bar visibility, profile import, clear browsing data, Browser settings. Window and pane actions stay in the OpenProgram menu.
LoadingReload becomes Stop loading; a line runs under the toolbar, static with reduced motion
Leave-page promptStay on page is the default; Leave page continues and may lose unsaved changes
FaviconIn ordinary and split tabs; the browser icon while loading or if unusable. A retained page reopens with its icon, unreloaded.
Key (Ctrl on Windows)Action in the focused Browser tab
⌘R, ⇧⌘RReload, bypassing cache with Shift. In other panes ⌘R reloads the App window and its webpages.
⌘LAddress field
⌘[ ⌘]Back, Forward
⌘FFind in page
⌘+ ⌘− ⌘0Zoom
⌘PPrint
⌘KThe App's command palette, even with a webpage focused
Page's ⋮ menuEffect
Comment on the page…Click an element, write, Add to message. The composer gets page title, address, CSS selector, visible text and comment. Nothing is sent, so several can be collected. Esc or X cancels.
Screenshot a region…Drag an area; size shows while dragging, a click starts over. Adds a PNG named after the site and size.

Both go to the conversation in focus, else the one whose agent opened the page, else the last you were in. Picking and the selection run in a script context the page cannot see, and the selection never appears in the image.

Annotate (pen, left of the star)Effect
Click an elementOutline, numbered pin and a note card with its selector. Write what should change; Adjust tries Size, Spacing and Color on the page itself.
Drag a boxA dashed region note
Send to chatSends one message, the page's own conversation first: the address, each note by number with its text and Adjust values, and a screenshot with the pins
Esc, DiscardEsc stops annotating and keeps the notes; Discard removes them and any previewed styles

Desktop App only: in a web browser the button is unavailable, since pages from other sites can't be marked up there. See Browser Annotate.

Page actionBehavior
Links, forms, same-page navigationStay in the tab
target="_blank", window.open()New Browser tab, activated
Right-click a linkOpen in new Browser tab, copy address
Right-click a pageBack, Forward, Reload
Right-click a fieldUndo, Redo, Cut, Copy, Paste, Select All, as the page reports them; only for that tab

Bookmarks and History

  • The bar shows the direct contents of the Bookmarks bar; extras go in the double-chevron menu. All bookmarks opens the manager, with Other and Mobile bookmarks. Names, order and contents are unchanged. Nested menus open one level at a time and scroll within the window.
  • The manager has a folder tree, current-folder list, search, favicons and item menus. History groups by local date.
  • Favicons: saved icon, then the site's /favicon.ico, then a browser icon. No referrer or third-party service. Home shortcuts show /favicon.ico or the site's initial.
  • Homepage shortcut: Add, address, optional name. Cancel, Close, Escape, clicking outside or Add again clears it.
  • History and the persistent webtabs partition live in Electron's per-user data directory; chats, projects, Programs and worker configuration stay in ~/.openprogram/. Clearing browser data leaves those.
Icon cache

Decoded icons are shared across the bar, menus and tabs in each renderer. The cache is bounded, retries failed sources after five minutes and refreshes reused ones after thirty. Reopening a bookmark menu reuses its document. Closing the window releases it; restarting can reload through the browser cache.

Import a browser profile

macOS and Windows; Chrome, Brave, Edge and Chromium. Always explicit: browser, profile, data types.

DataImport
HistoryHTTP and HTTPS visits up to the supported limit, merged
BookmarksBar, other, mobile and nested folders; invalid URLs and duplicates filtered
CookiesDecrypted by a temporary source-browser process, validated, written through Electron's API. Some sites still need a login.

Never imported: passwords, payment or address autofill, downloads, cache, localStorage, Service Workers, extensions and their storage. The source profile is unchanged.

Extensions

Not supported; see the FAQ.

Design: Built-in browser, Browser application

The Agent and a Browser pane

A visible built-in Browser pane in the same window attaches a bounded description of that exact tab before the first model response: title, origin, visible text, ARIA landmarks, and a browser-control tool. It works on either side or in picture-in-picture, without OS focus.

AspectRule
TargetingActions stay bound to the originating window and tab. DOM, ARIA, text and element references by default; one viewport screenshot only for a visual task or when structure fails. No OCR, object detection, iterative crops, component or vision memory, or workflow replay.
Your actionsClicking, scrolling, typing, navigating or closing does not pause the Agent. Agents may also operate OpenProgram's own interface. Pause with the task control by the composer.
Page lostThe Agent reacquires or reopens the last address and re-reads state. Clicks and submissions are never replayed. Unrecoverable login or content is reported.
Selected pageReused without reloading or a replacement. Each action returns for a new observation and verification.
Safety limitStops the task instead of retrying completed actions; cleanup keeps the conversation identity.

Corner preview

Opens when the Agent opens a page, uses another application's window, runs a terminal or uses an application while you stay in chat. Default 300×198.75 (16:9 image plus header). Every kind has the same controls; an application's window is shown live and takes clicks and typing where the platform allows, a terminal takes typing.

ControlEffect
Close preview (X)Hides it; the page stays in Session resources
Open pageShows the same page as a regular tab, where another conversation can acquire it after exclusive control is released. The original preview stays.
Open in tabFor a window, terminal or application: shows the same one in a tab of its own, not a copy.
Header drag; edges and cornersMove; resize. No visible grip. The underlying page does not resize.
More → Automatically show what the Agent is usingAuto preview tracks the Agent's page; off is Fixed preview. It does not change the Agent's target, start the Agent or change page lifetime.

Each preview belongs to its conversation and switches with it. Retained pages are invisible to other Agents. It stays inside its owner pane, over its chat in a split, with controls outside adjacent webpages. The Web UI has no native view and falls back to an iframe or an open-in-new-tab control.

Uploads and verification
  • upload with a fresh file-input ref and path, up to 50 MiB, selects a user-approved file. It always uses the normal permission gate. File read restrictions apply.
  • Observations expose filenames, not contents or paths. file_selected verifies selection only; check acceptance with a separate assertion. An uncertain upload is not repeated.
  • Verification uses assertion and a non-empty value; text is for typing or reporting a blocker.
  • Three consecutive failed actions or unmet assertions on one observation stop with the reason. A rejection stops without repeating. A blocker never counts as completion. Action counts measure Page mutations.

Other applications' windows

A tab can hold a window of another application, such as Notes, Excel or a terminal. On the New tab page choose App window, then the window.

Chat Another application'swindow Close the tabthe window goes backwhere it was
Left
a chat
Right, in a tab
another application's window
Close the tab
the window goes back where it was
PlatformHow the window is in the tab
Windows, Linux (X11)The window itself moves into the App and works there as usual.
macOSThe tab shows the window live and passes clicks, scrolling and typing to it, without bringing that application to the front. The window waits behind the tab, so its menus open where you see it. Text from an input method arrives as a whole. Needs Screen Recording and Accessibility access.
Linux (Wayland)Not available: Wayland lets no application place another's window.

To hand a window in a tab to the Agent, type @ in the message box and pick it under Windows in tabs; the message names the window so the Agent operates exactly that one.

Quitting the App gives every window back first. If the window closes, the tab offers the open windows again. On macOS, system shortcuts such as Command+Tab stay with the system, and protected video shows black.

Design: Embedded application windows

Screenshots

Press Shift+Command+2 (Ctrl+Shift+2 on Windows and Linux), or choose Take a screenshot in the message box's + menu or Take Screenshot in the tray menu. The screen freezes; pick what to keep, mark it up, and choose where it goes.

Selection Clicka window, or the screen Dragany area No room below: toolbar above
Click
a window, or the whole screen
Drag
any area; handles resize it, arrow keys nudge it
Toolbar
under the selection; above it when there is no room, inside when neither fits
PartWhat it does
MarksRectangle R, ellipse E, arrow A, pen P, highlighter H, mosaic M, text T, numbered step N; seven colours, three widths, undo and redo. The same tools annotate an image already in the message box.
Text in the pictureOCR finds the words in the selection and lists them to copy. macOS uses Vision, Windows its built-in OCR, Linux tesseract if installed.
ColourBefore selecting, a magnifier follows the pointer; C copies the colour under it.
Where it goesSend to chat attaches it to the message box; also copy (Enter or a double-click), save, or pin. Esc cancels.
Pinned pictureStays above every window. Drag to move, scroll to zoom, Command/Ctrl + scroll for transparency, right-click for copy and save, double-click or Esc to close.

macOS asks for Screen Recording access the first time. On Linux with Wayland the system asks which screen to share, and clicking a window takes the whole screen, since Wayland does not tell applications where other windows are.

Design: Screenshots

Session resources

Resources in the right sidebar lists what the selected session owns. Clicking a chat in a split selects it for Files, Activity and Resources; clicking a webpage keeps the last chat.

TopicRule
GroupsWebpage, Desktop, Machine, Terminal, Application, Other resources. Empty ones hidden. Collapse is saved per session and type and only hides rows. Each heading is a full-row control.
ListedComplete software or environment objects. Commands, scripts and output belong in Activity, except a command left running, shown as a Background terminal. During computer_use, the window, screen or browser it operates on this computer, or the machine it operates elsewhere. Files stay separate. No search field; views without recorded ownership and new drafts show nothing.
Attach a webpageKeep the conversation visible and drag the tab or pane handle onto Resources. A split with several pages needs the page's handle. A blue preview says Release to add to Resources; failure shows a retry and leaves the page.
Agent-created pagesStay out of the top strip unless pinned or split. Pages without an owner stay in it.
ClosingClosing a session page's tab hides the view; Open in tab reopens. Close webpage actually closes, with the row returning if unconfirmed. A standalone page closes outright.
CollapsingLeaves resources running

Shared terminals

Select a Terminal resource to attach its view. Agent and user share shell, directory, environment and output; hiding the view leaves the shell running.

ControlEffect
Terminate terminalRequests termination after confirmation; acknowledgement is not proof of exit
Share terminalDiscoverable to other sessions on this host; making it private revokes the Agent binding
Reconnect viewRe-reads output without replaying input
Background terminal rowsbash commands left running: read-only output and Stop. The Agent uses write_stdin.
Terminal right-clickCopy, Paste where input is allowed, Add selection to chat, which adds a code block to the focused draft

Typing into, interrupting or closing a terminal tab follows the permission mode; the approval card names the tab, its directory, whether a command runs, and exact text. Input delivery is not command success. After an uncertain result nothing is resent. An unfinished human fragment or changed revision blocks Agent input until it observes again.

Shell metadata and the resource tool

On macOS zsh and compatible Bash 3.2 login shells, terminal_use(action="observe", ...) and resource(provider="terminal", action="observe", ...) return shell_integration:

FieldMeaning
statusstarting ready unavailable ended
mode reasonzsh-hooks or bash-debug; why unavailable
event_sequenceLatest accepted shell report
cwdDirectory in value with its sequence; null before a report
cycleForeground id, phase (running finished unknown), exit_code; null before the first command
  • start_cwd is the starting directory; the top-level exit_code is the terminal process. A cycle's code appears only after its foreground completion. command_complete stays null.
  • bash-preexec, custom DEBUG traps, prompt commands, readonly prompt configuration and incompatible tracing fall back to unavailable without touching your hooks. Missing or unavailable means unknown; reports grant no permission and can go stale.
  • resource(action="describe") returns providers and schemas. web and terminal keep their native identities and checks; observe returns generation, binding, input revision and output cursor.
  • Web release ends control and keeps the Page; close closes the observed tab, reports page_closed, and errors if unconfirmed. Terminal release leaves the process; close requests termination. Local Terminal operations need a live execution in the originating window and cannot bypass a sandbox.
  • Trusted Python: openprogram.host.resources.registry.register(...) for a ResourceProvider with a JSON Schema per operation and an adapter, which owns authorization and lifecycle. Duplicates are rejected and arguments validated. openprogram.host.resources.session.resource_use(kind, title, target) reports session usage inside a trusted runtime session and releases on exit. URL identities omit credentials, queries and fragments. Commands are never parsed into resources. Installed enabled applications register application.<id>.

After a restart

WhatComes back as
Running conversationsContinue automatically in place, using recorded input and results. No added message; one reply with a Worker restarted, continued step.
Manually paused, cancelled, finished tasks; a task after you sent a newer message; unanswered approvalsStay stopped. Continue the second from Activity.
Pages not closedIn the background, same retained tab, session and branch ownership, last confirmed address and title, on a new live page. Site storage kept; unsaved form fields not. No second copy; closed pages and hidden previews stay so.
Closing a tab or App windowWorker tasks keep running
Row stateMeaning
Restoring page…Coming back, in its group
Could not restore pageFailed, or an older record with no retained tab descriptor
ReconnectThe live page needs a new connection
Continuation rules
  • execution.auto_resume_window_seconds: -1 no limit (default), 0 off, positive is seconds. A deadline persists, is not extended by restarts, and existing ones survive upgrades; after it the task pauses for manual continue.
  • Tasks checkpoint at completed provider and tool boundaries. Continuation keeps task identity, permissions and resource admission and needs a compatible runtime contract. It restores durable checkpoints, not process memory. Confirmed tool results are reused; an unknown external result needs reconciliation.
  • Self-update continuation, replanning after a changed contract and follow-ups use the same setting, measured from the update's last activity. A running update is not stopped by it.
  • Conversations contain results of a requested update, but no update history, controls or recovery notices, and opening one starts no update polling.
  • Restoring a page does not start an Agent; a new task observes and checks permission as usual.
The browser tool after a restart
  • Listing pages waits up to 20 seconds for an App that is restarting, then reports desktop_unavailable and asks to retry. If the window is gone, other windows' pages are listed. With the App closed there is no wait: a page an Agent opens goes into a background browser with no window and none of the App's sign-ins.
  • An earlier session or page token leads back to the same tab with a fresh observation. The action is not repeated and closed pages are not reopened.
  • An unknown tab returns the current pages with fresh tokens.
  • A screenshot right after an action observes first, so it does not fail as stale.

Notifications and keep-awake

Set in Settings → General → Notifications, per computer. The browser interface does neither.

BehaviorRule
System notificationIn the background, when a turn finishes, errors, asks a question or approval, or waits for system access. Once per event, none while a window is in front or when you stop a turn. Click opens that session.
Keep awakePrevents idle sleep while any session runs; the display can still turn off
Notification soundSystem default, none, or a macOS system sound

Programs

Abilities → Programs has two roots. Tools: openprogram/programs/tools/ by category. Applications: built in from openprogram/programs/applications/, and installed in ~/.openprogram/programs/. Each expands to entries and source files; details show disabled state and, for your packages, load failure or not callable. A catalogued application in another's directory is listed alone, naming that directory. Opens on the first application, else the first tool.

Tree, selection and graph are kept when you leave. They are read again when a Program or application changes, on focus and when the window shows; unchanged files reuse analysis. A failed check keeps the last content.

Long conversations
  • History loads the latest page first and fetches nearby messages as you scroll, keeping position and streamed output. Failures retry automatically. Distant pages leave memory. Reopening restores the visible message if still on the branch.
  • Jump to latest in the main conversation and split panes appears while newer messages are unloaded. A failed jump stays retryable. Scrolling, clicking or a key cancels a pending jump or restoration. Closing a pane saves its position. Reconnecting skips old retry delays.
  • The DAG loads when opened. Markdown uses a bounded cache. Stored history and model context are unchanged.

An incremental App package preserves permissions of unpacked native dependencies and restores the node-pty helper's execute permission.

Last updated · 2026-11-25