Section 01
Introduction: agent-exec — A Structured Task Runner Designed for AI Agent Workflows
agent-exec is a non-interactive task runner written in Rust, designed specifically for AI agent workflows. It runs commands as background jobs and returns results in a structured JSON format, solving common challenges AI agents face when executing external commands, such as output parsing, timeout control, and error handling. Key features include a default 10-second timeout mechanism, separation of stdout/stderr, persistent log storage, complete command lifecycle management (immediate/deferred execution, status query, termination control), etc., adhering to an agent-first design philosophy.