# Setup guide — Resume Screening Agent

## 1. Install and connect your ATS

Install the agent and connect it to your applicant tracking system.

```
pipx install resume-screen-agent
resume-screen-agent connect --ats greenhouse
resume-screen-agent doctor
```

## 2. Configure fairness guardrails

These are on by default and enforced outside the model. Keep human review required.

```
cp .env.example .env
ANTHROPIC_API_KEY=sk-ant-...
AUTO_REJECT=false            # never; recommendations only
IGNORE_PROTECTED=true
IGNORE_PROXIES=["name","photo","address","graduation_year","school_prestige"]
HUMAN_REVIEW_REQUIRED=true
```

## 3. Define job-relevant criteria per role

List required vs. preferred qualifications. This is the only basis for screening.

```
# roles/backend-engineer.yml
required:
  - "3+ years building production backend services"
  - "Proficiency in a modern backend language (Go/Java/Python/Node)"
  - "Experience with relational databases"
preferred:
  - "Experience with distributed systems"
  - "Cloud (AWS/GCP/Azure)"
```

## 4. Dry-run and review the audit trail

Screen a few resumes and inspect the cited evidence and fairness note before going live.

```
resume-screen-agent screen --role backend-engineer --resume ./candidate.pdf --explain
# prints per-requirement status + evidence, gaps, interview_focus, recommendation
```

## 5. Integrate as a first-pass assistant

Surface assessments to recruiters in the ATS. The agent assists; recruiters decide.

```
# ATS webhook -> POST https://your-host/screen
# assessment attaches to the candidate; recruiter makes the call
```
