Versions in this module Expand all Collapse all v0 v0.5.0 Mar 2, 2026 Changes in this version + type AgentCaller struct + func NewAgentCaller(baseURL, name string) *AgentCaller + func (ac *AgentCaller) Call(ctx context.Context, endpoint string, request, response interface{}) error + func (ac *AgentCaller) HealthCheck(ctx context.Context) error + func (ac *AgentCaller) SetClient(client *http.Client) *AgentCaller + type Executor struct + func NewExecutor[I, O any](graph *compose.Graph[I, O], name string) *Executor[I, O] + func (e *Executor[I, O]) Execute(ctx context.Context, input I) (O, error) + func (e *Executor[I, O]) SetClient(client *http.Client) *Executor[I, O] + type GraphBuilder struct + func NewGraphBuilder[I, O any](name string) *GraphBuilder[I, O] + func (gb *GraphBuilder[I, O]) AddEdge(from, to string) error + func (gb *GraphBuilder[I, O]) AddEndEdge(from string) error + func (gb *GraphBuilder[I, O]) AddLambdaNodeFunc(name string, lambda *compose.Lambda) error + func (gb *GraphBuilder[I, O]) AddStartEdge(to string) error + func (gb *GraphBuilder[I, O]) Build() *compose.Graph[I, O] + func (gb *GraphBuilder[I, O]) Graph() *compose.Graph[I, O] + func (gb *GraphBuilder[I, O]) SetClient(client *http.Client) *GraphBuilder[I, O] + type HTTPHandler struct + func NewHTTPHandler[I, O any](executor *Executor[I, O]) *HTTPHandler[I, O] + func (h *HTTPHandler[I, O]) ServeHTTP(w http.ResponseWriter, r *http.Request) + type QualityDecision struct + Message string + Passed bool + Score int + Shortfall int + Target int + func NewQualityDecision(score, target int) *QualityDecision + type State struct + Error string + Metadata map[string]interface{} + StepName string + func NewState(stepName string) *State + func (s *State) GetMetadata(key string) (interface{}, bool) + func (s *State) HasError() bool + func (s *State) SetError(err error) + func (s *State) SetMetadata(key string, value interface{})