Android Business Agent Uses a State Machine to Avoid Duplicate Replies After Crashes
12/05/2026 — 12/05, 01:17·1 sources (all)·1 reports (all)
Key takeaways
- While building the Ava SDR Android business assistant, the author found that message generation and sending are separate steps, so a crash i…
Background & analysis
On December 5, 2026, DEV Community's AI section published a post drawn from development work on Ava SDR, a business assistant for Android. The author argued that a mobile sales assistant has to do more than produce a good reply: it must decide when to respond, avoid duplicate messages, and leave control in the hands of the salesperson.
The core issue the post describes is architectural. Generating a message and sending it are two separate operations, and if the process crashes between them, retrying the whole flow automatically can deliver two messages to the same customer. The proposed fix is to treat each reply as a state machine, using a stable task identifier and storage with a uniqueness constraint to block duplicates. The author also recommends recording a send whose outcome cannot be confirmed as unknown rather than failed.
The available material covers only this single post. It does not say whether the approach has shipped in Ava SDR, which versions are involved, how it was implemented in detail, or what results it produced.
AI-generated from 1 reports · updated 22 hours ago
- Heat index
- 53
- All sources
- 1
- All reports
- 1
- First seen
- 22 hours ago
Reports on this story headlines open the original
While building Ava SDR, an Android sales assistant, the author found that message generation and message sending are separate operations, so an automatic retry can send duplicate replies if the process crashes in between. The proposed fix treats each reply as a state machine with a stable job ID and uniqueness constraints, and marks ambiguous sends as unknown rather than failed.
DEV Community · AIAI score 59
Other stories people are talking about
- Heat index 880RisingOpenAI growth stalls as Nvidia delays 10-Q, sparking AI and chip stock selloff16 sources
- Heat index 830RisingMiniMax M4 scores 47 on Intelligence Index; M4.1 in development18 sources
- Heat index 665Alibaba open-sources Qwen4-35B-A3B with 1M context16 sources
- Heat index 590RisingOpenAI memo makes revenue its north-star metric ahead of IPO9 sources
- Heat index 316SurgeSamsung in talks to buy data-center cooling firm Modexus for about $15B4 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

