teched2025-AI163
An SAP TechEd 2025 lab that builds a custom Joule Agent in Joule StudioJoule StudioSAP’s managed development environment for building custom agents, applications and workflows from business intent, in six phases from intent and specification to deployment on an SAP-managed runtime.sap official, umbrella to manage shipments in the SAP Business Networks Global Track and Trace (GTT) system.
The agent combines several Joule Skills with document grounding through SAP AI CoreSAP AI CoreSAP's AI service on BTP: the runtime for AI assets, and through the Generative AI Hub inside it the access to foundation models, the orchestration service with its templating, masking, filtering and grounding modules, the Prompt Registry and Document Grounding.sap official, btp, so that a logistics coordinator can create a shipment, get the details of delayed shipments and track an existing one in plain language. To create one it reads a shipment rate card document and determines the most economically viable carrier from rates, source and destination locations. The exercises build each Joule Skill in Joule StudioJoule StudioSAP’s managed development environment for building custom agents, applications and workflows from business intent, in six phases from intent and specification to deployment on an SAP-managed runtime.sap official, umbrella's Agent Builder against pre-built SAP Build Action projects and BTP destinations that reach the GTT system, create a private environment to test in, and then release, deploy and test the finished agent in a shared environment. The README marks the Agent Builder a pre-release version for educational use rather than production, whose interface and terminology may differ from the generally available product.
Facts
Where it sits
Who is behind it
In the atlas: maintains 222@SAP-samplesmaintainerAjayNayak01Contributes to this
In the atlas: contributes to 1@AjayNayak01Ajay SorengContributes to this
In the atlas: contributes to 36@ajaysorengMiguel Angel Meza MartinezContributes to this
In the atlas: contributes to 1@miguelmezamartinezstevenjacobson1Contributes to this
In the atlas: contributes to 1@stevenjacobson1Daniel WroblewskiContributes to this
In the atlas: contributes to 3@thecodester5 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
- Use as
- A reference
As a sample
- Form
- Workshop or CodeJam material
Connections
Building an agent into your own application
SAP's managed environment for building custom agents and workflows
AI runtime on BTP with the Generative AI Hub
Named, credentialed addresses of other systems resolved at runtime
Download
README
quoted from SAP-samples/teched2025-AI163 under Apache-2.0, readImportant
Welcome to the Agent Builder Lab Preview!
You are working with a pre-release version of the Agent Builder in Joule Studio. This gives you an early look at our upcoming capabilities. Please keep the following in mind:
- Features Are Subject to Change: The user interface (UI), terminology, and functionalities you see in this lab may differ from the final, generally available (GA) product.
- For Educational Use Only: This environment is designed for learning and experimentation, not for production use.
- Potential Instability: As a preview version, you may encounter occasional instability or minor bugs. The exercises are designed to work with the current state of the platform. If you get stuck, please notify a session instructor.
AI163 - Get hands-on to extend Joule and build AI Agents
Description
This exercise shows how to build a simple custom Joule Agent in Joule Studio that uses multiple Joule Skills along with Document Grounding via AI Core to manage shipments in the SAP Business Networks Global Track and Trace (GTT) system. The agent can create shipments, get delayed shipment details, and even track details of existing shipments. It uses Document Grounding to read a shipment rate card document and determine the most economically viable shipment carrier based on their rates, source, and destination locations while creating a shipment.
Overview
Business problem and persona
Before diving into the use case, let's take a moment to get acquainted with our business user. It's really important to understand the business user as thoroughly as possible before building your custom Joule Agent.
Meet George, a Logistics Coordinator at a global manufacturing company. Every day, George is responsible for creating, tracking, and managing shipments across multiple transportation partners using SAP Business Networks Global Track and Trace — or GTT for short. His job is to ensure that every delivery — from raw materials to finished goods — reaches the customer on time and in full.
Persona — Logistics Coordinator
Pain Points — Logistics Coordinator
Agent for Logistics
You will build a goal-driven Joule Agent in Joule Studio that:
- Understands natural-language requests on Shipment-related activities.
- Can create, track, and get a list of delayed shipments.
- Empowers George to do his job more efficiently.
Requirements & Prerequisites - already in place
All required backend systems and configurations have been pre-provisioned for this session. This includes:
-
Joule Studio in SAP Build:
- Agent Builder is enabled and accessible.
-
Actions & Destinations:
- SAP Build Action projects (
GTTReadService>TShipment) are pre-built to access the SAP Business Networks GTT System. - BTP Destinations (
gttwriteservice>tGetService) are available in SAP Build.
- SAP Build Action projects (
-
SAP AI Core for document grounding:
- A resource group and document grounding pipeline are set up and running.
Begin Your Hands-On Session
Please follow the exercises in order. Each exercise page will link to the next one.
➡️ Start Here: Ex. 0 - Getting Started
Table of Contents (Click to expand for full exercise list)
- Setup & Basics
- Building Joule Skills
- Ex. 3 - Understanding Joule Skills
- Ex. 3.0 - Create a new Joule Skill Package
- Ex. 3.1.1 - Build the "Get Delayed Shipments" Skill
- Ex. 3.1.2 - Build the "Track Shipment" Skill
- Ex. 3.1.3 - Build the "Create Shipment" Skill (Part 1)
- Ex. 3.1.3a - Build the "Create Shipment" Skill (Part 2 - Mapping)
- Ex. 3.1.3b - Build the "Create Shipment" Skill (Part 3 - Messaging)
- Building & Testing the Agent
- Deployment
Contributing
Please read the CONTRIBUTING.md to understand the contribution guidelines.
Code of Conduct
Please read the SAP Open Source Code of Conduct.
How to obtain support
Support for the content in this repository is available during the actual time of the online session. Otherwise, you may request support via the Issues tab.
License
Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.
REUSE
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-samples-teched2025-ai163- JSON
- /artifacts/sap-samples-teched2025-ai163.json
- MCP
- Connecting an agent