A code artifact is any piece of packaged code produced from development that can be used and deployed by your agent. You can enable your agent to use code artifacts in the agent builder.
- Open the right-side panel and click Agent Builder. A dropdown menu opens.
- Scroll down to Artifacts and toggle Enable Artifacts. Enabling artifacts allows you to toggle the following options:
- Include shadcn/ui components instructions: Include instructions for using shadcn/ui components, a collection of re-useable components built using Radix UI and Tailwind CSS. Note that these are lengthy instructions and should only be enabled if informing your agent of correct imports and components is important.
- Custom prompt mode: Manually provide your agent with all artifact-generating instructions.