LabscoMCP early access ↗
langchain-ai avatar✓ Official

langgraph-decision-models

Account or credentials required★ 1.3k on GitHub

Lets a LangGraph agent make routine calls, such as routing a support ticket or filtering items, by asking a decision model typed questions and getting probabilities back instead of free text to parse.

WHEN TO USE

SCOPE

USE FOR

  • Ask yes-or-no, pick-one-label or rate-on-a-rubric questions about a ticket in one request.
  • Escalate an angry customer and close tickets that are not about billing.
  • Send only genuinely borderline items to a human, not every low-confidence one.
  • Find places in an existing agent where model text is parsed with regexes or keyword lists.
  • Classify every item in a batch in parallel instead of sampling a few to save money.
  • Reword a vague question so the model stops giving confident wrong answers.

NOT FOR

  • Nodes whose output is the product itself, such as summaries, drafts or code.
  • Judgments that need several steps of reasoning; a decision model classifies, it does not think.