Live preview
FlueOutput will stream here when you run the agent.
Summary
The Docs Expert Agent answers technical questions about libraries, APIs, and tools by searching the live web — preferring official documentation and citing every claim. Reach for it as a grounded "ask the docs" helper that returns copy-pasteable answers instead of hallucinated APIs.
Install
$ pnpm dlx shadcn@latest add https://agentcn.vercel.app/r/flue/docs-expert.json
Composition
agents/
└── docs-expert.ts # Agent with the web_search tool
tools/
└── search.ts # Web search via the Exa APICustomization
- Swap the search provider. Edit
search.tsfor Brave, Tavily, or a docs-specific index. - Constrain to your docs. Restrict queries to a domain to build a product-specific expert.
- Add page fetching. Add a
scrape_urltool so the agent reads full pages. - Swap the model. Change the
modelfield on the agent.