You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EPIC. Compile a stargraph workflow into LLM weights end-to-end — the paper's "subterranean agent" applied to stargraph itself: full-parameter fine-tune a small model to internalize a whole workflow, serve it under a minimal prompt at a fraction of the per-conversation cost, and call it like any other graph. Three user-facing capabilities: (B) given a prompt, generate the workflow, (A) compile that workflow into weights, (C) invoke the compiled workflow via a stargraph call/function.
prompt ─①gen──▶ graph ─②data──▶ dataset ─③compile──▶ weights ─④host──▶ pinned ─⑤node/⑥tool──▶ callable
└─ eval gate before alias flip ─┘
Decisions (locked).
Compile = full-parameter offline fine-tune (paper-faithful). stargraph owns the handoff (dataset out, checkpoint registered), NOT the GPU training loop. torch/vLLM are optional extras, never core deps.
Build order: ④ + ① in parallel → ② → ③ → ⑤ → ⑥, with the gate (#171) landing before any staging → production alias flip.
Tension & resolution. The compiled model is an opaque router, which inverts stargraph's "no LLM routes" thesis and brushes #117. Resolved by the knob (default hybrid/rules-only), origin='llm' provenance tagging on every compiled emission, content-hash pinning of the checkpoint, and the eval gate. Relates to #41 (custom-node entry points), #42 (skill discovery registry), #56 (MLNode runtime), #151 (separate RAG eval harness).
Out of scope (future): auto-recompile-on-graph-hash-delta trigger (drift controller); first-class local/vLLM provider catalog. Tracked as follow-ons, not in this epic.
Source: arXiv:2605.22502v1 — "Compiling Agentic Workflows into LLM Weights" (subterranean agents). Part of the end-to-end compile-to-weights pipeline epic; file refs verified against current main. Determinism: per-graph knob (fully-compiled | hybrid | rules-only) defaults to honor #117 (no learned core router).
EPIC. Compile a stargraph workflow into LLM weights end-to-end — the paper's "subterranean agent" applied to stargraph itself: full-parameter fine-tune a small model to internalize a whole workflow, serve it under a minimal prompt at a fraction of the per-conversation cost, and call it like any other graph. Three user-facing capabilities: (B) given a prompt, generate the workflow, (A) compile that workflow into weights, (C) invoke the compiled workflow via a stargraph call/function.
Decisions (locked).
fully-compiled|hybrid(compile fluent legs, keep Fathom rules + provenance at audited decision hubs) |rules-only. Default honors ADR: name learned-policy (GRPO) retrieval an explicit core non-goal #117 (no learned core router).Sub-issues (sequence).
compile-data)Build order: ④ + ① in parallel → ② → ③ → ⑤ → ⑥, with the gate (#171) landing before any
staging → productionalias flip.Tension & resolution. The compiled model is an opaque router, which inverts stargraph's "no LLM routes" thesis and brushes #117. Resolved by the knob (default hybrid/rules-only),
origin='llm'provenance tagging on every compiled emission, content-hash pinning of the checkpoint, and the eval gate. Relates to #41 (custom-node entry points), #42 (skill discovery registry), #56 (MLNode runtime), #151 (separate RAG eval harness).Out of scope (future): auto-recompile-on-graph-hash-delta trigger (drift controller); first-class local/vLLM provider catalog. Tracked as follow-ons, not in this epic.
Source: arXiv:2605.22502v1 — "Compiling Agentic Workflows into LLM Weights" (subterranean agents). Part of the end-to-end compile-to-weights pipeline epic; file refs verified against current
main. Determinism: per-graph knob (fully-compiled | hybrid | rules-only) defaults to honor #117 (no learned core router).