Show HN: We built an AI-agent with a state machine instead of a giant prompt

Hacker News - AI
Jul 4, 2025 11:15
chandralegend
1 views
hackernewsaidiscussion

Summary

A team developed NOMOS, an open-source engine that uses a step-based state machine to manage LLM agents, addressing the unpredictability and lack of testability found in prompt-based approaches. By making each state explicit and independently testable, NOMOS offers greater reliability, traceability, and ease of collaboration for enterprise AI workflows. This approach could set a new standard for building robust, maintainable AI agents in production environments.

Hi HN, Last year we tried to bring an LLM “agent” into a real enterprise workflow. It looked easy in the demo videos. In production it was… chaos. • Tiny wording tweaks = totally different behaviour • Impossible to unit-test; every run was a new adventure • One mega-prompt meant one engineer could break the whole thing • SOC-2 reviewers hated the “no traceability” story We wanted the predictability of a backend service and the flexibility of an LLM. So we built NOMOS: a step-based state-machine engine that wraps any LLM (OpenAI, Claude, local). Each state is explicit, testable, and independently ownable—think Git-friendly diff-able YAML. Open-source core (MIT), today. • GitHub: https://github.com/dowhile/nomos • Documentation: https://nomos.dowhile.dev Looking ahead: we’re also prototyping Kosmos, a “Vercel for AI agents” that can deploy NOMOS or other frameworks behind a single control plane. If that sounds useful, Join the waitlist for free paid membership for limited amount of peopl

Related Articles

Dogwifhat’s Rise Was Just the Beginning—Here’s How Arctic Pablo Could Be the Next Meme Coin Millionaire Maker

Analytics InsightJul 4

The article discusses the rapid rise of meme coins like Dogwifhat and highlights Arctic Pablo as a potential next big player in the space. While the focus is on cryptocurrency trends, the article implies that AI-driven trading tools and sentiment analysis are increasingly influencing meme coin popularity and investment strategies. This suggests a growing intersection between AI technologies and the volatile world of meme-based digital assets.

4 Top Altcoins to Watch for Gains: BlockDAG, INJ, BCH, and RNDR Gear Up for the Next Rally!

Analytics InsightJul 4

The article highlights four altcoins—BlockDAG, Injective (INJ), Bitcoin Cash (BCH), and Render (RNDR)—as promising candidates for gains in the next crypto rally. Of particular relevance to the AI field is Render (RNDR), which provides decentralized GPU computing power for AI and graphics applications, potentially accelerating AI development and deployment. The article suggests that increased interest in such AI-focused blockchain projects could drive innovation and investment in the sector.

AI Coding Tools Create More Bugs Than They Fix

Hacker News - AIJul 4

A recent article highlights that AI coding tools, while promising increased productivity, often introduce more bugs than they resolve. This raises concerns about their reliability and suggests that developers should use these tools cautiously, as overreliance could compromise code quality and software security. The findings underscore the need for further refinement and oversight in the deployment of AI-assisted programming solutions.