cloudwego/eino
The ultimate LLM/AI application development framework in Go.
What it solves
Eino is a framework designed to simplify the development of LLM applications in Golang, providing a structured way to build AI agents and complex workflows. It bridges the gap between autonomous agent behavior and deterministic execution flows, allowing developers to combine reusable components and custom logic into scalable AI systems.
How it works
Eino uses a component-based architecture where building blocks like ChatModel, Tool, and Retriever are connected into graphs and workflows. It provides two primary ways to build agents:
- ChatModelAgent: A standard agent that handles the ReAct loop internally to decide when to call tools and when to respond.
- DeepAgent: A more advanced agent capable of breaking down complex tasks into steps, delegating to sub-agents, and tracking progress.
Developers can use the compose module to build precise, graph-based workflows that can then be exposed as tools for these agents to use.
Who it’s for
Golang developers who want to build production-ready AI agents and LLM-powered applications using a framework that follows Go conventions.
Highlights
- Component Ecosystem: Official implementations for OpenAI, Claude, Gemini, Ark, and Ollama.
- Stream Processing: Native, automatic handling of streaming data as it flows between nodes in a graph.
- Human-in-the-Loop: Built-in support for interrupting and resuming agent execution for human input.
- Callback Aspects: Integrated logging, tracing, and metrics injection at key execution points.
- Graph-based Orchestration: Ability to combine deterministic pipelines with autonomous agent behavior.
Related
- Project
- Project
- Project
- Project
- Project