Codejam Code Based Agents banner
SAP-samples SAP-samples

Codejam Code Based Agents

DevOps community

Description

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.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

CodeJam - Build code-based AI Agents on SAP Business Technology Platform

[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/codejam-code-based-agents)](https://api.reuse.software/info/github.com/SAP-samples/codejam-code-based-agents)

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

![python_solution_diagram](./assets/code-based-agents-codejam-sd.png)

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)