# Setup guide — Lesson Plan Generation Agent

## 1. Install and configure

Install the agent and set your subjects and grade bands.

```
pipx install lesson-plan-agent
lesson-plan-agent init --subjects math,science,ela --grades k-12
lesson-plan-agent doctor
```

## 2. Configure guardrails

No fabricated standards/facts and age-appropriateness are enforced here.

```
cp .env.example .env
ANTHROPIC_API_KEY=sk-ant-...
NO_FABRICATED_STANDARDS=true
AGE_APPROPRIATE=true
FLAG_TEACHER_JUDGMENT=true
```

## 3. Set the plan template

Define your lesson-plan structure.

```
# lesson.yml
sections: [objectives, standards, flow, materials, assessment, assumptions, teacher_judgment]
default_length_min: 45
```

## 4. Generate a plan

Create a plan and review flags and assumptions.

```
lesson-plan-agent run --objectives ./objectives.txt --grade 5 --explain
# prints plan + standards-to-confirm + teacher-judgment flags
```

## 5. Wire into your workflow

Turn objectives into draft plans for teacher refinement.

```
# objectives -> draft lesson plan -> teacher adapts, confirms standards, finalizes
```
