Corral kill every command your agent starts
What it is
What it does
Corral handles the issue of background processes not getting cleaned up when a session ends, ensuring that nothing started by a command remains running.
Problem
The issue of background processes from the Bash tool not getting cleaned up when the session ends.
Competition
There are similar problems faced by other AI agents, suggesting a potential gap but also existing challenges.
Weaknesses
If it can't confirm everything is dead it exits with 120., It can't kill anything running as a different user or anything handed off to another service like systemd.
What could be built instead
Opportunity
Enhance the functionality to handle processes running as different users or managed by services like systemd.
MVP
The smallest MVP would be a command-line tool that ensures no background processes remain after execution.
Differentiation
Corral differentiates itself by creating its own session for commands and potentially using cgroups for better process management.
AI opportunity
AI can create real value in optimizing process management and resource utilization.