Skip to content

symfonic.core.presets_react

presets_react

The default ReAct-loop topology, split out of :mod:symfonic.core.presets.

presets holds the GraphPreset protocol and the thin topologies that delegate to this one; the react loop itself is the only preset with real wiring, and at ~215 lines it was most of that module's 303. Splitting it here keeps both files inside the 300-line budget and leaves presets readable as what it is: the catalogue.

Import direction is one-way — presets imports this module and re-exports ReactLoopPreset; nothing here imports presets.

ReactLoopPreset

Default preset: context_window -> react -> tools loop.

context_injection was removed from the default pipeline because ContextInjectionNode always returned {} with zero registered loaders. Hydration is now handled exclusively by SymfonicAgent._hydrate().