Skip to main content
Attune Harness Help Center

Get started with Harness

Install Harness, check a local result and connect your assistant.

On this page

Browse the six Harness tutorials

Choose your starting point:

Install Harness

Install uv if needed. Harness 1.8.1 is published on PyPI and requires Python 3.12 or later. Keep a working installation intact while checking an upgrade in a separate environment.

Choose the commands for your terminal. On Windows, open Windows PowerShell or PowerShell 7 as your normal user. This route selects x64 Python explicitly, including on an ARM64 Windows device where it runs under emulation.

uv tool install --python cpython-3.12-windows-x86_64-none 'attune-harness==1.8.1'

Native Windows ARM64 Python requires separately built dependency wheels. See the current compatibility results and other installation options.

On macOS or Linux, install with:

uv tool install --python 3.12 'attune-harness==1.8.1'

Check a local result

attune-harness

Look for "status": "verified". This is the local demo, not a completed course build. You can complete the reporting exercise without an assistant account or API key. If the command is not found, follow the uv tool path instructions.

Set up the practice folder

Build and check an HTML report from six sample activity entries. You can preview the sample report. The six lessons use one local project and need no API key. The sample shows what you will build; viewing it does not verify your own installation or report.

Check the prerequisites

You need uv and Git before preparing the practice project. Run:

uv --version
git --version

Both commands must print a version. If either is missing, install uv or Git, then open a new terminal and check again. The next step selects Python 3.12 and installs Harness and pytest into a separate course environment. Keep an existing working installation intact.

Create the course environment

  1. Download practice ZIP and extract it into a new folder. On Windows, select the downloaded ZIP in File Explorer and click Extract All. Choose a new folder on a fixed local NTFS drive, outside shared or synchronized folders. Do not run the course from inside the ZIP.
  2. Open a terminal in the extracted folder that contains practice.py and requirements-practice.txt. Keep the extracted files together. Use a folder on your local drive, outside a shared or synchronized folder. On Windows, use a fixed local NTFS drive. On Windows, navigate into the extracted folders until you see practice.py and requirements-practice.txt. Select the File Explorer address bar, type powershell, and press Enter to open Windows PowerShell in that folder. If you use PowerShell 7, open it in that same folder. Use a normal, non-elevated terminal.
  3. Follow the commands for your shell below. Stop if a command reports an error; do not continue to the next step. Use a fresh extracted folder if it already contains a .venv that you want to keep.

Windows PowerShell 5.1 or 7

Create the environment with x64 CPython 3.12:

$COURSE_WORK = (Get-Location).Path
uv venv --python cpython-3.12-windows-x86_64-none .venv

After uv reports that it created the environment, install the course packages:

$COURSE_PYTHON = Join-Path $COURSE_WORK '.venv\Scripts\python.exe'
uv pip install --python $COURSE_PYTHON -r requirements-practice.txt 'attune-harness==1.8.1'

Check the selected environment:

& $COURSE_PYTHON -c "import sys, sysconfig; from importlib.metadata import version; print(sys.executable); print(sys.version); print(sysconfig.get_platform()); print('Harness', version('attune-harness')); print('pytest', version('pytest'))"

Look for Python 3.12, win-amd64, Harness 1.8.1 and pytest 9.1.1. The executable must be inside this folder's .venv. No activation script or execution-policy change is needed: the course calls this Python executable directly.

macOS/Linux — Bash or Zsh

COURSE_WORK="$(pwd -P)" &&
uv venv --python 3.12 .venv &&
COURSE_PYTHON="$COURSE_WORK/.venv/bin/python" &&
uv pip install --python "$COURSE_PYTHON" -r requirements-practice.txt 'attune-harness==1.8.1'

Then check the environment:

"$COURSE_PYTHON" -c "import sys; from importlib.metadata import version; print(sys.executable); print(sys.version); print('Harness', version('attune-harness')); print('pytest', version('pytest'))"

Look for Python 3.12, Harness 1.8.1 and pytest 9.1.1, with the executable inside this folder's .venv. No activation is needed.

If you already have a separate compatible environment, set COURSE_WORK to the extracted course folder and COURSE_PYTHON to that environment's full Python path using your shell's syntax. Check its versions before continuing. The tested versions and results identify actual recorded runs; installation alone does not qualify the course.

Keep this terminal open for lesson 2. Choose the same Command shell in the course. You can run the rest of the reporting exercise offline. Lesson 2 first prepares a draft; you review its checkpoint and authorize the build separately. If preparation stops, keep the practice folder. Copy the exact command and printed error when asking your assistant, teammate or Harness support for help. If the error names a practice-diagnostics-* folder, keep it too: failure.json identifies the failed step, and stdout.bin and stderr.bin preserve the original output for investigation. Agree on the next action before making another attempt.

Continue to the reporting course

Connect your assistant

This is optional for the local reporting exercise. Connect an assistant when you are ready to work on your own project:

Choose goal-driven development

Read How people and AI work together to understand your decisions and the AI's role in carrying out accepted work.

Start with a small outcome in a project you know. Ask your assistant to help prepare the plan for your review.

Example prompt

Use Harness to help me plan an update to this project. Help me define the goal, affected files and checks before we build.

Use Plan a change to prepare your request. Browse all goals to find a guide for review, repair, testing, or saved work.

Review the proposed scope, participants, and checks before accepting the plan. Authorize the build when you are ready to start it.

Tip Use status to inspect saved decisions before continuing.

Choose spec-driven development

Use a specification when the work needs more structure than a short request. Follow Create a spec with roundtable help for an existing worked example and review points. The worksheet records proposed wording; copying a prompt or preparing a draft does not dispatch a model, approve the spec or start implementation.

A reviewed spec still needs a supported, accepted plan before a build can start. The plan-and-build guide explains that procedure. If you already have a supported Markdown plan, follow the plan import instructions and review the imported scope before acceptance.

Keep a working setup

Sources and verification

Find the archived practice setup and other historical walkthroughs in the documentation archive.

Read the changelog for changes and deprecation notices. If an upgrade requires action, see the migration guide. The release history identifies the source and artifacts for each published version. Historical walkthroughs keep their original versions and verification limits.