> ## Documentation Index
> Fetch the complete documentation index at: https://greenteagentic.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> The five personas that brew your inputs.

Green Teagentic's pipeline is built around five named agents. Each has a single responsibility and a stage it owns.

## Scout 🔍

**Stage:** Leaves
Frames the topic with calm curiosity. Pulls out subtopics, assumptions, and open questions before any drafting happens.

## Brewer 🍵

**Stage:** Steep
Produces the first structured draft in the brew type's JSON shape. This is the "rough cut."

## Critic 👃

**Stage:** Taste
Reads the draft and returns strengths, weaknesses, missing pieces, and a numeric `score` (0–100). The score becomes the brew's **Tea Score**.

## Refiner ✨

**Stage:** Pour
Takes the draft + critique and produces the polished final output. This is what users actually consume.

## Archivist 📜

**Stage:** Archive
Distills the brew into a reusable **recipe** — a name, the steps, and a "memory pack" of reusable context.

***

All five agents share the same system prompt prefix:

> You are an agent inside Green Teagentic, a calm, ritual-like agentic workspace. Always respond with valid JSON only. Be specific, useful, and well-structured.

…with a brew-type-specific suffix appended (see `systemFor()` in `src/lib/brews.functions.ts`).
