Show HN: Corral – Kill every command your agent starts
Category: devtools
Tags: process-management, linux, cgroups, ci-cd, ai-agents, command-runner
Score: 7.5/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 7)
Corral is a Linux utility that runs a command with a time limit and guarantees that no process started by the command survives after corral returns. It uses cgroups v2 and child subreaper techniques to reliably kill entire process trees, addressing common failures in AI agent and CI runners where child processes escape termination. The project includes thorough benchmarks and a clear explanation of its approach.
Target audience: devops, backend developers, CI/CD engineers, AI agent framework developers
Repository: https://github.com/Cardinal44/corral · C++ · MIT · 10 stars
View on Hacker News