SchedCP is an AI-driven control-plane for the Linux kernel: a lightweight management daemon plus an eBPF-/MCP-based server that watches live workload signals (perf, DAMON, energy, sched_ext events) and allow your AI Agents like claude-code to learns how to tweak schedulers, sysctls and other kernel knobs in real time.
# Build all components
make
# Run a scheduler with SchedCP
./scheduler/sche_bin/scx_rusty --slice-us 20000
# Monitor performance
./scheduler/tools/scxtop
SchedCP combines multiple technologies to create an intelligent kernel control system:
- eBPF/sched_ext: Runtime kernel programmability for schedulers and monitoring
- MCP (Model Context Protocol): AI-driven policy decisions based on system state
- Real-time telemetry: Performance counters, DAMON memory stats, energy monitoring
- Adaptive control loops: Observe � Decide � Apply � Verify
- Auto-tuning schedulers: Dynamically adjust scheduler parameters based on workload
- Sysctl optimization: Automatic kernel parameter tuning without manual configuration
- Energy awareness: Balance performance with power consumption goals
- Multi-workload support: From interactive desktops to batch processing clusters
- Safety mechanisms: A/B testing, rollback, and verification for all changes
- Ecosystem & Modules - Related projects and expansion modules
- Developer Guide - Contributing to SchedCP
- Scheduler Guide - Working with sched_ext schedulers
- Linux kernel 6.12+ with sched_ext support
- Clang/LLVM >= 16 (17 recommended)
- Rust toolchain >= 1.82
- libbpf >= 1.2.2
SchedCP is open source software. See LICENSE for details.