<?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: Tony Graham</title>
    <description>The latest articles on DEV Community by Tony Graham (@tonygraham).</description>
    <link>https://dev.to/tonygraham</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%2F4201351%2F422affda-88d3-4720-9cd6-a5313e29397e.jpeg</url>
      <title>DEV Community: Tony Graham</title>
      <link>https://dev.to/tonygraham</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tonygraham"/>
    <language>en</language>
    <item>
      <title>What Does an AI Agent Actually Remember?</title>
      <dc:creator>Tony Graham</dc:creator>
      <pubDate>Thu, 03 Dec 2026 19:08:55 +0000</pubDate>
      <link>https://dev.to/tonygraham/what-does-an-ai-agent-actually-remember-de6</link>
      <guid>https://dev.to/tonygraham/what-does-an-ai-agent-actually-remember-de6</guid>
      <description>&lt;p&gt;Less than most people assume. The model inside an agent remembers nothing from one call to the next. Everything the agent "remembers" is text its software saved and sends back to the model each time.&lt;/p&gt;

&lt;p&gt;AI agent memory comes in three layers.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The context window. The text the model can see on this one call. When it fills up, older text gets dropped or summarized.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The conversation history. Saved messages and tool results, sent back to the model so it can follow along.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The run state. Which steps of the job already finished, and what each one returned.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Most talk about agent memory is about the first two. I think the third matters most once an agent does real work, because it's what tells the agent, after a restart, that it already sent the invoice.&lt;/p&gt;

&lt;p&gt;The fair objection is that frameworks already save the conversation. Diagrid's page on the Claude Agent SDK draws the line well. The SDK's sessions write every message, tool call and tool result to disk, but the SDK "persists conversation state but not execution position." It "doesn't know whether an issued tool call actually completed," so a resumed run can call the same tool again.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.diagrid.io/learn/claude-agent-sdk-durable-execution" rel="noopener noreferrer"&gt;https://www.diagrid.io/learn/claude-agent-sdk-durable-execution&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Put one question to your framework's docs: after a restart, how does the agent know which tool calls already finished?&lt;/p&gt;

</description>
      <category>contextwindow</category>
      <category>agentstate</category>
      <category>conversationhistory</category>
      <category>agentmemory</category>
    </item>
    <item>
      <title>What Is the Difference Between an AI Model and an AI Agent?</title>
      <dc:creator>Tony Graham</dc:creator>
      <pubDate>Thu, 26 Nov 2026 14:10:17 +0000</pubDate>
      <link>https://dev.to/tonygraham/what-is-the-difference-between-an-ai-model-and-an-ai-agent-32db</link>
      <guid>https://dev.to/tonygraham/what-is-the-difference-between-an-ai-model-and-an-ai-agent-32db</guid>
      <description>&lt;p&gt;An AI model takes text in and sends text back. An AI agent is the program around a model that lets it act. The agent gives the model a goal and tools, like a calendar or a booking system, runs the tools the model asks for, and keeps going until the job is done or it hits a limit.&lt;/p&gt;

&lt;p&gt;I'm strict about the AI model vs AI agent line, because the labels have gotten loose. This month's model launches came with agent claims attached. SD Times reported that Anthropic's Claude Fable 5.2, released November 9, can orchestrate agent teams. It's still a model. On its own, it doesn't book anything.&lt;/p&gt;

&lt;p&gt;The best counter-argument is that the line has blurred, since models now choose tools by themselves. They do choose. But the model only writes a request, something like "call the calendar with these details." Your software decides whether to run it, runs it, retries it if it fails, and remembers that it happened. That software is the agent, and it's where the permissions and the saved progress live.&lt;/p&gt;

