PanCode
All tutorials

Getting started4 min read

Desktop or terminal: find your workspace

See both interfaces, learn how to launch them, and choose where to start your next coding session.

Written for
v0.9.0
Works in
Terminal · Desktop alpha
Basis
Product tour
Updated
PanCode desktop app, version 0.9.1, with the calibration-lab workspace in the sidebar. A finished task: two collapsed tool groups (3 searches; then 2 file reads, a folder listing and a command), with Panos reporting it deleted dist/, rebuilt it and that npm test passed all 7 tests, then listing the reference temperatures calibration.test.mjs checks: freezing, boiling, absolute zero and the round-trip inputs 25, −10, 36.6, 100, 273.15, 0 and −40°C. The footer reads Done, 12s, 7 tool calls; the composer shows Ask first, gpt-6-luna and Thinking low.
A finished task in the desktop app: the tool groups, the answer and the turn footer. Desktop (alpha) · v0.9.1
On this pagePanCode in the terminal PanCode on the desktop Choose where to begin

PanCode has two interfaces to the same runtime. The terminal offers the primary workflow. The desktop alpha opens locally in your browser and gives you a visual workspace for projects and conversations.

PanCode in the terminal

Open your repository and launch PanCode:

Shell

cd /path/to/your/project
pancode

PanCode terminal at start: the PanCode wordmark beside the version, health ready with the copilot connection healthy, sandbox auto edits, the Ask Panos composer, and a status bar with the calibration-lab workspace on main and copilot · gpt-6-luna.

The terminal combines the conversation, tool calls, permissions, and worker activity. Type /help to see available commands, or /model to choose a model.

PanCode in the terminal changing one line of temperature.mjs to fix a failing test, then running the declared test check through verify with exit 0

Each tool call stays on its own line with its result, so you can see what ran before you read the answer. /view opens the recorded calls and their output.

Fullscreen terminal recording of PanCode on gpt-6-luna: the question why the absolute-zero test fails is typed into the composer and sent with a request to fix it and run the test check; Panos explores the project with 5 searches and 2 files, runs the test check and sees 6 pass and 1 fail, edits one line of temperature.mjs, runs the test check again with exit 0, and explains that kelvinToCelsius rejected 0 K because its check used <= 0 and that all 7 tests passed, in 11s.
A short task on GPT-6 Luna through GitHub Copilot: the agent finds the off-by-one guard, edits it, and runs the project's test check. Terminal · v0.9.1 Recording · 0:22
Transcript
Fixing a failing test in PanCode with GPT-6 Luna
Recorded with PanCode 0.9.1. Each section is the terminal screen at that moment.

== ready





                           ∀  PanCode 0.9.1 · Systems software for coding agents
                          /model switches the chat model.




















━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Ask Panos…
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ∀  default · calibration-lab │ ✓ ready                                                 gpt-6-luna

== asked












                           ∀  PanCode 0.9.1 · Systems software for coding agents
                          /model switches the chat model.













━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Why does the absolute-zero test fail?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ∀  default · calibration-lab · main │ ✓ ready                     ctx 272k · low · gpt-6-luna · ?

== edited











 ∀  PanCode 0.9.1

  Why does the absolute-zero test fail? Fix it and run the test check.

▸ explored 5 searches, 2 files ✓
  │ project · `absolute.?zero|Absolute Zero|absolute zero` · entries `temperature conversion
  │ absolute zero test` · path `temperature.mjs` · path `calibration.test.mjs` · temperature.mjs ·
  │ calibration.test.mjs
$ checked test · 1.4KB ✗ failed
  │ … 29 earlier lines · /view
  │ ℹ pass 6
  │ ℹ fail 1
  │       at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
± edited temperature.mjs · +1 -1 ✓

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Ask Panos…
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ● waiting for model · 0s · Esc stops
  ∀  default · calibration-lab · main                              ctx ▰▱▱▱▱▱ 5% · low · gpt-6-luna

== checked










 ∀  PanCode 0.9.1

  Why does the absolute-zero test fail? Fix it and run the test check.

▸ explored 5 searches, 2 files ✓
  │ project · `absolute.?zero|Absolute Zero|absolute zero` · entries `temperature conversion
  │ absolute zero test` · path `temperature.mjs` · path `calibration.test.mjs` · temperature.mjs ·
  │ calibration.test.mjs
$ checked test · 1.4KB ✗ failed
  │ … 29 earlier lines · /view
  │ ℹ pass 6
  │ ℹ fail 1
  │       at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
± edited temperature.mjs · +1 -1 ✓
$ checked test · exit 0 · 19 lines ✓

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Ask Panos…
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ● waiting for model · 0s · Esc stops
  ∀  default · calibration-lab · main                              ctx ▰▱▱▱▱▱ 5% · low · gpt-6-luna

== done





 ∀  PanCode 0.9.1

  Why does the absolute-zero test fail? Fix it and run the test check.

▸ explored 5 searches, 2 files ✓
  │ project · `absolute.?zero|Absolute Zero|absolute zero` · entries `temperature conversion
  │ absolute zero test` · path `temperature.mjs` · path `calibration.test.mjs` · temperature.mjs ·
  │ calibration.test.mjs
