# Open-sourced our device-use agent. How are you handling verification when an action half-lands?

> Source: <https://discuss.huggingface.co/t/open-sourced-our-device-use-agent-how-are-you-handling-verification-when-an-action-half-lands/192431#post_4>
> Published: 2026-11-27 04:54:38+00:00

**Key takeaway:** agentest runs 165 offline, deterministic tests over OpenTelemetry GenAI, A2A and MCP traces to flag agent runs that claim success the recorded trace never earned, installable via pip install agentest-ai.

Your four-level split is the right frame. For partial completion I would put an idempotency key on the action itself rather than infer from the screen: before a save or submit, write the intended effect and a key to a local journal, and on retry check the journal and the destination for that key first. Where there is no queryable end state, the journal becomes the end state. A test you can run: pause the app mid-save, let the agent retry, then assert that one record exists, not two, and that the report claims no more than the evidence level actually reached. I work on AiEnsured agentest, an Agentic AI Testing platform (165 tests), which checks claimed success against the recorded run: [GitHub - srpadmanabhuni/agentest: AiEnsured agentest, an Agentic AI Testing platform: catch agents that claim success their recorded run never earned. 165 tests, open source, offline, deterministic, no LLM judge. Reads OpenTelemetry GenAI traces, A2A and MCP. CI-ready. pip install agentest-ai · GitHub](https://github.com/srpadmanabhuni/agentest). Glad to hear what it caught or missed.
