What is Eino?
Eino is an LLM application development framework written in Go. It draws on ideas from LangChain, Google ADK, and similar projects, but follows Golang conventions so the code feels natural to Go developers. It sits in the Agent Frameworks & Builders category of the Agents & Automation tools and is open-source, written in Go and licensed Apache-2.0.
Overview
Eino is an LLM application development framework written in Go. It draws on ideas from LangChain, Google ADK, and similar projects, but follows Golang conventions so the code feels natural to Go developers.
It gives you reusable building blocks like ChatModel, Tool, Retriever, and ChatTemplate, with official implementations for providers such as OpenAI, Claude, Gemini, and Ollama. You can wire these blocks into graphs and workflows, or use the Agent Development Kit (ADK) to build agents that call tools and coordinate with each other.
Eino is part of the CloudWeGo open-source family. The core repo holds the type definitions, streaming engine, component abstractions, and agent implementations, while separate repos provide ready-made component implementations, dev tooling, and examples.
What it does
- Component abstractions (ChatModel, Tool, Retriever, Embedding, and more) with official implementations for OpenAI, Claude, Gemini, Ark, Ollama, and Elasticsearch
- Agent Development Kit (ADK) for tool use, multi-agent coordination, context management, and ready-to-use agent patterns
- Graph and workflow composition with precise control over execution flow, and the option to expose a graph as a tool for agents
- DeepAgent that breaks complex tasks into steps, delegates to sub-agents, and can run shell commands, execute Python, and search the web
- Automatic stream processing that concatenates, merges, and copies streams as data flows between nodes
- Interrupt and resume support so any agent or tool can pause for human input and continue from a checkpoint
Getting started
Eino is a Go module that needs Go 1.18 or above. Add it to your project, then configure a ChatModel and wrap it in an agent.
Install Eino
Add the Eino module to your Go project.
go get github.com/cloudwego/eino@latestBuild a ChatModelAgent
Configure a ChatModel, build an agent around it, and run a query through a Runner. The agent handles the ReAct loop internally.
chatModel, _ := openai.NewChatModel(ctx, &openai.ChatModelConfig{
Model: "gpt-4o",
APIKey: os.Getenv("OPENAI_API_KEY"),
})
agent, _ := adk.NewChatModelAgent(ctx, &adk.ChatModelAgentConfig{
Model: chatModel,
})
runner := adk.NewRunner(ctx, adk.RunnerConfig{Agent: agent})
iter := runner.Query(ctx, "Hello, who are you?")Compose a graph
When you need exact control over flow, use compose to connect nodes into a graph, then compile and invoke it.
graph := compose.NewGraph[*Input, *Output]()
graph.AddLambdaNode("validate", validateFn)
graph.AddChatModelNode("generate", chatModel)
graph.AddEdge(compose.START, "validate")
graph.AddEdge("validate", "generate")
graph.AddEdge("generate", compose.END)
runnable, _ := graph.Compile(ctx)
result, _ := runnable.Invoke(ctx, input)Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Building tool-using AI agents in Go that decide when to call tools and when to respond
- Coordinating multiple specialized agents on complex tasks with DeepAgent, including running shell commands, Python code, and web search
- Composing deterministic LLM workflows as graphs and exposing them as tools for autonomous agents
- Adding human-in-the-loop steps where an agent pauses for input and resumes from a checkpoint
- Instrumenting LLM apps with logging, tracing, and metrics through callback aspects
How Eino compares
Eino alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| DeepSeek Harness | ★ 289k | DeepSeek AI's open-source agent harness (dsh), built on Cordis, where models, tools, skills, sessions, sandboxes, storage and the UI are all plugins composed through profiles. |
| AutoGPT | ★ 188k | One of the earliest autonomous agent projects, now a platform for building and running agents from reusable blocks and workflows. |
| DeerFlow | ★ 86k | ByteDance's open-source super agent harness built on LangGraph: skills, sub-agents, sandboxes, a filesystem and long-term memory for long-horizon research, coding and content tasks. |
| nanobot | ★ 50.5k | Lightweight self-hosted personal AI agent framework in Python, with a WebUI, terminal and chat-app channels, tools, long-term memory, MCP and scheduled automations. |
| LangGraph | ★ 45.6k | A library from the LangChain team for building stateful, graph-based agent workflows with explicit control over steps, memory, and human-in-the-loop checkpoints. |
| Agno | ★ 43.3k | A fast Python framework (formerly Phidata) for building agents with memory, tools, and multimodal inputs, plus a runtime for deploying them in production. |
| AgentGPT | ★ 36.3k | AgentGPT lets you name a custom AI, give it a goal, and watch it plan tasks, run them, and learn from the results, all from a web browser. |
| Eino | ★ 13.8k | LLM application and agent framework for Go, built the Golang way |

