argus-ledger
Append-only SHA-256 audit log for autonomous agents.
Part of the Perseus suite by Perseus Computing LLC.
Why Argus exists
When autonomous agents run shell commands, call APIs, or mutate files, you need a reliable record of what happened and proof that logs were not changed after the fact.
Argus records every event into an append-only sequence where each entry includes the SHA-256 hash of the previous record. If any entry is altered or deleted, verification fails immediately and points directly to the modified index.
Key design goals
- Continuous hash chaining: Every event links cryptographically to the one before it, rooted at genesis.
- Fast tamper detection: Scans 100,000 events in 46.00 µs and fails closed the moment a single byte does not match.
- Low latency appends: Appending an event takes 4.12 µs, fast enough to log every action inline during agent execution.
- Self-contained: Pure Rust that runs fully offline without external audit services or cloud dependencies.
Installation
Add argus-ledger to your Cargo.toml:
[]
= "0.1.0-alpha.2"
Or via Cargo:
Example
use ;
Benchmark results
Measured on bare-metal Linux x86_64 (rustc 1.85.0, opt-level = 3, lto = "fat"):
| Metric | Measurement | Test condition |
|---|---|---|
| Append Latency | 4.12 µs | Sequential event hashing and append |
| Tamper Detection Latency | 46.00 µs | Scan across 100k events |
| Verification Throughput | 2,170,000 events/s | Full chain validation traversal |
| Tamper Detection Rate | 100.00% | Single-bit byte flip sensitivity |
| External Dependencies | 0 | Pure Rust offline primitives |
Run benchmarks yourself:
License
Copyright © 2026 Perseus Computing LLC. Released under the MIT License.