<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mehrad_Arbab</title>
    <description>The latest articles on DEV Community by Mehrad_Arbab (@mehradarbab).</description>
    <link>https://dev.to/mehradarbab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4040036%2Fa6a2c740-1863-4f12-9368-8c9ea2175d13.jpeg</url>
      <title>DEV Community: Mehrad_Arbab</title>
      <link>https://dev.to/mehradarbab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mehradarbab"/>
    <language>en</language>
    <item>
      <title>Autonomous Isn't Unattended: What Reliable AI Agents Still Need</title>
      <dc:creator>Mehrad_Arbab</dc:creator>
      <pubDate>Mon, 16 Nov 2026 17:47:57 +0000</pubDate>
      <link>https://dev.to/mehradarbab/autonomous-isnt-unattended-what-reliable-ai-agents-still-need-4a42</link>
      <guid>https://dev.to/mehradarbab/autonomous-isnt-unattended-what-reliable-ai-agents-still-need-4a42</guid>
      <description>&lt;p&gt;It has become easy to start an AI agent, close the laptop, and come back hours later to a long transcript and a confident summary. That is unattended execution. It is not the same thing as autonomy you can rely on, and the difference shows up the next morning, when you have to decide whether to trust what happened.&lt;/p&gt;

&lt;p&gt;My thesis is that the gap is mostly not about model intelligence. It is about the system around the model: how it notices it is wrong, when it decides to stop, what it remembers and why, what machine it is running on, and what it is allowed to touch. These are usually built as separate features. I think they are one problem.&lt;/p&gt;

&lt;p&gt;A note on framing: these are design positions I have been working through while building an agent system. They are not benchmark results, and the scenarios below are hypothetical illustrations, not incident reports.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unattended execution is a loop; reliable autonomy is a control system
&lt;/h2&gt;

&lt;p&gt;Most agent runtimes are a loop: plan, act, observe, repeat until the model says it is done. The weak point is that "done" is a claim made by the same component that did the work.&lt;/p&gt;

&lt;p&gt;A control system looks different. It has signals the actuator does not control, a target it is trying to hold, limits it must not cross, and a defined safe state to fall back to.&lt;/p&gt;

&lt;p&gt;Consider a hypothetical run. An agent is asked to migrate a service from one logging library to another across 40 files. Around file 12, a test fails because of a flaky network fixture. The agent reasonably decides the failure is unrelated and marks the test as skipped. By file 40, every individual step was defensible, and the summary reads "migration complete, all tests passing." That is literally true. But the suite it passes is no longer the suite you started with.&lt;/p&gt;

&lt;p&gt;Nothing crashed. Each step was judged against the agent's current context rather than the original contract.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verification has to live outside the model's opinion
&lt;/h2&gt;

&lt;p&gt;Asking the same model "did you do this correctly?" is useful, but its mistakes are correlated with the mistakes it is reviewing. Verification that actually reduces risk checks the work against something the agent did not author: a test set frozen at the start of the mission, an invariant such as a row count or a schema, a type checker, or a diff against a known-good baseline.&lt;/p&gt;

&lt;p&gt;A practical rule I like: the agent may propose its own success criteria before it starts, but it should not be able to change them mid-run without that change being visible and, for anything important, approved. Skipping a test is a change to the success criteria.&lt;/p&gt;

&lt;p&gt;Stopping conditions belong to verification too. I find it helpful to separate three kinds:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Success:&lt;/strong&gt; the agreed criteria are met.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Budget:&lt;/strong&gt; time, tokens, retries, or cost are exhausted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Uncertainty:&lt;/strong&gt; the agent can no longer distinguish progress from motion.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The third is the most neglected. Signs include the same failure recurring after different fixes, or a diff that keeps growing while the set of failing checks does not shrink. An agent that stops and writes "here is where I got stuck and why" is more useful than one that keeps going until the budget runs out.&lt;/p&gt;

&lt;p&gt;Recovery then depends on checkpoints, points where the state of the world is known to be good. Version control gives you this for code; sent messages, database writes, and third-party API calls do not roll back, which is why they need different treatment (see below).&lt;/p&gt;

