Sector file // ai-engineering
AI ENGINEERINGDECODED.
Prompts, RAG, agents & evals
Medium
14 questionsWhat is the Model Context Protocol (MCP) and what problem does it solve?
AI Engineering · 981 views · mcp, protocol, tools
How do you estimate and control LLM costs in production?
AI Engineering · 831 views · cost, tokens, optimization
Tool calling vs function calling vs structured output — what changed in 2025?
System Design · 780 views · tool-calling, function-calling
What is prompt caching and how does it reduce cost and latency?
AI Engineering · 599 views · prompt-caching, cost, latency
Prompt caching in 2025: how do you cut cost with Anthropic & OpenAI caches?
System Design · 590 views · prompt-caching, cost
What is context engineering and how does it differ from prompt engineering?
AI Engineering · 571 views · context-engineering, prompting, rag
What is an AI agent and how does the agent loop work?
AI Engineering · 546 views · agents, agent-loop, tool-use
How do you reduce hallucinations in a production LLM application?
AI Engineering · 464 views · hallucination, grounding, citations
Hard
11 questionsHow should an agent handle tool errors, timeouts and retries?
AI Engineering · 1.2k views · error-handling, retries, agents
How do you sandbox an agent and enforce least-privilege tool access?
AI Engineering · 1.2k views · sandboxing, least-privilege, security
Guardrails for LLM apps: how do you implement input/output safety in 2025?
System Design · 993 views · guardrails, safety
When should you split work across multiple agents instead of one?
AI Engineering · 947 views · multi-agent, orchestration, subagents
How do you evaluate and debug agent trajectories?
AI Engineering · 874 views · agent-evals, trajectories, tracing
MCP authoring: how do you build a Model Context Protocol server in 2025-26?
System Design · 777 views · mcp, tooling
What is prompt injection and how do you defend against it?
AI Engineering · 560 views · prompt-injection, security, guardrails
Guardrails for AI agents: rate limits, budget caps, and HITL?
System Design · 559 views · agents, cost
Seen a AI Engineering question that is not here? Add it and help the next candidate.
Share a question