Metadata-Version: 2.4
Name: agent-test-kit
Version: 0.0.1
Summary: An agent test kit: test coding agents on the work they really did
License-Expression: Apache-2.0
Project-URL: Repository, https://github.com/shifting-labs/atkit
Project-URL: Issues, https://github.com/shifting-labs/atkit/issues
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# AtKit

**Test coding agents on the work they really did.**

AtKit is an open source agent test kit that any agent service and any team can use. Public benchmarks test agents on
other people's code. AtKit tests them on your own work, in three parts:

| Part | It answers | Status |
| --- | --- | --- |
| **Measure** | Was the agents' work kept? Is it moving or stuck? Where do time and money go? | First version |
| **Improve** | Did a new model, prompt or tool help? Which setup is best on your own cases? | Planned |
| **Guard** | What would a permission rule let through? Which setup made each change? | Planned |

**[Read the paper](https://github.com/shifting-labs/atkit/blob/main/docs/paper.md)** for the whole design and how it
will be tested. It is a draft.

## The design

![One event format feeds Measure, Improve and Guard. Results not kept return to Improve as cases, and each part ends in a decision.](https://raw.githubusercontent.com/shifting-labs/atkit/main/docs/design.svg)

- **Real work:** every number comes from work your agents did, or from a test case made from it.
- **Private:** Measure and Guard call no model. Improve calls one only where you choose.
- **Honest:** shares and comparisons come with the range they could lie in, and "not clear" is a valid answer.

## What works today

The first version of Measure reads your agents' work and your Git history, and reports:

- **Results:** whether the work your agents called ready was kept, not kept, or is not clear yet.
- **Progress:** which work is moving, stuck or done.
- **Calls:** how often each program and tool ran and failed, and how long it took.

It all runs on your machine. Time and cost for each kept result, and a list of what needs attention, are planned. The
labels have not been checked against people's own judgement yet, so use them as a guide and not as proof.

## Try it

AtKit needs Python 3.11 or newer, and Git. Its tests run on Linux and macOS, and have not run on Windows.

```sh
pip install agent-test-kit
atkit report --days 2    # your own Claude Code sessions
```

Install `agent-test-kit` and not `atkit`, which is another project on PyPI. For an example with made-up events, run
`atkit report examples/events` from a copy of [the source](https://github.com/shifting-labs/atkit).

## Add it to your agent service

1. Write events as your agents work.
2. Run `atkit report events --out report`.
3. Show the JSON results in your own pages.

## Guides

- [How Measure works](https://github.com/shifting-labs/atkit/blob/main/docs/measure.md)
- [Add AtKit to your agent service](https://github.com/shifting-labs/atkit/blob/main/docs/integrate.md), with the
  event format

AtKit is released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
