Codejam Code Based Agents
Learn how to write code-based agents using Python, JavaScript and well-known industry standard frameworks. Learn how to deploy your code-based agent to SAP BTP, Kyma runtime, orchestrate them using Joule and integrate into the SAP ecosystem.
Codejam Code Based Agents is an open-source ai agent by SAP-samples, written mainly in Python, with 69 GitHub stars and the Apache-2.0 license. Its code was last updated Oct 1, 2026.
CodeJam - Build code-based AI Agents on SAP Business Technology Platform
Description
This repository contains the material for the "Build code-based AI Agents on SAP Business Technology Platform" CodeJam.
Overview
In this CodeJam, you will learn how to build state-of-the-art AI agents using Generative AI Hub, Python and JavaScript. You will also gain the skills to create custom tools for your agents, including leveraging the SAP-RPT-1 model and SAP's grounding service. Finally, you will deploy your agents to BTP.
For this CodeJam you will use one of:
- Python, CrewAI and LiteLLM
- Python, LangGraph and LiteLLM
- TypeScript, LangGraph and SAP Cloud SDK for AI
You will learn more about the following SAP technologies:
- Generative AI Hub on SAP AI Core
- SAP-RPT-1
- Grounding Service
- SAP AI Launchpad
- Business Application Studio (Python)
Python Solution Diagram

Session prerequisites
For this CodeJam, the Developer Advocates provide a fully functioning system. You only need a laptop with a chromium-based browser installed.
Exercises
For this CodeJam you can choose between three different technology stacks. Both Python options use the same SAP AI services — they differ in the agent framework. The JavaScript option uses TypeScript and LangGraph.
If you are unsure which path to choose, ask the instructor for guidance.
Python (CrewAI + LiteLLM)
- Exercise 00 - Understanding Generative AI Hub in SAP AI Core
- Exercise 01 - Setup SAP Business Application Studio and your personal development space
- Exercise 02 - Build your first AI Agent
- Exercise 03 - Build your first agent tool
- Exercise 04 - Building a multi-agent system
- Exercise 05 - Add the Grounding service
- Exercise 06 - Discover Connected Crimes with Web Search
- Exercise 07 - Use your AI Agents to solve the crime
- Exercise 08 - Deploy your agent to Cloud Foundry with A2A
- Exercise 09 - Integrate your agent into SAP Joule
Python (LangGraph + LiteLLM)
- Exercise 00 - Understanding Generative AI Hub in SAP AI Core
- Exercise 01 - Setup SAP Business Application Studio and your personal development space
- Exercise 02 - Build your first AI Agent
- Exercise 03 - Build your first agent tool
- Exercise 04 - Building a multi-agent system
- Exercise 05 - Add the Grounding service
- Exercise 06 - Discover Connected Crimes with Web Search
- Exercise 07 - Use your AI Agents to solve the crime
- Exercise 08 - Deploy your agent to Cloud Foundry with A2A
- Exercise 09 - Integrate your agent into SAP Joule
JavaScript (LangGraph + SAP Cloud SDK for AI)
- Exercise 00 - Understanding Generative AI Hub in SAP AI Core
- Exercise 01 - Setup SAP Business Application Studio and your personal development space
- Exercise 02 - Build your first AI Agent
- Exercise 03 - Build your first agent tool
- Exercise 04 - Building a multi-agent system
- Exercise 05 - Add the Grounding service
- Exercise 06 - Discover Connected Crimes with Web Search
- Exercise 07 - Use your AI Agents to solve the crime
- Exercise 08 - Deploy your agent to Cloud Foundry with A2A
- Exercise 09 - Integrate your agent into SAP Joule
The instructor will start you on the first exercise. Proceed to the next exercise once the instructor tells you to.
For this CodeJam you are provided with a subaccount on SAP BTP. The subaccount is only available for the duration of this CodeJam.
Frequently asked Questions
You can find a list of frequently asked questions in the Frequently Asked Questions Document
Further Learning on AI
YouTube Videos
SAP Developers YouTube channel: SAP Business AI playlist
Learning
- Learning Journey - Solving Business Problems using SAP's Generative AI Hub
- Basic Trial of Generative AI Hub
Feedback
If you can spare a couple of minutes at the end of the session, please provide feedback to help us improve next time.
Use this Give feedback link to create a special "feedback" issue, and follow the instructions in there.
Thank you!
Other CodeJams
CodeJam Community
Known Issues
How to obtain support
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in SAP Community.
License
Copyright (c) 2026 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.
Codejam Code Based Agents alternatives
View more →Similar ai agents in Learning Resources, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Codejam Code Based Agents (this page) SAP-samples | 69 | Apache-2.0 | Oct 1, 2026 | Scanned, no flagged issues |
| Prompt Engineering Guide dair-ai | 80k | MIT | Mar 11, 2026 | Scanned, no flagged issues |
| Learn Claude Code shareAI-lab | 80k | MIT | Oct 27, 2026 | Scanned, no flagged issues |
| AI Engineering From Scratch rohitg00 | 76k | MIT | Oct 29, 2026 | Scanned, no flagged issues |
| Front End Checklist thedaviddias | 75k | MIT | Oct 31, 2026 | Scanned, no flagged issues |
| System Prompts Leaks asgeirtj | 71k | CC0-1.0 | Nov 1, 2026 | Scanned, no flagged issues |