Skip to main content

About the project

AgentKernelShield (AKS) — Kernel-Level Security for AI Agents

AgentKernelShield is an eBPF-based runtime security system that protects AI agents by enforcing security policies at the Linux kernel level. It monitors AI workloads such as Claude Code, Gemini CLI, and Ollama, helping prevent unauthorized file access, network connections, and subprocess execution.

Using eBPF and Linux Security Module (LSM) hooks, AKS evaluates agent behavior against configurable security profiles and allows or blocks suspicious actions. It also tracks child processes, maintains JSON-based audit logs, and provides a real-time web dashboard for monitoring security events.

By enforcing security rules outside the AI agent itself, AgentKernelShield adds a system-level layer of protection without requiring modifications to the target agent’s code.

Key technologies: Go, C, eBPF, Linux Security Module (LSM), YAML, and Server-Sent Events (SSE).

Built with

cgolangeBPFLinux Security Module (LSM)Linux KernelYAMLjsonServer-Sent Events (SSE)htmlcssjavascriptClangbpftool

AI tools

Coded withGemini 3.8 FlashGemini 3.5 Flash LiteGemma 4 26B A4BGemma 4 31BGemini 3.1 Pro

Prize Categories Entered

  • DigitalOcean

    Best Open-Source AI Project

    Submitted