Features
EduChain is built to be read, understood, and extended — not just imported.
Not a Black Box
Every core primitive — vector search, streaming detection, tool schema generation — is hand-written and readable, not hidden behind a library import.
One Consistent Interface
Every component implements invoke(), stream(), and ainvoke() — so pieces compose predictably into pipelines.
Educational by Design
EduChain is not trying to replace LangChain or be feature-compatible with it. It exists to teach the architecture underneath.
What you get
A tour of the modules and ideas inside EduChain.
Core Primitives
Runnable, PromptTemplate, ChatModel, Output Parsers, RunnableSequence, RunnableParallel, RunnablePassthrough, RunnableLambda.
Learn moreMemory
Chat History / Memory Module for managing conversation context.
Learn moreExecution Models
Streaming, Async Execution, and the Callback System.
Learn moreAgentic Capabilities
Tool Calling, Vector Stores, RAG, and Agents.
Learn moreEngineering Fundamentals
Input validation, modular package design, 36/36 tests passing.
Learn more