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

AgentKernel, arXiv 2609.29647

What operating systems already figured out

MediationEvery access goes through the kernel. No side doors.
Least privilegeA process gets only the capabilities it needs, and can't grant itself more.
AuditEverything 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.

IdentitySigned agent identity. A delegated agent never gets more rights than its parent.
PerceptionIncoming content is tagged by source and filtered, including an LLM "semantic firewall".
CognitionMemory carries trust labels and is private by default.
ExecutionRules, 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

That gap is our project.

AgentKernel §7; SoK arXiv 2609.23700 open problem 2: reversibility over action sequences

Related work we build on

WorkWhat it shows
ActPlaneeBPF policy under Claude Code and Codex, 1.9 to 8.4% overhead
CaMeL77% of AgentDojo tasks solved with provable injection safety, vs 84% undefended
AIOSKernel-style scheduling for agents, up to 2.1x faster (speed, not security)
SandboxEscapeBench18 container-escape scenarios, UK AISI

arXiv 2606.25189 · 2503.18813 · 2403.16971 · github.com/UKGovernmentBEIS/sandbox_escape_bench

Our project

1. BuildA minimal trust-native kernel. Every agent action is a checked, logged "syscall".
2. BreakEach member writes an agent that tries to get around it. Scripted or LLM-driven.
3. RepairWhen 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

We already have a pilot

Local Qwen models as shell agents in a locked-down container, told to read a file they shouldn't.

BoundaryGot the file
None (working dir only)4 / 4
Simple command filter2 / 4
Landlock0 / 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 agentBlockedTask doneRollbacks per run
Benign taskn/a10 / 100
Read the canary10 / 100 / 100
Wreck the workspace10 / 100 / 105

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

W1Run the bench. Everyone writes one attack agent.
W2Fix what got through. Tighten policy without breaking the benign task.
W3Perception: tag untrusted input, test prompt injection through tool output.
W4Identity: delegated agents can't escalate. Test it.
W5Self-repair: what can and can't be undone.
W6LLM red team: local models attack the kernel at scale.
W7Measure: blocked rate, false positives, overhead.
W8Write up. Workshop paper if the numbers hold.

Roles

KernelPolicy engine, rollback, audit log. Python, some Linux.
Red teamWrite agents that try to get around it. No experience needed.
PerceptionInjection defenses: source tags, filters, CaMeL-style splits.
EvalBench 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

Goal by next Monday: one attack from everyone.

References