langgraph vs Memary
Side-by-side comparison of two AI agent tools
langgraphopen-source
Build resilient language agents as graphs.
Memaryopen-source
The Open Source Memory Layer For Autonomous Agents
Metrics
| langgraph | Memary | |
|---|---|---|
| Stars | 28.0k | 2.6k |
| Star velocity /mo | 2.5k | -22.5 |
| Commits (90d) | — | — |
| Releases (6m) | 10 | 0 |
| Overall score | 0.8081963872278098 | 0.22257617875616248 |
Pros
- +Durable execution ensures agents automatically resume from exactly where they left off after failures or interruptions
- +Comprehensive memory system with both short-term working memory for ongoing reasoning and long-term persistent memory across sessions
- +Seamless human-in-the-loop capabilities allow for inspection and modification of agent state at any point during execution
- +开源透明的记忆管理系统,允许完全自定义和扩展记忆机制
- +同时支持本地模型(Ollama)和云端模型(OpenAI),提供灵活的部署选择
- +内置模型切换功能,可以无缝在不同AI提供商之间切换而无需重写代码
Cons
- -Low-level framework requires more technical expertise and setup compared to high-level agent builders
- -Graph-based agent design paradigm may have a steeper learning curve for developers new to agent orchestration
- -Production deployment complexity may be overkill for simple chatbot or single-turn use cases
- -严格的Python版本限制(<=3.11.9),可能与较新的开发环境不兼容
- -复杂的初始配置,需要设置多个API密钥和数据库连接
- -依赖特定的模型框架和外部服务,增加了系统的复杂性和维护成本
Use Cases
- •Long-running autonomous agents that need to persist through system failures and operate over days or weeks
- •Complex multi-step workflows requiring human oversight, approval, or intervention at specific decision points
- •Stateful agents that must maintain context and memory across multiple sessions and interactions
- •构建需要跨会话保持记忆的AI客服或助手系统,提供个性化的用户体验
- •开发具有长期学习能力的自主AI智能体,用于复杂的决策和规划任务
- •创建多轮对话AI应用,如教育助手或咨询系统,需要记住历史交互内容