# Staplehire CLI > Run hiring workflows from the terminal with the Staplehire CLI: source candidates, create roles, send interviews, enrich research, and automate with JSON output. ## Docs - [Add a candidate with the Staplehire CLI](https://staplehire.com/docs/add-candidate-cli.md): Add a candidate to a Staplehire role by email, name, stage, and profile fields from the CLI. - [Use the Staplehire CLI with AI agents](https://staplehire.com/docs/ai-agents.md): Install Staplehire agent skills and run non-interactive CLI workflows from Cursor, Claude Code, Codex, and CI. - [Authenticate the Staplehire CLI](https://staplehire.com/docs/authentication.md): Log in to the Staplehire CLI, set STAPLEHIRE_KEY, and verify your organization with whoami. - [Staplehire CLI errors](https://staplehire.com/docs/cli-errors.md): Fix Staplehire CLI authentication, validation, permission, conflict, upstream, usage, and job timeout errors. - [Staplehire CLI command reference](https://staplehire.com/docs/commands.md): Every Staplehire CLI command for roles, candidates, sourcing, interviews, jobs, authentication, and utility workflows. - [Create a role with the Staplehire CLI](https://staplehire.com/docs/create-role-cli.md): Create a Staplehire role from a job description file, stdin, or inline text using the CLI. - [Enrich a candidate with the Staplehire CLI](https://staplehire.com/docs/enrich-candidate-cli.md): Start a Staplehire candidate research job, poll it, and read candidate research from the CLI. - [Staplehire CLI](https://staplehire.com/docs/index.md): Run hiring workflows from the terminal with JSON output for humans, AI agents, and CI/CD. - [Install the Staplehire CLI](https://staplehire.com/docs/installation.md): Install @staplehire/staplehire-cli, verify the staplehire binary, and run your first health check. - [Poll Staplehire CLI jobs](https://staplehire.com/docs/poll-agent-jobs.md): Use staplehire jobs poll to wait for sourcing, enrichment, and interview design jobs to finish. - [Send an interview with the Staplehire CLI](https://staplehire.com/docs/send-interview-cli.md): Create an interview design and send a Staplehire interview invite or link from the CLI. - [Source candidates with the Staplehire CLI](https://staplehire.com/docs/source-candidates-cli.md): Start an AI sourcing job from the Staplehire CLI, poll it, and fetch prospects for a role. - [Use the Staplehire CLI in CI](https://staplehire.com/docs/use-staplehire-cli-in-ci.md): Run Staplehire CLI commands in GitHub Actions or other CI systems with STAPLEHIRE_KEY and JSON output.