| Microservice Architecture |
Out-of-box micro-service ready, self-hosting endpoints access
|
Subscription LangChain Cloud, or need substantial wiring in
self-hosting
|
| Complex ChatBot friendly |
Implemented a unqiue agent pattern especially made for BotChat
|
Need to use clumsy Interrupt mechanism
|
| Session Management |
Native Session support |
Left to developer |
| Memory Persistence |
Fine grained memory isolation/congregation integrated with session
|
Provide memory persistence, but left to developer to tie to
session
|
| State Management |
Each step contains its states |
The states are global to the graph
|
| Modularity |
Super modular using flow/steps constructs
|
Mixin graph/node functions lead to spaghetti code
|
| Step Configuration |
Each step can own or share its
prompt/tool/handler/history/model/model-parameters
|
Hard to customize at individual node level
|
| Memory Sharing |
Declarative style shared memory or isolated memory for steps
|
Coding style |
| Transition Management |
Step/Memory transition management |
None, left to developers |
| Replay conversation/context window |
Can replay/debug a production conversation
|
Left to developer, not much of this concenpt mentioned
|
| Observability |
Observability built-in using session documents
|
Rely on subscription base Langsmith
|
| Transition Graph |
No edge needed, transition in code, much cleaner, flexbble and
resilent to changes
|
Need edges and code to transition |