&lt;p&gt;Diagrid's deep dive on agents lists the parts: a model for the reasoning, tools, memory, and "a control loop that keeps the agent running until the goal is met or a limit is reached." &lt;a href="https://www.diagrid.io/learn/deep-dive-agents" rel="noopener noreferrer"&gt;https://www.diagrid.io/learn/deep-dive-agents&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next time someone sells you an agent, ask what it does without you and which code runs its tools.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
    </item>
    <item>
      <title>What Happens to an AI Agent When the Wi-Fi Drops?</title>
      <dc:creator>Tony Graham</dc:creator>
      <pubDate>Wed, 25 Nov 2026 14:07:36 +0000</pubDate>
      <link>https://dev.to/tonygraham/what-happens-to-an-ai-agent-when-the-wi-fi-drops-46lj</link>
      <guid>https://dev.to/tonygraham/what-happens-to-an-ai-agent-when-the-wi-fi-drops-46lj</guid>
      <description>&lt;p&gt;Most of the time, the agent ends up not knowing whether its last action happened. I'd rank that uncertainty above the drop itself as a cause of AI agent failure.&lt;/p&gt;

&lt;p&gt;Say an agent reorders printer paper from a supplier. It sends the order, and the connection dies before the reply comes back. Maybe the order never arrived. Maybe it arrived and only the confirmation got lost. From the agent's side, both look like silence.&lt;/p&gt;

&lt;p&gt;An agent that retries blindly orders paper twice. An agent that gives up leaves you with no paper and no idea why.&lt;/p&gt;

&lt;p&gt;The fix is to check before trying again:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;# sketch – run-check against your supplier's real API&lt;br&gt;
order = supplier.find_order(request_id)&lt;br&gt;
if order is None:&lt;br&gt;
     supplier.place_order(request_id, items)&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The request_id is an ID the agent creates once and sends with every attempt, so the supplier can match a repeat to the first order.&lt;/p&gt;

&lt;p&gt;The common objection is that networks are reliable now, so this is rare. Per call, sure. But one agent run can make dozens of calls to outside services, and Diagrid's guide to failure modes in production agents lists tool calls that "timeout, return partial results, fail with errors." &lt;a href="https://www.diagrid.io/learn/common-failure-modes-in-production-agents" rel="noopener noreferrer"&gt;https://www.diagrid.io/learn/common-failure-modes-in-production-agents&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pick one action your agent takes and ask what it would do if the reply never came.&lt;/p&gt;

</description>
      <category>network</category>
      <category>agents</category>
      <category>ai</category>
    </item>
    <item>
      <title>Syndicate: "What If Your AI Agent Had to Pass a Driving Test?"</title>
      <dc:creator>Tony Graham</dc:creator>
      <pubDate>Mon, 23 Nov 2026 13:42:45 +0000</pubDate>
      <link>https://dev.to/tonygraham/syndicate-what-if-your-ai-agent-had-to-pass-a-driving-test-cln</link>
      <guid>https://dev.to/tonygraham/syndicate-what-if-your-ai-agent-had-to-pass-a-driving-test-cln</guid>
      <description>&lt;p&gt;I think most agents would pass the written test and fail the road test. AI agent testing today mostly checks whether the model gives good answers. It rarely checks what the agent does when something goes wrong halfway through a job.&lt;/p&gt;

&lt;p&gt;The written test is the benchmark, a fixed set of tasks used to score models. Google launched Gemini 4 Carbon on November 10 and led with benchmark results, including first place on Zapier's AutomationBench. That's useful when you're choosing a model. It says nothing about your agent, because no benchmark has seen your tools, your retry rules or your servers.&lt;/p&gt;

&lt;p&gt;A road test would. If I were the examiner, I'd check three things.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;A tool times out. Does the agent wait and retry, or carry on with half an answer?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The server restarts mid-run. Does the agent continue from where it was, or start over?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You ship new code while runs are still going. Do those runs finish on the rules they started with?&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The fair objection is that you can't test every failure. Driving tests don't cover every road either. They cover the moments where a mistake gets expensive.&lt;/p&gt;