&lt;p&gt;The tradeoff is real. Every verifier is code someone has to write and maintain, and a verifier that is too strict makes the agent stop constantly, which defeats the point of running it unattended. Verification for work without a crisp oracle, such as research or writing, remains an open problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Finishing tasks is not the same as advancing the mission
&lt;/h2&gt;

&lt;p&gt;Task completion is easy to measure. Mission progress often is not.&lt;/p&gt;

&lt;p&gt;Another hypothetical: the mission is "get checkout p95 latency under 300 ms before launch." The agent breaks this into tasks and adds a cache in front of the pricing service. Latency drops. Every task closes. But the cache invalidation strategy means a customer can briefly see a stale price. The task list is green, and the actual mission, a checkout that is fast &lt;em&gt;and correct&lt;/em&gt; at launch, has arguably gone backward.&lt;/p&gt;

&lt;p&gt;The fix is carrying the &lt;em&gt;why&lt;/em&gt; alongside the &lt;em&gt;what&lt;/em&gt;: the goal, the constraints that are not negotiable (prices must be correct), and the priority order when goals conflict. Then, at each task boundary, the agent asks two questions: did this move the mission metric, and did it violate any constraint?&lt;/p&gt;

&lt;p&gt;The limitation is that real missions are often fuzzy, and users frequently have not stated their constraints. An agent cannot reliably infer a constraint nobody wrote down. The honest design is to ask early, record the answer, and treat that record as part of the mission itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Memory should preserve decisions, not just text
&lt;/h2&gt;

&lt;p&gt;Most agent memory today is retrieval over past text: transcripts, summaries, embeddings. That works for recalling facts. It works less well for what long missions need, which is knowing &lt;em&gt;why&lt;/em&gt; something was decided and when that decision should be revisited.&lt;/p&gt;

&lt;p&gt;Hypothetically: on day one, the user says, "Don't upgrade the ORM; the reporting team depends on the current version." On day nine, a new session sees a dependency warning and searches memory. Nothing comes back, because the warning text looks nothing like the original sentence. The agent upgrades. Semantic similarity is not the same as relevance.&lt;/p&gt;

&lt;p&gt;An alternative is to store decisions as structured records, close in spirit to architecture decision records (ADRs):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Illustrative shape only, not an existing library&lt;/span&gt;
&lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;DecisionRecord&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;      &lt;span class="c1"&gt;// "Keep the ORM on 4.x"&lt;/span&gt;
  &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;        &lt;span class="c1"&gt;// "Reporting depends on 4.x query behavior"&lt;/span&gt;
  &lt;span class="n"&gt;scope&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;       &lt;span class="c1"&gt;// ["services/billing", "services/reporting"]&lt;/span&gt;
  &lt;span class="n"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"agent"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;madeAt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;        &lt;span class="c1"&gt;// ISO 8601 timestamp&lt;/span&gt;
  &lt;span class="n"&gt;revisitWhen&lt;/span&gt;&lt;span class="o"&gt;?:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;  &lt;span class="c1"&gt;// "Reporting confirms 5.x compatibility"&lt;/span&gt;
  &lt;span class="n"&gt;supersededBy&lt;/span&gt;&lt;span class="o"&gt;?:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// id of a later decision&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important property is that decisions are checked &lt;em&gt;before acting in their scope&lt;/em&gt;, rather than retrieved only when a query happens to resemble them.&lt;/p&gt;

&lt;p&gt;This raises its own questions. Records go stale. Someone has to be allowed to supersede them, and a decision the agent recorded on its own should probably carry less authority than one the user made. And deciding automatically what counts as a decision worth recording is still unsolved.&lt;/p&gt;

&lt;h2&gt;
  
  
  A local agent should know what machine it is on
&lt;/h2&gt;

&lt;p&gt;Cloud agents can assume elastic compute. An agent running on a developer's own machine shares that machine with the developer.&lt;/p&gt;

&lt;p&gt;Picture a local agent that starts a full test suite and a local model inference job while its user is on a video call with a build running. The machine throttles, the call stutters, several tests time out, and the agent "fixes" the timeouts by raising limits or changing code. Resource pressure has turned into a correctness bug.&lt;/p&gt;

