AgentML
SCXML for Deterministic AI Agents (MIT)
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Hey HN,We’ve been experimenting with how to make AI agents more deterministic, observable, and production-safe, and that led us to build AgentML — an open-source language for defining agent behavior as state machines, not prompt chains.My co-founder posted before but linked to the project website instead of the repo, so resharing here.AgentML lets you describe your agent’s reasoning and actions as a finite-state model (think SCXML for agents). Each state, transition, and tool call is explicit and machine-verifiable.That means you can:- Reproduce any decision path deterministically- Trace reasoning and tool calls for debugging or compliance- Guarantee agents only take valid actions (e.g. “never send a payment before verification”)- Run locally, in the cloud, or within MCP-based frameworksExample:```<?xml version="1.0" encoding="UTF-8"?><agentml xmlns="github.com/agentflare-ai/agentml" xmlns:openai="github.com/agentflare-ai/agentml-go/openai" version="1.0" datamodel="ecmascript" name="researcher"><datamodel> <data id="papers" expr="[]" schema='{"type":"array","description":"Fetched papers from Hugging Face"}' /> <data id="summary" expr="''" schema='{"type":"string","description":"Summary of the papers"}' /> </datamodel><state id="start"> <onentry> <log label="Researcher: " expr="`Fetching papers from Hugging Face and summarizing with OpenAI\n`" /> <openai:generate model="gpt-4o" location="summary" stream="false"> <openai:prompt>Summarize these recent AI/ML papers from Hugging Face: {{fetch "https://huggingface.co/api/daily_papers"}} Provide a concise summary of the key trends, breakthroughs, and developments in AI/ML research. </openai:prompt> </openai:generate> </onentry> <transition target="log_summary" /> </state><state id="log_summary"> <onentry> <log label="Researcher Summary: " expr="summary" /> </onentry> <transition target="done" /> </state><final id="done" /></agentml>```We’re using this in Agentflare to add observability, cost tracking, and compliance tracing for multi-agent systems — but AgentML itself is fully open-source (MIT licensed).Repo: https://github.com/agentflare-ai/agentml Docs: https://docs.agentml.devWe also launched SQLite-Graph, a Cypher-compatible graph extension for SQLite, which will serve as the base for AgentML’s native memory layer. It’s also MIT licensed: https://github.com/agentflare-ai/sqlite-graphWould love feedback from anyone building with LLM orchestration frameworks, rule-based systems, or embedded MCP tool servers… especially around how to extend deterministic patterns to multi-agent coordination.— Jeff @ Agentflare
HN · launched Nov 3, 2025 · 5 upvotes (top 90%) · 0 views
Niche: ai agent development platforms · 598 launches, 22 in the last 7 days ▼ -29% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- AI-native
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 598 launches in ai agent development platforms →
Could you build this?
Partial Designing and executing an SCXML-compliant deterministic statechart engine for agentic workflows requires formal language parsing, state machine semantics, and runtime execution guarantees beyond typical vibe coding.
What it would actually take: A production implementation requires a formal SCXML/statechart parser, an event-driven deterministic execution loop (similar to XState or custom interpreters in Rust/TypeScript), and rigorous test suites for state transition consistency and edge cases. Integrating external LLM tool-calling into discrete, fail-safe states requires deep familiarity with formal automata theory and distributed workflow orchestration.
Discussion
1 comment analyzed.
Competitors
Other products that read as similar to this one : 1508 launches clear the similarity bar, closest 8 shown.
Attention rank: #1438 of 1509 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 3 days after the earliest competitor.
- Build agents via YAML with Prolog validation and 110 built-in tools · hn · 2026-01-23 · 11 upvotes · similarity 0.52
- Open Envelope · hn · 2026-05-28 · 52 upvotes · similarity 0.49
- open-source-agents · github · 2026-10-20 · 28 upvotes · similarity 0.48
- agents-md · github · 2026-11-03 · 122 upvotes · similarity 0.47
- Spec27 · hn · 2026-04-30 · 13 upvotes · similarity 0.47
- Multi Agent Protocol for AI Scientist by Hexo Labs · hn · 2026-06-25 · 5 upvotes · similarity 0.47
- Enzyme · hn · 2026-10-24 · 23 upvotes · similarity 0.47
- python-ai-agent-ollama · github · 2026-10-19 · 27 upvotes · similarity 0.46
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.