&lt;p&gt;Diagrid's FAQ on testing, versioning and release covers two of the three, from replaying saved runs against new code to keeping in-flight runs on the version they launched with: &lt;a href="https://www.diagrid.io/faq/testing-versioning-and-release" rel="noopener noreferrer"&gt;https://www.diagrid.io/faq/testing-versioning-and-release&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Which of the three would your agent fail today?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>testing</category>
    </item>
    <item>
      <title>What Does "Verifiable" Mean for an AI Agent?</title>
      <dc:creator>Tony Graham</dc:creator>
      <pubDate>Sat, 21 Nov 2026 15:34:02 +0000</pubDate>
      <link>https://dev.to/tonygraham/what-does-verifiable-mean-for-an-ai-agent-1j4c</link>
      <guid>https://dev.to/tonygraham/what-does-verifiable-mean-for-an-ai-agent-1j4c</guid>
      <description>&lt;p&gt;A verifiable AI agent keeps a record of what it did that someone outside your team can check, and the check shows whether anyone changed it later. That's the bar I'd hold any vendor to, us included. If the only proof is "our admins say the logs are accurate," the agent isn't verifiable.&lt;/p&gt;

&lt;p&gt;It's Microsoft Ignite week, and the security track has a session called "When AI acts, security has to answer." I agree with the title. The answer needs evidence that holds up when the person asking doesn't trust you.&lt;/p&gt;

&lt;p&gt;Here's how verifiable AI agents do it, in plain terms. Each step the agent takes gets a digital signature from the software that ran it, a bit like a wax seal on a letter. Each signature also includes a fingerprint, called a hash, of the signature before it. Change an old entry and every link after it stops matching.&lt;/p&gt;

&lt;p&gt;The strongest objection is that good logs with locked-down access are enough. For debugging, they are. But the people who ask for proof, like an auditor or a customer disputing a charge, sit outside your team, and anyone with admin rights can edit a log.&lt;/p&gt;

&lt;p&gt;One honest limit, from Diagrid's plain-English explainer: "the record proves what happened; it doesn't prove it should have." You still need tests and human review for that part. &lt;a href="https://www.diagrid.io/learn/cryptographic-attestation-ai-agents" rel="noopener noreferrer"&gt;https://www.diagrid.io/learn/cryptographic-attestation-ai-agents&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ask whoever runs your agents who outside the company could check that record today.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>security</category>
    </item>
    <item>
      <title>What Would It Take to Trust an AI Agent With Your Expense Reports?</title>
      <dc:creator>Tony Graham</dc:creator>
      <pubDate>Thu, 12 Nov 2026 17:51:49 +0000</pubDate>
      <link>https://dev.to/tonygraham/what-would-it-take-to-trust-an-ai-agent-with-your-expense-reports-50k5</link>
      <guid>https://dev.to/tonygraham/what-would-it-take-to-trust-an-ai-agent-with-your-expense-reports-50k5</guid>
      <description>&lt;p&gt;Expense reports are a fair test for AI agents for business. The job is dull, the rules are written down, and the money is real. I'd want five things before handing mine over.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;It sees only what the job needs. My receipts and my card transactions, not the whole finance system and not my inbox. That's least privilege: the smallest set of permissions that still gets the work done.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It can't approve its own work. The agent drafts the report and flags anything outside policy. A person signs off.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Every decision comes with its evidence. If it files a dinner as client entertainment, I want to see the receipt it read and the policy line it matched.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A crash doesn't file the report twice. If the process dies right after submitting, the restart has to know the report already went in.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;My data stays where finance says it stays. Receipts carry names, card digits and sometimes home addresses. Every system the agent hands them to is one more place that data lives.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of the five depends on how smart the model is. They're about permissions, records and where the data goes. Diagrid's guide to data governance for AI agents covers the permission and audit side in more depth: &lt;a href="https://www.diagrid.io/learn/data-governance-for-ai-agents" rel="noopener noreferrer"&gt;https://www.diagrid.io/learn/data-governance-for-ai-agents&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Which of the five would your finance team ask about first?&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
    <item>
      <title>What Will Your Security Review Ask About Your Agent Platform?</title>
      <dc:creator>Tony Graham</dc:creator>
      <pubDate>Fri, 23 Oct 2026 00:11:49 +0000</pubDate>
      <link>https://dev.to/tonygraham/what-will-your-security-review-ask-about-your-agent-platform-1ofe</link>
      <guid>https://dev.to/tonygraham/what-will-your-security-review-ask-about-your-agent-platform-1ofe</guid>
      <description>&lt;p&gt;&lt;em&gt;Seven questions that come up when AI agent security moves from a slide to a questionnaire, and the evidence that answers each one.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Your security review will ask where the agent platform runs, what each agent is allowed to reach, and whether you can prove afterward what an agent did. Most of AI agent security, once it reaches procurement, covers the same ground as any system that holds credentials and touches customer data: identity, data location and records.&lt;/p&gt;

