|
| 1 | +# Kagenti Workload Harness |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +Workload harnesses for driving test and evaluation traffic to Kagenti agents. |
| 6 | +Currently includes the AppWorld harness as the first supported workload driver, |
| 7 | +designed to expand to additional drivers over time. |
| 8 | + |
| 9 | +## Repository Structure |
| 10 | + |
| 11 | +``` |
| 12 | +workload-harness/ |
| 13 | +├── appworld_a2a_runner/ # AppWorld A2A workload driver |
| 14 | +│ ├── appworld_a2a_runner/ # Python package |
| 15 | +│ │ ├── runner.py # Main runner entrypoint |
| 16 | +│ │ ├── config.py # Configuration |
| 17 | +│ │ ├── a2a_client.py # A2A protocol client |
| 18 | +│ │ ├── appworld_adapter.py # AppWorld integration |
| 19 | +│ │ ├── prompt.py # Prompt handling |
| 20 | +│ │ └── otel.py # OpenTelemetry instrumentation |
| 21 | +│ └── pyproject.toml # Package dependencies |
| 22 | +├── pyproject.toml # Root lint config (ruff) |
| 23 | +└── example.env # Environment variable template |
| 24 | +``` |
| 25 | + |
| 26 | +## Key Commands |
| 27 | + |
| 28 | +| Task | Command | |
| 29 | +|------|---------| |
| 30 | +| Lint | `make lint` | |
| 31 | +| Format | `make fmt` | |
| 32 | +| Test | `cd appworld_a2a_runner && pytest` | |
| 33 | +| Run | `appworld-a2a-runner` (after install) | |
| 34 | +| Install | `cd appworld_a2a_runner && pip install -e .` | |
| 35 | + |
| 36 | +## Code Style |
| 37 | + |
| 38 | +- Python 3.11+ with ruff (lint + format) |
| 39 | +- Pre-commit hooks: `pre-commit install` |
| 40 | +- Line length: 120 |
| 41 | + |
| 42 | +## DCO Sign-Off |
| 43 | + |
| 44 | +All commits must include a `Signed-off-by` trailer: |
| 45 | + |
| 46 | +```sh |
| 47 | +git commit -s -m "feat: add new feature" |
| 48 | +``` |
| 49 | + |
| 50 | +## Commit Attribution |
| 51 | + |
| 52 | +Use `Assisted-By` for AI attribution (not `Co-Authored-By`): |
| 53 | + |
| 54 | + Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> |
0 commit comments