Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloudwego/eino
/ types & classes
Types & classes
1,204 in github.com/cloudwego/eino
⨍
Functions
3,994
◇
Types & classes
1,204
↓ 11 callers
Struct
s
compose/graph_test.go:1053
↓ 4 callers
TypeAlias
ResponseStatus
schema/openai/consts.go:63
↓ 2 callers
TypeAlias
RoleType
RoleType is the type of the role of a message.
schema/message.go:109
↓ 2 callers
TypeAlias
SafePoint
SafePoint describes at which boundary the agent may be cancelled. It is a bitmask: values can be combined with bitwise OR to accept multiple safe poin
adk/turn_loop.go:1056
↓ 1 callers
Struct
Agent
Agent is the ReAct agent. ReAct agent is a simple agent that handles user messages with a chat model and tools. ReAct will call the chat model, if the
flow/agent/react/react.go:273
↓ 1 callers
TypeAlias
CancelMode
CancelMode specifies when an agent should be canceled. Modes can be combined with bitwise OR to cancel at multiple safe-points. For example, CancelAft
adk/cancel.go:43
↓ 1 callers
TypeAlias
FileContentPartType
FileContentPartType defines the type of a multimodal file content part.
adk/filesystem/backend.go:181
↓ 1 callers
TypeAlias
FunctionToolResultContentBlockType
FunctionToolResultContentBlockType identifies which media field of a FunctionToolResultContentBlock is populated.
schema/agentic_message.go:307
↓ 1 callers
TypeAlias
MessageParseFrom
MessageParseFrom determines the source of the data to be parsed. default is content (Message.Content).
schema/message_parser.go:33
↓ 1 callers
Struct
OpenAI
internal/generic/type_name_test.go:28
↓ 1 callers
Struct
Test
internal/generic/generic_test.go:27
↓ 1 callers
TypeAlias
child1Option
compose/graph_call_options_test.go:307
↓ 1 callers
TypeAlias
child2Option
compose/graph_call_options_test.go:308
↓ 1 callers
TypeAlias
grandparentOption
compose/graph_call_options_test.go:310
↓ 1 callers
Struct
inner
compose/workflow_test.go:1309
↓ 1 callers
TypeAlias
midStr
compose/state_test.go:34
↓ 1 callers
Interface
myInterface
internal/serialization/serialization_test.go:27
↓ 1 callers
TypeAlias
parentOption
compose/graph_call_options_test.go:309
↓ 1 callers
TypeAlias
summarizationContentType
adk/middlewares/summarization/consts.go:32
↓ 1 callers
TypeAlias
workflowAgentMode
adk/workflow.go:30
Interface
A
sub graph implement
compose/graph_test.go:416
Interface
AB
compose/graph_test.go:423
TypeAlias
ActionType
adk/middlewares/summarization/consts.go:19
TypeAlias
Address
Address represents a full, hierarchical address to a point in the execution structure.
internal/core/address.go:32
Struct
AddressSegment
AddressSegment represents a single segment in the hierarchical address of an execution point. A sequence of AddressSegments uniquely identifies a loca
internal/core/address.go:69
TypeAlias
AddressSegmentType
AddressSegmentType defines the type of a segment in an execution address.
internal/core/address.go:29
Struct
AgentAction
AgentAction represents actions that an agent can emit during execution. Action Scoping in Agent Tools: When an agent is wrapped as an agent tool (via
adk/interface.go:357
Struct
AgentCallbackHandler
AgentCallbackHandler handles callbacks for agents using *schema.Message. Use ComponentOfAgent to filter callback events to agent-related events.
utils/callbacks/template.go:664
Struct
AgentCallbackInput
AgentCallbackInput represents the input passed to agent callbacks during OnStart. Use ConvAgentCallbackInput to safely convert from callbacks.Callback
adk/callback.go:29
Struct
AgentCallbackOutput
AgentCallbackOutput represents the output passed to agent callbacks during OnEnd. Use ConvAgentCallbackOutput to safely convert from callbacks.Callbac
adk/callback.go:41
FuncType
AgentCancelFunc
AgentCancelFunc is called to request cancellation of a running agent. It returns after the cancel request is committed; use the returned handle's Wait
adk/cancel.go:92
Struct
AgentCancelInfo
AgentCancelInfo contains information about a cancel operation.
adk/cancel.go:143
FuncType
AgentCancelOption
AgentCancelOption configures cancel behavior.
adk/cancel.go:101
Struct
AgentConfig
AgentConfig is the config for ReAct agent.
flow/agent/react/react.go:136
Struct
AgentMeta
AgentMeta is the meta information of an agent within a multi-agent system.
flow/agent/multiagent/host/types.go:131
Struct
AgentMiddleware
Deprecated: Use ChatModelAgentMiddleware (interface-based Handlers) instead. AgentMiddleware will be removed in a future release. AgentMiddleware pro
adk/chatmodel.go:239
FuncType
AgentOption
func(options *flowAgent)
adk/flow.go:79
Struct
AgentOption
AgentOption is the common option type for various agent and multi-agent implementations. For options intended to use with underlying graph or componen
flow/agent/agent_option.go:25
Struct
AgentRunOption
AgentRunOption is the call option for adk Agent.
adk/call_option.go:31
FuncType
AgentToolOption
func(*AgentToolOptions)
adk/agent_tool.go:47
Struct
AgentToolOptions
adk/agent_tool.go:42
Struct
AgenticAgentCallbackHandler
AgenticAgentCallbackHandler handles callbacks for agentic agents using *schema.AgenticMessage. Use ComponentOfAgenticAgent to filter callback events t
utils/callbacks/template.go:685
Struct
AgenticAllowedToolChoice
AgenticAllowedToolChoice specifies a list of allowed tools for the model.
schema/tool.go:81
Struct
AgenticCallbackInput
AgenticCallbackInput is the input for the callback.
components/prompt/agentic_callback_extra.go:25
Struct
AgenticCallbackInput
AgenticCallbackInput is the input for the agentic model callback.
components/model/agentic_callback_extra.go:37
Struct
AgenticCallbackOutput
AgenticCallbackOutput is the output for the callback.
components/prompt/agentic_callback_extra.go:35
Struct
AgenticCallbackOutput
AgenticCallbackOutput is the output for the agentic model callback.
components/model/agentic_callback_extra.go:49
Interface
AgenticChatTemplate
AgenticChatTemplate formats variables into a list of agentic messages according to a prompt schema.
components/prompt/interface.go:48
Struct
AgenticConfig
AgenticConfig is the config for the agentic model.
components/model/agentic_callback_extra.go:25
Struct
AgenticForcedToolChoice
AgenticForcedToolChoice specifies a list of tools that the model must call.
schema/tool.go:88
Struct
AgenticMessage
schema/agentic_message.go:71
Interface
AgenticMessagesTemplate
AgenticMessagesTemplate is the interface for agentic messages template. It's used to render a template to a list of agentic messages. e.g. chatTempl
schema/agentic_message.go:675
Struct
AgenticModelCallbackHandler
AgenticModelCallbackHandler is the handler for the agentic chat model callback.
utils/callbacks/template.go:729
Struct
AgenticPromptCallbackHandler
AgenticPromptCallbackHandler is the handler for the agentic prompt callback.
utils/callbacks/template.go:705
Struct
AgenticResponseMeta
schema/agentic_message.go:85
TypeAlias
AgenticRoleType
schema/agentic_message.go:63
Struct
AgenticToolChoice
schema/tool.go:67
Struct
AgenticToolsNode
compose/agentic_tools_node.go:40
Struct
AgenticToolsNodeCallbackHandlers
AgenticToolsNodeCallbackHandlers defines optional callbacks for the Agentic Tools node lifecycle events.
utils/callbacks/template.go:754
Struct
AllowedMCPTool
AllowedMCPTool contains the information for identifying an MCP tool.
schema/tool.go:108
Struct
AllowedServerTool
AllowedServerTool contains the information for identifying a server tool.
schema/tool.go:116
Struct
AllowedTool
AllowedTool represents a tool that the model is allowed or forced to call. Exactly one of FunctionName, MCPTool, or ServerTool must be specified.
schema/tool.go:96
Interface
AnyGraph
AnyGraph the identifiers for composable and compilable Graph[I, O]、Chain[I, O] in Eino.
compose/types_composable.go:25
Struct
AssistantGenAudio
schema/agentic_message.go:260
Struct
AssistantGenImage
schema/agentic_message.go:249
Struct
AssistantGenText
schema/agentic_message.go:235
Struct
AssistantGenTextExtension
schema/openai/extension.go:36
Struct
AssistantGenTextExtension
schema/claude/extension.go:35
Struct
AssistantGenVideo
schema/agentic_message.go:271
Struct
AsyncGenerator
adk/utils.go:39
Struct
AsyncIterator
adk/utils.go:31
Interface
B
compose/graph_test.go:419
Interface
Backend
Backend loads skills and provides metadata for tool description rendering.
adk/middlewares/skill/skill.go:66
Interface
Backend
Backend defines the file access interface for loading Agents.md files. Implementations can use local filesystem, remote storage, or any other backend.
adk/middlewares/agentsmd/loader.go:62
Interface
Backend
Backend defines the storage interface for task persistence. Implementations can use local filesystem, remote storage, or any other storage backend.
adk/middlewares/plantask/task.go:64
Interface
Backend
Backend defines the interface provided by the user to implement file storage. It is used to save the content of large tool results to a persistent sto
adk/middlewares/reduction/internal/tool_result.go:30
Interface
Backend
Backend is a pluggable, unified file backend protocol interface. All methods use struct-based parameters to allow future extensibility without breaki
adk/filesystem/backend.go:243
Struct
BackendFromFilesystemConfig
BackendFromFilesystemConfig contains configuration for NewBackendFromFilesystem.
adk/middlewares/skill/filesystem_backend.go:38
Interface
BaseModel
BaseModel is the generic base model interface parameterized by message type M. It exposes two modes of interaction: - [BaseModel.Generate]: blocks unt
components/model/interface.go:36
Interface
BaseTool
BaseTool provides the metadata that a ChatModel uses to decide whether and how to call a tool. Info returns a [schema.ToolInfo] containing the tool na
components/tool/interface.go:32
Struct
BreakLoopAction
BreakLoopAction is a programmatic-only agent action used to prematurely terminate the execution of a loop workflow agent. When a loop workflow agent r
adk/workflow.go:298
Struct
CallbackInput
CallbackInput is the input for the callback.
components/prompt/callback_extra.go:25
Struct
CallbackInput
CallbackInput is the input for the model callback.
components/model/callback_extra.go:66
Struct
CallbackInput
CallbackInput is the input for the indexer callback.
components/indexer/callback_extra.go:25
Struct
CallbackInput
CallbackInput is the input for the embedding callback.
components/embedding/callback_extra.go:50
Struct
CallbackInput
CallbackInput is the input for the retriever callback.
components/retriever/callback_extra.go:25
Struct
CallbackInput
CallbackInput is the input for the tool callback.
components/tool/callback_extra.go:25
TypeAlias
CallbackInput
internal/callbacks/interface.go:34
Struct
CallbackOutput
CallbackOutput is the output for the callback.
components/prompt/callback_extra.go:35
Struct
CallbackOutput
CallbackOutput is the output for the model callback.
components/model/callback_extra.go:80
Struct
CallbackOutput
CallbackOutput is the output for the indexer callback.
components/indexer/callback_extra.go:33
Struct
CallbackOutput
CallbackOutput is the output for the embedding callback.
components/embedding/callback_extra.go:60
Struct
CallbackOutput
CallbackOutput is the output for the retriever callback.
components/retriever/callback_extra.go:41
Struct
CallbackOutput
CallbackOutput is the output for the tool callback.
components/tool/callback_extra.go:33
TypeAlias
CallbackOutput
internal/callbacks/interface.go:36
TypeAlias
CallbackTiming
internal/callbacks/interface.go:50
Struct
CancelError
CancelError is sent via AgentEvent.Err when an agent is canceled. Use errors.As to match and extract *CancelError from event errors. Interrupt absorp
adk/cancel.go:166
Struct
CancelHandle
CancelHandle represents a cancel operation that can be waited on.
adk/cancel.go:66
Struct
Chain
Chain is a chain of components. Chain nodes can be parallel / branch / sequence components. Chain is designed to be used in a builder pattern (should
compose/chain.go:72
Struct
ChainBranch
ChainBranch represents a conditional branch in a chain of operations. It allows for dynamic routing of execution based on a condition. All branches wi
compose/chain_branch.go:38
next →
1–100 of 1,204, ranked by callers