NewsLayer.com
NewsLayer PulseLIVEBTC$78,649+0.83%ETH$2,447-0.25%SOL$103.22-1.33%XRP$1.37-0.89%DOGE$0.083-1.93%ADA$0.1964-2.21%Total Cap$2.76T+0.17%Layer Index49 Neutral

Halo-record: Open-source audit trails for AI agents

Brian Kuan wrote halo-record, a small Python package that sits inside an AI agent and writes down the moves it makes: tool calls, model calls, data access, approvals. Each action becomes one line in a file that only ever gets appended…

Help Net Security

Publisher

Aug 31, 2026 at 5:30 AM UTC · Updated 2시간 전 · 3 분 소요

Halo-record: Open-source audit trails for AI agents
Image via Help Net Security
번역 중…

Brian Kuan wrote halo-record, a small Python package that sits inside an AI agent and writes down the moves it makes: tool calls, model calls, data access, approvals. Each action becomes one line in a file that only ever gets appended to, and every line carries a hash of the line before it, a hash being a short fingerprint computed from content. Edit a record later and every fingerprint after it stops matching. The code is open source, and anyone can run that check with no key, no account and no permission from the vendor whose agent produced the log.

A customer’s security team asks what your agent did with their data, and the answer they get is a paragraph you wrote about yourself. A hash-chained log replaces the paragraph with a file the customer can test. Wrapping an agent takes one line of Python, and adapters pull records in from OpenTelemetry spans, LangChain, MCP servers and gateway logs, so the evidence can come from tooling you already run.

Raw arguments never enter a record. Values get hashed and kept as a redacted summary, and the redaction is pattern matching against common secret and personal-data formats. The package has no runtime dependencies and runs about 5,300 lines of Python, which matters when the recorder goes inside your own product.