Documentation
¶
Overview ¶
Example: load an agent from YAML (a local file or an OCI reference) while linking only the providers, toolsets and agent sources this binary needs.
The default registries in pkg/teamloader/defaults pull every provider SDK and every built-in toolset. Here the registries are hand-picked, and teamloader.WithStrict makes the load fail up front — listing every offending item — if the YAML asks for anything else.
go run ./examples/golibrary/yamlstrict ./agent.yaml go run ./examples/golibrary/yamlstrict myorg/agent:latest
Click to show internal directories.
Click to hide internal directories.