Skip to main content

ECP vs LangChain

LangChain is a framework for building LLM applications (chains, agents, RAG). ECP (Execution Control Protocol) is a protocol and CLI an orchestrating agent operates.

Positioning

Use LangChain when you are writing the application. Use ECP when another agent should delegate a governed graph, validate it, and rerun from a named step. They can coexist: a LangChain app can shell out to ecp run, and an ECP plugin can wrap a model provider.

Next steps