Skip to content
Esc
↑↓navigate↵open⌘Jpreview
Start
On this page

Your first task in Autohand Code Desktop

Open a repository, let an agent fix a failing test, then review the diff and verify the result yourself.

What you need

This walkthrough uses a small Node.js practice project 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.

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.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.
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 for what each mode allows.

3. Describe the task

Send this prompt:

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.
Environment panel open beside a finished thread, listing Changes, Local, main, Commit and Push, Local Servers, Usage, and Open in VS Code.Environment panel open beside a finished thread, listing Changes, Local, main, Commit and Push, Local Servers, Usage, and Open in VS Code.
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:

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.

You now have a working change, a reviewed diff, and your own test run. Commit or open a pull request when you are ready; you do not need to for this quickstart.

Last updated on

Was this helpful?

Send Feedback

Help us improve this documentation page. Your feedback is valuable.

We'll only contact you if we need clarification