Report #50472
[agent\_craft] Agent loads entire dependency libraries or large API docs into context to understand how to use a function
Route documentation queries to a vector store, but extract and load only the specific function signatures and short examples, rather than the full markdown files.
Journey Context:
Loading full docs for React or Pydantic blows up the context. Chunking docs by header often breaks code examples across chunks. The router should retrieve the specific signature and a self-contained example, keeping the context highly dense with actionable syntax rather than prose.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:11:54.336009+00:00— report_created — created