Skip to content
mentoor

Just-in-time retrieval

For engineers

Letting the agent look things up when it needs them instead of pre-loading everything

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

Which information is the best candidate to pre-load into every run of an agent?

Choose one answer

Check yourself · 2 of 5

You know an error string, "ECONNRESET at pool.js", but not which file raises it. Which tool fits best?

Choose one answer

Check yourself · 3 of 5

An agent writes a call to billing.applyCredit(), a function it never opened in this session. What should it have done?

Choose one answer

Check yourself · 4 of 5

A grep tool returns 600 matching lines into the conversation. What is the main cost?

Choose one answer

Check yourself · 5 of 5

In progressive disclosure, what does the agent see before it opens a skill's full instructions?

Choose one answer

Topics

  1. Pre-loading versus looking things up4 min read · Up-front retrieval compared with letting the agent fetch files, docs and data when needed, and hybrids of both
  2. Search tools agents use to find context4 min read · Grep, glob, file reads, doc search, web search and MCP resources, plus light references such as paths and URLs
  3. Signals that an agent should look it up4 min read · Unknown names, version-specific APIs, stale assumptions and low confidence as triggers to search before acting
  4. Latency and token cost of lookups4 min read · Each search adds turns, tokens and wait time; capping, filtering and summarizing results before they enter context
  5. Progressive disclosure with indexes and skills4 min read · Loading a short index or skill description first and the full content only when the task needs it

Start here

110 questions · last verified 2026-12