<?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: ARUN SOMANATHAN</title>
    <description>The latest articles on DEV Community by ARUN SOMANATHAN (@arun_somanathan).</description>
    <link>https://dev.to/arun_somanathan</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%2F4161943%2Fe023d548-cbfb-451a-b08d-14be245781ca.png</url>
      <title>DEV Community: ARUN SOMANATHAN</title>
      <link>https://dev.to/arun_somanathan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arun_somanathan"/>
    <language>en</language>
    <item>
      <title>Stop Letting AI Agents Skip Steps—Give Them a Workflow Server to Operate Instead</title>
      <dc:creator>ARUN SOMANATHAN</dc:creator>
      <pubDate>Wed, 25 Nov 2026 17:32:18 +0000</pubDate>
      <link>https://dev.to/arun_somanathan/stop-letting-ai-agents-skip-steps-give-them-a-workflow-server-to-operate-instead-47im</link>
      <guid>https://dev.to/arun_somanathan/stop-letting-ai-agents-skip-steps-give-them-a-workflow-server-to-operate-instead-47im</guid>
      <description>&lt;p&gt;Since early 2025, I’ve been using an AI coding assistant to write most of my code. Like a lot of developers, I started with vibe coding before moving to a stricter spec-driven workflow. It was a massive upgrade, except for one stubborn flaw: getting the assistant to actually execute the same steps every single time. Fixing that turned into &lt;strong&gt;&lt;a href="https://github.com/infenia/yukta" rel="noopener noreferrer"&gt;Yukta&lt;/a&gt;&lt;/strong&gt;, an open-source workflow server.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: I was the CI pipeline
&lt;/h2&gt;

&lt;p&gt;At the time, I was building a project inside a private GitHub monorepo on the free tier—which meant zero CI minutes. Before merging anything into main, a whole checklist of validations had to pass. Since I couldn't count on the assistant to run through them without skipping steps, I ended up running every single command by hand in my terminal.&lt;/p&gt;

&lt;p&gt;Honestly, it felt completely backwards. I had an AI cranking out code at full speed, while the actual safety net still depended on my own memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three things I tried
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Put the checks in the prompt&lt;/strong&gt;: I listed the checks in every prompt. In a large multi-repo setup this gets tedious fast, because I had to say which checks applied to which part of the code that had changed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use skills&lt;/strong&gt;: This worked at first. On the happy path, the assistant followed the skill. But when a check failed, it tried to fix the problem and then stopped following the process. Sometimes it ran one step, sometimes a few, never reliably all of them.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That was the insight that mattered: an assistant can be given instructions, but you can't rely on it to follow a process the same way every time.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A script with an assistant in the loop. I defined the pipeline explicitly: format, lint, security scan, unit tests, integration tests. When a step failed, I captured the failure, fed it to another assistant to fix, and re-ran the checks.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This was reliable, but it was slow, because every step ran in full every time. In a monorepo I only wanted to test the module that changed and the modules related to it. The shell script grew quickly to handle all of those cases, and maintaining it became a problem of its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;Why can't we have a workflow engine that we configure as we want, without writing code, with plugins that let any tool join the workflow?&lt;/p&gt;

&lt;p&gt;I had seen the code-first version of this before. About seven years ago I worked on a project built on Spring Integration, where you define a workflow and execute it. The catch was that every workflow change meant changing code. LangChain and LangGraph take the same code-first approach. I also looked at n8n, but I wanted to start a flow from the command line as easily as running a shell script.&lt;/p&gt;

&lt;p&gt;So I decided to build my own. The core idea: &lt;strong&gt;the workflow is data in a running server, so you can change it at run time, with no rebuild and no redeploy.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Yukta is
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/infenia/yukta" rel="noopener noreferrer"&gt;Yukta&lt;/a&gt; is an open-source workflow server. You write a job down once as a flowchart, and Yukta runs every step as written. A step can be a script, a tool, a rule, an AI agent, or a person's approval. You can also pause or steer a run, or put a supervisor in charge of it, while it is running.&lt;/p&gt;

&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Furf7r0ziv3f6xmegp3vb.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Furf7r0ziv3f6xmegp3vb.png" alt="Diagram of how Yukta fits together: people and AI assistants control the Yukta server through a web UI, CLI, REST API or MCP. The server contains a workflow engine, plugins and supervisors, with an optional Plus build for durable storage, high availability and remote workers. It runs scripts and tools, AI tools as steps, and asks people for approval." width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  A few design decisions came out of my earlier pain:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Backpressure first&lt;/strong&gt;: My old Spring Integration project failed often under memory pressure because it had no backpressure. So it was the first requirement, and I built Yukta on Spring WebFlux and Reactor, which provide it natively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Any AI assistant can operate it&lt;/strong&gt;: Editing a graph with hundreds of nodes and edges is hard for a human, and AI is good at creating, reading and modifying graphs. So I made every operation in Yukta usable by an AI. If your assistant can call tools or speak MCP, it can create, edit, start, pause and stop workflows. The same controls are in a CLI, a REST API and a web UI. You can describe a workflow in plain words, for example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Build a workflow that checks a release ticket, asks a model to draft the release notes, and waits for my approval before deploying.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The installer can connect the assistants it finds, including Claude Code, Codex, Antigravity, Cursor, VS Code, Windsurf and OpenCode.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI-first, but never AI-dependent&lt;/strong&gt;: I designed Yukta so that an AI assistant can take full control of it: build workflows, run them, watch them and change them. But Yukta doesn't need an AI to work. A workflow is a JSON definition, and the server runs it the same way whether an assistant is connected or not. AI only comes into play if you add an optional AI step to a workflow or connect an assistant yourself.&lt;/p&gt;

