Skip to main content

Agent harness engineering

Agent harness engineering: the system around the model

The model writes the answer. The harness decides what it sees, what it may touch, when a person checks its work and how you know it did the job right. We build that harness for coding agents and for business agents.

Certified Services Partner, Claude Partner Network
years of cloud development
10+
years of AI development
4
cloud projects built or advised on
223+
stars on Clutch from 13 reviews
4.9
27001 and 9001 certified
ISO

01

Signs that an agent needs a harness

  • Results depend on who started the run

    Two engineers give the same task to a coding agent and get very different code, because the context and rules live in their heads.

  • The agent has more access than the task needs

    It runs with a developer's full credentials or a service account that can write anywhere.

  • Review happens at the end, if at all

    A long run produces a large change, and the reviewer has to accept or reject all of it.

  • Failures are hard to explain

    When a run goes wrong there is no record of what the agent read, which tools it called or why it stopped.

02

What goes into an agent harness

We build the parts your agent is missing, in your repositories and your cloud account.

Context and memory

The agent starts every run with the knowledge it needs and keeps what it learns where the next run can find it.

  • Project rules and CLAUDE.md files for each repository
  • Skills for recurring tasks
  • Notes and state stored between runs
  • Context trimmed to what the task needs

Tool permissions and sandboxing

The agent can only use the tools and data a task needs, and risky work runs in an isolated environment.

  • Allow and deny lists for tools and commands
  • Short-lived, narrowly scoped credentials
  • Isolated environments for code execution
  • Hooks that block actions your policy forbids

Checkpoints and verification

Work is split into steps that a person or an automatic check can verify before the agent moves on.

  • Human approval on the steps you mark as risky
  • Tests, type checks and linters the agent must pass
  • A second agent or script that checks the result
  • Small changes that are easy to review

Evals in CI and tracing

Every change to prompts, tools or models is tested before it merges, and every production run leaves a trace.

  • An eval suite that runs in your CI pipeline
  • Traces of each step, tool call and result
  • Cost and duration per run
  • Failed runs turned into new eval cases

03

The harness around one agent

GoDaddy is our client: we moved a startup they acquired from Google Cloud to AWS. This block is a concept of six Claude agents for their teams. The samples show what the harness adds around the product update digest agent: saved rules, a question to a person, checkpoints, a test gate and a trace.

Concept

Concept screen

Six agents for GoDaddy teams, with the instructions, tools and recent work of each agent.
Loading example

Samples

Product update digest agent

What the agent reads on each run, what it writes and when it asks a person.

Instructions

Each week, read the public GoDaddy newsroom and the product news pages. Write a one-page digest for the engineering and care teams: what changed, in which product, and the link to the source. Use only what the published pages say. If two pages disagree, show both and ask a person.

Pages it may read

aboutus.godaddy.net/newsroomgodaddy.com/resources (product news)

What the digest agent keeps between runs

Rules a team would add, and the links from earlier digests.

Saved rules

Write product names as GoDaddy writes them: GoDaddy Airo, Website Builder, Online Store.Start each item with the product name, so a reader can scan the list.List a financial release with its link and no summary.

Already reported

The agent keeps the source link of every item it reported. A link on that list does not go into a later digest.

The digest agent asks a person

The instructions say: if two pages disagree, show both and ask a person.

Question to a person

The digest agent asks: two pages disagree about one item in this week's draftPages: a newsroom post and a product news postWhat it did: kept both versions in the draft, each with its source linkAsked: the communications leadChoices: keep both, keep one, drop the item.

What needs no person

Reading the public pages and posting the digest to team chat. A change to the saved rules needs the communications lead.

The run saves its progress after each step

A run can stop at a checkpoint and continue from it later, so no page is read twice.

Run: weekly product digest

1. fetch_page, newsroom: done, posts saved2. fetch_page, product news: done, posts saved3. Skip reported links: done, two links skipped4. Write digest: done, draft saved5. source_check: passed6. post_digest: in progress

A prompt change runs the test cases first

The change merges only when every case passes.

Change

Pull request: "Digest prompt: keep each item to one sentence."

CI result

A link from an earlier digest is skipped: passTwo pages disagree, the agent asks a person: passEvery item has its source link: passA financial release gets a link and no summary: failResult: blocked. One case failed.

One run of the weekly digest

Each step, tool call and check of one run, in order.

Run trace

Weekly product digest  fetch_page (tool, newsroom): posts since the last run  fetch_page (tool, product news): posts since the last run  Skip reported links (memory): two links were in an earlier digest  Write digest (model): one item for each product, with its source link  source_check (tool, eval): each link opens and each item matches its page  post_digest (tool, team chat): sent to the engineering and care channels

Items in this digest

GoDaddy Airo: 1 item, with its source linkDeveloper platform: 1 item, with its source linkDomains: 1 item, with its source link

04

How we build a harness

We start from the agent you already run, or the one you plan, and look at how it fails.

  1. Observe

    We watch real runs, read the logs and list the failures and near misses.

  2. Set the boundaries

    With your security and engineering leads we agree on what the agent may read, change and decide alone.

  3. Build the harness

    We add context files, permissions, checkpoints, evals and tracing in your repositories and pipelines.

  4. Tighten over time

    Each failure becomes an eval case or a new rule, and approvals are relaxed only where the record supports it.

05

What we build harnesses with

  • Claude Code
  • Claude Agent SDK
  • Model Context Protocol (MCP)
  • Claude Code hooks
  • Claude Code subagents
  • GitHub Actions
  • AWS IAM
  • AWS Step Functions
  • Amazon CloudWatch

06

Where the engineering habits come from

Access control, CI pipelines and monitoring are the same disciplines we have applied to AWS systems for more than 10 years. The projects below are AWS work.

  • “Great work on AWS project. Good addition to internal team”

    Ade Akin-AinaAde Akin-AinaSenior Program Manager, GoDaddy
  • “Their technical skills and work ethics were very impressive.”

    Mikko Mäki-RahkolaMikko Mäki-RahkolaCTO, MR Living Oy

07

FAQ

  • Everything around the model that shapes an agent's work: the context it receives, the tools and permissions it has, the checks on its output, and the records of each run.

Tell us about the agent you need to trust

Describe what the agent does today and where it goes wrong. Kyrylo replies with the next steps.

Kyrylo Kozak

Founder and CEO

Book a call (opens in a new tab)

Read the privacy policy.