$ checked test · 1.4KB ✗ failed
  │ … 29 earlier lines · /view
  │ ℹ pass 6
  │ ℹ fail 1
  │       at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
± edited temperature.mjs · +1 -1 ✓
$ checked test · exit 0 · 19 lines ✓

  Found it: kelvinToCelsius rejected 0 K because its absolute-zero check used <= 0, although
  absolute zero is valid. Changed it to reject only values below zero. The test check passes: all 7
  tests passed.

✓ Done · 11s · 12:35

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Ask Panos…  ? keys · / commands
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ∀  default · calibration-lab · main* │ ✓ ready               ctx ▰▱▱▱▱▱ 6% · low · gpt-6-luna · ?

During a turn, Enter queues a message that PanCode reads at the next pause between tool calls, Alt+S sends it now, and Escape cancels the run.

On a permission card, Enter allows the call. Esc denies it, which skips that call and leaves the run going. Alt+X stops the turn.

PanCode on the desktop

From a terminal, run:

Shell

pancode gui --open

The command opens the local application with its access link. Open a workspace folder, describe a task, and choose a model and thinking level from the composer.

The rail on the left groups tasks by workspace. The Session column on the right shows the workspace's Git state, the model, context, usage, the plan, artifacts, changes, and run records as the task runs.

You can keep any number of tasks open in one window. Launching again brings that window forward under WSL, when the app is installed through Chrome or Edge, and on a Linux desktop with wmctrl, xdotool or sway when the background app is running. Otherwise it opens a new browser tab.

Up to four turns run at once by default, set by interface.guiTurnCapacity from 1 to 16, and later ones wait for a slot. A task with no turn running and no window showing it for five minutes is paused with its conversation kept, and opening it again brings it back. A task you never typed into closes instead.

With the default Ask first setting, PanCode reads, edits files in the workspace, and runs commands it recognizes, such as read-only inspection and the project's test runners, without stopping. An unrecognized shell command, a large dispatch plan, or anything that publishes outside the project waits for you. The approval names the call, what allowing it authorizes, and what it can affect.

The same control can be switched to Run without asking for one task after a second confirmation. The cards stop, and by default the sandbox, snapshots, and safety judge stay on. A turn that changed files ends with a card that opens the changes for review. Type / in the composer to list session commands.

A first run with no model connection opens on guided setup, which asks the same questions as pancode configure.

  1. PanCode desktop app Start a task page: a prompt box bound to the calibration-lab workspace, gpt-6-luna with thinking low, and three starting points: Build something, Fix a problem and Explore a project. The earlier task is listed under the workspace in the sidebar.

    01 Start a task in a workspace; earlier tasks stay under it in the sidebar. Desktop (alpha) · v0.9.1

  2. PanCode desktop app, version 0.9.1, with the calibration-lab workspace in the sidebar. A finished task: two collapsed tool groups (3 searches; then 2 file reads, a folder listing and a command), with Panos reporting it deleted dist/, rebuilt it and that npm test passed all 7 tests, then listing the reference temperatures calibration.test.mjs checks: freezing, boiling, absolute zero and the round-trip inputs 25, −10, 36.6, 100, 273.15, 0 and −40°C. The footer reads Done, 12s, 7 tool calls; the composer shows Ask first, gpt-6-luna and Thinking low.

    02 A finished task in the desktop app: the tool groups, the answer and the turn footer. Desktop (alpha) · v0.9.1

  3. PanCode desktop app approval card for git push origin main: an Approval needed banner with the time left and a Needs your approval badge, the exact command, and rows for authorization, consequence, the effect Publishes to origin, reversibility not guaranteed, why it asked, the task, who requested it and the target, above Reject, Reject and stop the turn, and Allow once.

    03 An outward command waits for you; the card says what it would change and nothing runs until you answer. Desktop (alpha) · v0.9.1

  4. PanCode desktop app on a fresh profile with no model: guided setup opens on Welcome to PanCode, with the steps Provider, Connect, Model, Test and Workspace across the top, the PanCode logo beside a note that Panos works in the folders you choose, three numbered steps (pick a provider, connect and choose a model, open a folder), and the buttons Get started and Explore without a model.

    04 With no model connection, the desktop app opens on guided setup. Desktop (alpha) · v0.9.1

The desktop from a new task to a finished one: the composer, the answer with its tool calls, a waiting approval, and guided setup.

The desktop is in alpha and covers a subset of terminal workflows. Treat it as an optional way to use PanCode, and keep the terminal available for commands that the desktop does not yet expose.

On Linux with a systemd user session, you can install the optional background application, which starts at login and appears in your app menu. The installer offers the same step, and --gui accepts it without asking:

Shell

pancode gui background install --open

For an optional Linux desktop entry, run pancode gui launcher install. The background service and launcher each have an uninstall command. The desktop app guide covers those options.

Choose where to begin

Start in the terminal if you work mostly from a shell or need the primary set of PanCode workflows. Start on the desktop if you prefer browsing projects and working with attachments in a visual interface.

Both launch commands use the installed PanCode package. You do not need an account on this website. Your model connections use your own local server, institutional endpoint, or cloud provider.

Try a temperature-calibration example with recorded checks, or follow your first session for a concrete task to try in either workspace.

By Anthony Kougkas · PanCode

Continue with the documentation