Shell
A shell is a program that reads commands as text, runs them as processes, and returns their output.
A shell is a program that runs commands typed as text. It reads a command, starts the programs it names, and shows their output. It also has its own language, with variables, loops, conditions, and pipes that pass the output of one program to another. Common shells are bash and zsh on Linux and macOS, and PowerShell on Windows.
A shell can run interactively or run a script. In interactive use, a person types commands and sees the results one at a time, usually in a terminal. In a script, the shell runs a file of commands from start to end. A shell keeps state between commands, such as the current folder and environment variables.
The shell is one of the most used tools of coding agents. Through it, an agent can install packages, run builds and tests, search files, and start services. Each command it runs is a process inside the environment of the agent. Running the shell inside a sandbox keeps those commands and their effects away from the host and from other users.