logo
0
0
WeChat Login

Eino Examples

English | 中文

Overview

This repository contains examples and demonstrations for using the Eino framework. It provides practical examples to help developers better understand and utilize Eino's features.

Repository Structure

📦 ADK (Agent Development Kit)

DirectoryNameDescription
adk/helloworldHello World AgentThe simplest Agent example, showing how to create a basic conversational Agent
adk/intro/chatmodelChatModel AgentDemonstrates using ChatModelAgent with Interrupt mechanism
adk/intro/customCustom AgentShows how to implement a custom Agent conforming to ADK definition
adk/intro/workflowWorkflow AgentsLoop, Parallel, and Sequential Agent patterns
adk/intro/sessionSession ManagementPassing data and state across Agents using Session
adk/intro/transferAgent TransferChatModelAgent's Transfer capability for task handoff between Agents
adk/intro/http-sse-serviceHTTP SSE ServiceExposing ADK Runner as an HTTP service with Server-Sent Events
adk/human-in-the-loopHuman-in-the-Loop8 examples: Approval, Review-Edit, Feedback Loop, Follow-up, Supervisor patterns
adk/multiagentMulti-AgentSupervisor, Plan-Execute-Replan, Deep Agents, Excel Agent examples
adk/common/tool/graphtoolGraphToolWrapping Graph/Chain/Workflow as Agent tools

🔗 Compose (Orchestration)

DirectoryNameDescription
compose/chainChainSequential orchestration with compose.Chain, including Prompt + ChatModel
compose/graphGraphGraph orchestration examples: state graph, tool call agent, async nodes, interrupt
compose/workflowWorkflowWorkflow examples: field mapping, data-only, control-only, static values, streaming
compose/batchBatchNodeBatch processing component with concurrency control and interrupt/resume support

🌊 Flow

DirectoryNameDescription
flow/agent/reactReAct AgentReAct Agent with memory, dynamic options, unknown tool handler
flow/agent/multiagentMulti-AgentHost multi-agent (Journal Assistant), Plan-Execute patterns
flow/agent/manusManus AgentManus Agent implementation inspired by OpenManus
flow/agent/deer-goDeer-GoGo implementation based on deer-flow, supporting research team collaboration

🧩 Components

DirectoryNameDescription
components/modelModelA/B test routing, HTTP transport logging with cURL-style output
components/retrieverRetrieverMulti-query retriever, router retriever
components/toolToolJSON Schema tools, MCP tools, middlewares (error remover, JSON fix)
components/documentDocumentCustom parser, extension parser, text parser
components/promptPromptChat prompt template examples
components/lambdaLambdaLambda function component examples

🚀 QuickStart

DirectoryNameDescription
quickstart/chatChat QuickStartBasic LLM chat example with template, generate, and streaming
quickstart/eino_assistantEino AssistantComplete RAG application with knowledge indexing, Agent service, and Web UI
quickstart/todoagentTodo AgentSimple Todo management Agent example

🛠️ DevOps

DirectoryNameDescription
devops/debugDebug ToolsEino debugging features for Chain and Graph
devops/visualizeVisualizationRendering Graph/Chain/Workflow as Mermaid diagrams

Documentation

For detailed documentation of each example, see COOKBOOK.md.

Related Resources

Security

If you discover a potential security issue in this project, or think you may have discovered a security issue, we ask that you notify Bytedance Security via our security center or vulnerability reporting email.

Please do not create a public GitHub issue.

License

This project is licensed under the Apache-2.0 License.

About

No description, topics, or website provided.
Language
Go93.4%
JavaScript3.5%
HTML1.5%
Python0.9%
Others0.7%