// HACKER NEWS — CYBERSECURITY
Show HN: AgentRun: DSL to turn agents into workflows
AgentRun is a workflow language for the agents you already run. Define repeatable steps, use Jev for focused decisions, and call an agent when the work needs investigation. Your application keeps its tools, model access, permissions, and budgets.
Quickstart · Documentation · Examples · Pi extension · Agent instructions
The support example below follows this workflow with scripted tools and model responses.
This ticket-routing demo uses scripted decisions and needs no API key. Next, run and change a workflow in your own app. To run the support workflow shown above, use the checkout below. To build workflows with your agent, install the Pi extension.
To run the workflow in the animation, clone the examples and build:
This runs the interpreter with scripted tools, Jev answers, and agent responses. It needs no API key and sends no customer replies.
Try npm run demo:support -- unresolved to see an escalation. It exits with code 2. The responses are scripted; changing a prompt does not change them.
Connect live Jev and your agent, or give these instructions to your coding agent.
The support workflow requires answer text and a source reference. Jev must also answer yes with confidence of at least 0.8. Otherwise, the workflow allows one agent attempt and checks again. If the answer still fails those checks, it escalates for review. You choose the criteria and thresholds for your task.
These are the search and decision nodes from that workflow: