HNHacker News
TopNewBestAskShowJobs

saezbaldo

9 karma · joined February 18, 2026

submissionscomments
saezbaldo··on Writing code is cheap now
Agree, and I'd add: the feedback loop between decision and consequence got dramatically shorter. You can test an architectural hypothesis in hours instead of weeks. That part is genuinely powerful.

But faster feedback also means bad decisions propagate faster. The skill isn't generating three implementations in parallel -- it's knowing which one won't page you at 3am. That judgment comes from having been paged at 3am enough times to recognize the patterns.

saezbaldo··on Writing code is cheap now
This is the under-discussed part. We spent decades building authorization layers around code deployment -- review gates, CI checks, staging, rollback. That infrastructure exists because code changes are high-consequence operations that compound.

"Code is cheap" means generation is cheap. But the authorization to ship it remains expensive for very good reason. Removing the generation bottleneck without replacing the judgment layer is a control gap, not a productivity gain.

The parallel is giving someone a master key because they're fast at opening doors. Speed was never the constraint that justified the lock.

saezbaldo··on Show HN: enveil – hide your .env secrets from prAIng eyes
The thread illustrates a recurring pattern: encrypting the artifact instead of narrowing the authority.

An agent executing code in your environment has implicit access to anything that environment can reach at runtime. Encrypting .env moves the problem one print statement away.

The proxy approaches (Airut, OrcaBot) get closer because they move the trust boundary outside the agent's process. The agent holds a scoped reference that only resolves at a chokepoint you control.

But the real issue is what stephenr raised: why does the agent have ambient access at all? Usually because it inherited the developer's shell, env, and network. That's the actual problem. Not the file format.

saezbaldo··on AI is not a coworker, it's an exoskeleton
This reframes the whole conversation. If implementations are cheap to regenerate, specifications become the durable artifact.

Something like TLA+ model checking lets you verify that a protocol maintains safety invariants across all reachable states, regardless of who wrote the implementation. The hard part was always deciding what "correct" means in your specific domain.

Most teams skip formal specs because "we don't have time." If agents make implementations nearly free, that excuse disappears. The bottleneck shifts from writing code to defining correctness.

saezbaldo··on AI is not a coworker, it's an exoskeleton
The context window is the onboarding period. Every invocation is a new hire reading the codebase for the first time.

This is why architecture legibility keeps getting more important. Clean interfaces, small modules, good naming. Not because the human needs it (they already know the codebase) but because the agent has to reconstruct understanding from scratch every single time.

Brooks was right that the conceptual structure is the hard part. We just never had to make it this explicit before.

saezbaldo··on Don't Trust the Salt: AI Summarization, Multilingual Safety, and LLM Guardrails
The cascading failure point is critical. A 1% miss rate per layer in a 5-layer pipeline gives you roughly 5% end-to-end failure, and that's assuming independence. In practice the failures correlate because multilingual edge cases that bypass one guardrail tend to bypass adjacent ones too.

The observation that guardrails need to move from static policy filters to composable decision layers is exactly right. But I'd push further: the layer that matters most isn't the one checking outputs. It's the one checking authority before the action happens.

A policy filter that misses a Persian prompt injection still blocks the action if the agent doesn't hold a valid authorization token for that scope. The authorization check doesn't need to understand the content at all. It just needs to verify: does this agent have a cryptographically valid, non-exhausted capability token for this specific action?

That separates the content safety problem (hard, language-dependent, probabilistic) from the authority control problem (solvable with crypto, language-independent, deterministic). You still need both, but the structural layer catches what the probabilistic layer misses.

saezbaldo··on Measuring AI agent autonomy in practice
The bigger gap isn't time vs tokens. It's that these metrics measure capability without measuring authorization scope. An agent that completes a 45-minute task by making unauthorized API calls isn't more autonomous, it's more dangerous. The useful measurement would be: given explicit permission boundaries, how much can the agent accomplish within those constraints? That ratio of capability-within-constraints is a better proxy for production-ready autonomy than raw task duration.
saezbaldo··on Show HN: IC-AGI – Threshold auth for AI agents, formally verified in TLA+
Hi HN. I built IC-AGI because every AI agent framework I looked at gives the agent full authority once it gets an API key. That's fine for demos but scary for anything touching production data or infrastructure.

IC-AGI splits authority using K-of-N threshold approval (Shamir Secret Sharing). No single node, human or AI, can unilaterally execute a critical action. Capability tokens have TTL, scope, and consumable budgets, so an agent can only do what it was explicitly authorized to do, for a limited time, within a spending cap.

The part I'm most interested in feedback on: I formally verified 14 safety properties using TLA+ model checking (~50K states, ~250K property checks) plus 8 algebraic proofs for the Shamir implementation. Zero violations. If you work with TLA+ or formal methods, I'd love to hear if my specs are sound or if I'm missing edge cases.

Stack: Python, Shamir SSS over GF(p), HMAC-SHA256, FastAPI control plane, K8s manifests for distributed workers. 273 tests including adversarial attacks (replay, MITM, oracle extraction, code injection). Apache 2.0.

Longer writeup with the threat model: https://dev.to/saezbaldo/every-ai-agent-framework-trusts-the...

Happy to answer questions about the architecture or the formal verification approach.

saezbaldo··on AI adoption and Solow's productivity paradox
One underexplored reason: companies can't give AI agents real authority. The moment an agent needs to do anything beyond summarizing text — update a CRM, transfer funds, modify infrastructure — the security question kills it. No one wants an agent that can take irreversible actions with no approval chain. Until the trust architecture problem is solved, AI stays in read-only mode for most enterprises.
saezbaldo··on HackMyClaw
The fundamental issue here isn't the specific vulnerabilities — it's that these agent frameworks have no authorization layer at all. They validate outputs but never ask "does this agent have the authority to take this action?" Output filtering ≠ authority control. Every framework I've audited (LangChain, AutoGen, CrewAI, Anthropic Tool Use) makes the same assumption: the agent is trusted. None implement threshold authorization or consumable budgets.