Get started
Your first task
One shot, the cockpit, and what read only means.
A one shot task
frontier "list the places where we parse dates without a timezone"The agent can read files, list folders and search. It cannot change anything, because a one shot run is read only unless you add --allow-edits. If you are at a keyboard it asks y/n before anything that needs approval.
frontier --allow-edits "add a --version flag to the CLI and a test for it"Use --cwd <dir> to point it at another folder, and --file <path> to add a file to the prompt. Secret files such as .env are refused.
The cockpit
frontierWith no arguments you get the interactive cockpit. The agent has its tools on and every edit asks first. A turn looks like this:
> add a --version flag to the CLI and a test for it
> search_files --version
> read_file cli.mjs
Edit file: cli.mjs
+ else if (currentToken === "--version") ...
Allow? [y]es / [n]o / [a]lways this sessionThe six tools are read_file, list_directory and search_files (no approval needed), and edit_file, write_file and run_command (approval, with a diff preview for edits). Paths stay inside the project. Symlinks and junctions that lead out are refused. .env and key files are refused, and every tool result is redacted before the model sees it.
At the end of a turn the footer shows which models did the work, which files changed, the number of steps and the estimated cost.
Answering the question
| Answer | Meaning |
|---|---|
y | Allow this one. |
n | Refuse it. |
a | Allow that kind of edit, or that exact plain command, for the rest of the session. Not offered for chained commands. |
v | Print the whole diff when it is longer than a screenful, then answer. |
Press Esc to stop a running answer. Press Shift+Tab to cycle the permission mode. See Permissions.
If something goes wrong
Type /undo to restore the files that were modified or created during the last agent turn. See Undo and diffs. Nothing is ever committed or pushed for you.