# Greg Docs - [Overview](https://greg-docs.mintlify.app/overview.md): greg is a post-modern autonomous print agent that reads codebases, edits files, executes tests, and seamlessly integrates with Unix terminal pipelines. - [Quickstart](https://greg-docs.mintlify.app/quickstart.md): Install greg in your terminal, configure your provider, and complete your first autonomous task in under two minutes. - [Installation](https://greg-docs.mintlify.app/installation.md): Detailed installation instructions for macOS, Linux, Windows, WSL, and Android Termux. - [How Greg Works](https://greg-docs.mintlify.app/how-greg-works.md): Under the hood of greg: print agent architecture, the Hernex engine loop, fail-closed security, content-addressed checkpoints, and language servers. - [Permissions & Safety](https://greg-docs.mintlify.app/permissions.md): Understand greg's fail-closed security architecture, declarative permission modes, wildcard tool rules, and execution boundaries. - [Managing Threads](https://greg-docs.mintlify.app/threads.md): How greg manages persistent conversation sessions, time-travel checkpoints, transcripts, and branching. - [Managing Providers](https://greg-docs.mintlify.app/model-providers.md): Configure and route across all frontier models and inference providers supported by greg and Hernex. - [Common Workflows](https://greg-docs.mintlify.app/common-workflows.md): Step-by-step recipes for exploring codebases, fixing bugs, refactoring, writing tests, piping data, and running CI pipelines with greg. - [Lifecycle Hooks](https://greg-docs.mintlify.app/hooks.md): Automate linting, enforce security constraints, mutate tool arguments, and intercept execution using shell commands and LLM prompt hooks in greg. - [CI/CD & Automation](https://greg-docs.mintlify.app/ci-cd.md): Automate pull request reviews, issue resolution, security auditing, and headless pipelines with greg in GitHub Actions, GitLab CI, and Docker. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.