frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I'm 15. I mass published 134K lines to hold AI agents accountable

https://github.com/nobulexdev/nobulex
5•nobulexdev•1h ago

Comments

nobulexdev•1h ago
I am 15 (sophomore in high school). I have been building Nobulex for the past several months, including 60 npm packages, 134K lines of TypeScript and 6,115 tests.

The problem: AI agents are making real decisions for loans, trades, hiring, diagnostics with zero cryptographic proof of what they have done or whether they followed any rules. The EU AI Act requires tamper-evident audit trails by August 2026. Nobody has infrastructure for this.

Nobulex is three things:

Agents will be able to sign behavioral covenants before they act (cryptographic commitments — "I will not do X")

Middleware enforces those covenants at runtime as violations are blocked before execution

Every action is logged in a hash-chained, merkle-tree audit trail that anyone can use and verify independently

The quickstart is 3 lines: const { protect } = require('@nobulex/sdk'); const agent = await protect({ name: 'my-agent', rules: ['no-data-leak', 'read-only'] });

npm install @nobulex/sdk

Everything is MIT licensed and on npm under @nobulex/*. Site: https://nobulex.com

Would love feedback on the architecture, the covenant model, or anything else. Happy to answer questions.

mlyle•1h ago
It looks almost entirely envisioned and implemented by AI.

An agent signing a covenant doesn't do anything. You're not going to enforce a contract against it, and there's not some kind of non-repudiation problem to solve.

Enforcing behavioral covenants or boundaries is inherent to how you make things safe. But how do you really do it for anything that matters? How do you make sure that an agent isn't discriminating based on race or other factors?

The whole reason you're using an LLM is because you're doing something either:

A) at very low scale, at which case it's hard to capture sufficient covenants cost-efficiently

or B) with very great complexity, where the behavior you want is hard to encapsulate in code-- in which case meaningful enforcement of the complex covenants that may result is hard.

Indeed, if you could just write code to do it, you'd just write code to do it.

I'm glad you're interested in these issues and playing with them. I'll leave you with one last thought: 134 KSLOC is a bug, not a feature. Some software systems that need to be huge, but for software systems that need to be trusted-- small, auditable, and understandable to humans (and agents) is the key thing you're looking for. Could you build some kind of small trustable core that solves a simple problem in an understandable way?

nobulexdev•1h ago
You're right with the 134K point. The actual cryptographic kernel (covenant building, verification, hash-chaining) is just about 3-4K lines. The rest are just adapters, plugins and test harnesses. I should lead with that number. With enforcement, the covenant itself isn't the enforcement. Middleware intercepts tool calls before the execution and blocks the violations. But you're right that this only works for constraints you can express as rules. "No external calls" and "rate limit 100/hour" are enforceable. "Don't discriminate" is not — that's a fundamentally harder problem and I'm not pretending that it solves it. The small trustable core advice is truly good and probably what I should focus on next. Thank you.
mlyle•1h ago
Why does whether the agent "commits" to a rule cryptographically matter?

Surely it's just the enforcement, and maybe the measuring of sentinel events -- how far does it wander off course.

How is cryptography an important part of this, given that we're talking about a layer that sits on top of an LLM without an adversary in-between?

I know you mention non-repudiation, but ... there's no kind of real non-repudiation here in this environment.

nobulexdev•56m ago
Very fair question. If you control the whole stack with your agent, your middleware and your logs, then cryptography doesn't add much. You already trust yourself.

But, it matters when there are multiple parties. An enterprise deploys an agent that can handle customer data. The customer wants proof the agent has followed the rules. The regulator wants proof that the logs were not just edited after an incident. Without cryptographic signatures and hash chains, the enterprise can just say "trust us." With them, the proof is independently verifiable.

It's just the difference between "we followed the rules" and "here's a mathematically verifiable proof we followed the rules." For internal use, it's an overkill. For anything with external accountability, that targets the point.

mtmail•1h ago
You also published all strategy documents, all internal project plans, even the marketing/adoption plan.

https://github.com/nobulexdev/nobulex/blob/main/docs/crisis-...

"HN Posting Notes

Internal only. Delete before posting.

When posting UNCOVENANTED-AGENT-PROBLEM-HN.md:

    Post on Tuesday or Wednesday, 8-9am EST
    Title is just: "The Uncovenanted Agent Problem"
    Replace [GitHub link] with actual repo URL when live under Kova name
    First comment should be from you: brief context on who you are and why you built this
    Respond to EVERY comment in the first 6 hours
    Don't be defensive. Thank critics. Ask follow-up questions.
    If someone finds a real flaw, acknowledge it publicly and say you'll address it
    DO NOT mention your age unless directly asked. Let the work speak.
"

> DO NOT mention your age unless directly asked. Let the work speak.

I'd agree. Why does the age matter.

nobulexdev•1h ago
Fair catch. Those are internal notes from all of my earlier iterations of the project. I should have cleaned the docs folder before pushing to a new repo. Removing them now. On the age thing: those notes have been written when I was just planning to let the work stand on its own. I had decided to include it because I figured being upfront is better than people finding out later and feeling misled. Either way, the code is the code — 134K lines, 6,115 tests, all on npm. Judge it on that.
ekianjo•1h ago
HN loves the idea of kid geniuses
a-dub•1h ago
if you have pre-execution enforcement, what's the point of the verification protocol? the ability to apply stricter covenants to past action logs after the fact? i'm not sure i follow the use-case for that.
nobulexdev•1h ago
Good question.

The Enforcement and verification serve for a different audience.

Enforcement will protect you as it stops your agent from doing something it shouldn't. Verification protects everyone else, as it lets a third party independently confirm that the enforcement actually happened, without trusting you. You say "my agent followed the rules," while the regulator says "prove it." The hash-chained logs and signed covenants are the proof. Without verification, it's just your word.

a-dub•29m ago
makes sense. the core modules that i looked at look pretty good. (action-log, verifier, composability, dsl and parser).

all the kitchen sink stuff makes it pretty intense though. have you considered separating out just the core execution, logging and verification components? stuff like c2pa seems super cool, but maybe a second layer for application type things like that so that the core consensus stuff can be inspected easily? one goal for a system like this is easy auditability of the system itself.

nobulexdev•22m ago
That is exactly the direction I'm heading based on feedback from this thread. The core primitives (action-log, verifier, covenant DSL, parser) as a small, auditable package. Everything else — c2pa, otel, langchain, compliance adapters as a separate layer that builds on top.

You are right that auditability of the system itself is the goal. Its very hard to trust a trust layer you can't easily inspect. Appreciate you digging deep into the code.

adamtaylor_13•1h ago
How is this different from building a CLI tool that allows/disallows certain behaviors?

For example, I have a Gmail CLI that just wraps the Gmail API and I specifically give AI certain powers and withhold other abilities. I log every action taken.

Is this a meta framework for this or an NPM package that does something like that?

nobulexdev•1h ago
Your Gmail CLI is doing the right thing with manually restricting what the agent will be able to do and logging actions. Nobulex is more of the generalized version of that pattern.

The difference: your CLI controls one agent on one tool with rules you have hardcoded. Nobulex gives you signed, immutable constraints that third parties can verify independently. The logs are hash-chained so nobody (including you) can tamper with them after the fact. And the constraints are the cryptographically bound to the agent's identity.

If you are truly the only one who needs to trust your agent, your approach works fine. Nobulex matters when someone else needs to verify what your agent has done, a regulator, a customer and a counterparty.

csense•1h ago
An AI agent is doing some actions. Those actions must comply with "controls" like 'ALLOW transfer ON treasury WHERE amount <= 10000 AND currency = "USDC"' and provide public, auditable proof that actions complied with the spec. The action log seems to be verifiable via ZK proofs.

What's the application here? If you want to enforce that an agent's blockchain transactions follow some deterministic conditions, why not just give it access to a command-line tool (MCP / skill / whatever) that enforces your conditions?

If you want auditing of the agent's blockchain actions to be public, why not just make all your agent's actions go through an ordinary smart contract?

I don't mean to kill your enthusiasm for programming or AI. But this project...I'm sorry, but this project just isn't good. It's an over-engineered, vibe-coded "solution" in search of a problem.

This project is about a month old. I highly doubt one person produced 134 kloc in that time. I'm pretty sure a lot of it is vendorized dependencies and AI-generated code that's had minimal human review. Much of the documentation appears to be AI-generated as well.

nobulexdev•1h ago
On "why not a CLI tool / smart contract,” for single-agent, single-system setups, you are completely right. Nobulex is for when a third party has to verify compliance independently across systems. But the current examples don't make that clear enough. On the code, yes, heavily AI-assisted. I designed the architecture, AI helped implement it. I am 15 and in school, no team. The project has been through many iterations over several months, not one month. On "solution in search of a problem,” maybe. What would you consider worth solving in this space?
nobulexdev•46m ago
Based off of all the feedback here, I have built a quick demo that shows the multi-party use case on why cryptography matters when a third party needs to verify compliance independently:

https://github.com/nobulexdev/nobulex/blob/main/demo/two-par...

Run it: npx tsx demo/two-party-verify.ts

Three steps: operator creates a covenant, claims compliance and then a regulator verifies the cryptographic proof without trusting the operator. That is the core of what Nobulex does. Everything else is tooling around this pattern. Appreciate the pushback, as it helped clarify what actually matters.

WebMCP is available for early preview

https://developer.chrome.com/blog/webmcp-epp
74•andsoitis•2h ago•43 comments

How to talk to anyone, and why you should

https://www.theguardian.com/lifeandstyle/2026/feb/24/stranger-secret-how-to-talk-to-anyone-why-yo...
359•Looky1173•5d ago•167 comments

Are the Mysteries of Quantum Mechanics Beginning to Dissolve?

https://www.quantamagazine.org/are-the-mysteries-of-quantum-mechanics-beginning-to-dissolve-20260...
55•wjb3•2h ago•38 comments

Tove Jansson's criticized illustrations of The Hobbit

https://tovejansson.com/hobbit-tolkien/
43•abelanger•2d ago•14 comments

Ghostty – Terminal Emulator

https://ghostty.org/docs
587•oli5679•12h ago•257 comments

Little Free Library Books

https://littlefreelibrary.org/
25•TigerUniversity•2h ago•4 comments

When does MCP make sense vs CLI?

https://ejholmes.github.io/2026/02/28/mcp-is-dead-long-live-the-cli.html
228•ejholmes•7h ago•153 comments

Microgpt explained interactively

https://growingswe.com/blog/microgpt
170•growingswe•14h ago•21 comments

How Next-Gen Spacecraft Are Overwhelming Our Communication Networks

https://atempleton.bearblog.dev/how-next-gen-spacecraft-are-overwhelming-our-communication-networks/
6•korrz•2d ago•0 comments

Decision trees – the unreasonable power of nested decision rules

https://mlu-explain.github.io/decision-tree/
386•mschnell•15h ago•67 comments

Long Range E-Bike (2021)

https://jacquesmattheij.com/long-range-ebike/
106•birdculture•3d ago•140 comments

Setting up phones is a nightmare

https://joelchrono.xyz/blog/setting-up-phones-is-a-nightmare/
93•bariumbitmap•3d ago•109 comments

Chorba: A novel CRC32 implementation (2024)

https://arxiv.org/abs/2412.16398
30•fnands•2d ago•11 comments

Flightradar24 for Ships

https://atlas.flexport.com/
174•chromy•13h ago•40 comments

Python Type Checker Comparison: Empty Container Inference

https://pyrefly.org/blog/container-inference-comparison/
52•ocamoss•4d ago•34 comments

Operational issue – Multiple services (UAE)

https://health.aws.amazon.com/health/status
156•earthboundkid•5h ago•68 comments

Why XML tags are so fundamental to Claude

https://glthr.com/XML-fundamental-to-Claude
149•glth•9h ago•104 comments

Allegations of insider trading over prediction-market bets tied to Iran conflict

https://www.morningstar.com/news/marketwatch/20260301140/allegations-of-insider-trading-over-pred...
23•paulpauper•1h ago•2 comments

Microgpt

http://karpathy.github.io/2026/02/12/microgpt/
1669•tambourine_man•22h ago•291 comments

Gzpeek: Tool to Parse Gzip Metadata

https://evanhahn.com/introducing-gzpeek/
30•ingve•2d ago•1 comments

Interview with Øyvind Kolås, GIMP developer (2017)

https://www.gimp.org/news/2026/02/22/%C3%B8yvind-kol%C3%A5s-interview-ww2017/
119•ibobev•3d ago•50 comments

Big Breakfast Alters Appetite, Gut Health

https://www.cambridge.org/core/journals/british-journal-of-nutrition/article/big-breakfast-diet-c...
49•wjb3•2h ago•30 comments

South Korean Police Lose Seized Crypto by Posting Password Online

https://gizmodo.com/south-korean-police-lose-seized-crypto-by-posting-password-online-2000728191
43•WarOnPrivacy•2h ago•10 comments

I built a demo of what AI chat will look like when it's "free" and ad-supported

https://99helpers.com/tools/ad-supported-chat
448•nickk81•12h ago•259 comments

U.S. Races to Accomplish Iran Mission Before Munitions Run Out

https://www.wsj.com/world/middle-east/u-s-races-to-accomplish-iran-mission-before-munitions-run-o...
19•ParentiSoundSys•1h ago•10 comments

10-202: Introduction to Modern AI (CMU)

https://modernaicourse.org
221•vismit2000•16h ago•46 comments

Programming in K

https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Programming.md
33•tosh•3d ago•4 comments

How the Government Deceived Congress in the Debate over Surveillance Powers (2013)

https://www.eff.org/deeplinks/2013/06/director-national-intelligences-word-games-explained-how-go...
60•doener•3h ago•4 comments

Show HN: Audio Toolkit for Agents

https://github.com/shiehn/sas-audio-processor
46•stevehiehn•8h ago•6 comments

New iron nanomaterial wipes out cancer cells without harming healthy tissue

https://www.sciencedaily.com/releases/2026/02/260228093456.htm
221•gradus_ad•9h ago•75 comments