MCPcopy
hub / github.com/google/ax / Controller

Struct Controller

internal/controller/controller.go:45–49  ·  view source on GitHub ↗

Controller is the main controller that coordinates all components. It acts as a single-writer system for managing agentic loops.

Source from the content-addressed store, hash-verified

43// Controller is the main controller that coordinates all components.
44// It acts as a single-writer system for managing agentic loops.
45type Controller struct {
46 registry *Registry
47 eventLog executor.EventLog
48 plannerBuilder PlannerBuilder
49}
50
51// PlannerBuilder is a function that creates a PlanFunc given a Registry.
52type PlannerBuilder func(ctx context.Context, r *Registry) (agent.Agent, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected