Superego

Overview

Superego is a desktop app for running agents. A daemon on each machine runs them, so they keep working when the app is closed, and the same window works in a browser and on a phone. What an agent is (its model, prompt, tools, extensions and panes) comes from a profile: files in ~/.superego/profiles/ or in a project's own .superego/profiles/, so a repository can carry the agent it needs.

Projects, threads and panes

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

Ego

Ego is Superego's own agent: the lifebuoy in the rail, or Ask Ego in ⌘K. It answers questions about Superego and how this computer has it set up: settings, profiles, skills, machines, MCP servers, projects and threads. It changes settings and machines itself; other work (a profile, a skill, code) it hands to a thread it starts in the right project, and links you to it. There's one Ego thread per machine, kept for good; 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/skills on the thread's machine, each with a SKILL.md. The agent is told each one's name and description and reads one when it fits. $name in a message (completed as you type) sends that skill with it; disable-model-invocation: true in a skill's front matter keeps it to being named.

~/.agents/AGENTS.md, and any AGENTS.md from the project's top down to the thread's folder, are standing instructions. One that another user on the machine could have written is skipped. A profile can go without either (without: ['skills', 'agents-md']), and a machine can turn either off in 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 there 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: Settings → Hotkeys changes them, ⌘K lists them, and superego do <id> runs one from a shell.

More

docs/overview.md