Module 10 · 14 min
Terminal, browser and editors
The same service from three places: the terminal interface, the browser workspace, and VS Code or an editor that speaks ACP.
By the end of this module you can
- Get around the terminal interface with its keys and slash commands
- Use the browser workspace's inspector, app preview, tests and requirements
- Use AlbertCode SWE from VS Code, Cursor or an editor such as Zed
AlbertCode SWE is one service with several ways in. A session started in one shows in the others, and what Albert does shows in each as it happens.
The terminal interface
albertcode in a project folder opens a full-screen interface. Type in the box at the bottom: a question, a change, or a /command. The prompt shows the folder, the model and the mode.
| Key | What it does |
|---|---|
| Enter | Send. Ctrl J adds a new line |
| Tab | Move to the next mode |
| Esc | Stop a run, go between the box and a gate, or close a list |
| Ctrl P | Every command, and your sessions |
| Ctrl X, then a letter | n new session, m models, d diff, o every step, w open in the browser, and more |
In the box, @ finds a file of the repository to name, and / lists the commands. /keys lists every key.
The full-screen interface needs a real terminal. When the output is piped, on a shared service, or with ALBERTCODE_CLASSIC=1, albertcode opens the classic terminal instead: one conversation, printed as it goes (Terminal).
The browser workspace
albertcode web opens the browser workspace, signed in, on the folder you started it in. It puts side by side the conversation, Albert's steps, the plan and the diff, the app and its tests, the repository's files and a terminal (Browser).
The inspector on the right (Alt P) shows the change, the files, the app, its browser tests, the context and the task in full. A governed task's change stays in its own copy until you accept it, so until then it shows on the task's card, not in the Changes tab.
- Run the app (or
/preview) starts the repository's app with its dev script. It shows the app at desktop, tablet (834 px) or phone (390 px) width. Edit lets you change the app by clicking it, and Apply change writes exactly the diff you reviewed, only if the files have not changed since (App preview and tests). - Browser tests are Playwright files in your repository's
e2e/folder. Albert writes them as a normal task, through the usual approvals. A run that leaves no report is shown as not having run, never as a pass. - Requirements keep what your app must do as a checklist, and show where each item stands from evidence: Complete, Partial, Failed or Missing. Nothing is marked done because someone said so (Requirements).
VS Code and editors built on it
The AlbertCode SWE extension brings the same agent into VS Code: a chat panel, plans and diffs in the editor, and every setting in the command palette. It uses the AlbertCode SWE installed on your computer, so install AlbertCode SWE first.
Cursor, Windsurf, VSCodium and other editors built on VS Code use the same extension, from Open VSX. If the panel says Service unreachable, run albertcode once in a terminal, then run Developer: Reload Window (VS Code).
Zed, JetBrains and other ACP editors
The Agent Client Protocol (ACP) is how an editor runs a coding agent it did not build. The editor starts albertcode acp, and AlbertCode SWE answers in the editor's own agent panel. Choose a model first, with albertcode --setup.
In these editors, a new session starts in Governed, and the plan and the diff come to you as questions. A change the reviews blocked can only be discarded in the editor (Other editors).
Practise
Open the right one
Each command opens AlbertCode SWE somewhere. Match it to what it opens.
A tour of all three
One repository, three ways in.
- 1
Start the terminal interface. Type
/to browse the commands, and@to name a file in a question:albertcode - 2
List every key, with the answers at a gate:
/keys - 3
Open the same session in the browser. Show the inspector with Alt P, then start the app at desktop, tablet and phone widths:
/preview - 4
In VS Code, Cursor, Windsurf or VSCodium, install the AlbertCode SWE Agent extension, open your project and ask the same question in its panel.
- 5
For an ACP editor such as Zed, check that the agent starts. It waits silently for an editor, and that is right (Ctrl C ends it):
albertcode acp
Check your understanding
7 questions. Answer 6 correctly to complete the module. Checked here, in your browser.