eino icon indicating copy to clipboard operation
eino copied to clipboard

[Question] consult about eino's functions

Open h1ap opened this issue 9 months ago • 3 comments

I would like to consult about whether the functions of eino and langgraph are aligned, and if not, what are the differences in their features. Thank you.

h1ap avatar Jul 14 '25 16:07 h1ap

Common core:

  • both have component abstraction and implementations for LLM application development: ChatModel, Retrievers, Tool, etc.
  • both have strong Graph orchestration capabilities: control flows, callbacks, checkpoint & interrupt.
  • both have strong streaming support.

langgraph's strength:

  • more feature complete in certain areas, such as memory components
  • richer eco-system.

eino's strength:

  • built-in type safety and performance built on strength of golang language, better for scaling
  • more focused set of APIs and deeper functionality in certain areas, such as workflow API

shentongmartin avatar Jul 15 '25 02:07 shentongmartin

Common core:

  • both have component abstraction and implementations for LLM application development: ChatModel, Retrievers, Tool, etc.
  • both have strong Graph orchestration capabilities: control flows, callbacks, checkpoint & interrupt.
  • both have strong streaming support.

langgraph's strength:

  • more feature complete in certain areas, such as memory components
  • richer eco-system.

eino's strength:

  • built-in type safety and performance built on strength of golang language, better for scaling
  • more focused set of APIs and deeper functionality in certain areas, such as workflow API

EDIT: Is it the Checkpointer?

Hi, I'm on my phone now and so it's difficult to look through code.. if you don't mind me asking so naively.

I haven't seen any references to memory.. is there any sort of memory built in (whether abstractions or a simple message state that's always sent to the model).

marwan38 avatar Aug 22 '25 09:08 marwan38

no built-in memory abstraction. They should be handled external to graph execution. However, the built-in state (and checkpoint) mechanism can be used to persist messages within a single graph run.

shentongmartin avatar Aug 29 '25 01:08 shentongmartin