Daily use
Entry points
| Command | Opens |
|---|---|
openprogram | Terminal chat |
openprogram web | Browser at http://localhost:18100, signed in |
openprogram --print "…" | One question, one reply, exit |
openprogram status, restart, stop | The background service: state, restart after code or config changes, stop |
Both interfaces share one history, stored in ~/.openprogram/projects/<project-id>/chats/<session-id>/. Sessions with no project belong to the home project (id default, named after your home folder). Working folders hold project files, not conversation repositories.
Sessions
| Command | Effect |
|---|---|
openprogram sessions list | Every session across agents |
openprogram --resume <session_id> | Continue in the terminal |
openprogram sessions resume | Answer a session waiting for input |
openprogram sessions attach | Route a channel user's messages (Telegram, Discord, Slack, WeChat) into a session |
openprogram sessions detach | Back to default routing |
openprogram sessions aliases | List session and channel-user bindings |
In the Web UI
History is a conversation DAG, like git commits and branches. Message actions appear on hover.
| Action | On | Effect |
|---|---|---|
| Copy | Any | Copies the content |
| Regenerate | Replies | New version of the reply |
| Pin as chapter | Replies | Lengthens, thickens and colours its tick on the left message rail, and keeps its action row shown. Unpin chapter removes it |
| Edit message | Yours | Changes it and regenerates; files stay as they are |
| Rewind to here | Yours | Returns the conversation, the files or both to before this message and refills the input; Undo rewind brings the conversation back |
| Fork from here | Yours | New conversation from this point; this one stays |
| Control | Effect |
|---|---|
| Previous and next arrows beside a message | Switch versions after an edit or regenerate |
| Branch menu, top bar | List and switch branches |
| Select text, Add to chat | Quote part of a message |
Copy conversation, ⋯ at top right | New conversation with the same history, running on its own |
| Right sidebar | The DAG: user messages, LLM calls, function calls. Scrolls with the chat; clicking a node scrolls to its message |
Branches that touch files run in isolated git worktrees, so concurrent branches do not fight over one source tree.
Last updated · 2026-11-25