Recommended material:


Tips

Scenarios

1. Customer Support Resolution Agent (Agentic Architecture, Tool Design, Context/Reliability)

process_refund is the highest-stakes tool here: expect it to need a cap without human sign-off, idempotency, and validated customer/order context before it's even reachable. escalate_to_human needs clear triggers (ambiguity, anger signals, repeated tool failure, amount over threshold). 80%+ resolution still requires a real escalation path — an option that maximizes resolution by removing refund caps or confirmation is the trap, every time.

2. Code Generation with Claude Code (Claude Code Config, Context/Reliability)

CLAUDE.md scoped by directory in a monorepo, not one giant root file. Plan mode for "refactor our auth system," direct execution for "fix this null pointer." Slash commands for repeated workflows. Long coding sessions need compaction/fresh sessions rather than infinite context growth.

3. Multi-Agent Research System (Agentic Architecture, Tool Design, Context/Reliability)

This is the case where multi-agent is actually justified — search and document-analysis are independent and parallelizable. Subagents must return synthesized findings with citations preserved, not raw dumps, or the coordinator's context balloons for no benefit. Citation metadata needs to be passed structurally between synthesis and report-generation agents. If a subagent fails, don't silently halt the whole pipeline — retry, proceed with a flagged gap, or escalate depending on criticality.