<?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: Ambar</title>
    <description>The latest articles on DEV Community by Ambar (@ambar).</description>
    <link>https://dev.to/ambar</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%2F3842002%2Ff028627e-7b4a-44a5-bdf5-a7ee2146bdc5.jpg</url>
      <title>DEV Community: Ambar</title>
      <link>https://dev.to/ambar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ambar"/>
    <language>en</language>
    <item>
      <title>I built a simulator that runs AI regulations through 10,000 agents and shows you how many comply, relocate, and who evades</title>
      <dc:creator>Ambar</dc:creator>
      <pubDate>Tue, 24 Mar 2026 17:34:46 +0000</pubDate>
      <link>https://dev.to/ambar/i-built-a-simulator-that-runs-ai-regulations-through-10000-agents-and-shows-you-how-many-comply-1pa6</link>
      <guid>https://dev.to/ambar/i-built-a-simulator-that-runs-ai-regulations-through-10000-agents-and-shows-you-how-many-comply-1pa6</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwp132zq5hoget369eazf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwp132zq5hoget369eazf.png" alt=" " width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I got tired of AI policy debates being purely theoretical. Everyone argues about what a regulation should do. Nobody shows what companies will do.&lt;/p&gt;

&lt;p&gt;So I built SwarmCast.&lt;/p&gt;

&lt;p&gt;You upload a document — a policy draft, a news article, a hypothetical. It parses it and runs a population of heterogeneous agents (companies, startups, regulators, investors) through it across 15 jurisdictions. Compliance curves, evasion patterns, jurisdiction flight, lobbying coalitions — emerging from individual decisions, not hand-coded outcomes.&lt;/p&gt;

&lt;p&gt;Two things I cared about:&lt;/p&gt;

&lt;p&gt;Epistemic honesty. Every output is tagged GROUNDED, DIRECTIONAL, or ASSUMED. If a number traces to calibrated empirical data, it says so. If it's a structural assumption, it says that too. ASSUMED outputs are visually dimmed. Most simulation tools present all their numbers with equal confidence. This one doesn't.&lt;/p&gt;

&lt;p&gt;Adversarial injection. Push a belief into a fraction of the population mid-run and measure how far it spreads and how much it bends aggregate behavior. Built for testing whether a governance framework survives coordinated narrative pressure — not just whether it looks good on paper.&lt;/p&gt;

&lt;p&gt;Under the hood: vectorized engine runs ~3s for 10,000 agents. Optional LLM swarm mode spins up 23 persona agents in parallel to reason about the scenario and seed behavioral priors — slower, but the reasoning trace is readable and useful for presentations.&lt;/p&gt;

&lt;p&gt;Built it for AI policy. Curious what happens on financial regulation, public health mandates, climate. The engine doesn't know the difference.&lt;/p&gt;

&lt;p&gt;GitHub repo: &lt;a href="https://github.com/Ambar-13/SwarmCast#" rel="noopener noreferrer"&gt;https://github.com/Ambar-13/SwarmCast#&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try uploading something unexpected!&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>showdev</category>
      <category>ai</category>
      <category>swarmintelligence</category>
    </item>
  </channel>
</rss>
