引導式測驗 · 中等 等級

子代理程式和上下文隔離測驗

測試代理為何在新情境中將工作交給子代理、交接摘要如何遺失資訊以及並行子代理程式何時提供協助或損害。

相關引導路徑子代理和上下文隔離
問題 1 的 8

子代理與主代理的主要差異是什麼?

預覽每個問題8 問題

當您參加測驗時,就會出現答案和解釋。

  1. 子代理與主代理的主要差異是什麼?
    • It uses a different programming language
    • It always uses a larger model
    • It works in its own fresh context window and sends back a condensed result
    • It has no access to tools
  2. 為什麼填充上下文視窗甚至在其硬性限制之前就會成為問題?
    • Quality often drops as irrelevant material piles up
    • The model's weights change
    • Tokens become cheaper
    • Tools stop working
  3. 哪項任務最適合子代理?
    • Choosing the overall architecture of a codebase
    • Writing tightly linked parts of one function in parallel
    • Keeping naming consistent across a project
    • Searching a large repository for every caller of a function
  4. 子代理資訊遺失的主要來源是什麼?
    • Subagents delete files
    • Summaries drop details, and subagents know only what the task description said
    • Subagents cannot read text
    • The main agent forgets its own instructions
  5. 為什麼多代理設定通常會花費更多的代幣?
    • Each subagent reloads instructions and repeats some exploration
    • Subagents are billed at double rates
    • Summaries are longer than the original work
    • Parallel work is always billed as sequential
  6. Why can parallel subagents produce incompatible results?
    • They share one context window
    • They always use different models
    • They cannot see each other's work while running
    • They run too slowly
  7. What should a good subagent task description include?
    • Only a single word
    • The main agent's full transcript
    • Nothing, so the subagent stays unbiased
    • The goal, constraints, scope and exact output format
  8. Why might a code-review subagent catch problems the main agent missed?
    • It has more tools
    • It has not seen the main agent's reasoning, so it is less likely to share the same assumptions
    • It always uses a larger model
    • It reads the code faster