---
name: querying-documentation
description: Invokes an agent to search specific sets of language/framework documentation and answer moderately complex queries. Use for exploring packages, asking about overall usage, and combining symbols across packages in a doc set.
compatibility: Requires Fish, doc-agent Fish function, synu Fish plugin
license: AGPL-3.0-or-later
metadata:
  author: Amolith <amolith@secluded.site>
---

`fish -c 'doc-agent'` spawns focused agents to trawl through docs for specific languages/tools. These agents have restricted tool access. List the available doc sets and see `doc-agent` usage by running `fish -c 'doc-agent -h'`. Your queries must include specific package or module references. Ask few questions, preferably one, per invocation. They must be precise, clear, high quality questions which elicit clear answers. A too-brief example query might be "Check path.to/module for how to use module.Type in module.Method".

Refer to [installing-doc-agent.md](references/installing-doc-agent.md) if it's unavailable.
