Read AGENTS.md first. It is the canonical agent workflow for this repository.
Key rules:
- Use
list_docsto discover indexed documents when the RAG state is unknown. - Use
search_docsbefore answering questions about chips, registers, datasheets, SDK APIs, source files, or board behavior. - Do not index by default. Only call
index_docwhen the user explicitly asks to add, rebuild, refresh, or index documents. - Do not remove indexed documents unless the user explicitly asks for removal.
- Prefer the default
pymupdfPDF backend for normal PDFs; use MinerU for scanned or complex-layout PDFs.