Live preview
FlueOutput will stream here when you run the agent.
Summary
The Deep Search Agent takes a research question, searches the web, and then critiques its own findings — re-searching to close gaps until the question is fully answered. It returns an answer grounded only in the sources it found, with a citation for every claim. Reach for it whenever a single search isn't enough and you need a verified, sourced answer.
Install
$ pnpm dlx shadcn@latest add https://agentcn.vercel.app/r/flue/deep-search.json
Composition
agents/
└── deep-search.ts # Orchestrator + searcher/evaluator subagents
workflows/
└── deep-search.ts # Bounded iteration returning a cited answer
tools/
└── search.ts # Web search via the Exa API
skills/
└── research/
└── SKILL.md # Iterative research procedureCustomization
- Swap the search provider. Edit
tools/search.tsto call a different search API — keep the parameters and return shape. - Tune the loop. Adjust
maxRoundsinworkflows/deep-search.tsto trade depth for cost. - Reshape the answer. Edit the
Answervalibot schema to add fields such as confidence or a source list. - Swap the model. Change the
modelon the orchestrator or subagents.