Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: AgenticModel User Guide [Beta]'
weight: 10
---

> 💡
> This feature is available starting from [v0.9](https://github.com/cloudwego/eino/releases/tag/v0.9.0-alpha.2).

## Introduction

AgenticModel is an abstraction of model capabilities centered on "goal-driven autonomous execution". As capabilities like caching and built-in tools become natively supported in APIs from advanced providers like OpenAI Responses API and Claude API, models are evolving from "one-shot Q&A engines" to "user goal-oriented autonomous agents": capable of closed-loop planning around objectives, invoking tools, and iterative execution to accomplish more complex tasks.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
Description: ""
date: "2026-01-20"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: AgenticChatTemplate Guide [Beta]'
weight: 11
---

> 💡
> This feature is available starting from [v0.9](https://github.com/cloudwego/eino/releases/tag/v0.9.0-alpha.2).

## Introduction

The Prompt component is used for processing and formatting prompt templates. AgenticChatTemplate is a component abstraction specifically designed for AgenticMessage, with definitions and usage essentially the same as the existing ChatTemplate abstraction. Its main purpose is to fill user-provided variable values into predefined message templates, generating standardized message formats for interacting with language models. This component can be used in the following scenarios:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
Description: ""
date: "2026-01-20"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: AgenticToolsNode & Tool User Guide [Beta]'
weight: 12
---

> 💡
> This feature is available starting from [v0.9](https://github.com/cloudwego/eino/releases/tag/v0.9.0-alpha.2).

## **Introduction**

In the eino framework, a `Tool` is defined as "an external capability that an AgenticModel can choose to invoke", including local functions, MCP server tools, etc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: ToolsNode & Tool Guide'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: How to Create a Tool
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino ADK: ChatModelAgent'
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/eino/overview/bytedance_eino_practice.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2025-11-20"
date: "2026-03-03"
lastmod: ""
tags: []
title: ByteDance LLM Application Go Framework — Eino in Practice
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/eino/quick_start/agent_llm_with_tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2025-12-09"
date: "2026-03-03"
lastmod: ""
tags: []
title: Agent — Give Your LLM Hands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: AgenticModel 使用说明[Beta]'
weight: 10
---

> 💡
> 本功能在 [v0.9](https://github.com/cloudwego/eino/releases/tag/v0.9.0-alpha.2) 版本开始提供。

## 基本介绍

AgenticModel 是一种以 “目标驱动的自主执行” 为核心的模型能力抽象。随着缓存、内置工具等能力在 OpenAI Responses API、Claude API 等先进厂商的 API 中得到原生支持,模型正在从 “一次性问答引擎” 升级为 “面向用户目标的自主行动体”:能够围绕目标进行闭环规划、调用工具与迭代执行,从而完成更复杂的任务。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
Description: ""
date: "2026-01-20"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: AgenticChatTemplate 使用说明[Beta]'
weight: 11
---

> 💡
> 本功能在 [v0.9](https://github.com/cloudwego/eino/releases/tag/v0.9.0-alpha.2) 版本开始提供。

## **基本介绍**

Prompt 组件是一个用于处理和格式化提示模板的组件,其中 AgenticChatTemplate 是专为 AgenticMessage 定义组件抽象,定义与用法与现存的 ChatTemplate 抽象基本相同。它的主要作用是将用户提供的变量值填充到预定义的消息模板中,生成用于与语言模型交互的标准消息格式。这个组件可用于以下场景:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
Description: ""
date: "2026-01-20"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: AgenticToolsNode&Tool 使用说明[Beta]'
weight: 12
---

> 💡
> 本功能在 [v0.9](https://github.com/cloudwego/eino/releases/tag/v0.9.0-alpha.2) 版本开始提供。

## **基本介绍**

`Tool` 在 eino 框架中的定义是“AgenticModel 能够选择调用的外部能力”,包括本地函数,MCP server tool 等。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino: ToolsNode&Tool 使用说明'
Expand Down Expand Up @@ -294,7 +294,7 @@ import (
)

// 创建工具节点
toolsNode := compose.NewToolsNode([]tool.Tool{
toolsNode := compose.NewToolNode([]tool.Tool{
searchTool, // 搜索工具
weatherTool, // 天气查询工具
calculatorTool, // 计算器工具
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: 如何创建一个 tool ?
Expand Down Expand Up @@ -208,8 +208,9 @@ func (t *AddUser) Info(_ context.Context) (*schema.ToolInfo, error) {
}

func (t *AddUser) InvokableRun(_ context.Context, argumentsInJSON string, _ ...tool.Option) (string, error) {
input := &AddUser{}
// 1. 反序列化 argumentsInJSON,处理 option 等
user, _ := json.Unmarshal([]byte(argumentsInJSON))
err := json.Unmarshal([]byte(argumentsInJSON), input)
// 2. 处理业务逻辑
// 3. 把结果序列化为 string 并返回

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2026-03-02"
date: "2026-03-03"
lastmod: ""
tags: []
title: 'Eino ADK: ChatModelAgent'
Expand Down Expand Up @@ -617,12 +617,12 @@ import (

"github.com/cloudwego/eino/adk"

"github.com/cloudwego/eino-examples/adk/intro/chatmodel/internal"
"github.com/cloudwego/eino-examples/adk/intro/chatmodel/subagents"
)

func main() {
ctx := context.Background()
a := internal.NewBookRecommendAgent()
a := subagents.NewBookRecommendAgent()
runner := adk.NewRunner(ctx, adk.RunnerConfig{
Agent: a,
})
Expand Down
4 changes: 2 additions & 2 deletions content/zh/docs/eino/overview/bytedance_eino_practice.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2025-11-20"
date: "2026-03-03"
lastmod: ""
tags: []
title: 字节跳动大模型应用 Go 开发框架 —— Eino 实践
Expand Down Expand Up @@ -106,7 +106,7 @@ compiledGraph, err := graph.Compile(ctx)
if err != nil {
return err
}
out, err := r.Invoke(ctx, map[string]any{"query":"Beijing's weather this weekend"})
out, err := compiledGraph.Invoke(ctx, map[string]any{"query":"Beijing's weather this weekend"})
```

## 了解工具
Expand Down
2 changes: 1 addition & 1 deletion content/zh/docs/eino/quick_start/agent_llm_with_tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Description: ""
date: "2026-01-20"
date: "2026-03-03"
lastmod: ""
tags: []
title: Agent-让大模型拥有双手
Expand Down