← Back to AI Insights
Gemini Executive Synthesis

AgentRun: DSL to turn agents into workflows.

Technical Positioning
An open-source DSL for converting repeatable agent work into inspectable, cost-effective workflows, combining tool calls, code, and AI agents.
SaaS Insight & Market Implications
AgentRun addresses the challenge of operationalizing and optimizing AI agent work by providing a DSL to convert repeatable tasks into structured workflows. This is critical for managing the cost and complexity of AI agent deployments in enterprise settings. By enabling the combination of tool calls, code, and AI agents within a defined workflow, it offers greater control, auditability, and efficiency. The ability to inspect steps, evaluate evidence screening, and modify individual agents without rebuilding the entire system significantly enhances developer productivity and reduces operational overhead. For B2B SaaS, AgentRun is a foundational tool for building robust, scalable AI applications. It enables enterprises to move beyond ad-hoc agent usage to systematic, cost-optimized AI workflows, particularly in areas like research, data processing, and automated decision-making. This product directly supports the industrialization of AI within organizations.
Proprietary Technical Taxonomy
DSL agents into workflows tool calls code Jev-powered system one decisions routing screening evidence traces

Raw Developer Origin & Technical Request

Source Icon Hacker News Sep 24, 2026
Show HN: AgentRun: DSL to turn agents into workflows

Hi HN,I just open sourced the DSL that our harness in grep.ai uses to turn repeatable parts of agent work into workflows. You can combine tool calls, code, Jev-powered system one decisions for things like routing and screening evidence, and agents when a step needs more investigation.Our harness uses the traces and retro notes agents leave behind when doing a job to figure out which parts can become a workflow. The idea is to make the work easier to understand and avoid paying for a full agent loop where one isn’t needed.
For example, a research workflow can split a question into subquestions, send agents to research them in parallel, use Jev to screen the evidence, and have another agent write the report. You can inspect the steps, evaluate the evidence screening separately, or change one agent without rebuilding everything.The DSL and examples are in our GitHub. There’s a scripted demo you can run without API keys: github.com/Parcha-ai/agentru... can also use it as a Pi extension to build, inspect, and run workflows: github.com/Parcha-ai/agentru... would love to hear if this is useful to others.More background on how AgentRun works in this video:

Or read about our use cases in this article: x.com/MiguelriosEN/stat...

Developer Debate & Comments

8Dave0 • Sep 28, 2026
[dead]
RomanKornev • Sep 25, 2026
Interesting use of Jev-as-a-judge.How do you deal with having to reason before judging a step?
alex7o • Sep 25, 2026
This is just a custom workflow engine, but for sth like that you could have used any of the existing ones and given it to agents. Stuff like, Temporal, Erandril have a durable workflow solution build on pg only as well, or windmill/airflow depending on how you look at it. But without the nice ui given by these tools.
voganmother42 • Sep 25, 2026
Consider hosting your use case article somewhere else (also)
speckzzz • Sep 24, 2026
Graph workflows are useless if there are edges without cost or effor attribues and termination states without reward. Such workflow can be vibecoded in one-shot anyone who knows about graphs.I thought some time ago about expressing SDLC as combination of harness tools, finite state machines with weights (efforts) on edges and rewards on some states. The goal - model queue of tasks as sub-workflows and implement the most valuable. I tried to design approach which will allow to maximize reward with minimal costs and risks via Markov Decision Process. Hypotetically i can implement it. But it all ends up being really hard to wrap your head around because of the state machines, custom runtime for scripts, the agent loop control, supervisor's control mechanisms. Then you have to tune the weighting models. The model can be similar to models from reinforcement learing. Even if I pull it off, I'd have to be damn lucky for even one other person to figure it out. And the project will have from 3 to 5 stars on GitHub because almost nobody will understand what is it and how to use.
JonathanAgosto • Sep 24, 2026
¡Wepa Miguel! ¡Felicidades y mucho éxito con el release!Congratulations, and wishing you the best with this release!
frank_clover • Sep 24, 2026
[dead]
JustFinishedBSG • Sep 24, 2026
I'll study it as I am toying with "what should a workflow definition language look like".My current vision, and prototype, is that it should be as close as possible to a "real" language as possible so that both the user and the agent know immediately how to use it and how it functions.So for `pi` it means using typescript.Then the UI is derived from the AST / code as much as possible and for things that aren't neatly possible like that I eventually add small semantic helpers that define the UI.For example "plan -> execute" is: await flow.unroll( remaining.map(point => ({ key: point.id, label: point.objective, })), async () => { for (const point of remaining) { await flow.item(point.id, async () => await flow.agent(executePoint, { title: `Point ${point.id}`, prompt: point.objective, })); } }, { title: `Plan r${planRevision}` }, ); ( simplified code ) in my implementation and `unroll` is only there to have a nice ● Plan r1 · 1/3 · active 1. Inspect parser behavior ● 2. Add empty-input coverage ○ 3. Run focused checks UI instead of a plain "Plan · 1/3" UI with no detail (which would happen if I just used a for loop, yes it works)
ethan1998 • Sep 24, 2026
Interesting, I want to know more about the comparison test with running codes directly.
lubosPetorvic • Sep 24, 2026
[dead]

Frequently Asked Questions

Market intelligence mapped to AgentRun: DSL to turn agents into workflows..

What problem does AgentRun: DSL to turn agents into workflows. solve?
Based on our AI analysis of the original developer request, its primary technical positioning is: An open-source DSL for converting repeatable agent work into inspectable, cost-effective workflows, combining tool calls, code, and AI agents.
Are engineers actively discussing AgentRun: DSL to turn agents into workflows.?
Yes, we have tracked 12 direct responses and active debates regarding this specific topic originating from Hacker News.
What are the foundational technologies related to AgentRun: DSL to turn agents into workflows.?
Our proprietary extraction maps AgentRun: DSL to turn agents into workflows. to adjacent architectural concepts including DSL, agents into workflows, tool calls, code.

Engagement Signals

51
Upvotes
12
Comments

Cross-Market Term Frequency

Counts stored text matches for foundational terms like code and routing in analysed public discussions. These counts do not measure adoption.

Stored text matches, not adoption or market-share measurements.

  • code: 354 records
  • routing: 26 records
  • traces: 17 records
  • tool calls: 16 records
  • DSL: 9 records
  • parallel agents: 3 records
  • agents into workflows: 1 records
  • Jev-powered system one decisions: 1 records
  • screening evidence: 1 records
  • retro notes: 1 records
  • research workflow: 1 records
  • subquestions: 1 records
  • inspect steps: 1 records
  • evaluate evidence screening: 1 records
  • Pi extension: 1 records