1. Home
  2. Learn
  3. Getting started

Your first harness.
Your first week.

A practical route from nothing to a first real result: which harness to try, what to set up, what to do in the first session, and what to expect on the way.

If you have not yet read what a harness is, start with What is a harness. In one line: it is the program that lets an AI model use tools in a loop to do real work. This guide assumes you want to try one this week. For the bigger picture of the skill you are about to build, see what operating a harness means.

Choose your first harness

There is no single best harness, and your first choice is not permanent. The habits you learn carry across all of them. Pick on these criteria, then stop deciding and start working.

CriterionQuestion to ask
Where you workDo you like a terminal, an editor, a desktop app or a browser? Some harnesses offer several; others only one.
Who pays, and howIs it a subscription with usage included, or pay-per-token on an API key? Either works. Know which before you begin (see how cost works).
Which models it can useDoes it lock you to one vendor's models, or let you switch? Switching helps later, but is not needed on day one.
Open or closedOpen-source harnesses can be inspected and changed. Closed ones are often more polished. Both are fine for learning.
Documentation and communityWhen you get stuck, will you find an answer? A well-documented tool with many users is easier for a beginner.
What your workplace allowsIf you will use it for company work, check policy on sending code and data to a vendor before you start.

Our comparison of popular harnesses lists the paid and open-source options side by side. If you cannot choose, take whichever one a colleague already uses, so you have someone to ask. The rest of this guide uses neutral language and notes where the details differ by tool.

What you need

  • An account or a key. Most harnesses ask you to sign in with a subscription account or paste an API key from the model provider. Create it yourself in the vendor's own page and keep it private.
  • A place to run it. Often a terminal. If you have never used one, the vendor's installation guide usually explains how to open one. Some harnesses also have extensions for editors such as VS Code, a desktop app, or a web version.
  • A real, small project. Not a demo, not your company's most important system. Something you understand and care about a little: a personal site, a script that tidies your files, a spreadsheet's worth of data to analyse, a small tool you wish existed. You will judge the result better when you know the subject.
  • Version control, so every change can be undone. This is the one item that is not optional. Git records each state of your files, so when the agent makes a mess you go back in one command. If you have never used git, set it up first, with a single commit before the agent touches anything. Many harnesses can help you do this on request.

For a concrete example, here is the install route for Claude Code. According to its official overview, on macOS, Linux and WSL you run curl -fsSL https://claude.ai/install.sh | bash, open a new terminal and check with claude --version, then go to your project folder and run claude. It asks you to log in on first use. Most surfaces need a Claude subscription or a Console account. Other harnesses have their own steps; follow the documentation of the one you chose, not a blog post, because install commands change.

Before you begin

Make sure the folder is under git and that you have committed. That single commit is your undo button for the whole session.

Your first session

The first session should be small and finish with something you checked. It will take an hour or two, most of it thinking and reading rather than typing.

  1. Set up an instruction file. Harnesses read a plain text file at the start of every session. It holds what the agent cannot guess: what the project is, how to run it, what to avoid. The name depends on the tool. Claude Code reads CLAUDE.md in your project root, and its documentation says it can generate a starting file with /init. Codex reads AGENTS.md, according to OpenAI's guide. Claude Code can also read an existing AGENTS.md in place of a CLAUDE.md, so one file can serve more than one tool. Keep it short: five to fifteen lines of facts and rules is a fine start.
  2. Write a brief with a check. Pick one small task. Write the goal, what "done" looks like in a form you can test, and what must not change. Ask the agent to repeat it back and to name anything unclear before it starts.
  3. Ask for a plan first. For anything larger than a one-line change, ask the agent to explain what it intends to do before it edits. Read it. Correct anything that does not match your intent. Claude Code has a plan mode for this; in other tools, you simply ask.
  4. Let it work. Watch the first few steps, then let it run. When it asks permission to do something, read the request before you approve it. Approve what you understand. Ask when you do not.
  5. Read the diff. A diff is the list of exactly what changed. Even if you do not read code fluently, look at which files changed and how many lines. Anything in a file you did not expect is a question to ask the agent.
  6. Verify. Run the check you wrote in step two, yourself or with the agent showing its output. Then use the result the way a real user would: open the page, run the script on real input, read the report.
  7. Commit. If it is right, commit with a message that says what changed and why. If not, say what is wrong and go round again, or discard the changes and restart with a better brief.

Here is a starter brief you can adapt:

Goal: add a "last updated" date to the footer of my site.

Done means:
- every page shows the date it was last built, in the footer
- the date format is 28 November 2026
- the existing layout does not change

Do not touch: anything in the /assets/ folder.

First, tell me your plan and which files you will change. Do not edit yet.

Your first week

A suggested pace. Shift it to your schedule, but keep the order.

  1. The whole loop, once

    Install, sign in, put a project under git, write the instruction file, run the first small task from start to commit.

  2. Briefs and "done means"

    Repeat with a task that has a testable result. Write the check first.

  3. How much the brief changes the result

    Deliberately ask for something vague, then redo it with a proper brief. Compare the two diffs.

  4. Evidence over summary

    Read a full trace of a run: what it opened, what it ran, what it skipped. Find one claim in the final message and verify it.

  5. Steering

    Give it a bigger task. Ask for a plan, correct it, then let it run. Stop it once, on purpose, to redirect.

  6. Guardrails

    Open the permission settings. Decide what it may do alone and what must ask. Read how to keep secrets out of reach.

  7. Compounding and economics

    Look back at the week. Every correction you made twice becomes a line in the instruction file. Check your usage and what the week cost.

