SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Add Prior Labs TabPFN-3.5 Plus on SAP AI Core to your AI Agent

In this tutorial you will learn how to build a LangChain agent that uses TabPFN-3.5 Plus to predict delivery delays and on-time delivery status for e-commerce shipments, and then generate an operations summary report using an LLM. TabPFN-3.5 Plus is a tabular foundation model by Prior Labs available through Generative AI Hub on SAP AI Core.

Overview

You will learn

  • ✔How to deploy TabPFN-3.5 Plus on SAP AI Core (Generative AI Hub)
  • ✔How to call the TabPFN /predict endpoint for regression and classification tasks
  • ✔How to build a LangChain agent that combines tabular ML predictions with an LLM
Nora von Thenen N Nora von Thenen October 19, 2026
Created on October 19, 2026
Contributors

More from Nora von Thenen

See all 7 tutorials by Nora von Thenen →

Prerequisites

SAP AI Core setup and basic knowledge: Initial Setup SAP AI Core instance with Extended Service Plan (required for Generative AI Hub) Python 3.10 or higher installed. Basic familiarity with Python and REST APIs.

Steps

Step 1 Architecture Overview
—

The agent follows a simple three-step flow:

  1. The user sends a message asking for predictions and a summary report.
  2. The LLM calls the run_tabpfn_predictions tool, which hits the TabPFN-3.5 Plus /predict endpoint on SAP AI Core — once for regression (DELAY_DAYS) and once for classification (LATE).
  3. The tool result is returned to the LLM, which formats the predictions as a concise logistics operations report.

Note: TabPFN-3.5 Plus learns directly from the rows you provide — there is no separate training phase. Rows with known values are the context; rows with [PREDICT] placeholders are the test set.


Step 2 Dataset
+
Step 3 Deploy TabPFN-3.5 Plus on SAP AI Core
+
Step 4 Configure environment variables
+
Step 5 Install Python dependencies
+
Step 6 Create the Python file
+
Step 7 Add the authentication helper
+
Step 8 Prepare the prediction data
+
Step 9 Build the TabPFN prediction function
+
Step 10 Build the agent
+
Step 11 Run the agent
+
Step 12 Complete source code
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 12
1. Architecture Overview 2. Dataset 3. Deploy TabPFN-3.5 Plus on SAP AI Core 4. Configure environment variables 5. Install Python dependencies 6. Create the Python file 7. Add the authentication helper 8. Prepare the prediction data 9. Build the TabPFN prediction function 10. Build the agent 11. Run the agent 12. Complete source code