The terminal
What you will learn How the terminal differs from a task, and how to open what you built at a URL.
If terminals themselves are new, start with The terminal and commands.
How it differs from a task
| Task | Terminal | |
|---|---|---|
| Character | give it a goal and it proceeds | you type the commands |
| Ending | finishes when complete | stays open |
| Used for | delegating | checking and operating |
If a task is "do this for me," the terminal is the terminal you always used, opened in a browser.
It stays alive
The biggest characteristic.
Close the screen or refresh it and the terminal is still there.
graph TD
A["Start a dev server in the terminal"] --> B["Close the browser"]
B --> C["The server keeps running"]
C --> D["Reopen later<br/>and it's exactly as it was"]A normal terminal kills its processes when the window closes. This one does not.
So these become possible
The Terminals tab. Sessions opened here survive closing the screen.
Opening what you built at a URL
Start something like a dev server in the terminal and you can open the result at a single address.
Where this is useful:
| Situation | Use |
|---|---|
| Showing a colleague | send them the address |
| Checking on a phone | verify the mobile layout |
| Comparing versions | split ports and run simultaneously |
If you set up access from outside, that address opens externally too. Then you can send a colleague the link.
Using it alongside tasks
In practice you mix them like this:
Building goes to tasks, checking goes to the terminal.
Things to watch
The terminal is unaffected by autonomy settings
A task's autonomy level applies to the agent. The terminal is you typing directly, so that setting does not apply.
Which means whatever you type in the terminal runs. Type a command that deletes files and files are deleted.
Do not forget long-running processes
Staying alive is both the advantage and the caution. Leave several dev servers running and forget them and they keep consuming your machine's resources. Clean up terminals you are not using.
When the log gets long
Accumulating log output makes the screen heavy. When needed, opening a fresh terminal is better.
Check yourself
1. What is the difference between the terminal and a task?
Answer
A task means giving a goal and letting the agent proceed, ending when complete. The terminal is you typing commands directly and it stays open.
2. What happens to the terminal when you close the browser?
Answer
It stays alive. A normal terminal kills its processes when the window closes; this one does not. That is why you can leave a dev server running and come back later.
3. Why do autonomy settings not apply to the terminal?
Answer
Because you are typing directly. Autonomy levels apply to the agent; in the terminal whatever you type simply runs.
Now work that runs automatically at a set time → Scheduled runs