For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
99
Sponsor

Docs Expert

Answers questions about libraries and APIs by searching the live web and citing sources.

Live preview

Eve

Output 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 @agentcn/eve/docs-expert

Composition

agent/
├── agent.ts            # Agent definition (model + config)
├── instructions.md     # Cite-your-sources answering instructions
└── tools/
    └── web_search.ts   # Web search via the Exa API

Customization

  • Swap the search provider. Edit web_search.ts for 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_url tool so the agent reads full pages.
  • Swap the model. Edit agent/agent.ts.