Fabric is a Python library and command-line tool that allows streamlining SSH administration tasks. It can execute commands both locally and remotely on servers. Fabric provides abstractions like tasks and contexts that allow commands to be executed in parallel or sequentially on different hosts. This improves on shell scripts by separating concerns of who executes commands and where. Thinking in Fabric contexts makes tasks more reusable.