Release 2025.12
Starting with December, you can add custom code to your pipeline using the new Code component.
Introducing the Code Component
Easily add custom Python code to your pipeline, without the need to create a full custom component. Just drag the Code component from the Component Library and add your code to the code parameter.
The Code component is perfect for adding code that:
-
Is scoped to a single pipeline
-
Uses standard dependencies available in deepset
-
Doesn't need to be shared with the rest of the organization
-
For instructions on how to add a
Codecomponent, see Add a Code Component. -
For explanation of the component, see Code Component.
-
For comparison with custom components, see Custom Components vs Code Component.
Pipeline Search History on the Pipeline Details Page
View and download the search history for a pipeline right in deepset AI Platform. No need to use the API. Click the name of your pipeline to open its details and you'll find its complete search history, including all feedback, in the Search History tab.
You can also download it as a CSV file with customized columns.

Custom Code as an Agent's Tool
Enhance your Agent with custom Python code as a tool. Choose Code as the tool type and let Builder guide you through the process. Your code is immediately validated so you can easily debug it before deploying the Agent.
For an overview of how it works, see Agent Tools. For instructions on how to add a custom tool, see Configure an Agent.
Was this page helpful?