<?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: Amer Yahya</title>
    <description>The latest articles on DEV Community by Amer Yahya (@amer_yahia_1bed71c022d5bd).</description>
    <link>https://dev.to/amer_yahia_1bed71c022d5bd</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3961350%2F92e86f73-f8b4-41ba-9f28-745d9d506450.jpeg</url>
      <title>DEV Community: Amer Yahya</title>
      <link>https://dev.to/amer_yahia_1bed71c022d5bd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amer_yahia_1bed71c022d5bd"/>
    <language>en</language>
    <item>
      <title>Why AI agents need runtime permissions?</title>
      <dc:creator>Amer Yahya</dc:creator>
      <pubDate>Mon, 01 Jun 2026 13:06:16 +0000</pubDate>
      <link>https://dev.to/amer_yahia_1bed71c022d5bd/why-ai-agents-need-runtime-permissions-405o</link>
      <guid>https://dev.to/amer_yahia_1bed71c022d5bd/why-ai-agents-need-runtime-permissions-405o</guid>
      <description>&lt;p&gt;When AI agents were mostly text generators, the main failure mode was bad output.&lt;/p&gt;

&lt;p&gt;Now agents are becoming execution systems.&lt;/p&gt;

&lt;p&gt;They call tools.&lt;br&gt;
They invoke APIs.&lt;br&gt;
They interact with MCP servers.&lt;br&gt;
They read and write data.&lt;br&gt;
They trigger workflows.&lt;br&gt;
They modify state.&lt;/p&gt;

&lt;p&gt;That creates a different class of risk.&lt;/p&gt;

&lt;p&gt;The question is no longer only:&lt;/p&gt;

&lt;p&gt;“Did the model answer correctly?”&lt;/p&gt;

&lt;p&gt;The question becomes:&lt;/p&gt;

&lt;p&gt;“Was this agent allowed to take this action, with these parameters, in this context, at this moment?”&lt;/p&gt;

&lt;p&gt;That is a runtime permissions problem.&lt;/p&gt;

&lt;p&gt;For production agents, control needs to happen before execution, not only after logs are reviewed.&lt;/p&gt;

&lt;p&gt;A serious runtime layer should be able to evaluate:&lt;/p&gt;

&lt;p&gt;• Tool-level permissions&lt;br&gt;
• Parameter-level constraints&lt;br&gt;
• MCP action policies&lt;br&gt;
• Sensitive workflow approvals&lt;br&gt;
• Data access boundaries&lt;br&gt;
• Human-in-the-loop rules&lt;br&gt;
• Audit logs for every meaningful action&lt;/p&gt;

&lt;p&gt;System prompts are useful, but they are not enough.&lt;/p&gt;

&lt;p&gt;They describe intended behavior.&lt;/p&gt;

&lt;p&gt;They do not reliably enforce execution boundaries.&lt;/p&gt;

&lt;p&gt;This is the thesis behind Enforra (enforra.com).&lt;/p&gt;

&lt;p&gt;As agents become more capable, developers need a lightweight control layer that sits between the agent and the action, enforcing what the agent can and cannot do at runtime.&lt;/p&gt;

&lt;p&gt;The next phase of agent infrastructure will not just be about orchestration.&lt;/p&gt;

&lt;p&gt;It will be about governed execution.&lt;/p&gt;

&lt;p&gt;GitHub: github.com/enforra/enforra&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>security</category>
      <category>agents</category>
    </item>
    <item>
      <title>Your AI agent should not be allowed to do everything just because it can</title>
      <dc:creator>Amer Yahya</dc:creator>
      <pubDate>Mon, 01 Jun 2026 12:59:21 +0000</pubDate>
      <link>https://dev.to/amer_yahia_1bed71c022d5bd/your-ai-agent-should-not-be-allowed-to-do-everything-just-because-it-can-20b6</link>
      <guid>https://dev.to/amer_yahia_1bed71c022d5bd/your-ai-agent-should-not-be-allowed-to-do-everything-just-because-it-can-20b6</guid>
      <description>&lt;p&gt;That is one of the biggest problems with many agentic systems today.&lt;/p&gt;

&lt;p&gt;We give agents access to tools, APIs, files, databases, MCP servers, messaging systems, and internal workflows.&lt;/p&gt;

&lt;p&gt;Then we rely heavily on prompts to control what they should or should not do.&lt;/p&gt;

&lt;p&gt;That works until the agent takes an action it was not supposed to take.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Calls the wrong tool&lt;/li&gt;
&lt;li&gt;Uses the wrong parameter&lt;/li&gt;
&lt;li&gt;Sends the wrong message&lt;/li&gt;
&lt;li&gt;Accesses the wrong data&lt;/li&gt;
&lt;li&gt;Triggers the wrong workflow&lt;/li&gt;
&lt;li&gt;Modifies the wrong record&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is why AI agents need runtime permissions.&lt;/p&gt;

&lt;p&gt;Not just instructions.&lt;/p&gt;

&lt;p&gt;Not just observability.&lt;/p&gt;

&lt;p&gt;Not just logs after something has already happened.&lt;/p&gt;

&lt;p&gt;Agents need a control layer that checks actions before they execute.&lt;/p&gt;

&lt;p&gt;At runtime, the system should be able to answer questions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is this agent allowed to use this tool?&lt;/li&gt;
&lt;li&gt;Is this action safe in this context?&lt;/li&gt;
&lt;li&gt;Are these parameters permitted?&lt;/li&gt;
&lt;li&gt;Does this action require human approval?&lt;/li&gt;
&lt;li&gt;Should this action be blocked?&lt;/li&gt;
&lt;li&gt;Should this action be logged?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This matters because once agents move from chat responses to real actions, prompts are no longer enough.&lt;/p&gt;

&lt;p&gt;A system prompt can tell an agent not to do something.&lt;/p&gt;

&lt;p&gt;But a runtime control layer can stop the action before it happens.&lt;/p&gt;

&lt;p&gt;That difference matters.&lt;/p&gt;

&lt;p&gt;For production agents, the control layer should sit between the agent and the tools it wants to use. Every tool call, MCP action, sensitive workflow, or external action should be checked against policy before execution.&lt;/p&gt;

&lt;p&gt;This is where we are focused with Enforra (enforra.com).&lt;/p&gt;

&lt;p&gt;Enforra is a lightweight runtime control layer for AI agents. It helps developers enforce tool permissions, MCP controls, approval workflows, parameter-level policies, and audit logs before agent actions become security problems.&lt;/p&gt;

&lt;p&gt;The future of AI agents is not just autonomy.&lt;/p&gt;

&lt;p&gt;It is controlled autonomy.&lt;/p&gt;

&lt;p&gt;GitHub: github.com/enforra/enforra&lt;/p&gt;

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