Skip to content

Tutorial

Your first agent task

Hand a change to a coding agent, follow every step it takes, answer what it asks, then review and commit the result. About fifteen minutes.

Before you start

A task runs on a coding agent you already use, such as Claude Code or Codex, installed and signed in on this computer. Deska does not run a model of its own for tasks: the agent works with your account and your plan.

Open Settings → Agents (Cmd/Ctrl,) to check. Each agent in the list shows its account once it is signed in, and one that needs you comes first with its button, Install or Sign in. Select an agent to open its page, where you sign in or run a check. Under the list, New tasks use picks the agent a new task starts on.

Settings, Agents page: the list of agents with their accounts, the ones that need you first, and Add agent

Open a project first (see Your first project): the agent works in that folder.

1. Describe the task

Press Cmd/CtrlI, or right-click an empty spot of the canvas and choose New task. Write what you want done the way you would ask a colleague: what is wrong or missing, and how you will know it is right.

A new task opens with Dex’s face and the question What are we working on in storefront? in the middle of the panel, and the box right under it: one line that grows as you write. Under the box sit three ways to start, Fix a bug, Review a change and Plan something new. Pressing one writes a first prompt in the box for you to change; nothing starts until you press Start. At the panel’s foot, Recent in storefront lists the project’s latest tasks; Hide folds them into one line if you would rather not see them.

The New task composer asking What should we build in storefront, with a prompt typed in and the model, settings and branch controls
  • The model chip (here Sonnet 5.5) picks the agent and the model for this task.
  • The permissions button (here Full access, with its name in amber) names what the agent may do without asking: its list offers Supervised, which asks before it acts, Auto accept edits and Auto ask less, Full access (the default) never asks.
  • Build lets the agent edit files. Pick Plan in the turn-mode button’s list (or press ShiftTab) and the agent researches and proposes a plan first, without touching anything; the button then reads Plan. Orchestrate is in the same list, marked soon, and does nothing yet.
  • The branch chip (main) says where the task runs: the checkout you are in, or a new worktree of its own. See Run tasks in parallel.
  • The microphone dictates the prompt instead of typing it.

Press Start or Enter.

2. Follow the work

The task opens as a thread. Your request sits at the top, then everything the agent does, in order: what it reads, what it edits, the commands it runs, and what it tells you along the way. The window header shows the task’s title and, right after it, where the task stands (Done here); the bar under it shows the agent, the branch and how many files changed.

A finished task thread: the request, the files the agent read and edited, the test run and the agent's summary of what changed

Want something different? Type in Message this agent at the bottom and send a follow-up; the agent keeps the whole conversation. You can close the panel at any time: the task keeps running and stays in the Inbox.

3. Answer when it asks

Depending on its mode, an agent stops to ask before it runs a command or changes something. The thread shows exactly what it wants to do, as a card in the conversation where the agent stopped, and waits for you. The message box under it stays open: type there and the request is declined and the agent is told what to do instead.

A task waiting for approval to run npm install nanoid, with the buttons to approve, approve for the session, decline or cancel the turn
  • Approve lets this one action run.
  • Approve for session stops it asking again for the same kind of action in this session.
  • Decline refuses this action; Cancel stops the turn altogether.

Sometimes the agent needs a decision instead. Since desktop 2.0.0, choose an option in the questionnaire or use its Your answer field. Press Answer to confirm, or Next when there are more questions. Your task message stays saved separately.

A task asking Should gift cards expire, with the options After 12 months and Never
TipYou do not have to watch. The Inbox chip at the bottom of the window lights up when a task needs you, and your phone can get a notification too.

4. Review and commit

When the agent is done, open Source Control from the Tools rail on the right. Changes lists every file that changed, with the lines added and removed; click a file to read its diff.

Source Control with two changed files, cart.ts modified and currency.test.ts untracked
  1. Stage what you want to keep: + on a file, or Stage all.
  2. Write the commit message, or press Generate message to have your agent draft one from the diff.
  3. Press Commit. Then Publish branch sends a new branch to your git host; once it is there the button reads Push. The arrow beside Commit does both in one step (Commit & Push).
Source Control with both files staged, a commit message written and the Commit button ready

Not happy with a change? Discard on a file throws its changes away after you confirm, or send the agent a follow-up from the thread.

5. Keep track in the Inbox

Every task you start lands in the Inbox. The Inbox chip beside Dex, at the bottom of the window, says how many tasks need you. Click it and Dex’s conversation opens wide with the Inbox as a column beside it, with tabs for Needs you, Working and Landed.

The Inbox list with four tasks: one waiting for approval, one for input, one working and one finished

Open inbox shows the whole board, grouped by what each task wants from you: Needs you, Working, Landed and Idle. The scope buttons narrow it to this worktree, this project or everything, and Filter picks statuses and agents.

The Inbox board with Needs you, Working and Landed groups, each task with its status and agent

Press Cmd/CtrlShiftJ to jump straight to the next task that needs you. More in Agent threads.

Next