20What is prompt chaining, and why do production systems need output parsers?▼mediumMicrosoftOpenAICohere2 replies○ sign inComplex tasks rarely fit one prompt, and free-text LLM output rarely plugs into code cleanly. The signal is decomposing into chained steps and parsing each output. Here is the answer that connects prompting to real pipelines.Open full answer →
60Your LLM confidently answers even when it has no idea. How do you make it say 'I don't know'?▼hardOpenAIAnthropicGlean2 replies◆ premiumModels are trained to be helpful, which quietly trains them to never refuse. Getting honest abstention back is a system problem, not a prompt tweak. Here is the stack that actually moves the refuse-when-unsure rate.Open full answer →
64Few-shot prompting gives different answers on near-identical inputs. How do you stabilize it?▼hardOpenAIGoogleScale AI1 replies◆ premiumFew-shot accuracy can swing on example order alone. If your prompt is fragile to things that shouldn't matter, the fix is structural, not lucky example-hunting. Here is what actually reduces variance.Open full answer →
02When do you build an agent instead of a single LLM call, and how do you keep a multi-step agent reliable?▼hard★ EssentialAnthropicOpenAISierra1 repliesunlockedAgents are over-applied. The strong answer resists the hype: most tasks want a single structured call, and agents earn their cost only under specific conditions. Here is when to reach for one and how to stop it from compounding errors.Open full answer →
07How do you get reliable structured output (JSON / function calls) from an LLM in production?▼medium★ EssentialOpenAIAnthropicMicrosoft2 repliesunlockedAgents and integrations live or die on the model returning valid, schema-conforming output. The signal is layering constrained decoding, schema validation, and retries, not hoping a prompt is enough. Here is the production-reliability answer.Open full answer →
09When do you use a multi-agent system, and what orchestration patterns and pitfalls matter?▼hard★ EssentialAnthropicOpenAICognition1 repliesunlockedMulti-agent is the most over-applied pattern in AI right now. The signal is resisting it unless the task truly needs specialization or parallelism, knowing the supervisor and handoff patterns, and understanding why coordination amplifies failure.Open full answer →
24Your agent has many tools but keeps picking the wrong one or passing wrong parameters. How do you fix it?▼mediumAnthropicOpenAIMicrosoft1 replies◆ premiumTool selection and parameter extraction are where agents quietly fail. The strongest answer treats the tool spec as the only thing the model sees, then fixes the design, not the model. Here is how.Open full answer →
31What is 'harness engineering' for AI agents, and why does the scaffolding matter as much as the model?▼mediumAnthropicOpenAICognition2 replies◆ premiumThe same model performs wildly differently depending on the harness around it. The signal is knowing that the scaffolding often decides agent quality more than the base model. Here is the answer.Open full answer →
32How do you build a computer-use agent (one that controls a screen/browser), safely and reliably?▼hardAnthropicOpenAIGoogle1 replies◆ premiumA computer-use agent drives a real browser or desktop through screenshots and clicks. The signal is the perceive-decide-act loop plus the containment for an agent that can click, buy, or delete anything. Here is the answer.Open full answer →
52Your agent loops forever or never finishes the task. How do you bound and control agent execution?▼hardCognitionSierraOpenAI2 replies◆ premiumAn agent that retries the same failed action 40 times is a runaway bill and a stuck user. Termination is something you engineer into the harness, not something the model reliably decides. Here is the control layer.Open full answer →
53A tool your agent depends on returns errors or garbage. How do you make the agent robust to tool failures?▼hardSierraDecagonCognition1 replies◆ premiumReal tools time out, rate-limit, and return malformed JSON. An agent that assumes every call succeeds is a demo, not a product. Here is the error-handling layer that keeps it alive in production.Open full answer →
60Workflows versus agents: how much autonomy should you actually give an AI system, and how do you decide?▼mediumAnthropicSierraCognition1 replies◆ premiumThe industry conflates 'agent' with anything that calls an LLM. The useful distinction is how much control you hand to the model, and more autonomy is not better. Here is the spectrum and the decision rule.Open full answer →
81Why do agents fail on long-horizon tasks, and how do you keep reliability up over many steps?▼hardAnthropicOpenAIGoogle DeepMind2 replies◆ premiumPer-step accuracy looks fine, yet a 50-step task fails. The signal is understanding compounding error and the techniques (decomposition, verification, checkpointing) that keep long-horizon agents from collapsing.Open full answer →
86What makes browser and computer-use agents unreliable, and how do you make them robust?▼hardAnthropicOpenAIGoogle DeepMind2 replies◆ premiumAgents that drive a browser or screen fail in ways chat agents never do: stale DOM, dynamic pages, wrong clicks. The signal is the grounding and reliability techniques that turn a flaky demo into something usable.Open full answer →
24What is model calibration, why does it matter, and how do you measure and fix it?▼mediumGoogleAmazonMeta1 replies◆ premiumA model can rank perfectly and still emit meaningless probabilities. The signal is knowing exactly when calibration matters, how to measure it, and the post-hoc fixes. Here is the answer most candidates miss.Open full answer →
94Design an agentic workflow platform where users compose LLM agents that call tools and run for minutes.▼expertOpenAIAnthropicMicrosoft1 replies◆ premiumLong-running agents that loop, call tools, and spawn sub-tasks need durable execution, not a single request handler. Learn how to checkpoint state, recover from failures, bound runaway loops, and observe every step a non-deterministic agent takes.Open full answer →
51How do you define SLOs and error budgets for an ML system, where 'correct' is probabilistic?▼hardGoogleStripeMicrosoft1 replies◆ premiumClassic SRE SLOs assume a request is right or wrong. ML predictions are probabilistic and labels lag, so naive uptime SLOs miss the failures that matter. Here is how to set SLOs that actually cover model quality.Open full answer →
52A model shipped bad predictions to production for six hours. Walk me through the incident response.▼mediumGoogleMetaStripe2 replies◆ premiumML incidents are slipperier than service outages: nothing crashed, the model was just wrong. The strong answer covers detection, mitigation, and a blameless postmortem that fixes the system, not the person.Open full answer →
38Your distributed training job hangs or crashes intermittently. How do you debug it?▼hardMetaNVIDIAOpenAI2 replies◆ premiumA 256-GPU job that wedges with no error at 3am is a special kind of pain. The causes are a short, recurring list. Here is the systematic way to find which one bit you.Open full answer →
61Design fault-tolerant checkpointing for a 1000-GPU training run. How do you minimize lost work on a failure?▼hardMetaNVIDIAMicrosoft2 replies◆ premiumOn a thousand GPUs something fails every few hours. The question is not whether you lose a node, but how many GPU-hours you lose when you do. Checkpoint frequency, sharded writes, and fast restart decide that.Open full answer →
17How would you design an AI incident response plan, and run a blameless post-mortem for an AI failure?▼mediumGoogleMicrosoftAmazon2 replies○ sign inAI fails in ways traditional software does not: bias, hallucination, harmful output, silent quality regression. The strong answer is a real playbook (detect, contain, communicate) plus a blameless post-mortem that ships systemic fixes. Here is the answer.Open full answer →