Superego

Overview

Superego runs agents. A daemon on each machine runs them, so they keep working while the app is closed, and the same window works in a browser and on a phone. A profile says what an agent is (model, prompt, tools, extensions, panes): files in ~/.superego/profiles/ or a project's .superego/profiles/.

machine    this computer, or one reached over ssh
└─ project  a git repository (with its worktrees) or a folder
   └─ thread  one conversation with an agent, in the folder or a worktree of its own
      └─ pane   a view beside the thread: changes, a file, a web page, a terminal, a profile's own

Threads

Messages

Panes

Panes sit beside the thread, as columns or stacked as tabs (Settings → Appearance → Panes, or ⌘⇧\). They're kept with the thread, so every client shows the same ones; the agent opens them too (pane_open). Maximize one with its tab's button, a double click on its title or ⌘⇧↩; Esc restores it.

Pane From
File editor (Markdown in live preview, or source), another thread built in
Changes (git's diff), Browser, Terminal, file tree bundled extensions

Browser. A web page or an HTML file the agent wrote. A localhost page on another machine is forwarded here (Machines). A page beyond this computer and its network that the agent opened waits for you to press Open page. Pages ask for camera, microphone, notifications and local network as a browser does; Settings → Site permissions forgets your answers.

Layout. Where views sit (the rail, beside the thread, the pane menu, the header) is ~/.superego/layout.json: Edit layout… in ⌘K opens it, and it applies as you save. Or right-click a view to move it. See How the window is put together.

Ego

Ego is Superego's own agent: the circle at the top of the rail (⌘1), or Ask Ego in ⌘K. It's an extension, so if you turned it off (Settings → Extensions on a machine), it isn't there. It answers questions about Superego and how this computer has it set up, changes settings and machines itself, and hands other work (a profile, a skill, code) to a thread it starts in the right project. One Ego thread per machine; Clear in its title bar empties it. From a shell: superego do ego.ask --prompt "…".

Skills and AGENTS.md

Turn either off for a profile (without: ['skills', 'agents-md']) or a machine (Settings → Extensions).

Keys

Keys
⌘L Go to a project, thread or pane (⌃P, ⌃T, ⌃G: one kind)
⌘K Commands
⌘N New thread: ⌃1–⌃7 go to its machine, folder, profile, model, thinking, prompt and name; ⌘⏎ starts it
⌘⇧N New window
⌘P Open a file in the thread's folder
⌘⇧P Open a pane
⌘U Unread threads: what needs you, then what failed, then what finished
⌘. Next unread thread
⌘⇧[ ⌘⇧] Previous / next thread in the sidebar
⌘[ ⌘] Back / forward through the threads this window has shown
⌃Tab ⌃⇧Tab The thread and its panes, in turn
⌘⌥← ⌘⌥→ Focus the region beside: the sidebar, the thread, each pane
⌘⌥⇧← ⌘⌥⇧→ Move the focused pane left / right
⌘⇧\ Panes side by side or stacked
⌘⇧↩ Maximize the focused column, or restore it
⌃I Focus the message box (Esc leaves it, to read and scroll)
⌃D ⌃U Scroll half a page down / up
⌃O The links in the thread
⌘I Thread details
⌘/ Show or hide the sidebar
⌘⇧E Archive the thread
⌘⇧D Changes
⌘⇧T The file tree
⌘T A new Browser pane
⌃` A terminal beside the thread
⌘W Close the focused pane
⌘⇧W Close the window (Superego keeps running)
⌘, Settings

Every key runs an action: change them in Settings → Hotkeys, find them in ⌘K, run one from a shell with superego do <id>.

docs/overview.md