EN·ES·DE·PT·FR
⌘K

Terminals

Your own terminals on the daemon's computer, opened from the app on your phone, browser or computer. A terminal keeps running there, and any of your devices can pick it up.

Opening one

  1. On the app's new screen pick Terminal (Chat · Code · Terminal), or press New terminal in the drawer.
  2. Choose a folder: your home folder, one of your projects, or any path.
  3. Choose what to run: your login shell, or a coding agent installed and signed in on that computer (Claude Code, Codex, Gemini CLI and the others), typed into the shell for you. The agent signs in as it does in your own terminal; AIDaemon passes it no key.

Terminals are tied to no conversation, and several run at once. The drawer's Terminals list shows them.

On every screen

  • Open a terminal from another device and you're in the same session, with its screen and scrollback. Two screens can share one; the screen you type on sets its size.
  • On a phone the terminal takes typing directly, and a key bar over the keyboard adds Esc, Tab, Shift+Tab, Ctrl, Ctrl+C, the arrows, Backspace and Enter.
  • Terminals opened from Telegram with /terminal are in the same list, so they show in the app too.

How long one runs

A terminal keeps running when you close the app, until it exits or you close it. On macOS and Linux it also survives a daemon restart (an update, a crash): a terminal host process (aidaemon term-host) holds the shells, and the new daemon picks each one up, with what runs in it. AIDAEMON_SHELL_HOST=off keeps shells in the daemon instead, as on Windows.

Who can use one

  • Your devices: a device that may control the daemon and answer every approval.
  • An e-ink reader: only at Full access, and only once you allow it under Settings → Paired devices. It then gets a Terminal tab, in project folders only, where it can list, open, read and type into terminals. It runs at most 4 terminals of its own, and those close when the reader is unpaired, its level is lowered, its scopes change or its terminal grant is withdrawn. Your own terminals stay. Only a device that may use a shell itself can allow a reader.

A conversation's own terminal

Each conversation also has its own shell, its details' Terminal tab, started in its folder. The agent can read it, and types into it only once you allow. See The AIDaemon App.

Configuration

config.toml
[shells]
enabled = true
max_shells = 16
KeyTypeDefaultDescription
enabledbooltrueOffer terminals: yours and conversation terminals. false turns them all off; the Telegram and relay terminal bridge still works.
max_shellsinteger16Shells running at once, across all terminals