Versions in this module Expand all Collapse all v0 v0.2.0 Apr 27, 2026 v0.1.0 Apr 13, 2026 Changes in this version + type AgentSpec struct + Instructions string + Model string + Name string + Tools []string + type Config struct + LLM provider.Provider + Logger *slog.Logger + MaxSteps int + type Executor struct + func New(cfg Config) *Executor + func (e *Executor) ExecuteStep(ctx context.Context, step Step) (*StepResult, error) + func (e *Executor) GetStepResult(stepName string) (*StepResult, bool) + func (e *Executor) Reset() + type LangChainConfig struct + MaxTokens int + Model string + Temperature float64 + type LangChainExecutor struct + func NewLangChainExecutor(prov provider.Provider, cfg LangChainConfig) *LangChainExecutor + func (e *LangChainExecutor) Call(ctx context.Context, messages []llms.MessageContent, opts ...llms.CallOption) (*llms.ContentResponse, error) + func (e *LangChainExecutor) GenerateContent(ctx context.Context, prompt string) (string, error) + func (e *LangChainExecutor) Model() llms.Model + type Port struct + From string + Name string + Type string + type Step struct + AgentName string + DependsOn []string + Inputs map[string]any + Instructions string + Name string + type StepResult struct + Error error + Outputs map[string]any + StepName string + type Workflow struct + Name string + Steps []WorkflowStep + Type WorkflowType + type WorkflowExecutor struct + func NewWorkflowExecutor(executor *Executor, agents map[string]AgentSpec) *WorkflowExecutor + func (w *WorkflowExecutor) Execute(ctx context.Context, workflow Workflow, inputs map[string]any) (map[string]any, error) + type WorkflowStep struct + Agent string + DependsOn []string + Inputs []Port + Name string + Outputs []Port + type WorkflowType string + const WorkflowTypeChain + const WorkflowTypeCouncil + const WorkflowTypeCrew + const WorkflowTypeGraph + const WorkflowTypeScatter + const WorkflowTypeSwarm + func (t WorkflowType) IsDeterministic() bool + func (t WorkflowType) IsSelfDirected() bool