AI Agent Partial Results 2026

🤖 Agents 2026-07-17 · Updated 2026-10-22 3 min read

One of five data sources fails and the whole task fails, so the user waits thirty seconds for an error. Partial results let the agent answer with what it has and state clearly what is missing.

📜 Table of Contents

📖 Keep reading

Partial Results for Agents: One Failed Tool Should Not Sink the Task

A user asks whether today is good for going out. The agent checks weather, air quality, and activity suggestions. The third call times out; the first two succeeded; the system replies "service error, please retry".

Eighty percent of the information was already in hand and got thrown away with the missing twenty percent.

Partial results means: use what arrived, state explicitly what did not, and forbid the model from filling gaps.

Grade errors before degrading

Situation Handling Why
Source timeout Degrade and flag One missing item rarely breaks the conclusion
Single tool 5xx Retry once, then degrade Usually transient
Auth failure Fail loudly Configuration problem, masking it hurts
Missing user input Ask a question Conversation issue, not a fault
Safety block Must fail Compliance boundary
All core sources down Fail overall Degrading here means guessing

One test: without this item, does the answer still hold?

Collect concurrently with quality flags

Use asyncio.gather with return_exceptions=True or per-tool wait_for, and return a result object per tool carrying ok, data, error, and latency. Serial collection makes worst-case latency the sum of all timeouts; concurrent collection makes it the largest one, so partial results usually also improve latency.

Budget the whole request

Interactive answers: 10-15 seconds total, 4-5 seconds per tool. Background jobs: 60 seconds total. When the total budget expires, synthesize with whatever arrived, regardless of pending calls. Without a total budget, worst-case latency is the sum of every timeout, a number nobody calculated.

Synthesis: forbid completion

The dangerous step is synthesis. Given weather and air quality, a model will happily invent activities.

The prompt must require: use only items marked ok, state "not available" for missing items, never infer or embellish, and flag conclusions that depend on missing data. Structure the input with explicit status fields. Then add a code-level check: if the output contains details for a missing field, regenerate. Prompts are soft, checks are hard.

Presentation

Label partial results, list what is missing and whether it affects the conclusion, offer per-item retry, and show data timestamps. Users accept incomplete information; they do not accept complete-looking guesses.

Cache carefully

Cache partial payloads for a short TTL (around 30 seconds) and complete ones for the normal TTL, otherwise users keep seeing degraded output long after recovery.

Metrics

Degradation rate is a sensitive upstream health signal, because many failures slow down rather than error out. Also track retry rate on partial results and negative-feedback rate, which tells you whether the synthesis reads as honest or as broken.

FAQ

Q: Do users think partial results are unreliable? A: Not when you say what is missing and how to retry. Pretending completeness is what loses trust.

Q: How do I stop fabrication? A: Three layers: status in the structured input, prohibitions in the prompt, and post-generation field checks.

Q: Should everything run in parallel? A: Independent tools yes, dependent tools no. Watch downstream rate limits.

Q: Where does this pattern fit? A: Information aggregation, multi-source retrieval, report assembly. Not for money calculations or compliance judgments.

Q: Retry or degrade first? A: Retry once with a short timeout, then degrade, and never let retries consume the whole budget.

Related

Related Articles
2026-08-01
LangChain Agent Tools in 2026: Every Built-in Tool and How to Use It
2026-08-01
SQLite Vector Search 2026: sqlite-vec and the Lightest RAG Stack Ever
2026-07-16
AI Agent Custom Tool Development 2026
2026-08-07
AI Ticketing Agent: Automate Triage and Routing with n8n
2026-07-17
AI Agent PostgreSQL Integration 2026
2026-08-11
AI Agent Monitoring 2026: Traces, Token Costs and Failure Detection for Production Agents

Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.

💬 Comments (0)

No comments yet. Be the first!

Login to comment