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
- New thread (
⌘N) starts like the thread shown: same machine, project, profile, model, thinking and worktree choice. - Worktrees. Tick the New thread checkbox (or
superego -w) and the thread works in~/.superego/worktrees/<repo>/<slug>on branchsuperego/<slug>. Archiving removes a clean worktree and keeps its branch. - Archived threads are in the sidebar's Archived list, readable, and take no messages until unarchived.
- Threads start threads. An agent can start, read, message and archive threads of its own (thread tools). A child is nested under its parent and reports back when it finishes, fails or waits on a question.
- Thread links.
[title](thread:<id>)in a message links to a thread;⌘-click opens it beside.
Messages
- Attach, drop or paste files. Images go to the model as images; every file is saved on the thread's machine and named to the agent by its path.
@names a thread or a file.$namesends a skill.- Files named in a thread (
[[Note]], a relative link,`src/app.ts`) open beside it.⌘Popens any file in the thread's folder. - An agent can ask you something (
ask_user), show a form (ask_ui) or draw blocks. A question waits above the message box, and the thread shows as blocked until you answer. - Images an agent shows (
show_images) appear in the thread; click to zoom. An image on the web loads only when you click it.
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
- Skills are the folders in
~/.agents/skillson the thread's machine, each with aSKILL.md. The agent sees each one's name and description and reads it when it fits.$namein a message sends it along;disable-model-invocation: truein its front matter makes it$name-only. - AGENTS.md:
~/.agents/AGENTS.md, and everyAGENTS.mdfrom the project's top down to the thread's folder, are standing instructions. One another user on the machine could have written is skipped.
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>.