Product tour

A tour of Topsoil, screen by screen

Start in the terminal and the editor, then see the rest. The agent and its permission model work the same way on every screen.

Terminal · macOS, Windows, Linux

Terminal AI coding agent for bastions and build servers

A desktop app is not an option on a build server, a jump host or a locked-down workstation. The terminal client has the same models, approval gates and project context.

The topsoil models command in AWS GovCloud (US) us-gov-west-1. Grok 4.7 is marked as the default. The models shown are the ones that account has enabled.

Models come from your account. Here it is AWS GovCloud (US), with Grok 4.7 as the default. Enable a family and it appears; /model opens a scrollable picker, so you never have to type an id.

The Topsoil start screen with the slash command menu open, listing /code, /docs, /diagram, /review, /security-review, /pr-comments, /tasks, /task, /goal and /loop, the first 10 of 61 commands.

Every command is a slash away. Type / for the menu, with the review and backlog commands next to the coding ones.

Topsoil on Grok 4.7 answering why ETAs stay stale after a reroute: it greps and reads src/eta/cache.ts, explains that the cache key is the route id alone, and proposes adding the route revision to the key.

It explains before it edits. Topsoil searches the repository, reads the file and names the defect, then proposes the fix. Nothing is written until you say so.

Topsoil on Grok 4.7 in the harbor-rates worktree: a three-step plan, grep and read_file on the sliding-window limiter, the root cause explained, and an Allow apply_patch? card for the new regression test.

Plan, read, then explain. Asked why Pro tenants get 429s after a quiet period, Topsoil plans three steps, greps and reads the limiter, names the root cause, and asks before writing a regression test.

Topsoil after writing the regression test, shown as a highlighted diff, with an Allow run_command? card asking before it runs npm test.

Commands ask first too. Before npm test runs, Topsoil shows the exact command and waits for your answer.

Topsoil running xAI Grok 4.7 in a terminal, in its own git worktree: the new regression test is shown as a highlighted diff, npm test reproduces the bug with 4 passing and 1 failing, and an Allow apply_patch? card shows the fix to src/limiter/sliding-window.ts with Allow once, Deny and Always allow.

Reproduce first, and nothing is written without a keystroke. The new test fails on npm test, then apply_patch shows the exact lines of the fix. y allows it once, and a always allows it for the session.

Topsoil on Grok 4.7 showing the finished change as syntax-highlighted diffs: the new regression test, the limiter fix in src/limiter/sliding-window.ts and the changelog entry.

The whole change, file by file. Once the fix lands, every changed file is shown as a diff with its line numbers, so your review starts from the code.

Topsoil after the fix: the changelog diff, all 5 tests passing, a table of the three changed files, and a scratch-copy check that the new test fails without the change.

Then it proves the fix. All five tests pass, the change is summarized by file, and Topsoil checks in a scratch copy that the new test fails without the change.

Topsoil reviewing its own change before a pull request: ready to open, 0 blocking, 2 suggestions and 1 follow-up, each anchored to a file and line.

A review before the pull request. Ask for a review and Topsoil reads its own diff against main: ready to open, nothing blocking, with each suggestion anchored to a file and line.

Topsoil writing the pull request summary after its review, with sections for what went wrong, the fix, the tests and the risk.

Then it writes the pull request. Say PR summary and you get the description a reviewer needs, including the test that proves the fix.

jordan@route-planner · topsoil
› /goal --budget 1 the ETA cache tests pass

Stages: explore, design, plan, implement, verify, review, document

…

Topsoil run budget exceeded. This run spent $1.20 of its $1.00 run budget in 2
attempts. The work so far is on topsoil/goal-x. Raise it with
TOPSOIL_TASK_BUDGET_USD (or taskBudgetUsd in ~/.topsoil/config.json), then run it
again. A /goal can also be started with --budget <amount>.

Hand over a piece of work, with a ceiling. /task, /goal and /loop plan first, work in an isolated worktree and verify before they propose. The first line lists the stages the run will go through; a budget stop says which budget, where the work is, and the process exits with code 3, so a scheduler can tell it from a failure. The messages are Topsoil's; the amounts and the branch are an example.

Delivery

From backlog to pull request with isolated git worktrees

A walkthrough of /task, from an issue to a pull request a person reviews.

  1. Pick the work. /tasks lists what Topsoil can see in GitHub Issues, or in Jira Data Center inside your network. /task <id> takes one.
  2. Explore and design. Topsoil finds where the change belongs and picks an approach, writing nothing.
  3. Approve the plan. The file-by-file plan is shown to you once. Nothing is written before you approve.
  4. Implement in a worktree. The change is made on its own topsoil/ branch in its own git worktree; your working tree is untouched.
  5. Verify. The project’s checks run, and new tests must fail without the change before verify can pass.
  6. Review and document. A second model, which can be from another vendor, reviews; its findings and how the change was verified go into the pull request.
  7. A person merges. The pull request opens on GitHub or Bitbucket Data Center. Topsoil does not merge it.

