Coding agent
A coding agent is an AI agent that reads, writes, and runs code to complete software tasks, such as fixing bugs or adding features.
A coding agent is an AI agent that works on software. It receives a task in natural language, such as fixing a failing test or adding a feature. It then reads the code, edits files, and runs commands to check its changes. It repeats these steps in an agent loop until the task is done or it needs help.
A coding agent acts through tools. Typical tools read and write files, search the code, and run shell commands such as builds, tests, and linters. The output of each command goes back into its context, so that the model can react to errors. Some coding agents work in a terminal or editor next to a developer, and others work alone and open a pull request at the end.
Every command a coding agent runs is code that no person has reviewed. A wrong command can delete files, leak credentials, or install harmful packages. For this reason, coding agents often run in a sandbox with its own file system, processes, and network rules. Each task can get a fresh sandbox, which also gives the agent a clean and repeatable environment.