CodeWhale is an AI coding agent orchestrator and development harness designed to coordinate autonomous agents that read, edit, and verify code. It provides a secure environment for AI agents to perform multi-step software engineering tasks, utilizing a sandboxed execution model to isolate shell commands and protect the host system.
The system distinguishes itself by spawning multiple independent agents in parallel to handle separate investigation or implementation slices simultaneously. It employs a multi-model gateway to route requests across various cloud APIs and local servers, and utilizes a hierarchical instruction system to resolve conflicts between global laws, project invariants, and user requests.
The platform covers a broad range of automation capabilities, including autonomous goal execution, reusable workflow loading, and session persistence to resume long-running tasks. It also supports snapshot-based state rollbacks to restore codebases without altering git history and integrates with external protocols to share tool definitions across different AI environments.
The project includes a command line interface for executing autonomous workflows in a headless mode.