Better HN
topnewbestaskshowjobs
Log inSign up

brian_kuan

18 karma · joined Jul 7, 2019 (7y ago) · 16 submissions

Building Halo, tamper-evident runtime evidence for AI agents

https://github.com/bkuan001/halo-record

Submissions

comment 4mo ago · link · parent

Yep, exactly right - the publishing mechanism is the anchor schedule.

Regarding incentives, this only works if the customer (or regulation) demands it - they’ll require the checkpoints as a condition of closing the deal - and is part of the bet.

A missed checkpoint is in and of itself visible, so if the vendor sits on records instead of publishing, the customer will notice the silence.

comment 4mo ago · link · parent

Very cool! Heard on all of that - IMO you didn’t remove the witness, but instead distributed it so that every customer becomes their own witness. The catch is pre-committing catches declared-but-missing, but not the thing nobody put on the list, which is the case security teams fear most.

Would love to hear more about what you’re building!

comment 4mo ago · link · parent

Proxies are blind to sensitive things enterprises might worry about (eg. the agent read a database, wrote a file, sent an email, etc) as those happen in the agent's own code. That said, if you already run a gateway, its logs can be ingested into the same chain.

comment 4mo ago · link · parent

BTW I've added an example to the README, same setup I run on my own machine: https://github.com/bkuan001/halo-record#record-your-coding-a...

comment 4mo ago · link · parent

Yes to both!

comment 4mo ago · link · parent

Sending you an email now!

comment 4mo ago · link · parent

Because they live in infrastructure the vendor itself controls - there's some conflict of interest there. Things like retention, rotation, deletion, what gets included/excluded, etc are all decisions the vendor makes. Same reason why compliance requires audits!

The hash chain doesn't make the log unwritable, it makes any edit detectable.

comment 4mo ago · link · parent

Fair point - I am a marketer by training and built this with some help from Claude! But appreciate the love.

If you find something/have feedback, please let me know and I'll gladly fix it.

Separately - 100% agree on the witness - only someone/thing outside the vendor can prove nothing was omitted. Who do you think fills that gap - is it an audit firm (my world), a standards body, or something else?

comment 4mo ago · link · parent

There's no interception - it runs in-process, so it works with any Python code (with or without a framework). There's a TS version too if your stack is in JS.

Would love to hear more about your agent framework!

comment 4mo ago · link · parent

PS: please try to break it - if you find that the report does not catch a deleted line, changed number, or modified record, I'd love to know!

And to start a discussion: if you sell or buy AI agent products, what do security reviews ask about them?

11.

Show HN: Halo – open-source, tamper-evident runtime evidence for AI agents(github.com ↗)

37 points · by brian_kuan · 4mo ago · 23 comments

comment 1y ago · link · parent

This is awesome, thanks for sharing! Loved their take on building competitive moats