AI.Agent.Skill (fnord v0.9.29)
View SourceGeneric agent implementation for executing a %Skills.Skill{}.
The coordinator (or another agent) provides:
- the skill to run, and
- an input prompt.
This agent resolves the skill's runtime configuration:
- model preset (via
Skills.Runtime.model_from_string/1) - tool tags (via
Skills.Runtime.toolbox_from_tags/1) - response_format (via
Skills.Runtime.validate_response_format/1)
It then performs a single completion using the resolved model, toolbox, and messages.
Summary
Types
@type error() :: Skills.Runtime.model_error() | Skills.Runtime.toolbox_error() | Skills.Runtime.response_format_error() | {:missing_arg, atom()}