&lt;p&gt;If you're the engineer or buyer who has to answer the questionnaire, these are the seven questions to prepare for, with the evidence a reviewer will accept.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Where does it run, and where does our data go?&lt;/strong&gt;&lt;br&gt;
Expect this first. The reviewer wants a diagram showing which components run in your account, which run in the vendor's, and which third parties see your prompts and tool outputs. Bring the vendor's list of deployment models. Catalyst, for example, runs as a shared cloud, as a single-tenant dedicated cloud, inside your own cloud account (BYOC, managed or self-managed), or air-gapped with no connection back to Diagrid. When the data plane sits in your own account, the questions about vendor access get much shorter answers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. What identity does each agent have?&lt;/strong&gt;&lt;br&gt;
A shared API key is the wrong answer. Reviewers want each agent, MCP server and service to carry its own identity, so one can be revoked without breaking the others. Workload identity based on SPIFFE, issued and rotated by the platform, holds up well here. For the identity questions a CISO will push hardest on, this list goes deeper: &lt;a href="https://www.diagrid.io/blog/ciso-questions-ai-agent-security" rel="noopener noreferrer"&gt;8 questions CISOs ask about AI agent security&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. What is each agent allowed to call?&lt;/strong&gt;&lt;br&gt;
Expect to show the actual policy file. The strong answer is deny by default, with grants per tool rather than per server, so an agent allowed to read GitHub issues can't delete a branch on the same server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Where do the credentials live?&lt;/strong&gt;&lt;br&gt;
If the keys for your tools sit in environment variables next to the agent code, the reviewer will flag it. The platform should hold them as managed secrets and use them on the agent's behalf, so neither the agent code nor the model ever sees them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. What gets recorded, and for how long?&lt;/strong&gt;&lt;br&gt;
Reviewers ask for the audit trail of one real run: every model call and tool call, with inputs and outputs, in order. Then they ask about retention, because your records policy and your database budget rarely agree. Look for a platform that archives run history to long-term storage, checks the archive is complete, and only then lets you purge. Signed steps go further, since anyone with the public key can check that nobody edited the record.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. How do we stop a run safely?&lt;/strong&gt;&lt;br&gt;
Killing a process halfway through a write leaves half a transaction behind. Ask how an operator pauses or terminates a run and what state it leaves. A workflow engine can suspend, resume or terminate a run from its recorded history, which gives the reviewer a written procedure instead of "we'd scale the deployment to zero."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. What can the vendor see, and what's certified?&lt;/strong&gt;&lt;br&gt;
Ask who at the vendor can access your run history and prompts, through what process, and request the SOC 2 Type II report under NDA. Diagrid is SOC 2 Type II certified. Check the report date on any vendor you evaluate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before the meeting&lt;/strong&gt;&lt;br&gt;
Take the platform's documentation, answer all seven in writing with a link to the evidence for each, and send it to the reviewer a few days ahead. Then the meeting can spend its hour on the answers you couldn't give.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>agents</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