Editor · VS Code

VS Code AI agent bridge (diffs in your editor)

There is deliberately no Topsoil panel in VS Code. The agent keeps running as topsoil in the integrated terminal, and the extension lends it what only the editor knows.

  • Unsaved buffers and your selection, so "fix this" means the code actually on screen.
  • Open files and diagnostics, so the agent sees what the language server sees.
  • A diff after the turn, opened on the files it wrote.
  • Installs from the desktop app's Settings or topsoil vscode install. It ships inside the products you already have, so there is no Marketplace step.

The terminal, the editor and the desktop app all reach the same agent. Adding the editor does not add another host to secure, another log to collect, or another copy of your source in flight.

VS Code on macOS: the side-by-side diff the Topsoil extension opens after a turn, showing the new regression test and the limiter fix in the fix-idle-429 worktree.

The diff opens itself. topsoil -w fix-idle-429 runs in the integrated terminal on its own git worktree. When the turn ends, the extension opens a side-by-side diff of the files it wrote.

Your checkout stays clean

Source Control shows two repositories: your main checkout with no changes, and the agent's worktree holding the fix. When you are satisfied, commit there and merge worktree-fix-idle-429 with plain git. Topsoil never merges on its own.

VS Code Source Control after a Topsoil turn: the main harbor-rates checkout has no changes, and the fix-idle-429 worktree holds the three changed files ready to commit.

Desktop · macOS and Windows

The desktop workspace

The Topsoil desktop app on US-GOV Grok 4.7 after a fix in Harbor Rates: all five tests pass, a table lists the three changed files, and the Context panel shows the working folder.

The same run, in a window. Topsoil reproduced the bug with npm test and reran the suite after the fix. Each changed file is listed with what changed.

Context you can audit

The side panel shows what the model actually read: the working folder, each attached file, how much of the window is used and what the turn costs. It updates while the turn runs.

Route Planner · Context
Working folder9 files

~/Projects/route-planner

  • src/eta/cache.ts
  • src/eta/reroute.ts
  • src/server.ts
Project files3
  • architecture-overview.md ~186 tokens
  • depot-sla.csv ~49 tokens
  • oncall-runbook.md ~150 tokens
~462 / 50k tokens1% of budget
A desktop permission card for an edit to the sliding window limiter, with the proposed lines and buttons to accept or reject it.

You approve each edit

Before it writes, Topsoil shows the change as a card. Accept it once, or edit the text before it lands.

Pick the model in Settings

The default model is set once in Settings and applies to every new chat. Here it is Grok 4.7 served from AWS GovCloud (US).

Desktop Settings with US-GOV Grok 4.7 chosen as the default model for new chats.
Artifacts
$ /report Route Planner 2.4 readiness
write document docs/route-planner-2.4-readiness.pdf
  • route-planner-2.4-readiness.pdf 3.31 KB
  • q3-proposal-summary.docx 18 KB
  • depot-readiness.xlsx 24 KB

Saved into the working folder and listed under Artifacts.

It writes real files

/report, /memo and /sheet write PDF, Word and Excel into the working folder. Diagrams are rendered. A library of your own documents, held in your own storage, is what the retrieval runs against.

Control

Permission prompts before every write

Review patch
src/eta/cache.ts (+1 −1)
−  const entry = etaCache.get(route.id);+  const entry = etaCache.get(`${route.id}:${route.revision}`);
Accept once1 Rejectesc Always this path Always this tool3

The diff arrives before the write. The scope of your answer is on the buttons: once, this path, this tool, or the rest of the chat.

Mode
  • ✓ Ask before edits
    Topsoil asks before it changes files, runs commands, or uses the network.
  • ✓ Edit automatically
    File changes in this folder apply without asking. Commands and the network still ask.
  • ✓ Plan mode
    Topsoil only reads and researches, then proposes a plan for you to approve.

Shift+Tab in the message box switches modes.

Three modes. Plan mode only reads until you approve what it proposes.

Settings · Agent features
  • ✓ File edits
    apply_patch, write_file, notebook_edit, and saved plans.
  • ✓ Shell commands
    run_command, PowerShell, background jobs, and /sandbox.
  • ✓ Git
    git status/diff/log/commit, pull requests, and worktrees.
  • ✓ MCP servers
    Start stdio/HTTP/WebSocket servers and their tools, prompts and skills.
  • ✓ Language servers
    LSP diagnostics and code navigation after edits.
  • ✓ Subagents and tasks
    explore/implement/review/verify, delegate, and background tasks.

Agent tools can read and modify files, run commands, and start local servers. Only enable for projects you trust.

Every capability is listed

Each agent capability is listed with what it permits: the files it may write, the commands it may run and the servers it may start. They are off until someone turns them on, and turning one on is a deliberate act with a confirmation.

So when someone asks what Topsoil can do to their machine, you can show them the list.

Get started

Try it on your own codebase

A pilot runs in your own AWS account, with your models and your material, and ends with findings you can act on.