<?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: Maurizio</title>
    <description>The latest articles on DEV Community by Maurizio (@anhonestboy).</description>
    <link>https://dev.to/anhonestboy</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%2F3957376%2Fe441cbb5-34c1-4bdd-a6bc-b3527862fda1.jpeg</url>
      <title>DEV Community: Maurizio</title>
      <link>https://dev.to/anhonestboy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anhonestboy"/>
    <language>en</language>
    <item>
      <title>I'm a photographer. I built a DSL for multi-agent workflows.</title>
      <dc:creator>Maurizio</dc:creator>
      <pubDate>Thu, 28 May 2026 22:33:46 +0000</pubDate>
      <link>https://dev.to/anhonestboy/im-a-photographer-i-built-a-dsl-for-multi-agent-workflows-roast-me-k4</link>
      <guid>https://dev.to/anhonestboy/im-a-photographer-i-built-a-dsl-for-multi-agent-workflows-roast-me-k4</guid>
      <description>&lt;p&gt;I'm a wedding photographer. Over the past couple of months I fell down a rabbit hole and built something I honestly can't evaluate, because I don't fully understand what I built. I need your take.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;AgentFlow DSL&lt;/strong&gt; — you write a &lt;code&gt;.aflow&lt;/code&gt; file describing agents, phases, and loops. It auto-exposes as an MCP tool in Claude Code. Zero Python glue.&lt;/p&gt;

&lt;p&gt;Example: a 3-agent workflow with a quality loop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workflow code_quality
  agents:
    agent writer     → model: "local-fast"
    agent tester     → model: "openrouter-smart"
    agent critic     → model: "claude-sonnet"

  loop quality_gate
    phases: [write, test, review]
    repeat_while: review.verdict == "needs_work"
    max_iterations: 10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Writer generates code → Tester tries to break it → Critic reviews. If the critic says "needs_work", it loops back with feedback. 68 lines total.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does it actually work?
&lt;/h2&gt;

&lt;p&gt;Yes, somehow. Tested with real OpenRouter calls (Gemini Flash). 92 tests pass. Three executors: Claude SDK, OpenRouter API, Ollama. MIT license.&lt;/p&gt;

&lt;p&gt;But here's the thing: &lt;strong&gt;I coded most of this without fully understanding what I was doing.&lt;/strong&gt; The tokenizer, the parser, the compiler. I wrote them, but if you asked me to explain the theory, I'd struggle. Claude Code (the irony) helped me write a lot of it. I'm genuinely not sure if I built a real compiler or just a fancy string processor with a loop.&lt;/p&gt;

&lt;h2&gt;
  
  
  My honest questions
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Does this solve a real problem or did I reinvent Python with extra characters?&lt;/li&gt;
&lt;li&gt;LangGraph, CrewAI, AutoGen already exist, is a declarative DSL actually &lt;em&gt;better&lt;/em&gt;, or do developers prefer writing code?&lt;/li&gt;
&lt;li&gt;Is "docker-compose for AI agents" a useful framing or marketing fluff?&lt;/li&gt;
&lt;li&gt;If you look at the code, is it architecturally solid or fundamentally wrong?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repo:&lt;/strong&gt; &lt;a href="https://github.com/anhonestboy/agentflow" rel="noopener noreferrer"&gt;github.com/anhonestboy/agentflow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;npm:&lt;/strong&gt; &lt;code&gt;@anhonestboy/agentflow&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;I'm a photographer, not a professional developer. Tear it apart.&lt;/strong&gt; If it's trash, say so. If there's something here, tell me what to focus on.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>agents</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