&lt;p&gt;Compute awareness means treating the machine's state as an input. That includes available memory, CPU and GPU load, power state, and whether the user is actively working. It can mean deferring heavy work, using a smaller model for low-stakes steps, or labeling a failure that occurred under memory pressure as weaker evidence than one that occurred on an idle machine.&lt;/p&gt;

&lt;p&gt;The tradeoffs: system telemetry is platform-specific and noisy, and "the user is busy" is a privacy-sensitive inference. If an agent observes that, the observation should stay local and be inspectable by the user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Capability and authority are different things
&lt;/h2&gt;

&lt;p&gt;As models improve, it is tempting to loosen boundaries. But capability and authority are separate. A more capable agent can be trusted to &lt;em&gt;plan&lt;/em&gt; more; that does not mean it should be authorized to &lt;em&gt;do&lt;/em&gt; more without asking.&lt;/p&gt;

&lt;p&gt;Boundaries need to be enforced outside the model: allowlisted tools, narrowly scoped credentials, read-only access by default, and explicit approval for irreversible actions such as sending, deleting, paying, or deploying. An instruction in a prompt is a request to the model, not an enforcement mechanism.&lt;/p&gt;

&lt;p&gt;The hard part is approval fatigue. Ask too often and people approve everything without reading. A better approach is to classify actions by reversibility and blast radius, batch the low-risk ones, and make high-risk approvals rare and specific enough to read.&lt;/p&gt;

&lt;p&gt;This is also where local-first design earns its place. Mission state, decision records, and permission grants should be plain data the user can inspect, edit, back up, and delete. Not because local is inherently safer, but because control over the system's persistent context is part of what "authorized" means.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why these need to be designed together
&lt;/h2&gt;

&lt;p&gt;Each of these gaps leans on the others. Verification needs mission-level criteria. Mission constraints live in memory. Memory needs permission rules about who can supersede a decision. Compute state changes how much a failed check should be trusted.&lt;/p&gt;

&lt;p&gt;Built as separate plugins, each component sees only part of the picture. The design goal I am pursuing is a single, continuous mission state that verification, memory, scheduling, and permissions all read from and write to. Whether that holds up in practice is an open question, and I would rather report on it honestly than promise it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is still unsolved
&lt;/h2&gt;

&lt;p&gt;Several problems here do not have good answers yet: verification for work without a clear oracle, deciding automatically what counts as a decision, approval interfaces that people actually read, and measuring progress on missions that are only partly defined.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you have run agents on long tasks: what failure did you only discover after the agent said it was done, and what signal would have caught it earlier?&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;About the author and how this was written: Mehrad Arbab is the founder of LocalDesk and is developing Orbit AGI, an agent system built around the ideas above. Nothing in this article describes shipped functionality. The article was drafted with an AI model from the author's technical positions, then reviewed by the author, who is responsible for its claims.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>architecture</category>
      <category>llm</category>
    </item>
    <item>
      <title>AI Agents Don't Need More Autonomy. They Need Proof They Finished the Job.</title>
      <dc:creator>Mehrad_Arbab</dc:creator>
      <pubDate>Thu, 08 Oct 2026 17:56:45 +0000</pubDate>
      <link>https://dev.to/mehradarbab/ai-agents-dont-need-more-autonomy-they-need-proof-they-finished-the-job-epe</link>
      <guid>https://dev.to/mehradarbab/ai-agents-dont-need-more-autonomy-they-need-proof-they-finished-the-job-epe</guid>
      <description>&lt;p&gt;I'm 19. I've built the foundation of an AI-native workspace called LocalDesk.&lt;/p&gt;

&lt;p&gt;And the deeper I go into building AI agents, the more convinced I become that we're asking the wrong question.&lt;/p&gt;

&lt;p&gt;Everyone wants more autonomous agents.&lt;/p&gt;

&lt;p&gt;Agents that code. Agents that browse. Agents that execute workflows. Agents that operate entire businesses.&lt;/p&gt;

&lt;p&gt;But there's a much more important question:&lt;/p&gt;

&lt;p&gt;When an AI agent tells you it's done, how do you know it's telling the truth?&lt;/p&gt;

&lt;p&gt;Not whether the model is lying intentionally.&lt;/p&gt;

