Proposal: provider-neutral typed decisions for LangGraph Python and JS

I’d like to connect dedicated decision models to existing LangGraph LLM workflows in both Python and JS. A decision should be able to request any subset of named Choice, Noul, and Score judgments, then use the result either as a graph node that retains the full response or as a conditional-edge router.

The proposed TypedDecision accepts an application-owned evaluator and an explicit projection of graph state. Providers return named answers in an answers object, with room for provider-specific fields. This adds no provider SDK dependency to LangGraph. Prototypes are available for Python and JS; the JS tests include an LLM → decision → LLM graph.

Before opening PRs, would maintainers prefer this abstraction in the core graph packages, a separate integration, or documentation examples? Is there a preferred cross-language API or response contract?