Skip to content
cloudwego avatar

Eino Compose

Multi-step pipeline toolkit covering Graph, Chain, and Workflow orchestration in Eino's compose package.

CCM score
64 of 100
skills.sh installs
388
GitHub stars
843
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three orchestration APIs: Graph for directed graphs with cycles, Chain for linear pipelines, and Workflow for DAGs with field-level mapping
  • Includes node and edge wiring, branching, and compilation into a Runnable exposing Invoke, Stream, Collect, and Transform
  • Explains the four stream modes, AgenticToolsNode for agentic messages, and a state graph for sharing per-request state across nodes
  • Designed for Go developers choosing an orchestration API, using Pregel or DAG trigger modes, and adding checkpoint pause/resume

Install

$ npx -y skills add cloudwego/eino-ext --skill eino-compose -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Orchestration Overview

The github.com/cloudwego/eino/compose package provides three orchestration APIs:

APITopologyCyclesType Alignment
GraphDirected graphYes (Pregel mode) / No (DAG mode)Whole input/output
ChainLinear sequenceNoWhole input/output
WorkflowDAGNoField-level mapping

*Chain is implemented on top of Graph in Pregel mode but enforces linear topology.

All three compile into Runnable[I, O] which exposes Invoke, Stream, Collect, and Transform.

import "github.com/cloudwego/eino/compose"

Choosing an API

  • Chain -- sequential pipeline: prompt -> model -> parser. Simplest API.
  • Graph -- need branching, loops (ReAct agent), or fan-out/fan-in.
  • Workflow -- need field-level mapping between nodes with different struct types; DAG only.

Graph Quick Reference

g := compose.NewGraph[InputType, OutputType]()

Details

Repository
github.com/cloudwego/eino-ext
Categories
AI Agents & LLM Apps, Go
First seen
Jun 3, 2026

Questions

What does the eino-compose skill help me build?

The eino-compose skill guides an agent through Eino orchestration with Graph, Chain, and Workflow APIs in the compose package. It covers multi-step pipelines, branching or parallel execution, streaming between nodes, and checkpoint-based state management.

How do I install the eino-compose skill?

Run npx -y skills add cloudwego/eino-ext --skill eino-compose -y in your project. Once installed, the agent can help you compose components into executable graphs with the Runnable abstraction.

When should I pick Graph, Chain, or Workflow with eino-compose?

The skill recommends Chain for simple sequential pipelines, Graph when you need branching, loops such as a ReAct agent, or fan-out and fan-in, and Workflow when nodes with different struct types need field-level mapping. Graph is the default choice for most use cases.

Where does eino-compose stand in its category?

It sits in the AI Agents and LLM Apps category, next to skills such as microsoft-foundry, azure-ai and google-agents-cli-adk-code. Its focus is the orchestration layer of the Eino framework, covering how nodes connect, stream and share state.

More from cloudwego/eino-ext

All 4

Similar to Eino Compose

More AI Agents & LLM Apps