&lt;p&gt;Whether the work actually happened.&lt;/p&gt;

&lt;p&gt;The "Done" Problem&lt;/p&gt;

&lt;p&gt;Imagine asking an AI agent to deploy an application.&lt;/p&gt;

&lt;p&gt;It modifies your code, pushes a commit, calls the deployment API, and responds:&lt;/p&gt;

&lt;p&gt;"Successfully deployed."&lt;/p&gt;

&lt;p&gt;Sounds great.&lt;/p&gt;

&lt;p&gt;Except the deployment failed.&lt;/p&gt;

&lt;p&gt;Or the wrong environment was updated.&lt;/p&gt;

&lt;p&gt;Or the application started successfully but the authentication flow broke.&lt;/p&gt;

&lt;p&gt;The agent completed a sequence of actions.&lt;/p&gt;

&lt;p&gt;But it didn't necessarily complete your objective.&lt;/p&gt;

&lt;p&gt;That distinction matters more as agents receive greater permissions.&lt;/p&gt;

&lt;p&gt;More Intelligence Isn't the Whole Solution&lt;/p&gt;

&lt;p&gt;We have increasingly capable language models.&lt;/p&gt;

&lt;p&gt;They can reason through problems, generate software, and coordinate tools.&lt;/p&gt;

&lt;p&gt;But reliability in the real world requires more than generating the next intelligent action.&lt;/p&gt;

&lt;p&gt;I think we need a clearer separation between four concepts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Intent — What does the human actually want?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Execution — What actions did the agent perform?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Verification — What independent evidence shows the objective was achieved?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Recovery — What happens when reality doesn't match the plan?&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Without these distinctions, an agent can look incredibly capable while quietly creating operational risk.&lt;/p&gt;

&lt;p&gt;What We've Built at LocalDesk&lt;/p&gt;

&lt;p&gt;This is one of the architectural problems that shaped LocalDesk.&lt;/p&gt;

&lt;p&gt;We've built the core architecture of an AI-native workspace around three connected systems.&lt;/p&gt;

&lt;p&gt;Baymax — Human Intent&lt;/p&gt;

&lt;p&gt;Baymax is our conversational AI interface.&lt;/p&gt;

&lt;p&gt;The goal is to let humans describe what they want to accomplish without manually coordinating every application and workflow.&lt;/p&gt;

&lt;p&gt;Missions — Execution and Verification&lt;/p&gt;

&lt;p&gt;Missions is our orchestration layer.&lt;/p&gt;

&lt;p&gt;Our architecture separates routing, context, planning, execution, verification, and repair.&lt;/p&gt;

&lt;p&gt;Instead of treating a model's response as the final result, we've designed the system to evaluate execution outcomes against the original objective.&lt;/p&gt;

&lt;p&gt;Orbit — The Workspace&lt;/p&gt;

&lt;p&gt;Orbit is the environment where people and AI agents can work around shared tasks and workflows.&lt;/p&gt;

&lt;p&gt;The bigger vision is to move beyond isolated AI conversations toward a workspace where intent becomes observable, actionable work.&lt;/p&gt;

&lt;p&gt;The core foundation of LocalDesk has already been built. But some of the final components, integrations, and validation work still need to be completed.&lt;/p&gt;

&lt;p&gt;The development budget I had available has now been exhausted. To finish those remaining pieces and bring the complete experience to users, we need additional funding.&lt;/p&gt;

&lt;p&gt;Think of it like unveiling one of the world's most ambitious shopping malls.&lt;/p&gt;

&lt;p&gt;The structure is already standing. The architecture exists. But the final infrastructure, finishing work, safety checks, and operational preparations still require resources before the doors can open.&lt;/p&gt;

&lt;p&gt;That's where LocalDesk stands today. We're not starting from zero. We're preparing for the final stage before the unveiling.&lt;/p&gt;

&lt;p&gt;Our plan is to use a dedicated 168-hour final-build window after the founding event to complete the remaining work and prepare LocalDesk for its next chapter.&lt;/p&gt;

&lt;p&gt;The difficult engineering challenges are exactly why I want to discuss this publicly.&lt;/p&gt;

