This release is a pre-release and may not be stable for production use.
Argus
A record of what your agent did that shows if anyone changed it. Argus appends every action to a linear SHA-256 hash chain. Verification names the first edited event, and checking against an anchor kept elsewhere catches a history that was rewritten from start to finish.
Argus is one of the three Telarch libraries from Perseus Computing LLC. Harpe decides what goes into each model call, and Kibisis keeps the agent's memory. Each one works on its own. The crate and the Python package are published as argus-ledger.
Why
Agents run commands, call APIs and edit files. Afterwards the log is the only account of what happened, and an ordinary log can be edited without a trace. Argus makes the edit visible and tells you where it is.
What you get
- Edits found, with their position. Verification walks the chain and reports the first event whose hash or link does not check out.
- Anchors for full rewrites. Keep the latest sequence number and hash somewhere the writer cannot change. Verifying against that anchor catches a history that was rewritten, rolled back or truncated.
- Optional signatures. With a signing key, each event also carries an HMAC-SHA256 or Ed25519 signature that verification checks.
- Local storage. The Python package writes a JSON Lines file under a file lock; the Rust crate keeps the ledger in memory.
- No network code. The ledger runs locally and sends nothing anywhere.
Install
This README describes 0.1.0-alpha.4 (0.1.0a4 on PyPI). It is a pre-release, so name the version.
# Rust: Cargo.toml
[dependencies]
argus-ledger = "0.1.0-alpha.4"
# Python
pip install argus-ledger==0.1.0a4
Quickstart
Rust
use argus_ledger::{AuditLedgerWriter, AuditVerifier, InMemoryLedger, VerificationPolicy};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let ledger = InMemoryLedger::new();
ledger.append("tool.call", "agent_1", r#"{"command":"cargo test","tool":"bash"}"#)?;
let ev2 = ledger.append("file.patch", "agent_1", r#"{"file":"Cargo.toml","status":"modified"}"#)?;
let policy = VerificationPolicy { anchor: Some(ev2.anchor()), ..Default::default() };
let report = ledger.verify_chain_with(&policy)?.ensure_valid()?;
println!("Ledger verified intact: {} events chained to head {}", report.total_events, &ev2.event_hash[0..16]);
Ok(())
}
Python
from argus_ledger import AppendOnlyLedger
ledger = AppendOnlyLedger("audit.jsonl")
ev1 = ledger.append("tool.call", "agent_1", {"command": "cargo test", "tool": "bash"})
ev2 = ledger.append("file.patch", "agent_1", {"file": "Cargo.toml", "status": "modified"})
report = ledger.verify_chain(anchor=ev2.anchor())
assert report.valid is True
print(f"Audit log verified: {report.total_events} events chained up to sequence {ev2.sequence}")
Try it without installing anything: telarch.ai/argus runs the crate in your browser. Edit an event and watch verification stop at it.
Measured
Medians of five runs of telarch-benchmarks at the v0.1.0-alpha.3 release, with synthetic data on one shared server. Every run, its range and the command that reproduces it are on telarch.ai/evidence.
| Measurement | Result |
|---|---|
| Appends per second, 1,000,000 events, in memory | 864,364 |
| Events verified per second, full walk | 2,567,911 |
| Time to find an edit at event 500,000 | 183.6 ms |
| A fully re-hashed history passes a check without an anchor | yes |
| The same history is caught by the anchor | yes |
How it works
- Linear SHA-256 hash chain. Each event's hash covers its sequence number, event ID, timestamp, event type, actor, the previous event's hash and a digest of its canonical JSON payload (
compute_event_hashinsrc/argus_ledger/hasher.py;src/lib.rs). - Tamper detection.
verify_chainwalks the chain from genesis and reports the first sequence whose hash or link does not check out (first_broken_sequence,src/argus_ledger/ledger.py). - Anchors and signatures. Verifying against an anchor, a sequence number and hash kept outside the ledger, catches a ledger that was rewritten and re-hashed from genesis. With a signing key, each event also carries an HMAC-SHA256 or Ed25519 signature that verification checks (
src/argus_ledger/hasher.py,src/argus_ledger/ledger.py; Rust:VerificationPolicyinsrc/lib.rs).
Limits
- Alpha release: APIs and formats are subject to revision before 1.0.
- Detection, not prevention: Argus cannot stop someone with write access from editing storage. It makes the edit visible.
- Linear chain: Verification reads every event, so it takes time proportional to the ledger's length, and there are no inclusion proofs for single events.
- Anchoring requirement: An unanchored chain that is rewritten and re-hashed from genesis is internally consistent. Keep the latest sequence number and hash somewhere the writer cannot change, and verify against it, to detect a complete rewrite.
- Storage scope: The Rust crate provides
InMemoryLedger. The Python package writes a local JSONL file locked withfcntl, so it runs on Linux and macOS, not Windows. - Not independently assessed: No security review or certification has been completed. Designed for local and disconnected use.
Security
Report a vulnerability to contact@perseuscomputing.com with [SECURITY] in the subject; please do not open a public issue. See the security policy for response times.
Links
- telarch.ai/argus: overview and a live demo
- Documentation (docs.rs)
- Changelog
License
Released under the MIT License © 2026 Perseus Computing LLC.
Metadata
Release files for argus-ledger 0.1.0a4
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 |
|---|---|---|---|---|
| argus_ledger-0.1.0a4.tar.gz | 45.0 kB | Without provenance | Details for argus_ledger-0.1.0a4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| argus_ledger-0.1.0a4-py3-none-any.whl | Python 3 | none | any | Details for argus_ledger-0.1.0a4-py3-none-any.whl |
Total release size: 64.9 kB
Release files / argus_ledger-0.1.0a4.tar.gz
| Download URL | argus_ledger-0.1.0a4.tar.gz |
|---|---|
| Size | 45.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1168e6d5c5b11c9e97a579003afd08d02b0e28e668d49d2d4298896d45b9921
|
|
BLAKE2b-256 checksum How to use checksums |
7b7c0ae194aa5a44bccd8d41322951ff6cc2ab2375f2cc78f04f38f045141115
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / argus_ledger-0.1.0a4-py3-none-any.whl
| Download URL | argus_ledger-0.1.0a4-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
797f85faee0756543e2fb8453654a57e3f63190054c0cba4749fc8881ee3cf7d
|
|
BLAKE2b-256 checksum How to use checksums |
c9e13b07d7eac6d0dbdb1a52ff4700f61402258b697a5e4b0098707d76b97682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for argus-ledger 0.1.0a4
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.