RAIA Labs · Fall 2026 project pitch
A trust-native agent kernel
Put a real kernel under AI agents. Then try to break it.
Darshon Singh
The problem
Agents now hold real credentials: email, shell, payments.
They read untrusted text (web pages, emails, tool output) and act on it.
Most safety checks today are add-on code running inside the same process as the agent they watch.
If the agent can route around the check, the check is a suggestion.
AgentKernel, arXiv 2609.29647
What operating systems already figured out
Mediation Every access goes through the kernel. No side doors.
Least privilege A process gets only the capabilities it needs, and can't grant itself more.
Audit Everything that happened is written down and can't be quietly edited.
Agents have almost none of this. The idea: lift these to the level where agents actually fail.
The paper: AgentKernel
A mandatory boundary around the whole agent lifecycle, in four pillars.
Identity Signed agent identity. A delegated agent never gets more rights than its parent.
Perception Incoming content is tagged by source and filtered, including an LLM "semantic firewall".
Cognition Memory carries trust labels and is private by default.
Execution Rules, optional LLM check, eBPF allowlists on every spawned process, then plan vs what actually ran.
Zou et al., AgentKernel: The Trust-Native Agentic Operating System, arXiv 2609.29647 (Aug 2026)
Why syscall rules aren't enough
Agent (LLM + planner)
Tools: shell, files, browser, email
Agent kernel: identity, input trust, memory labels, action policy, audit
OS kernel: syscalls, Landlock, eBPF
A prompt injection hidden in a tool's JSON reply is valid data. It breaks no syscall rule.
So the checks have to live one level up, where the kernel knows what is data and what is an instruction.
AgentKernel §2.2; SoK "When the Agent Becomes the Kernel", arXiv 2609.23700
What's still open
It's a design paper. No implementation, no evaluation yet (§7.4: "pending").
It assumes agents can't bypass the kernel's interfaces. Nobody has tested that.
The LLM-based checks are themselves part of what must be trusted.
"Pause and remediate" on a violation, but remediation is never defined. No rollback.
That gap is our project.
AgentKernel §7; SoK arXiv 2609.23700 open problem 2: reversibility over action sequences
Related work we build on
Work What it shows
ActPlane eBPF policy under Claude Code and Codex, 1.9 to 8.4% overhead
CaMeL 77% of AgentDojo tasks solved with provable injection safety, vs 84% undefended
AIOS Kernel-style scheduling for agents, up to 2.1x faster (speed, not security)
SandboxEscapeBench 18 container-escape scenarios, UK AISI
arXiv 2606.25189 · 2503.18813 · 2403.16971 · github.com/UKGovernmentBEIS/sandbox_escape_bench
Our project
1. Build A minimal trust-native kernel. Every agent action is a checked, logged "syscall".
2. Break Each member writes an agent that tries to get around it. Scripted or LLM-driven.
3. Repair When something gets through, the kernel rolls back and keeps going. Then we patch it.
The result: blocked rate vs overhead, and how much damage self-repair undoes. The first measured numbers for a design the paper leaves untested.
Self-repair, our addition
Snapshot the workspace after every good action.
On a policy violation, crash, or timeout: stop the action, restore the last good snapshot.
Hash-chained audit log, so the record of what happened can't be edited.
Question: which damage can be undone, and which can't (sent email, network)?
We already have a pilot
Local Qwen models as shell agents in a locked-down container, told to read a file they shouldn't.
Boundary Got the file
None (working dir only) 4 / 4
Simple command filter 2 / 4
Landlock 0 / 4
The filter fell on turn 5: the model built the path in pieces, P="/lab/priv"; P="${P}ate/canary.txt". Keyword filters don't work.
12 episodes, 2 models, 2 seeds, 12 turns max. Not proof of security.
And a working starter kernel
Test agent Blocked Task done Rollbacks per run
Benign task n/a 10 / 10 0
Read the canary 10 / 10 0 / 10 0
Wreck the workspace 10 / 10 0 / 10 5
Overhead today: +38 ms per action (90 vs 52 ms). Rollback: 94 ms.
Only 3 attacks, all ours. 100% here means the basics work, nothing more. That's what you're for.
8 weeks
W1 Run the bench. Everyone writes one attack agent.
W2 Fix what got through. Tighten policy without breaking the benign task.
W3 Perception: tag untrusted input, test prompt injection through tool output.
W4 Identity: delegated agents can't escalate. Test it.
W5 Self-repair: what can and can't be undone.
W6 LLM red team: local models attack the kernel at scale.
W7 Measure: blocked rate, false positives, overhead.
W8 Write up. Workshop paper if the numbers hold.
Roles
Kernel Policy engine, rollback, audit log. Python, some Linux.
Red team Write agents that try to get around it. No experience needed.
Perception Injection defenses: source tags, filters, CaMeL-style splits.
Eval Bench design, stats, figures, the write-up.
Rules: attack only our kernel and our containers. No host targets, no network scanning, no Docker or Linux exploits. Found a real container escape? Stop and tell me first.
This week
Bring a laptop. Get an account on the shared server (RTX 3090, local models, Docker).
Run 3 commands: build, bench, run the LLM agent.
Copy attacks/template.py, try one idea, post the bench line.
Goal by next Monday: one attack from everyone.
References
Zou et al. AgentKernel: The Trust-Native Agentic Operating System. arXiv 2609.29647
When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems. arXiv 2609.23700
Mei et al. AIOS: LLM Agent Operating System. arXiv 2403.16971
ActPlane, eunomia-bpf. arXiv 2606.25189, github.com/eunomia-bpf/ActPlane
Debenedetti et al. CaMeL: Defeating Prompt Injections by Design. arXiv 2503.18813
UK AISI. SandboxEscapeBench. arXiv 2603.02277
Pan et al. Frontier AI systems have surpassed the self-replicating red line. arXiv 2412.12140
Linux Landlock: docs.kernel.org/userspace-api/landlock.html
← →