AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Nov 2, 2026, 06:00 JST

HACH team designs AI agent to keep working when one tool fails

Send on LINE
HACH team designs AI agent to keep working when one tool fails

3 Key Points

  1. What happened

    The developer of HACH, an AI agent resident in Slack / Teams / Chatwork and LINE WORKS, published a design for partial outages: when one linked tool such as a calendar API times out or a CRM loses authentication, the agent states what is missing and continues the rest.

  2. Why it matters

    Treating a single failing tool the same as a total outage causes over-stopping, such as an entire morning report not being sent just because one calendar integration is down, so the design keeps usable sections flowing.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The design note draws a clear line between two failure modes that are easy to conflate. When the LLM provider itself goes down, the agent cannot generate any response, so waiting messages and queuing are the only options. But when just one integration—a calendar API timing out, a CRM losing authentication—is unhealthy, the LLM is still working, and stopping the whole agent discards information it could have delivered. The note identifies this as the most easily overlooked failure pattern.

The proposed patterns build on that distinction. Morning reports are assembled from independent fetch results rather than a single all-or-nothing batch, and the note points to Promise.allSettled as the mechanism that keeps one source's failure from dragging down the others. Separately, the design insists that 'zero items' and 'failed to retrieve' never share the same wording, because a user cannot tell them apart and may go days without noticing a broken connection. For integrations that repeatedly time out, the note suggests temporarily skipping the fetch with a note based on the last successful data, then using a lightweight health check to detect recovery and return to the normal path automatically.

FAQ
What is the difference between a total outage and a partial outage for the AI agent?
A total outage means the LLM provider itself is down, so the agent cannot produce responses and must wait and queue. A partial outage means only one linked tool is failing while the LLM works normally, so the agent should state the missing information and proceed with the rest.
How does the design prevent one failed tool from blocking the entire report?
It builds reports by treating each tool's fetch result as an independent unit and uses Promise.allSettled instead of Promise.all, so a single source failure does not stop other sources from being retrieved.
How are 'zero results' and 'failed to retrieve' distinguished?
The design shows different text for each: 'no appointments today' for a successful fetch with zero items, versus 'could not retrieve calendar information (cause: authentication expired)' plus a reconnection link for a failure. Failures lasting three days or more also trigger a separate notification to the responsible channel.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next article"Are There Problems Beyond the Reach of AI" posted to Hacker News