| Who made Claude? | Anthropic (2021, Dario & Daniela Amodei); focus on AI safety |
| Haiku vs Sonnet vs Opus vs Fable? | Fast/cheap → balanced → smart → most capable |
| Default model today? | Claude Opus 5.5 (claude-opus-5-5) |
| Context window? | Current models 1M tokens; Haiku 4.5: 200K |
| What is a token? | A small unit of text; billing and limits are in tokens |
| Constitutional AI? | The model self-critiques based on principles + RLAIF |
| RLHF? | A reward model from human preference rankings, then RL |
| API endpoint? | POST /v1/messages, headers x-api-key, anthropic-version |
| Is the API stateful? | No: send the full history every time |
| Where does the system prompt go? | In the top-level system field |
| stop_reason types? | end_turn, max_tokens, stop_sequence, tool_use, pause_turn, refusal |
| Why streaming? | Fast UX + long requests don't time out; SSE events |
| Tool use flow? | Define tools → tool_use → you run it → tool_result → final |
| Client vs server tools? | Client: your code runs it; Server: Anthropic runs it (web search, code exec) |
| Parallel tool results? | All in a single user message |
| Adaptive thinking? | Claude decides how much to think; controlled with effort |
| budget_tokens? | The old way; gives a 400 on newer models |
| Prefill? | Removed on newer models; use structured outputs |
| Prompt caching? | Stable prefix is cached; read ~0.1x cost; 5 min TTL; 4 breakpoints |
| Batch API? | Async, 50% cheaper, up to 24 hours |
| Structured outputs? | output_config.format JSON schema / messages.parse() |
| Citations? | citations.enabled on the document; cited_text + page |
| What is MCP? | Open protocol: AI apps ↔ tools/data; host-client-server; JSON-RPC |
| MCP primitives? | Tools (model), Resources (app), Prompts (user) |
| MCP transports? | stdio (local), Streamable HTTP (remote) |
| What is a Skill? | SKILL.md + files; loaded on demand via progressive disclosure |
| CLAUDE.md? | Claude Code's project memory, loaded every session |
| Hooks? | Deterministic shell commands on lifecycle events |
| Subagent? | A specialized worker with its own context window |
| Plan mode? | Read-only explore + plan, no edits |
| Agent SDK vs Tool Runner? | Agent SDK = Claude Code harness + built-in tools; Tool Runner = a loop for only your tools |
| Workflow vs agent? | Workflow: code-defined path; Agent: the LLM decides |
| RAG? | Retrieve relevant chunks → into the prompt → grounded answer |
| Embeddings from Anthropic? | No; Voyage AI is recommended |
| How to reduce hallucination? | Allow "I don't know", quotes/citations, grounding, verification |
| Prompt injection? | Instructions hidden in data; least privilege + approvals |
| RSP / ASL? | Safeguards scale with capability; ASL-1..4+ |
| C# SDK package? | NuGet Anthropic (v10+ official); Microsoft.Extensions.AI via AsIChatClient() |
| C# streaming method? | client.Messages.CreateStreaming(...) → IAsyncEnumerable |
| How does computer use work? | computer_toolset_20260801; screenshot → action → screenshot loop, in an isolated VM |
| Memory tool? | Client-side /memories files; view/create/str_replace/insert/delete/rename |
| Programmatic tool calling? | Claude calls tools from inside code execution; fewer round trips |
| Mid-conversation system message? | role: system in messages; saves the cache, an operator channel |
| Preserved thinking? | Thinking blocks are tied to the model + conversation; keep the harness append-only |
| Fallbacks? | On a refusal, retry on another model in the same call (fallbacks: "default") |
| Managed Agents objects? | Environment, Agent (versioned), Session, Vault, Deployment |
| ant apply ? | Syncs agents/environments from repo files (control plane as code) |
| Output styles? | Default / Explanatory / Learning: Claude Code's response style |
| Built-in subagents? | Explore, Plan, general-purpose |
| Interpretability? | Understanding features/circuits inside the model (Golden Gate Claude, circuit tracing) |
| MCP server in C#? | ModelContextProtocol package; AddMcpServer().WithStdioServerTransport().WithToolsFromAssembly() |
| MCP auth? | OAuth 2.1 + PKCE + Protected Resource Metadata for HTTP servers; credentials from env for stdio |
| Agent SDK custom tool? | @tool + create_sdk_mcp_server; name mcp__server__tool |
| Hook decision priority? | deny > defer > ask > allow |
| GitHub Actions? | anthropics/claude-code-action@v1; /install-github-app; @claude mention |
| Web search price? | $10 per 1,000 searches + tokens |
| Image tokens? | ⌈w/28⌉ × ⌈h/28⌉; 1000×1000 ≈ 1,296 tokens |
| Rate limit algorithm? | Token bucket; cached reads don't count toward ITPM |
| Model lifecycle? | Active → Legacy → Deprecated → Retired; 60+ days notice |
| Where did temperature go? | Removed in API version 2026-10-21; control via prompting/effort |
| Compliance? | SOC 2 Type I/II, ISO 27001, ISO 42001, HIPAA (BAA) |
| LangChain vs direct SDK? | Simple → SDK; many integrations/provider switch → framework; .NET → IChatClient |