---
title: "Your first task in Autohand Code Desktop"
description: "Open a repository, let an agent fix a failing test, then review the diff and verify the result yourself."
slug: "working-with-autohand-code/code/desktop/quickstart"
sidebar:
  label: "First task"
---

## What you need

- [Autohand Code Desktop installed](/working-with-autohand-code/code/desktop/installation) and signed in.
- A small project with a test command. Use a disposable copy for your first run.

This walkthrough uses [a small Node.js practice project](/tutorials/desktop-first-task) with one failing test. You can use your own repository instead and swap in its files and test command.

## 1. Add the project

1. Choose **Add project** in the sidebar.
2. In **Create project**, keep **Folder** selected.
3. Drop the folder onto the dialog, browse for it, or type its path.
4. Choose **Create project**.

Desktop links the folder; it does not copy or reset it. The project appears under **Programs** in the sidebar.

## 2. Start a thread and check the composer

Choose **New thread**. Before you type, check the row above the prompt:

- the **project** name,
- **Local** as the environment, so the agent edits the folder you added,
- the **branch** you expect,
- **Temporary** turned off, so the thread is kept.

Then check the row below the prompt: the **permission mode** and the **model**.

<img className="ah-shot-light" src="/images/desktop/app/newthread-light.webp" alt="New thread in harbor-web with Local, Select branch, and Temporary above the prompt, and Ask for approval and GPT-5.6 Sol High below it." width="2880" height="1800" />
<img className="ah-shot-dark" src="/images/desktop/app/newthread-dark.webp" alt="New thread in harbor-web with Local, Select branch, and Temporary above the prompt, and Ask for approval and GPT-5.6 Sol High below it." width="2880" height="1800" />

A new thread with the project, Local, and branch above the prompt, and Ask for approval with a Codex model below it.

For a first task, pick a mode that asks before acting: **Ask** for Autohand, or **Ask for approval** for Codex, Claude, and the other agents. Open the model picker to choose an agent and a model your account can use. See [permissions](/working-with-autohand-code/code/desktop/permissions-and-tools) for what each mode allows.

## 3. Describe the task

Send this prompt:

```text
Fix the failing quantity calculation in this repository. Run npm test first,
inspect total.js and total.test.js, then make the smallest correct fix and
add a regression test for a zero quantity. Run npm test again. Only edit
this project. Do not commit, push, or install dependencies. Explain the bug
and report the test result.
```

Sending the first message starts the agent. Follow its progress in the thread and expand a command or file step for detail. When an approval appears, read what it asks for and choose **Approve once**, **Decline**, or **Cancel turn**.

## 4. Review the result

When the turn finishes, the thread shows an **Edited N files** card.

1. Read the agent's explanation and test report.
2. Choose **Review** on the edited-files card to open the diff.
3. Read every changed file. The fix should multiply price by quantity, and a new test should cover a zero quantity.
4. Open the **Environment** panel in the thread header. **Changes** shows the full uncommitted diff for the working tree, which can include edits from earlier turns or your own.

<img className="ah-shot-light" src="/images/desktop/app/review-light.webp" alt="Environment panel open beside a finished thread, listing Changes, Local, main, Commit and Push, Local Servers, Usage, and Open in VS Code." width="2880" height="1800" loading="lazy" />
<img className="ah-shot-dark" src="/images/desktop/app/review-dark.webp" alt="Environment panel open beside a finished thread, listing Changes, Local, main, Commit and Push, Local Servers, Usage, and Open in VS Code." width="2880" height="1800" loading="lazy" />

The Environment panel summarizes the task: total changes, environment, branch, Commit and Push, running local servers, usage, and your editor.

## 5. Verify it yourself

Open the right-hand panel and choose **Terminal**. Check you are in the project, then run the tests:

```bash
pwd
npm test
```

For the practice project, expect **3 tests passed, 0 failed**. If a test fails, paste the failure into the same thread and ask for a fix. If the tests pass but the behavior is still wrong, describe the missing case and ask the agent to cover it.

## 6. Continue or deliver

Keep follow-ups about the same change in this thread. For unrelated work, start a new thread, ideally in a [new worktree](/working-with-autohand-code/code/desktop/projects#use-a-worktree).

You now have a working change, a reviewed diff, and your own test run. [Commit or open a pull request](/working-with-autohand-code/code/desktop/review-and-delivery) when you are ready; you do not need to for this quickstart.

<AcademyCta course="autohand-desktop-101" title="Autohand Desktop 101" blurb="Install the preview, take a task from prompt to commit, and run agents in parallel worktrees." />
