Concepts
Runnable Sequence
Executes multiple runnables sequentially via the | operator, with auto-flattening, and smart streaming support that correctly detects which step is the actual streaming source vs. a downstream transformer.
Why it exists
Lets you build a chain by piping components together instead of manually calling each one and passing results by hand.
educhain.py
from educhain.core.sequence import RunnableSequence
chain = prompt | model | parser