frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: AgentML – SCXML for Deterministic AI Agents (MIT)

https://github.com/agentflare-ai/agentml
4•jeffreyajewett•10h ago
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 frameworks

Example:

```

<?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.dev

We 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-graph

Would 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

Comments

gwillen85•10h ago
You can execute the above `OPENAI_API_KEY=YOUR_API_KEY amlx run researcher.aml`

Show HN: MyTimers.app offline-first PWA with no build step and zero dependencies

https://mytimers.app/
12•y3k•2h ago•6 comments

Show HN: a Rust ray tracer that runs on any GPU – even in the browser

https://github.com/tchauffi/rust-rasterizer
89•tchauffi•17h ago•25 comments

Show HN: Tamagotchi P1 for FPGAs

https://github.com/agg23/fpga-tamagotchi
55•agg23•6d ago•6 comments

Show HN: Chess960v2 – Stockfish tournament with different starting positions

https://chess960v2.com/en
2•lavren1974•3h ago•1 comments

Show HN: FinBodhi – Local-first, double-entry app/PWA for your financial journey

https://finbodhi.com/
31•ciju•16h ago•18 comments

Show HN: Centia.io – Open PostgreSQL/PostGIS back end for developers

https://centia.io/
23•mhoegh•1w ago•4 comments

Show HN: Serie – A rich Git commit graph in your terminal

https://github.com/lusingander/serie
14•lusingander•22h ago•1 comments

Show HN: An AI to match your voice to songs and artists you should sing

https://coach.singonesong.com
34•JacobSingh•13h ago•2 comments

Show HN: Secret Management for Local Development

https://github.com/athishrao/crux-vault
3•athish-rao•9h ago•0 comments

Show HN: Strange Attractors

https://blog.shashanktomar.com/posts/strange-attractors
786•shashanktomar•3d ago•75 comments

Show HN: WebAudio Data-Driven audio engine

https://github.com/mikezaby/blibliki
2•mikezaby•10h ago•1 comments

Show HN: Anki-LLM – Bulk process and generate Anki flashcards with LLMs

https://github.com/raine/anki-llm
55•rane•1d ago•22 comments

Show HN: AgentML – SCXML for Deterministic AI Agents (MIT)

https://github.com/agentflare-ai/agentml
4•jeffreyajewett•10h ago•1 comments

Show HN: React-like Declarative DSL for building synthetic LLM datasets

https://github.com/qforge-dev/torque
10•arturwala•11h ago•0 comments

Show HN: Why write code if the LLM can just do the thing? (web app experiment)

https://github.com/samrolken/nokode
430•samrolken•2d ago•316 comments

Show HN: Extrai – An open-source tool to fight LLM randomness in data extraction

https://github.com/Telsho/Extrai
4•elias_t•12h ago•0 comments

Show HN: Pipelex – Declarative language for repeatable AI workflows

https://github.com/Pipelex/pipelex
120•lchoquel•6d ago•27 comments

Show HN: Weak Incentives – lean, minimalistic toolkit for background agents

https://github.com/weakincentives/weakincentives
2•andreisavu•14h ago•1 comments

Show HN: JotChain – Get more out of your daily work notes

https://jotchain.com
3•morozred•14h ago•3 comments

Show HN: Complete Claude Code Resource with 3-Minute Setup

https://github.com/jmckinley/claude-code-resources
3•johnmckinley•15h ago•1 comments

Show HN: In a single HTML file, an app to encourage my children to invest

https://roberdam.com/en/dinversiones.html
247•roberdam•4d ago•434 comments

Show HN: A pragmatic SQLite schema for application-level caching

https://gist.github.com/ewaldbenes/e48b9b4c1d0e1cb7175dfdd868addd58
2•ebenes•16h ago•0 comments

Show HN: Pianolyze – Learn any piano song using AI/ML, right in the browser

https://pianolyze.com/
4•nickplee•17h ago•1 comments

Show HN: Pydoll, a type-safe asyncio lib for evading bot detection

https://pydoll.tech/docs/deep-dive/fingerprinting/
3•thalissonvs•17h ago•0 comments

Show HN: Give your coding agents the ability to message each other

https://github.com/Dicklesworthstone/mcp_agent_mail
13•eigenvalue•1d ago•2 comments

Show HN: Quibbler – A critic for your coding agent that learns what you want

https://github.com/fulcrumresearch/quibbler
114•etherio•4d ago•27 comments

Show HN: Learn German with Games

https://www.learngermanwithgames.com/
125•predictand•5d ago•106 comments

Show HN: Duper – The Format That's Super

https://duper.dev.br/
31•epiceric•2d ago•15 comments

Show HN: Safebox: Open-source framework for managing self-hosted apps (Beta)

2•drebora•21h ago•0 comments

Show HN: A simple drag and drop tool to document and label fuse boxes

https://github.com/alexadam/fuse-box-labels
26•eg312•3d ago•6 comments