&lt;p&gt;That allows a practical pattern. Use an AI assistant in your development environment to design and test a workflow, then take the resulting workflow JSON and apply it to a Yukta server where AI isn't allowed, such as a locked-down production environment. There it runs completely on its own, with no AI involved, as long as the workflow has no AI steps in it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assistants as workflow steps&lt;/strong&gt;: Instead of writing custom agents and hosting them yourself, Yukta runs existing AI command-line tools such as Claude Code and Codex as steps inside a workflow. The process around them is enforced by the workflow, not by a prompt, so a failed check blocks the work instead of being talked around.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supervisors&lt;/strong&gt; Once assistants are running as steps, the next question is: what if one goes rogue? So Yukta has supervisors. A supervisor can watch a whole workflow, a single step or a group of steps, and it can pause, start or stop them within the permissions it has been given. Supervisors can form a hierarchy and escalate upward, much like an operator, a floor supervisor and a plant manager.&lt;/p&gt;

&lt;p&gt;What a supervisor decides is separate from what it is allowed to do. Decisions come from pluggable "decision makers", so you can give a supervisor your own logic, or even an AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;Yukta installs as a single program. Pick your system. The commands below point at the current alpha, so check the README for the latest release.&lt;/p&gt;

&lt;h3&gt;
  
  
  Linux and macOS
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://github.com/infenia/yukta/releases/download/v0.1.0-alpha.5/install.sh &lt;span class="o"&gt;|&lt;/span&gt; sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Windows (PowerShell):
&lt;/h3&gt;

&lt;p&gt;Download yukta--windows-amd64.zip from the release page, then:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Expand&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Archive&lt;/span&gt; &lt;span class="n"&gt;yukta&lt;/span&gt;&lt;span class="o"&gt;-&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;-&lt;/span&gt;&lt;span class="n"&gt;windows&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;amd64&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zip&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Docker (any OS)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker pull ghcr.io/infenia/yukta:0.1.0-alpha.5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At the end, the install script offers to connect the AI assistants it finds on your machine (Claude Code, Codex, Cursor, VS Code and others). You can also do that later with &lt;code&gt;yukta-cli agents install&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Installing does not start the server. That's the next step.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running it
&lt;/h2&gt;

&lt;p&gt;Out of the box, Yukta won't run commands on your machine or load plugins that reach the outside world. You switch on only what you need. These settings allow what the bundled examples use, which the installer puts in &lt;code&gt;~/.local/share/yukta/examples&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;YUKTA_PLUGINS_ENABLED&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;all
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;YUKTA_PROCESS_ALLOWED_COMMANDS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;sh,echo,shuf,python3,git,uv,bun,node,npm
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;YUKTA_VARIABLES_ALLOWED&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;java.io.tmpdir
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;YUKTA_AI_PRESETS_DIR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$HOME&lt;/span&gt;/.local/share/yukta/examples/3-paid-tools/16-agent-console/agent-harnesses
yukta start     &lt;span class="c"&gt;# runs the server in the background&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then yukta status shows whether it is running, and yukta stop shuts it down. Docs are at &lt;a href="https://yukta.infenia.com/" rel="noopener noreferrer"&gt;yukta.infenia.com&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Honest limits
&lt;/h2&gt;

&lt;p&gt;It's alpha (0.1.0-alpha.5), and I'd rather you hear the limits from me:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The workflow format and the APIs can still change before 1.0, and alpha.5 itself contains several breaking changes.&lt;/li&gt;
&lt;li&gt;Everything is kept in memory by default, so stopping the server loses your sessions and run history. Saving data to disk or a database is on its way, in a separate Plus build that is still in progress.&lt;/li&gt;
&lt;li&gt;The macOS and Windows builds are new and not signed yet.
Yukta won't run commands on your machine or load plugins that reach the outside world unless you allow them. Workflows can run the commands you allow, so allow only what you trust and let only people you trust write workflows.&lt;/li&gt;
&lt;li&gt;The core has run reliably in multi-hour tests, but the modules around it have edge cases I haven't covered yet.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;The Community edition is Apache-2.0 and includes the engine, UI, CLI, MCP server and plugins. A separate Plus build, still in progress, will add durable storage, high availability and remote workers. It is AGPL-3.0-only, with a commercial licence available.&lt;/p&gt;

&lt;h2&gt;
  
  
  Help me find the bugs
&lt;/h2&gt;

&lt;p&gt;So far I've only been able to test Yukta on my own machine, and on a limited set of setups at that, so there are problems I haven't seen. My plan is to fix as many as I can through the alpha releases, then move to beta, and finally to a stable 1.0 release. Your feedback now decides what gets fixed first.&lt;/p&gt;

&lt;p&gt;What would help most:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Install it and tell me where it breaks&lt;/strong&gt;. Include your OS, your CPU architecture and how you installed it (script, zip or Docker).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Try one of your own processes&lt;/strong&gt; and tell me which real-world workflows you'd model this way, and where a step-by-step graph falls short.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connect your AI assistant&lt;/strong&gt; and ask it to build a workflow. Tell me which assistant you used and what went well or badly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Point out anything confusing&lt;/strong&gt; in the docs or the first-run experience.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best place for bugs and ideas is &lt;a href="https://github.com/infenia/yukta/issues/new/choose" rel="noopener noreferrer"&gt;GitHub issues&lt;/a&gt;. Comments below are welcome too, and I'll read every one.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Disclosure: the story, design decisions and code are mine, and I used AI coding tools to help write the implementation. An AI assistant helped me structure and draft this article from my own notes, and I reviewed and edited it.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>automation</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
