The core of the modernization. Split Sherpa into (a) a state machine + context management core that owns workflow, transitions, guardrails and what-to-keep/what-to-throw, and (b) the LLM modules that currently do generation, tool calling and parsing. Once separated, the LLM half can be supplied by a host agent — Claude Code, Codex, or another — and Sherpa becomes the explicit-workflow layer they plug into.
Everything else in this project is downstream of this split.
The core of the modernization. Split Sherpa into (a) a state machine + context management core that owns workflow, transitions, guardrails and what-to-keep/what-to-throw, and (b) the LLM modules that currently do generation, tool calling and parsing. Once separated, the LLM half can be supplied by a host agent — Claude Code, Codex, or another — and Sherpa becomes the explicit-workflow layer they plug into.
Everything else in this project is downstream of this split.