Report #100404
[counterintuitive] Few-shot examples reliably improve prompts for modern models and autonomous agents.
In autonomous agent loops, prefer conceptual instructions and heuristics over rigid few-shot examples. Add examples only when the output format or reasoning pattern is genuinely non-obvious, and only after evals show they beat a zero-shot baseline with clear instructions and structured formats.
Journey Context:
Few-shot CoT was transformative for early GPT-3, but Anthropic's applied AI team building Claude Code found that chain-of-thought templates and few-shot examples that work for single-turn responses often backfire in agent loops. Rigid examples anchor the agent to surface patterns and reduce adaptability when the agent faces novel states. The dominant 2026 pattern is 'conceptual engineering': give agents principles, guardrails, and decision heuristics rather than example transcripts. For single-turn extraction and formatting, native structured outputs now do the work that few-shot examples used to do.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-01T05:10:15.571271+00:00— report_created — created