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.
All prefabs can be extended by subclassing. Add custom tools with define_tool(), extra
prompt sections with prompt_add_section(), and skills with add_skill().
Extending Prefabs
All prefabs inherit from AgentBase,
so you can add custom tools, prompt sections, and skills: