agentharness-core
The zero-dependency deterministic core of AgentHarness.
An agent run is a deterministic, inspectable, replayable state machine — not a black box you pray over.
This package is the durable spec layer: an Event/State/Effect algebra, two pure
functions (decide, reduce), a sync/async-agnostic driver loop, the Model/Tool
protocols, and a record/replay engine. It has no third-party runtime dependencies
and targets API stability measured in years.
from agentharness_core import run, replay, State, Message
from agentharness_core.testing import FakeModel
model = FakeModel([...]) # deterministic, no network
r = run(State.start([Message("user", "add 1 and 2")]), model=model, tools=[adder])
print(r.result) # final answer
r.trace.save("run.jsonl") # the whole run is just data
r2 = replay(State.start([Message("user", "add 1 and 2")]), trace=Trace.load("run.jsonl"))
assert r2.state == r.state # byte-identical replay, no model/tools needed
See docs/superpowers/specs/2026-06-24-agentharness-core-design.md for the full design.
Metadata
Release files for agentharness-core 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentharness_core-0.1.0.tar.gz | 14.6 kB | Without provenance | Details for agentharness_core-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentharness_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agentharness_core-0.1.0-py3-none-any.whl |
Total release size: 29.3 kB
Release files / agentharness_core-0.1.0.tar.gz
| Download URL | agentharness_core-0.1.0.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84a075b4de1d7e3abc41d6f91bdcf8d0f4d2baf3ffafca31e11338aa2e07dd5e
|
|
BLAKE2b-256 checksum How to use checksums |
38d49e76bcb5b9dcc164752caa84b46ccfb7d0ae329c1ffd0d2a0fe879b4c8ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / agentharness_core-0.1.0-py3-none-any.whl
| Download URL | agentharness_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5800ffdb2d678ca7c43e4c5bdd877697c895d015d2f7c5889c4b3a730c9f761a
|
|
BLAKE2b-256 checksum How to use checksums |
03a849a3b978c9ecb00a38538afb3395e0b3b2c06756bfd83b44b676ca67072a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for agentharness-core 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.