Concepts
Libraries
Use pre-built items to save time and ensure best practices
Basic Principle
A library is a collection of items that have been pre-built by the Stubber team, and can be used as a jumping off point for your own templates.
You can also save your own commonly used patterns as library items to reuse across your organization's templates.
Libraries
- Template Library - Full templates to start from, typically achieving some common pattern like a Sales Assistant or Customer Support Agent.
- Action Library - Common pairings of states, actions and annotations that achieve a specific goal, like handling communication over a specific channel or handling basic AI agent interactions.
- Notification Library - Examples of standard notifications that can be sent, for example emailing a specific person or team, or how to send files over various channels.
- Task Library - A collection of tasks available in the Stubber system as well as examples of variations on how to use them and what arguments can be passed to them.
- Field Library - A collection of fields that are available for capturing data, as well as examples of how to handle validation, default values, and more.
As an example, there is an Action Library Item that has already configured your AI agent (_update_from_chat_assistant_task) to reply over Whatsapp.
So instead of figuring this out yourself, you just use this action library item in your template, and then customize it from there.