Amble

Terminals · Workflow

Terminal or agent: when to run the command yourself

Ask the agent when you want the work done. Open a terminal when you want to see the result with your own eyes: the full test output, the exact error, or whether a process is still running. In Amble both run on the same computer and in the same project folder, so checking takes one more tab.

Amble ·

An Amble workspace with a terminal tab showing an npm test run of 9 passing tests, beside the agent conversation that ran the same command.
A real Amble workspace. On the right, the agent edits one headline, runs npm test as a Shell step and reports “All 9 tests pass.” On the left, a terminal tab in the same workspace shows the run itself: tests 9, pass 9, fail 0.

The summary and the output are different things

Look at the right side of that capture. The agent lists what it did (a search, one edit, npm test) and ends with one sentence: all 9 tests pass. That is a useful summary. It is also a claim.

The left side is the evidence: every test name, its timing, and the counts at the bottom. Most of the time the two agree. When they don't, you want to have looked. A terminal is the cheapest way to look, because it sits in the same workspace and runs in the same folder the agent used.

One more thing worth knowing. Amble's docs are blunt about it: a commit records source, and it does not verify that an app runs or that tests pass. If the answer matters, run the check.

Which tool for which job

You want to Use Why
Change code and verify it in one go The agent It can search, edit and run the check, and it shows each Shell step it took.
Read the full output or an exact error A terminal You see every line, not a one-sentence summary.
Start a CLI tool the same way every time A terminal profile A profile is a saved way to launch a command-line tool, such as an agent CLI.
Keep a dev server or backend running A script Scripts report lifecycle, port, health and exit code, and you can stop them by name.

Open a terminal in Amble

  1. Choose Terminal

    On the New screen, pick Terminal next to Chat and Preview. You can also open one from a workspace's tab or tools menu.

  2. Pick the default or a profile

    The Terminal section lists the default terminal and every profile. Picking one doesn't start anything yet.

  3. Check where it will run, then launch

    Read the computer and project shown before you run commands. The terminal runs on that computer, inside the project's approved folder. If you opened it from your phone, the commands still run on your computer.

To add or change profiles, choose Manage profiles at the bottom of the Terminal section, or go to Settings › Terminals for the selected computer. Profiles belong to the computer they were set up on, so a profile you made on your desktop won't appear on a second host until you add it there.

Closing the view doesn't stop the command

This is the part that is easy to get wrong. An Amble terminal has two separate states. The connection says whether your screen is attached to it. The process says whether the command inside is still running.

  • Closing the view does not end the process.
  • Reconnecting the view does not mean the command succeeded.
  • A terminal that shows as disconnected may still be running on the host. Reconnect and read it before you start a second copy of the same command.

To end a process, use the stop or close controls on purpose. If something is still running, Amble asks you to confirm first.

When a script beats a terminal

A terminal is good for a command you want to watch once. For something that should keep running, like a preview server or an API backend, declare it as a script in the project's amble.json instead. Scripts start through Amble's managed launcher and can be listed and controlled by name from the CLI:

lyre script ls
lyre script start <name>
lyre script stop <name>

Each command reports lifecycle, service port, proxy URLs, health, exit code and the supervised terminal id. Stopping a script ends its managed terminal, not just the route. An agent can do the same through the matching workspace-script tools.

Who can open one

Terminals need Owner access to the computer. A device paired with app-only access can use the apps shared with it, but it can't open a terminal, read source files or change host settings. That is deliberate: sharing a running app with a tester should not hand them a shell on your machine.

If a terminal won't start

Read the error shown in the terminal first. Then open Manage profiles and check the profile's command and folder. If a profile is missing on another computer, that is expected: add it on the computer you want to use it from.

Try it on your next agent run

Next time the agent tells you the tests pass, open a terminal tab in the same workspace and run the test command yourself. It takes a few seconds, and you will know rather than assume. The Terminals and profiles guide has the full steps.

Keep reading

Back to the blog