# Setup guide — Campaign Brief Builder Agent

## 1. Install and configure

Install the agent and set your brief template.

```
pipx install campaign-brief-agent
campaign-brief-agent init --template ./brief.yml
campaign-brief-agent doctor
```

## 2. Configure guardrails

No fabricated data and no guarantees are enforced here.

```
cp .env.example .env
ANTHROPIC_API_KEY=sk-ant-...
NO_FABRICATED_DATA=true
NO_RESULT_GUARANTEES=true
GROUND_IN_INPUT=true
```

## 3. Define the template

Set the brief sections your team uses.

```
# brief.yml
sections: [objective, audience, channels, messaging, kpis, budget, timeline, assumptions]
label_inferred: true
```

## 4. Build a brief

Generate a brief and review assumptions and TBDs.

```
campaign-brief-agent run --inputs ./inputs.json --explain
# prints brief + assumptions + decisions_for_lead + TBD items
```

## 5. Wire into planning

Turn campaign inputs into draft briefs for refinement.

```
# inputs -> draft brief -> marketing lead refines, sets KPIs/budget, approves
```