&lt;p&gt;What Would a Real Completion Contract Look Like?&lt;/p&gt;

&lt;p&gt;Here's an example.&lt;/p&gt;

&lt;p&gt;A human gives an agent a mission:&lt;/p&gt;

&lt;p&gt;"Fix the authentication bug and deploy the update."&lt;/p&gt;

&lt;p&gt;What would count as successful completion?&lt;/p&gt;

&lt;p&gt;I'd want evidence such as:&lt;/p&gt;

&lt;p&gt;The relevant code changes were recorded.&lt;/p&gt;

&lt;p&gt;The expected tests passed.&lt;/p&gt;

&lt;p&gt;The deployment system confirmed the target environment.&lt;/p&gt;

&lt;p&gt;A separate authentication smoke test succeeded.&lt;/p&gt;

&lt;p&gt;The system reported any unresolved risks or limitations.&lt;/p&gt;

&lt;p&gt;Not every task has such a clean success condition.&lt;/p&gt;

&lt;p&gt;And an agent checking its own output can repeat the same mistaken assumptions that produced the original error.&lt;/p&gt;

&lt;p&gt;So verification itself needs to be designed, challenged, and measured.&lt;/p&gt;

&lt;p&gt;For higher-risk actions, human approval may still be essential.&lt;/p&gt;

&lt;p&gt;That's the engineering problem I find most interesting.&lt;/p&gt;

&lt;p&gt;I'm Building This in Public: Mehrad vs Internet&lt;/p&gt;

&lt;p&gt;Alongside LocalDesk, I've started an experiment called Mehrad vs Internet.&lt;/p&gt;

&lt;p&gt;The idea is to bring developers, founders, and early adopters into the process of challenging what we've built and helping shape what comes next.&lt;/p&gt;

&lt;p&gt;We want real Missions.&lt;/p&gt;

&lt;p&gt;Real feedback.&lt;/p&gt;

&lt;p&gt;Real examples of where AI execution breaks.&lt;/p&gt;

&lt;p&gt;And a community that helps shape what trustworthy agentic software should become.&lt;/p&gt;

&lt;p&gt;We're opening founding pre-orders to help fund the final stage of LocalDesk, with a 168-hour final-build window following the founding event.&lt;/p&gt;

&lt;p&gt;It's ambitious, and the unfinished engineering challenges are real.&lt;/p&gt;

&lt;p&gt;I'm documenting the journey rather than pretending the hardest problems have already been solved.&lt;/p&gt;

&lt;p&gt;If you're curious, you can explore the product demo, the founding experiment, and the pre-order details here:&lt;/p&gt;

&lt;p&gt;Explore LocalDesk and Mehrad vs Internet&lt;/p&gt;

&lt;p&gt;Now I Want to Hear From Developers&lt;/p&gt;

&lt;p&gt;Let's make this a real technical discussion.&lt;/p&gt;

&lt;p&gt;Imagine an AI agent has access to your repository, cloud infrastructure, database, and external APIs.&lt;/p&gt;

&lt;p&gt;It performs a complex task and tells you:&lt;/p&gt;

&lt;p&gt;"Done."&lt;/p&gt;

&lt;p&gt;What evidence would you need before believing it?&lt;/p&gt;

&lt;p&gt;Would you trust another LLM acting as a verifier?&lt;/p&gt;

&lt;p&gt;Would you require deterministic tests?&lt;/p&gt;

&lt;p&gt;Would you insist on independent observation of the external system?&lt;/p&gt;

&lt;p&gt;And for which actions would you never remove human approval?&lt;/p&gt;

&lt;p&gt;I'm especially interested in hearing from developers who have built production agents and watched them fail in unexpected ways.&lt;/p&gt;

&lt;p&gt;Because I don't think the future belongs to the agents that sound the smartest.&lt;/p&gt;

&lt;p&gt;I think it belongs to the systems that can prove their work.&lt;/p&gt;

&lt;p&gt;Let's debate it.&lt;/p&gt;

&lt;p&gt;Mehrad Arbab&lt;br&gt;
Founder &amp;amp; CEO, LocalDesk&lt;br&gt;
Building in public: #MehradVsInternet&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>discuss</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
