Multi-agent system that detects API drift, generates migration patches, validates end-to-end — compile, sparse, QEMU boot. No human in the loop.
Every kernel release reshapes internal APIs. Drivers that compiled yesterday break tomorrow. Maintainers patch by hand — if they notice at all.
The Linux kernel explicitly maintains no stable in-kernel API.
Greg Kroah-Hartman's canonical document stable_api_nonsense.txt makes this clear:
internal interfaces change whenever there is a good reason. The result is that
out-of-tree drivers — and even many in-tree drivers — break silently across releases.
For vendors shipping BSP kernels, custom hardware support, or long-lived embedded products, this means every upstream rebase is a manual audit of hundreds or thousands of call sites. Breakages range from trivial renames to deep semantic changes in locking, lifetime management, and error handling.
The cost compounds: teams defer upgrades, accumulate technical debt, and eventually ship kernels years behind upstream — missing security fixes, performance improvements, and hardware enablement.
KDRIFT combines static analysis, LLM-based patching, and staged hardware validation into a single automated pipeline. Agents iterate until the patch compiles, passes sparse, and boots in QEMU.
LPA Local Patch AgentGMA Global Migration AgentFive frontier LLMs evaluated on 71 kernel-driver migration cases. Build success, AST similarity, and QEMU boot pass rate.
| Model | Build success | AST similarity | Sparse clean | QEMU boot |
|---|---|---|---|---|
| Qwen3 Coder Plus | 68.8% | 84.2 | 62.5% | 56.3% |
| Claude 3.7 Sonnet Best AST | 70.8% | 86.9 | 64.6% | 58.3% |
| GPT-5 Codex | 51.1% | 78.4 | 45.8% | 39.6% |
| Gemini 2.5 Pro | 20.8% | 61.3 | 16.7% | 12.5% |
| DeepSeek R1 | 13.6% | 52.7 | 10.4% | 8.3% |
An open tool, a public benchmark, and a family of fine-tuned models — designed to work together or independently.
Core capabilities available in the current beta release. Each feature is designed to work standalone or as part of the full pipeline.
The research and tooling are open. Enterprise features layer on top for teams that need CI/CD integration, vendor fork support, and SLA guarantees.
Technical deep-dives, benchmark analysis, and the business case for automated kernel-driver migration.
Whether you're evaluating KDRIFT for your team or have questions about the research — we'd like to hear from you.