Terminals
Real shells beside the chat. Refresh, or switch devices, and you reattach to the same shell with its recent output replayed.
$ azalea terminals list$ azalea terminals follow <terminal-id>
Azalea runs Claude, Codex and Pi side by side, each session in its own Git worktree, and lets you follow every one of them from a browser, the desktop or your phone.
Available soon

The Azalea service owns everything with state: the database, the agent processes and the terminals. Each client is a window onto it. Close the laptop and the session keeps working; open your phone and it is where you left it.
| Surface | How you reach it |
|---|---|
| Browser | Served by the Azalea service itself. Open it from any browser that can reach the machine. |
| Desktop | A small Electron shell for Linux, started with azalea desktop or from the application menu. It runs no backend of its own. |
| Android and iOS | Native shells around the same app. Point them at your gateway once, from the command palette. |
| Command line | The azalea CLI drives projects, worktrees, sessions, terminals, settings and themes. |



Every change goes to the service first, wherever it was made. The service gives it the next number in a single ordered stream and sends it to every connected client. Start a session from the CLI and it appears on your desktop and your phone; change the theme in a browser and the desktop and mobile follow.
No client has to guess what it missed. A phone that has been asleep reconnects with the last number it saw and receives exactly the events after it.
| What stays in sync | |
|---|---|
| Work | Projects, worktrees and sessions, and every turn as it starts, finishes or fails. |
| Approvals | Requests an agent is waiting on, and your answers to them. |
| Tools | Terminals, and the files attached to a chat. |
| Configuration | Settings, themes, layouts, keybindings and styles. |
| Workspace | Which session each pane shows, pane sizes, window positions and where you are in the file browser. |
Every session belongs to a project and runs in a Git worktree, so agents working in parallel never share a checkout. Claude, Codex and Pi sit behind the same interface: one chat, one approval flow, one record of the files each turn changed.
Agents can start agents. A session created from inside another remembers its parent, so a fan-out of subagents reads as a tree rather than a pile of tabs.

The azalea command line is not a separate system. Every command calls the same API the interface does, so an agent working in a shell can do what you do with a pointer, and what it changes appears in every open window as it happens.
That is how one agent runs others: it branches a worktree, starts a session in it, hands over a task and follows the session's events until the work is done.
$ azalea worktrees create <project-id> --branch-name fix/flaky-test$ azalea sessions create --worktree-id <worktree-id> --provider codex$ azalea sessions prompt <session-id> --message "Fix the flaky snapshot test"$ azalea sessions events <session-id> --after-sequence 40$ azalea sessions transcript <session-id>
| In the interface | From the CLI |
|---|---|
| Add a project | azalea projects create |
| Branch into a worktree | azalea worktrees create |
| Start, prompt or stop a session | azalea sessions create · prompt · interrupt |
| Read what a session did | azalea sessions events · transcript |
| Open a shell and type into it | azalea terminals create · send · follow |
| Attach a file to a chat | azalea files upload |
| Change settings and appearance | azalea settings set · themes write · layouts write · keybindings write |
| Approve a request | Stays with you |
The chat is where you direct the work. These are the tools beside it, for when you want to check it yourself.


Real shells beside the chat. Refresh, or switch devices, and you reattach to the same shell with its recent output replayed.
$ azalea terminals list$ azalea terminals follow <terminal-id>
Code, images and PDFs each get a renderer of their own, with the controls that suit what they show.
src/main.ts → codepublic/favicon.svg → imagedocs/brief.pdf → pdf
Every turn records the files it touched. Additions and removals are marked along the scroll bar so you can jump straight to them.
- createApp(App).mount('#app')+ export const createApp = ViteSSG(App)
A compositor arranges panes from JSON layouts: resizable splits at a desk, snap screens on a phone.
$ azalea layouts list$ azalea layouts write <id> <file>
A theme is a set of semantic colour tokens. This page is set in the colours of the built-in Modern theme.
$ azalea themes read modern$ azalea themes validate <file>
Actions run from a command palette and keybindings can be rebound. Custom rules are validated before they apply.
$ azalea keybindings list$ azalea keybindings validate
Azalea's interface is put together from three files you own. A layout decides which panes exist and how they are arranged, with a separate tree for the desktop, the phone and the phone on its side. A theme sets every colour through semantic tokens. Your own stylesheet goes over the top, with the whole of Tailwind available.
Change any of them and the service checks the change, compiles one stylesheet and publishes it. Every open window repaints in place, your phone included, with no reinstall and no app update. A change that doesn't validate is turned away, and the last good version stays.
On a phone, the layout is a strip of full screens you swipe between. Want the terminal one swipe from the chat? Put its screen next to the chat's.
"mobile": {
"root": {
"id": "phone-screens",
"component": "surface.snap",
"settings": { "snap": { "axis": "x", "snap": "mandatory" } },
"children": [
{
"id": "chat",
"component": "surface.screen",
"children": [
{
"id": "chat-pane",
"component": "azalea-agent-communication-pane"
}
]
},
{
"id": "terminal",
"component": "surface.screen",
"children": [
{ "id": "terminal-pane", "component": "azalea-terminal-pane" }
]
}
]
}
}Layouts, themes and styles are files and CLI commands, so an agent can make all of it. Describe the Azalea you want and watch your desktop and your phone change as it works.
you › Make Azalea feel like a paper notebook on my phone: warm off-white, a serif transcript, and the terminal one swipe from the chat. $ azalea themes write notebook ./notebook.json$ azalea layouts write notebook ./notebook-layout.json$ azalea styles validate$ azalea settings set app.colorTheme notebook$ azalea settings set compositor.layout notebook
Settings, layouts, themes, keybindings and styles are files under ~/.azalea/config. Edit them by hand or through the CLI; the running service validates a change and publishes it to every connected client.
~/.azalea/
bin/azalea
config/
settings.json
keybindings.json
layouts/
themes/
styles/index.css
data/
azalea.db
backups/
releases/
current → azalea-<version>
previous → azalea-<version>~/.azalea and starts the service. AZALEA_BOOTSTRAP_ARCHIVE=./azalea-linux-x64.tar.gz sh install.sh
azalea doctor