Ah

Aharness – Enforce coding-agent workflows as state machines on Codex

Hacker News

Aharness – Enforce coding-agent workflows as state machines on Codex

Agents are capable enough for long, autonomous, multi-step work now, if they have the right guardrails.. The failure mode is now process drift and context management. Prompts and skills can describe a process, but they can't enforce it. Aharness turns the process into a runtime. You (your agent) write the workflow as a finite state machine in TypeScript: states define what Codex may do next, typed submissions prove what happened, and transitions only occur through validated exits. If a state doesn't expose an exit, the model can't take it. The bet is that useful workflows are reusable software, not prompts copied around. FSMs are meant to be maintained, shared, and built upon. Install your favorite workflow as an npm package and build on top of it. Aharness plugs into the Codex setup you already use: your AGENTS.md, skills, MCP servers, and permissions. The missing step between a skill and a custom agent harness. Early experiment, Apache-2.0. Feedback welcome, especially on the authoring model and composition. What about Claude Code dynamic workflows? Both approaches attempt to solve the same problem with different hypothesis. Dynamic workflows assume that claude is capable of designing workflows that match the process you want, and they are one-offs. Aharness assumes that you want control over your workflow, to improve it over time, an build upon it.

Share card

Actual performance

4points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, agents, agent · Missing: macos, cursor, apple
99%99% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
75%75% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
38%38% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
30%30% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
24%24% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
22%22% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

SO
SOS – Project state between coding agent sessions30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SOS – Project state between coding agent sessions

Hacker News1
Be
Bestie, a coding agent that respects you59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bestie, a coding agent that respects you

Hacker News5
Ba
Bailout – The coding agent meant to be deleted53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bailout – The coding agent meant to be deleted

Hacker News2
Pr
Premortem, a coding-agent-powered airplane blackbox70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Premortem, a coding-agent-powered airplane blackbox

Hacker News3
do
docs-cli - coding-agent project state in Markdown34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

docs-cli - coding-agent project state in Markdown

Hacker News6
Ullbek
Ullbek87%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Website Coding Agent

Product Hunt+3
Be
Beating GPT5.5-xhigh for Coding agent security with SLMs and IRM32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Beating GPT5.5-xhigh for Coding agent security with SLMs and IRM

Hacker News9
Nv
Nv – workspace orchestrator for jj built for parallel agent workflows47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nv – workspace orchestrator for jj built for parallel agent workflows

Hacker News2
As
Asyncmachine-go, declarative workflows with relations (state machine)40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Asyncmachine-go, declarative workflows with relations (state machine)

Hacker News2
Ha
Hazzel – terminal coding agent, BYOK, undo-everything56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hazzel – terminal coding agent, BYOK, undo-everything

Hacker News2