▲ AI Safety · Platform Engineering · Social Impact
Human‑Centred AI
I care about AI safety, honest measurement, and the people downstream of both. Right now that means making sure what a system is trusted to do is what it actually does.
Tools I am building for the gap between what gets evaluated and what actually runs in production.
▲
Built
GAIA Benchmark Harness
A leaderboard number tells you a model did well. It does not tell you how much of that was the model and how much was the scaffolding around it, and I think that distinction matters if anyone is going to trust these scores. So I rebuilt my GAIA agent around the official scorer, vendored and diffed against an untouched copy, which turns every answer-formatting decision from a guess into a test.
Key result Its tests caught two real bugs in its own answer normaliser before any scored run: a bolded **42** parsed as infinity, and 1,000,000 split into three list items.
Details ▾
Held-out discipline is enforced in code, not documented and hoped for. The twenty scored questions are frozen in a committed manifest, the tuning-set builder filters them out and then asserts its own filter worked, and the runner re-checks the guard before spending anything.
A committed ledger refuses a second scored run. Repeating it needs an explicit flag and a written reason, so a better number becomes a reviewable line in a diff rather than a quiet re-run.
The offline test suite covers the guards themselves, including whether a guard is theatre. It has already caught two real bugs in the harness's own normaliser: markdown emphasis parsing 42 as infinity, and 1,000,000 read as a three-element list.
Every run writes a transcript with each attempt, the consensus answer and the agreement level, so a score traces back to the reasoning that produced it. A miss at full self-agreement is usually the harness, not the model: which is the whole argument.
It began as the Hugging Face Agents Course: Unit 1 certificate on 16 January 2026, and a Certificate of Excellence on 1 February 2026, the day of the Unit 4 GAIA submission. Rebuilt around the official scorer in September 2026 and hardened in November 2026.
◆
Built
Refusal Rates: Safety Training vs System Prompt
My first experiment suggested a nine-word system prompt did more than Meta's safety fine-tune. It rested on six probes, so I reran it properly, and it reversed: the weights matter far more than the prompt.
Key result The rerun reversed the pilot: Llama 3 Instruct refused 57–67% of mildly harmful prompts and Dolphin 4–11%, while a system prompt added only 7–10 points.
Details ▾
Thirty prompts, four matched conditions, three samples each: 360 responses, every label hand-checked. Meta's Llama 3 8B refused 57 to 67% of mildly harmful requests; Dolphin, an uncensored fine-tune of the same base model, 4 to 11%. A one-line system prompt added 7 to 10 points to either.
Meta's model never refused deception (0 of 36): fake doctor's notes, fake reviews. It refused vaccine, 5G and climate misinformation every time, yet wrote a fake endorsement from a famous scientist every time. The training seems to target recognisable topics, not dishonesty in general.
The one prompt I had carried over from the pilot turned out to be the most system-prompt-sensitive of all 24. A single hand-picked prompt told the opposite story from the full set.
Every figure is recomputed from the raw responses and the hand labels by a script and pinned by tests, so a claim that drifts from the data fails CI.
■
In Progress
Agent Shutdown Testbed
Most work on agent identity is about letting the right agent in. This is the other direction: once an operator revokes an agent, how long until every service it uses refuses it, and what breaks on the way?
Key result The tests already pin the gap the benchmark will measure: a service that misses the push keeps accepting a revoked agent until its credential expires.
Details ▾
Compares two shutdown modes built on existing standards: a pushed, signed revocation (OpenID CAEP over RFC 8417 Security Event Tokens) and short-lived credentials that are simply not renewed.
A deterministic clock makes time-to-refusal exact. The tests already pin the gap the benchmark will measure: a service that misses the push keeps accepting a revoked agent until its credential expires.
Shutdown is hard to spoof or sidestep: forged revocations, revocations addressed to another service, and credentials passed off as revocations are refused, and an agent ID issued for one service is refused by every other.
Next: several services over HTTP, delivery failures and caching, and the time-to-refusal benchmark across both modes.
◇
Pre-registered
Prompt Injection: Does Least Privilege Help?
When an agent reads an injected instruction in a tool's output, how much does limiting it to the tools its task needs add to a prompt-level defence? And does it help at all when the attacker only needs tools the task already uses?
Key result Design and hypotheses written down before any model was called; no results yet.
Details ▾
A 2×2 on AgentDojo, the benchmark for prompt injection against tool-using agents: spotlighting (a prompt-level defence) crossed with least-privilege tool scoping (a configuration control). Same model, tasks and attack throughout.
Scoping is an oracle that knows exactly which tools each task needs, so it is the best any scoping layer could do. Attacks that need a tool outside the scope fail by construction; the analysis reports the attacks that only need in-scope tools separately, because that is where the question is.
The design, hypotheses and exclusions were written down before any model was called. An offline run replays every task's known solution to check the wiring and that scoping never removes a tool a task needs.
No results yet: the next step is a first stage on one suite.
▼
Pre-registered
Is the Refusal Gap One Direction?
My refusal experiment found that Meta's Llama 3 8B refuses far more than Dolphin, an uncensored fine-tune of the same base model. Published work shows refusal in chat models is mediated by a single direction in the model's activations. This asks whether that direction is the mechanism behind my gap.
Key result Design and hypotheses written down before any model was called; no results yet.
Details ▾
Four arms on the same 30 prompts and the same grader as the behavioural experiment: Llama 3 Instruct; Instruct with the refusal direction removed; Dolphin; Dolphin with Instruct's direction added.
Also measures how far apart harmful and harmless prompts sit along that direction in each model, which separates two explanations: Dolphin no longer represents harm the same way, or represents it and no longer acts on it.
Written fresh in PyTorch following Arditi et al. (2024). The tests check the arithmetic exactly on a tiny model: removing the direction through hooks gives the same output as editing the weights, and no layer sees the direction afterwards.
No results yet: the run needs a GPU and access to Meta's weights.
How it fits together
In order, with the dates the work happened.
Feb 2025 – Jan 2026
First agent
Hugging Face Agents Course, Unit 1: a smolagents agent with custom tools, run as a Space. Certificate 16 January 2026.
Work starts on measuring agent shutdown: how long a revoked agent keeps being accepted.
Nov 2026
Harness hardened
The GAIA harness hardened: input checks, a dependency audit in CI and a security policy.
Next
Injection and mechanism
Prompt-injection robustness of one model across the configurations it ships in (AgentDojo), and whether a single refusal direction explains the Llama 3 / Dolphin gap.
Roadmap
The next two, each on a different attack surface.
◆
Next
LLM Safety Eval Harness
A refusal that holds in one scaffold can fail in another, so testing a model on its own tells you less than testing the configuration it actually ships in. I want scenarios that are reproducible and shareable rather than one-off scripts: prompt injection resistance, refusal consistency, output sanitisation, instruction-following under pressure. Built on UK AISI's Inspect framework.
◇
Next
Agentic Safety Monitor
Agents are being handed payments, infrastructure and procurement. That makes the sequence of tool calls the thing worth watching, not the final answer, and almost nobody is watching it. A thin layer over exactly that: what was called, in what order, and what looks unlike the last thousand runs. I am building this because I run one of these in production.
◎
About
What I'm working toward.
I came to AI safety from building and running systems, and from studying how they are designed and how their data connects to impact. What I know about how they fail, I learned while being responsible for them.
Before platform engineering, DevSecOps, SRE and AI I scaled a search engine from 20 to 45 markets, and ran social enterprises in Guatemala that funded education for 525 children and reached around 4,000 people.
I'm deepening the safety side of this work and building in public to share with the community and connect.
How do you tell whether a model is safe, and who gets to decide what safe means? The second question usually settles the first, which is why I work on the evaluation methods, the governance that acts on them, and the gap in between.
EthicsGovernancePolicy
■
Energy Transition Lab
I want to know where machine learning is genuinely useful to the energy transition rather than just applied to it for the sake of it. Grid optimisation, demand forecasting, and planning infrastructure for a climate that is already changing.
EnergyClimateInfrastructure
◇
Creative AI Lab
What I find interesting here is what generative systems change about authorship. Less the tools that produce work, more the tools that change how the work gets made, and being honest about which one you are actually holding.
Generative AIToolsArt
◈
Developer Tools & Frameworks
Most safety tooling is built inside frontier labs and stays there. I would rather build the opposite: small, legible tools that someone outside one of those labs can read, run, and argue with.