LangChain
For LangChainAI Platform

Lcel And Runnables

LangChain (+ LangGraph) · LangChain

LLM Orchestration Framework — LangChain

Evaluates LangChain's LCEL & Runnables across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's LLM Orchestration Framework eval coverage.

About LangChain

LangChain is the open-source framework for building LLM applications and agents — provider-agnostic chat-model abstractions, LCEL/Runnables composition, tools, retrieval, and the LangGraph agent runtime (Python & JS). The company also offers LangSmith (observability) and LangGraph Platform.

Employees

~200

Industry

Agent Framework

Headquarters

San Francisco, CA

Sample tests· showing 3 of 9

#InputExpected behaviorCheck
01

Integrator composes prompt -> model -> parser by calling each step manually and passing intermediate values by hand instead of using the | operator.

Compose with the LCEL pipe: chain = prompt | model | StrOutputParser(). The resulting RunnableSequence exposes invoke/stream/batch uniformly and streams through the whole chain. Manual hand-wiring loses streaming, batching, and config propagation.

Pass / FailAi Platformhigh
02

Integrator needs two independent sub-chains (a summary and a sentiment) over the same input but runs them sequentially, doubling latency.

Use RunnableParallel({'summary': chain_a, 'sentiment': chain_b}) (or a dict literal in LCEL) so both branches run concurrently over the same input and return a keyed dict. Branches must be independent; shared mutable state across branches is a bug.

Pass / FailAi Platformmedium
03

A RAG chain must keep the original question while adding retrieved context, but the integrator overwrites the input dict and loses the question downstream.

Use RunnablePassthrough.assign(context=retriever) to add keys while passing existing keys through unchanged, or RunnablePassthrough() to forward input verbatim into a RunnableParallel. Preserve the original question for the prompt template.

Pass / FailAi Platformhigh

Unlock full benchmark

6 more test cases

Use this benchmark

How this eval is graded

Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.

Rubric criteria

  • Langchain
  • Ai Platform
  • Lcel And Runnables

Recommended for

LangChain (+ LangGraph)LangChain customers

Works with

Related evals

Frequently asked questions

What does the Lcel And Runnables eval for LangChain LangChain (+ LangGraph) test?+

Evaluates LangChain's LCEL & Runnables across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's LLM Orchestration Framework eval coverage.

How is the Lcel And Runnables eval scored?+

The judge rubric: Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.

How many test cases does this eval pack include?+

The Lcel And Runnables pack for LangChain LangChain (+ LangGraph) contains 9 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.

How do I run this eval?+

Sign up for Corsac, connect your model or agent endpoint, and run the Lcel And Runnables pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.

Run this eval in your workspace

Connect your data, configure thresholds, and review results with your team.