Prefabs
Prefabs are ready-to-use agent classes that implement common conversational patterns.
Each prefab extends AgentBase, so you can
customize them with additional prompt sections, tools, skills, and languages. Use them
directly for rapid prototyping or subclass them for production use.
Each prefab also has a corresponding factory function (e.g., createConciergeAgent())
that creates and returns a configured instance.
All prefabs can be extended by subclassing. Add custom tools with defineTool(), extra
prompt sections with promptAddSection(), and skills with addSkill().
Extending Prefabs
All prefabs inherit from AgentBase,
so you can add custom tools, prompt sections, and skills: