Notes from building agent systems
Evaluation harnesses, orchestration patterns, memory design and the failures behind them — written up while the details are still fresh.
A Leaked Key Is an Agent-Readable Invitation: Secret Scanning as an Agent Surface
Agents that crawl repositories turn static secret exposure into active exploitation. Credential hygiene must be scoped to what an agent can read and act on, not to what a scanner can flag.
Your Agent Found a Key in a Public Repo: Secret Scanning Was Built for Humans, Not Executors
Secret scanning budgets days for a human to triage and rotate. An agent that reads a repo and calls an API collapses that window to one trajectory step — so secret hygiene has to become an ingress filter on the tool surface.
A Consent Prompt Is Not a Delegation Record: What 'Give the Agent Your Passwords' Actually Asks
Handing an agent standing credentials collapses grant, scope and revocation into an unrecoverable act. The fix is task-scoped leases with a recorded principal.
Normal Is a Learned Baseline: Behavioural Anomaly Detection for Agent Fleets
Anomaly detection for agent fleets is a profiling problem, not a dashboard purchase. Build the baseline first; the detector is the cheap part.
The Delegation Chain Is the Unit of Evaluation, Not the Agent
Multi-agent systems fail at the seams. Evaluation harnesses must score handoffs and shared-state mutations, not just individual agent outputs.
Agents Leak Secrets to Each Other Because Collaboration Is an Unauthenticated Channel
When an agent tells a peer more than it tells a user, the fault is the channel: inter-agent messaging carries no identity, no scope and no provenance.
The Syllabus Was a Backup Problem: Irreversible Tool Calls Need a Rehearsal Mode
Agents that delete, renumber or overwrite need a copy-first tool surface. No prompt-level guardrail substitutes for a reversible substrate.

A Kill Switch Is a Response Plan Only If You Practised the Shutdown
Rogue-agent response products assume an inventory and revocation path most fleets lack. The deliverable is a rehearsed, timed shutdown procedure with a named owner and a tested credential-revocation step.
A Wet-Lab Benchmark Measures Protocol Fidelity, Not Scientific Judgement
Benchmarks built on real laboratory procedures test whether an agent can follow a written protocol under messy data. That is a narrower, more useful claim than 'AI does science'.