Show HN: AgentRun: DSL to turn agents into Workflows Parcha-ai open sourced AgentRun, a domain-specific language its grep.ai harness uses to convert repeatable agent work into inspectable workflows, combining tool calls, code, Jev-powered decisions and agents. The DSL and examples are on GitHub at github.com/Parcha-ai/agentrun, with a scripted demo that runs without API keys and a Pi extension for building, inspecting and running 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: https://github.com/Parcha-ai/agentrun https://github.com/Parcha-ai/agentrun You can also use it as a Pi extension to build, inspect, and run workflows: https://github.com/Parcha-ai/agentrun use-it-in-pi https://github.com/Parcha-ai/agentrun use-it-in-pi I would love to hear if this is useful to others. More background on how AgentRun works in this video: https://www.youtube.com/watch?v=vOVhtGjtwpg https://www.youtube.com/watch?v=vOVhtGjtwpg . Or read about our use cases in this article: https://x.com/MiguelriosEN/status/2101029313906987422 https://x.com/MiguelriosEN/status/2101029313906987422 . Comments URL: https://news.ycombinator.com/item?id=49821438 https://news.ycombinator.com/item?id=49821438 Points: 5 Comments: 0