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 26, 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.

๐Ÿšจ If you running this as part of the Developer Garage at TechEd Berlin 2026 please follow the instructions below to get a service key from SAP AI Core.

Steps

Step 1 ๐Ÿšจ ONLY FOR DEVELOPER GARAGE AT TECHED 2026 IN BERLIN
โ€”

There are temporary (limited lifetime) service keys available for your use at the Developer Garage during SAP TechEd 2026 in Berlin. In this step, you’ll retrieve such a service key, and store the credentials in your .env file. Instructions will follow below.

The keys are available in a GitHub repo, and are rotated (old ones expired, new ones minted) on a regular basis. Always chose the latest one and ask a Developer Advocate for the password. They can be found in the keys/ directory of the SAP-samples/teched2026-sk-gen repo on GitHub, stored in password-protected ZIP files, which are suffixed with a timestamp (YYYYMMDDHHMMSS), like this:

service key zip files
service key zip files


Step 2 Architecture Overview
+
Step 3 Dataset
+
Step 4 Deploy TabPFN-3.5 Plus on SAP AI Core
+
Step 5 Create your project folder
+
Step 6 Configure environment variables
+
Step 7 Install Python dependencies
+
Step 8 Create the Python file
+
Step 9 Add the authentication helper
+
Step 10 Prepare the prediction data
+
Step 11 Build the TabPFN prediction function
+
Step 12 Build the agent
+
Step 13 Add the evaluation function
+
Step 14 Add the main function
+
Step 15 Run the agent
+
Step 16 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 16
1. ๐Ÿšจ ONLY FOR DEVELOPER GARAGE AT TECHED 2026 IN BERLIN 2. Architecture Overview 3. Dataset 4. Deploy TabPFN-3.5 Plus on SAP AI Core 5. Create your project folder 6. Configure environment variables 7. Install Python dependencies 8. Create the Python file 9. Add the authentication helper 10. Prepare the prediction data 11. Build the TabPFN prediction function 12. Build the agent 13. Add the evaluation function 14. Add the main function 15. Run the agent 16. Complete source code
Next