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

**URL:** <https://forum.langchain.com/t/proposal-provider-neutral-typed-decisions-for-langgraph-python-and-js/4936>\
**Category:** LangGraph\
**Tags:** python-help, feature-request\
**Created:** [October 28, 2026, 5:04pm UTC](https://forum.langchain.com/t/proposal-provider-neutral-typed-decisions-for-langgraph-python-and-js/4936 "2026-10-28T17:04:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjungwon03](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/sjungwon03/32/3607_2.png) [@sjungwon03](https://forum.langchain.com/u/sjungwon03)\
**Post date:** [October 28, 2026, 5:04pm UTC](https://forum.langchain.com/t/proposal-provider-neutral-typed-decisions-for-langgraph-python-and-js/4936/1 "2026-10-28T17:04:01Z")

</div>

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](https://github.com/sjungwon03/langgraph/tree/feat/typed-decisions) and [JS](https://github.com/sjungwon03/langgraphjs/tree/feat/typed-decisions); 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?
