agents
Applied AI interview questions tagged agents, across every topic.
44 questions · 2 unlocked for you
Concepts behind "agents"
The curriculum that explains the ideas these questions test.
Foundational
The RAG PipelineRetrieval-Augmented Generation grounds an LLM in external knowledge: at query time you retrieve the most relevant chunks from a knowledge base and put them in the prompt, so the model answers from real sources instead of memory. It is the default fix for hallucination and stale knowledge, and it updates without retraining. The pipeline is ingest and chunk, embed and index, retrieve (often rerank), then generate with citations. Applied-AI interviews probe it because RAG is the modal production LLM architecture.🤖 Retrieval & Agents
Foundational
Agents and Tool UseAn agent is an LLM in a loop that can take actions through tools: it reasons, calls a tool (search, a database, code, an API), observes the result, and repeats until done. Tool calling works because the model emits a structured request that your code executes, the model never runs anything itself. The power is doing real work; the cost is reliability and the safety surface (an agent that can act can act wrongly). Applied-AI interviews probe it because agents are where LLMs meet real systems.🤖 Retrieval & Agents
Foundational
Prompt InjectionPrompt injection is the top security risk for LLM apps: malicious instructions override the model's intended behavior. Direct injection comes from the user; indirect injection hides instructions in content the model retrieves or browses (a web page, a document, an email), so a third party attacks. It is acute for RAG and agents because they ingest untrusted content and agents can take actions. The core defense is to treat all retrieved/tool content as untrusted data, never instructions, plus least privilege and human approval for irreversible actions.🛡️ AI Security, Privacy & Governance
Core
Function Calling and Tool SchemasFunction calling is the protocol behind tool use: you declare tools as JSON schemas, the model emits a structured call (name plus arguments) that your code validates and runs, and the result goes back into the conversation. The hard part is design, not plumbing: tool descriptions and result shapes decide whether the model picks the right tool with the right arguments, and forcing structured output can cost a measurable amount of accuracy. Applied-AI interviews probe it because schema design is where most agents quietly fail.🤖 Retrieval & AgentsSign in
Core
Model Context Protocol (MCP)MCP is an open client-server standard that lets an agent connect to external tools, data, and prompts through a uniform interface, so one integration works across many hosts instead of writing bespoke glue per model. Servers expose tools, resources, and prompts with typed schemas; clients discover and call them at runtime. Applied AI interviews probe it because integration plumbing, not model quality, is usually what blocks an agent from shipping.🤖 Retrieval & AgentsSign in
Advanced
Agent Reliability and Long-Horizon RobustnessLong-horizon agents fail because per-step success compounds: a 95 percent reliable step is only about 60 percent reliable over ten steps. Reliability engineering covers consistent completion (not just pass@k), error recovery, step and token budgets, human-in-the-loop checkpoints, and containing cascading failure in multi-agent systems. Applied AI interviews probe this to separate people who built a demo from people who shipped an agent that holds up over thousands of runs.🤖 Retrieval & Agents🔒 Premium
