Research65

Show HN: A tiny C program where an LLM rewires its DAG while running

Github.comby mrkn1May 5, 2026

A small C program allows a planning LLM to dynamically edit its own execution graph (DAG) mid-run using a constrained four-verb grammar.

Show HN: A tiny C program where an LLM rewires its DAG while running

Source: Github.com
Published: 2026-05-05
Category: LLM, AI Agents, Developer Tools
Event Type: Research Release
Importance Score: 65

Summary

A small C program allows a planning LLM to dynamically edit its own execution graph (DAG) mid-run using a constrained four-verb grammar.

Key Points

  • The project is a ~1000-line C program designed to run YAML-defined Directed Acyclic Graphs (DAGs).
  • An integrated LLM acts as a planner, capable of modifying the DAG structure while it is executing.
  • Edits are restricted to a four-verb grammar (RETRY, PATCH, INSERT_BEFORE, etc.) to maintain auditability.

Detected Entities

TypeNameConfidence
Productliteflow0.90
ModelPlanner LLM0.85

Related Products

  • liteflow

Source

https://github.com/kouhxp/liteflow

Detected Entities

TypeNameConfidence
Productliteflow0.90
ModelPlanner LLM0.85

Related Products