pub fn agent_bin(prog: &str, env_var: &str) -> Option<PathBuf>
Finds the agent executable: checks environment variable override first (for testing and custom installs), then searches PATH.