The days map onto the eight modules of the free course: the brief, context, verification, steering, guardrails, compounding and economics, with decomposition following once your tasks grow. Reading a module the evening before the matching day works well.

What to expect

Speed

Simple, well-briefed tasks can finish in minutes that would take you an hour or a day by hand. Large or unclear tasks take longer, and can end in the wrong place faster than a person would have. The speed is real, but only on work you have briefed well. Time spent on briefs and checks is the price of the speed, and it is usually worth paying.

The kinds of mistakes agents make

  • Confident wrong answers. A made-up function name, a setting that does not exist, a claim that something works when it was never run.
  • Doing more than asked. Reformatting files, renaming things, adding features you did not request.
  • Doing less than asked. Fixing the easy half and reporting the whole.
  • Losing the thread. In a long session it forgets an early instruction or acts on something that is no longer true.
  • Solving the symptom. Silencing an error instead of fixing what causes it.
  • Missing your unwritten rules. It does not know your house style, your customers, or what you decided last month unless a file tells it.

Every one of these is manageable once you expect it. The failure modes on the operating page describe the defences.

How long it takes to get good

You will get useful results in the first session. Reliable results take longer, and we will not put a number on it, because it depends on how often you practise and how varied your tasks are. What does hold for most people is the order: briefs improve first, then checking, then the judgement of when to step in. Expect the first week to feel clumsy and the first month to feel like a different skill from the one you started with.

When it feels like magic, and when like herding cats

It feels like magic when the task is clear, the project is small and well described, and the check is simple: a page appears, a script runs, a report arrives. It feels like herding cats when the brief is vague, the project is tangled, the session has run too long, or you are asking for something with no way to test it. Almost every herding session is a signal about the brief, the context or the size of the task, not about the tool. When it happens, stop, shrink the task, write down what you want, and begin again.

How cost works

There are two common ways to pay, and many tools offer both.

SubscriptionPay per token
How it billsA flat monthly fee for a plan, with a usage allowance inside it.You pay for the tokens the model reads and writes, through an API key.
What happens at the limitYou wait for the allowance to reset, or buy extra usage if the plan allows it.There is no allowance. The bill simply grows with use, unless you set a spending limit.
Best forRegular use, predictable cost.Irregular or automated use, or a company that wants exact metering.

A token is a small piece of text, roughly a short word or part of one. You pay both for what the model reads (your instructions, the files it opened, the whole conversation so far) and for what it writes. This explains how cost behaves in practice. Claude Code's cost documentation states that Claude Code charges by API token consumption, that costs scale with context size, and that subscribers have usage included in their plan. It also names what drives usage up: long sessions that were never cleared, the most expensive model used for simple work, and helper agents running alongside the main one.

The same documentation gives the habits that keep cost down, and they work in any harness:

  • Start a fresh session when you switch to an unrelated task, so old context is not re-read with every message.
  • Use a capable but cheaper model for ordinary work, and the strongest one only where the task needs it.
  • Write specific prompts. A request to "improve this codebase" makes the agent scan widely; a precise one lets it read little.
  • Give it a way to check its own work, so errors are caught before you pay for a second round.
  • Stop a run that is going the wrong way instead of waiting for it to finish.

Prices differ between vendors and change often, so we do not list any here. Read the pricing page of the tool you chose and check your usage once a day in the first week. In Claude Code the /usage command shows it. The economics module goes deeper.

Safety from day one

These habits cost almost nothing at the start and are painful to add after an accident.

  • Understand the permission prompts. By default, a harness asks before running shell commands or changing files. Claude Code's permissions guide describes this tiered approach, with rules you can set to allow or deny specific actions. Other harnesses have similar controls. Do not switch every prompt off to save time until you know exactly what you are allowing.
  • Keep secrets out of reach. Passwords, API keys and private tokens do not belong in files the agent reads, in your instruction file, or in a chat message. Keep them in environment variables or a secrets manager, and add secret files to your ignore list so they are never committed.
  • Back up, and commit often. Git protects the files in your project. For anything outside it, such as documents, databases or folders on your machine, keep a separate backup before you let an agent near them.
  • Never give it production keys. Use a test account, a copy of the data, or a sandbox. An agent with a live database key or a deploy key can break a live system in one command. Keep deployment, payments and anything customer-facing behind a step that needs you.
  • Work on a branch. A separate git branch lets you throw the whole session away with one command.
  • Be careful what you paste. Anything in the conversation goes to the model provider. Do not paste personal data, client material or confidential documents unless your policy and the provider's terms allow it.
A rule of thumb

The agent may do alone anything you can fully undo in a minute. Anything else waits for your yes.

When to get help

Most beginners can get a long way alone. Help is worth having when you want to move faster than trial and error allows, when you are working for a team that needs a consistent way of doing it, or when something went wrong and you do not know why.

  • Free: the free course covers the eight parts of the craft with exercises on a real harness. The free skills add commands and hooks for Claude Code that help it remember and prove its work.
  • Training: face-to-face, online and one-to-one lessons give you an instructor and feedback on your own runs.
  • A conversation first: if you are unsure which of these fits, book an intro call and tell us what you want to build.

Start today.
Ask when you are stuck.

Take the free course alongside your first project, or book a short call and we will point you to the right first step.