โ† Back to index

Anthropic Interview Prep

High-signal concepts from Anthropic's official training materials

โฑ๏ธ 5-10 min read

๐Ÿ”Œ Model Context Protocol (MCP)

The Three Primitives Sourced

MCP has exactly three core primitives โ€” knowing the distinction shows you've done the homework:

Primitive Control Purpose Example
Tools Model-controlled Actions the model can invoke search_database(), send_email()
Resources App-controlled Read-only data exposed to context User profile, config files
Prompts User-controlled Pre-crafted instruction templates "Format as markdown table"

Transport Mechanisms Sourced

Production insight: Stateless HTTP enables horizontal scaling with load balancers; stateful (stdio) enables server-initiated requests but limits scaling.

"MCP shifts the tool definition burden from your application code to specialized servers. Instead of writing JSON schemas manually, you use Python decorators with type hints and Field descriptions."

๐Ÿ’ฐ Prompt Caching Cost Critical

The Economics Sourced

This is the highest-ROI optimization topic. Know these numbers:

Operation Cost Multiplier Notes
Cache Write (5min) 1.25ร— base input Default, sufficient for most use cases
Cache Write (1hr) 2ร— base input For long-running workflows
Cache Read 0.1ร— base input 90% discount โ€” this is the win

Implementation Patterns Sourced

"For multi-turn conversations, automatic caching is usually sufficient. The cache breakpoint advances as the conversation grows, so you're caching the growing message history automatically."

๐Ÿ› ๏ธ Claude Code & Agent Skills

Claude Code Architecture Sourced

Agent Skills (SKILL.md) Sourced

Skills are reusable markdown instructions that Claude automatically applies:

Key distinction: CLAUDE.md = project-level customization. Skills = reusable, shareable, semantically-triggered instruction sets.

๐Ÿ“š RAG Implementation

The Full Pipeline Sourced

"The Anthropic curriculum emphasizes multi-index RAG โ€” combining BM25 lexical search with embedding-based semantic search. Pure semantic misses exact keyword matches; pure lexical misses synonyms. Hybrid catches both."

๐Ÿค– Agent & Workflow Patterns

Workflows Sourced

  • Parallelization: Independent subtasks run concurrently
  • Chaining: Output of one step feeds into next
  • Routing: Classifier directs to specialized handlers

Deterministic, predictable, easier to debug

Agents Sourced

  • Model decides which tools to use
  • Environment inspection capabilities
  • Autonomous multi-step execution

Flexible, harder to predict, needs guardrails

Workflow vs Agent decision Inferred

Use workflows when the task structure is known upfront. Use agents when the model needs to adaptively explore. Production systems often use workflows with agent sub-components.

โ˜๏ธ Cloud Deployment Paths

Platform Key Differences When to Choose
Direct API Anthropic-hosted, simplest integration Default choice, fastest iteration
Amazon Bedrock AWS IAM, VPC integration, boto3 client Existing AWS infrastructure
Google Vertex AI GCP IAM, same API structure Existing GCP infrastructure

Enterprise Considerations Inferred

๐Ÿ“Š Cost Optimization Strategies

From the Training Materials Sourced

Advanced Patterns Inferred

๐Ÿ’ฌ Interview Talking Points

"MCP's three primitives map cleanly to control boundaries: tools are model-controlled actions, resources are app-controlled read-only data, and prompts are user-triggered templates. This separation makes it easier to reason about security and permissions."
"For RAG, I'd start with a hybrid BM25 + embedding approach. Pure semantic search misses exact matches that users expect to find, while pure lexical can't handle synonyms or paraphrasing."
"Prompt caching at 0.1ร— read cost makes it economical to include large system prompts or few-shot examples. The 5-minute TTL refreshes automatically on use, so active conversations stay cached."
"The workflow vs agent distinction matters for reliability. Workflows are deterministic โ€” easier to test, debug, and explain. Agents are flexible but need careful guardrails. Production systems often combine both."

โ“ Smart Questions to Ask Interviewers

"How does the team think about the tradeoff between MCP's stdio transport (richer features, stateful) vs HTTP (stateless, scalable)?"

Shows you understand production deployment considerations beyond "make it work"

"What's the typical prompt caching hit rate you see in production multi-turn conversations?"

Demonstrates cost-awareness and practical optimization mindset

"How do you approach the workflow vs agent decision for new features? Any internal heuristics?"

Shows architectural thinking about reliability vs flexibility tradeoffs

"What's the Skills adoption been like internally? Any patterns that worked better than expected?"

Specific to recent Anthropic tooling, shows you've looked at their latest releases

โš ๏ธ Content Limitations

What's NOT in this guide

The Skilljar courses require login/registration to access video content and exercises. This guide is based only on:

Recommendation: If you have time, register and complete at least "Building with the Claude API" and "Introduction to MCP" before interviewing.