staplehire) puts your hiring agent in the terminal. Create roles from a job description, build pipeline stages, add and enrich candidates, generate and send AI interviews, source prospects, and poll long-running jobs — every command returns structured JSON so it works for humans, scripts, AI agents, and CI/CD alike.
Install the CLI
Install the npm package, verify the
staplehire binary, and run staplehire doctor.Authenticate
Log in with browser OAuth, or set
STAPLEHIRE_KEY for agents and CI.Quickstart
Go from install to a sent AI interview in one end-to-end walkthrough.
Use with AI agents
Install the skill so Cursor, Claude Code, and Codex drive Staplehire safely.
What you can do
Built for automation
Every data command writes JSON to stdout. Errors are structured JSON on stderr with stable exit codes, and the CLI auto-switches to JSON whenever stdout is piped — so it behaves identically in a script, a CI job, or an AI agent’s terminal.Domains
Read responses include
urls.* deep links on app.staplehire.com (for example urls.review_url on a candidate with an interview session), so you can jump straight from a CLI result into the dashboard.
Two ways to integrate
CLI
Shell out to the
staplehire binary. Best for scripts, CI/CD, and coding agents that run terminal commands. These docs cover the CLI.TypeScript SDK
import { createClient } from '@staplehire/hire' for typed, in-process integrations. Ships in the same package.