Reusable agent templates.
Define profiles once, instantiate agents from them on demand. Useful for orchestrators that spin up ephemeral agents for specific tasks.
Usage
profile(:coder, "You write clean code.", max_turns: 15)
profile(:reviewer, "Review only.", model: "opus", allowed_tools: ["Read", "Bash"])
# Create an agent from a profile
from_profile(:coder, :coder_bug_42)
# List available profiles
profiles()
Summary
Functions
Clear all profiles.
Define a profile.
Get a profile definition.
List all profile names.
Remove a profile.
Types
Functions
@spec clear() :: :ok
Clear all profiles.
Define a profile.
@spec get(atom()) :: profile_def() | nil
Get a profile definition.
@spec list() :: [atom()]
List all profile names.
@spec remove(atom()) :: :ok
Remove a profile.