Typed graphs for LLM workflows
Glossia compiles a natural-language request into a typed graph, checks it before execution, runs it as a DAG, and records per-node traces. The study is whether deterministic checks and a bounded repair loop can catch model errors before execution.
Hypotheses
Type check before runtime
A domain declares node types, ports, and params. Patches outside that domain are rejected before the scheduler starts.
Repair with deterministic diagnostics
The analyzer returns a machine-readable issue on a node or edge. A bounded repair pass uses that report; a second model does not decide validity.
Trace as the unit of comparison
Each run records prompt version, model, token use, cost, latency, and output per step.
Citation check after generation
A claim is supported only when its quoted text appears in the cited source. The check is deterministic and runs after the model.
Limits
- Ten recorded research cases; four domains share the engine.
- Four hand-written sources; no live web or PDF ingestion.
- Default path uses recorded fixtures.
- Structural scoring only.
- In-process run registry. Read-only graph.