<?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: William Louis Park</title>
    <description>The latest articles on DEV Community by William Louis Park (@billyxp74).</description>
    <link>https://dev.to/billyxp74</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%2F3792682%2Fa67b7574-a114-4128-ae16-8ef7c138bee8.jpeg</url>
      <title>DEV Community: William Louis Park</title>
      <link>https://dev.to/billyxp74</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/billyxp74"/>
    <language>en</language>
    <item>
      <title>GO-GATE: Database-Grade Safety for AI Agents</title>
      <dc:creator>William Louis Park</dc:creator>
      <pubDate>Wed, 25 Feb 2026 21:03:16 +0000</pubDate>
      <link>https://dev.to/billyxp74/go-gate-database-grade-safety-for-ai-agents-33j1</link>
      <guid>https://dev.to/billyxp74/go-gate-database-grade-safety-for-ai-agents-33j1</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Why autonomous AI systems need Two-Phase Commit (2PC) guarantees&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The Problem: AI Agents Without Safety Rails
&lt;/h2&gt;

&lt;p&gt;After watching agentic workflows rack up runaway cloud bills and attempt unsafe operations, I realized most existing frameworks (AutoGPT, BabyAGI, etc.) provide &lt;strong&gt;action capability&lt;/strong&gt; but lack &lt;strong&gt;safety brakes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI agents that act without control are dangerous.&lt;br&gt;&lt;br&gt;
AI agents that wait for approval for everything are useless.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;GO-GATE&lt;/strong&gt; to solve this.&lt;/p&gt;


&lt;h2&gt;
  
  
  What is GO-GATE?
&lt;/h2&gt;

&lt;p&gt;GO-GATE is a &lt;strong&gt;security kernel&lt;/strong&gt; for AI agents that brings database-style &lt;strong&gt;Two-Phase Commit (2PC)&lt;/strong&gt; guarantees to agent operations:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
PREPARE → PENDING → COMMIT / ABORT

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
`&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Features
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Two-Phase Commit&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Ensures dangerous operations don’t execute accidentally&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Risk Tiers&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;LOW (auto) / MEDIUM (verify) / HIGH (human required)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Fail-Closed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Unknown operations default to human approval&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Sandboxed Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No shell injection, path traversal prevention&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Immutable Audit&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SQLite WAL, append-only logging&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;bash&lt;br&gt;
pip install go-gate&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;`&lt;/p&gt;

&lt;p&gt;python&lt;/p&gt;

&lt;p&gt;import asyncio&lt;br&gt;
from go_gate import GoGate&lt;/p&gt;

&lt;p&gt;async def main():&lt;br&gt;
    gate = GoGate()&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# LOW risk: auto-approved
result = await gate.execute({
    "op_type": "FILE_WRITE",
    "target": "./data/output.txt",
    "payload": {"content": "Hello World"},
})
print(result.status)  # COMMITTED

# HIGH risk: requires human approval
result = await gate.execute({
    "op_type": "GIT_PUSH",
    "target": "origin",
    "payload": {"refspec": "HEAD"},
})
print(result.status)  # PENDING_HUMAN_APPROVAL
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;asyncio.run(main())&lt;/p&gt;




&lt;h2&gt;
  
  
  Runs Locally (No Cloud Required)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;No cloud dependency&lt;/li&gt;
&lt;li&gt;No API key leakage risk&lt;/li&gt;
&lt;li&gt;Data never leaves your machine&lt;/li&gt;
&lt;li&gt;Apache 2.0 open source&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Comparison: Why Existing Frameworks Fall Short
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Framework&lt;/th&gt;
&lt;th&gt;Safety Model&lt;/th&gt;
&lt;th&gt;Issue&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AutoGPT&lt;/td&gt;
&lt;td&gt;No built-in safety&lt;/td&gt;
&lt;td&gt;Fully autonomous, can execute dangerous ops&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;BabyAGI&lt;/td&gt;
&lt;td&gt;No built-in safety&lt;/td&gt;
&lt;td&gt;Same issue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GO-GATE&lt;/td&gt;
&lt;td&gt;Fail-closed&lt;/td&gt;
&lt;td&gt;Unknown = human approval, never blind&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Key difference:&lt;/strong&gt; GO-GATE isn’t “another agent framework” — it’s &lt;strong&gt;safety infrastructure&lt;/strong&gt; that plugs into any existing system.&lt;/p&gt;




&lt;h2&gt;
  
  
  Use Cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Autonomous code generation agents&lt;/li&gt;
&lt;li&gt;Automated DevOps workflows&lt;/li&gt;
&lt;li&gt;Enterprise AI systems (compliance requirements)&lt;/li&gt;
&lt;li&gt;Any AI application needing deterministic safety&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Built By
&lt;/h2&gt;

&lt;p&gt;A mechanical engineer from Norway 🇳🇴, on my own hardware.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/billyxp74/go-gate" rel="noopener noreferrer"&gt;https://github.com/billyxp74/go-gate&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Would love feedback on the architecture and security model!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tags (dev.to):&lt;/strong&gt; &lt;code&gt;#python #ai #opensource #security #devops #machinelearning&lt;/code&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>ai</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
