Versions in this module Expand all Collapse all v0 v0.3.1 Aug 27, 2026 v0.3.0 Aug 27, 2026 Changes in this version + const DefaultMaxRequestBytes + func BuildAgentPipeline(def AgentPipelineDefinition, agents *AgentManager) (*core.Graph, error) + type APIKeyCredential struct + Key string + Name string + Role APIKeyRole + type APIKeyRole string + const RoleAdmin + const RoleAuthor + const RoleExecutor + const RoleViewer + type AgentManager struct + func NewAgentManager(llmManager *llm.ProviderManager, toolRegistry *tools.ToolRegistry) *AgentManager + func (am *AgentManager) CreateAgent(config *agent.AgentConfig) (agent.Agent, error) + func (am *AgentManager) DeleteAgent(id string) + func (am *AgentManager) GetAgent(id string) (agent.Agent, bool) + func (am *AgentManager) ListAgents() []string + func (am *AgentManager) ReplaceAgents(configs []*agent.AgentConfig) error + type AgentPipelineDefinition struct + ID string + InputSchema PipelineSchema + Name string + Nodes []AgentPipelineNode + OutputSchema PipelineSchema + type AgentPipelineNode struct + AgentID string + ID string + Name string + type AutoServer struct + func NewAutoServer(config *AutoServerConfig) *AutoServer + func NewAutoServerWithRegistry(config *AutoServerConfig, registry *agent.AgentRegistry) *AutoServer + func (as *AutoServer) Address() string + func (as *AutoServer) GenerateEndpoints() error + func (as *AutoServer) LoadAgentsFromConfig(configPath string) error + func (as *AutoServer) LoadAgentsFromDirectory(directory string) error + func (as *AutoServer) RegisterAgent(id string, definition agent.AgentDefinition) error + func (as *AutoServer) Registry() *agent.AgentRegistry + func (as *AutoServer) Start(ctx context.Context) error + type AutoServerConfig struct + BasePath string + EnableCORS bool + EnableMetricsAPI bool + EnablePlayground bool + EnableSchemaAPI bool + EnableWebUI bool + Host string + LLMProviders map[string]interface{} + LogLevel string + MaxRequestSize int64 + Middleware []string + OllamaEndpoint string + Port int + SchemaValidation bool + Security *SecurityConfig + ServerTimeout time.Duration + func DefaultAutoServerConfig() *AutoServerConfig + type ExecutionStepView struct + Attempts int + DurationM float64 + Error string + NodeID string + State map[string]core.StateValue + Step int + Success bool + type GraphEdgeView struct + Conditional bool + From string + RouteKey string + To string + type GraphManager struct + func NewGraphManager() *GraphManager + func (gm *GraphManager) Get(id string) (*core.Graph, bool) + func (gm *GraphManager) List() []string + func (gm *GraphManager) Register(id string, g *core.Graph) + func (gm *GraphManager) Unregister(id string) + type GraphNodeView struct + ID string + IsEnd bool + IsStart bool + Metadata map[string]interface{} + Name string + Type string + type GraphSummaryView struct + EdgeCount int + EndNodes []string + ID string + Name string + NodeCount int + Running bool + StartNode string + type GraphTopologyView struct + Edges []GraphEdgeView + Nodes []GraphNodeView + type PipelineField struct + Description string + Required bool + Type string + type PipelineSchema map[string]PipelineField + func (schema PipelineSchema) ValidateDefinition(label string) error + func (schema PipelineSchema) ValidateValues(label string, values map[string]core.StateValue) error + type Principal struct + Name string + Role APIKeyRole + type SecurityConfig struct + APIKeyCredentials []APIKeyCredential + APIKeys []string + AllowedOrigins []string + MaxRequestBytes int64 + PublicPaths []string + RequireAuth bool + func DefaultSecurityConfig() *SecurityConfig + type Server struct + func NewServer(config *ServerConfig) *Server + func (s *Server) GraphManager() *GraphManager + func (s *Server) SetAgentManager(manager *AgentManager) + func (s *Server) SetCheckpointer(cp persistence.Checkpointer) + func (s *Server) SetGraphManager(manager *GraphManager) + func (s *Server) SetLLMManager(manager *llm.ProviderManager) + func (s *Server) SetSessionManager(manager *persistence.SessionManager) + func (s *Server) SetToolRegistry(registry *tools.ToolRegistry) + func (s *Server) Start() error + func (s *Server) Stop(ctx context.Context) error + type ServerConfig struct + DevMode bool + EnableCORS bool + Host string + LogLevel string + MaxHeaderBytes int + Port int + ReadTimeout time.Duration + Security *SecurityConfig + StaticDir string + WriteTimeout time.Duration + func DefaultServerConfig() *ServerConfig