BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP CommunityPart 2 of 3

Building a Pro-Code Agent on SAP BTP — Part 2: The Agent (LangGraph + GenAI Hub)

Part 2 of a three-part series builds a separate, non-CAP Node/TypeScript agent that calls the Part 1 CAP service's MCP tools and reasons through SAP AI Core via @sap-ai-sdk/orchestration, using LangGraph's createAgent ReAct loop for provider-agnostic model calls across GPT, Claude and Gemini deployments. It explains why the tool's Zod schema and model-facing description are the agent's actual contract, the gotcha between a foundation-models deployment and an orchestration-scenario one, and how edge-case testing replaced date inference with a server-computed daysOverdue field after the agent wrongly called a delayed order 'on schedule'.

Where it sits

Explains
Agent toolingAgent toolingcapabilityBuilding an agent into your own application — the tools it may call, the state it keeps between turns, and the framework it runs in. Distinct from MCP servers, which expose an application to somebody else's agent, and from agent guidance, which is knowledge handed to a coding agent.LLM integrationLLM integrationcapabilityCalling a language model from application code with the tenant, destination and credential handling already solved instead using an SDK call with a hand-rolled key.
Source
reachable

Who is behind it

rodfiorauthor

In this series3

  1. 1
  2. 2
    Building a Pro-Code Agent on SAP BTP — Part 2: The Agent (LangGraph + GenAI Hub)you are here
  3. 3

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,433

More on this78

Group by78 of 78 pieces
Piece, what it offersStill applies
Also explainingAgent tooling78
Building Code-Based AI Agents on the BAIP
YouTube — SAP Developers playlists, Wouter Lemaire
nothing recorded
How to implement business AI capabilities in ABAP Cloud
YouTube — SAP Developers playlists, Fabian Fellhauer
nothing recorded
CAP in the age of AI #5 - agents wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 5 of 7
nothing recorded
What's in Daniel Hutzel's brain?
YouTube — SAP Developers playlists, Daniel Hutzel, DJ Adams
nothing recorded
Real Pro-Code Development with Joule Studio
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
🟣 Enable Your AI application to Run on Multiple Models to Ensure Resilience and Compliance
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
What an AI infra engineer sees when opening SAP's AI stack (1/3): the model gateway
SAP Community, amishkush
nothing recorded
CAP: The Road Ahead - Simplicity in an AI Era
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Meet Joule Studio and Build your First AI Agent
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
What's new in SAP Cloud Application Programming Model – September 2026
SAP Community, BirgitS
nothing recorded
🟣 Bring AI into Your ABAP Applications with ISLM: Build, Integrate, and Consume AI Natively
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Combining AI Agents with the power of SAP HANA embedded ML (part 1)
YouTube — SAP Developers playlists, Vitaliy Rudnytskiy
nothing recorded
Governance at Scale: Why a Clean Core Is What Makes Agent Governance Enforceable
SAP Community, DEEPA_DORAIRAJ
nothing recorded
September 15th: What's New on developers.sap.com
SAP Community, Thomas Jung
nothing recorded
CAP in the age of AI #4 - more on agents
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 4 of 7
nothing recorded
SAP's API Policy on AI Agents: What It Prohibits, Allows, and Leaves Open
SAP Community, Héctor Enríquez
nothing recorded
UI5 AI Features library is now an npm Package
SAP Community, Wouter LemaireThe reasoningRunnable code
Version drift
Build Your AI Agent prototype for free using SAP CAP, LangChain and Ollama cloud
SAP Community, rajeevgoswami1
nothing recorded
Agentic AI & AI Agents
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Connecting SAP Integration Suite with SAP Document AI and SAP Business AI
SAP Community, subhojitSaha
nothing recorded
CAP in the age of AI #3 - from MCP to A2A
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Stefan Rudi, part 3 of 7
nothing recorded
Adapting SAP Joule for Purchase Order Creation from an Existing Purchase Requisition
SAP Community, jonathanvi59
nothing recorded
SAP Joule: Invoice Agent for Faster Supplier Invoice Release in SAP S/4HANA Accounts Payable
SAP Community, idc
nothing recorded
CAP in the age of AI
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter
nothing recorded
Building Durable AI Agents - Announcing the cds-langgraph-persistence Plugin
SAP Community, merbinjanselmThe reasoningRunnable code
New majors
Autonomous Diagnostics on Kyma Unplugged: Goose + LiteLLM + KRO + SAP AI Core in Production
SAP Community, quovadis
nothing recorded
Natural Language Queries for SAP CAP via MCP: The LLM Translates, CDS Executes
SAP Community, ShahidThe reasoningA recipeRunnable code
nothing recorded
Banking Sentinel: A Multi-Agent Credit-Risk Copilot on SAP BTP, Built on a Mixed AI Stack
SAP Community, ShahidThe reasoningA recipeRunnable code
Core changed
Beyond Basic AI Error Handling in SAP CPI - A Rules-First Architecture with HANA Cloud Learning
SAP Community, Krishna_Karthik
nothing recorded
Building an LLM Agent in CAP Java with Spring AI
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Calling Claude from ABAP: How I Wired SAP AI Core into a Real Business Scenario
SAP Community, PranayGaroo
nothing recorded
Building an LLM Agent using CAP
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Michael Jackson: AI Cognitive Pipeline on SAP BTP, SAP CAP, ElevenLabs, Claude, HANA DB, Solace
SAP Community, ShahidThe reasoning
nothing recorded
AI-native North Star architecture — Platform Layer
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
Agentic AI on BTP: a Multi‑Agent App with Pydantic AI
SAP Community, Wouter Lemaire
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
Enhancing Enterprise Applications: AI-powered User Experience with SAP CAP AI Plugin
SAP Community, rupamaityThe reasoningA recipeRunnable code
nothing recorded
What Happens to Your Data When You Enable SAP's AI Features?
SAP Community, jaripie
nothing recorded
Custom Joule Agent for SAP Ariba SLP - Building an AI Agent for Supplier Registration Approval
SAP Community, Giancarlo-Martinez
nothing recorded
SAP Agentic AI in Practice: Building the SAP Exception Log Triage Agent (Part 3 of 6)
SAP Community, DEEPA_DORAIRAJ
nothing recorded
Integrating a Custom AI Model into SAP CAP Using AI Launchpad
SAP Community, egeAksoyekThe reasoningRunnable code
Core changed
Integrating and Extending Joule
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
SAP Integration Suite: Intelligent Integration with AI Adapter
SAP Community, meena_choudhary
nothing recorded
cds-toon-ai-protocol-adapter: a pragmatic way to cut AI token costs using SAP CAP
SAP Community, Geert-Jan KlapsThe reasoningA recipeRunnable code
nothing recorded
UI5 MCP Server Got Extended for UI Integration Cards Generation
SAP Community, daniel_vladinov
nothing recorded
SAP JOULE & ME : My First JOULE Skill in SAP EHSM-Incident Management Without Coding
SAP Community, Pardhasaradhi_Reddy_Chelikam
nothing recorded
Enhancing Business Processes with SAP BTP AI in SAP Integration Suite
SAP Community, arunmaarirajha_kv
nothing recorded
Prompt-Driven Development: Building Full-Stack SAP CAP Apps from User Stories
SAP Community, AnuradhaDhinganThe reasoning
nothing recorded
Event Driven SAP CAP on Kyma with Agentic AI and UI Auto Refresh
SAP Community, ShahidThe reasoning
nothing recorded
Streaming LLM Output with CAP and WebSockets
SAP Community, RobinPThe reasoningA recipeRunnable code
Core changed
How to Reduce Prompt Token Costs Using Toon = Save Money
SAP Community, YoganandaThe reasoningA recipeRunnable code
Core changed
How Redwood Software and SAP are shaping the next era of automation with Joule Studio
SAP Community, gmblom
nothing recorded
Generative AI on SAP BTP
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
How to use Cloud SDK for AI in an existing CAP NodeJS Project in CommonJS
SAP Community, Jacky_Liu1
nothing recorded
Improving Exception Handling using Generative AI in SAP Cloud Integration (SAP CI/CPI)
SAP Community, AdarshRao
nothing recorded
Lets Talk to the Database - CAP & SQLite Powered by Google Gemini-2.5-Pro
SAP Community, ShivamShuklaSAPThe reasoning
nothing recorded
Out-of-the-Box Document Grounding in SAP AI Core: RAG with SAP Help Portal
SAP Community, Joni
nothing recorded
Elevating Data Privacy in SAP CAP based GenAI Applications with CAP LLM Plugin
SAP Community, AkashAmarendraThe reasoningRunnable code
nothing recorded
An Innovative Language Exchange App developed with SAP Build Apps, CAP, Kyma, and OpenAI
SAP Community, javierywThe reasoningRunnable code
Core changed
GenAI Mail Insights - Leveraging the generative AI hub in SAP AI Core to improve customer support
SAP Community, martinfrickThe reasoning
nothing recorded
Automate your Job Postings Using Generative AI (ChatGPT) & SAP Build Process Automation Apps
SAP Community, shivamshukla12The reasoning
nothing recorded
Creating a meal generator application with SAP Build, Cloud Application Programming and openAI
SAP Community, former_member793421The reasoning
nothing recorded
Empowering Your Data Analytics with GPT-3 and SAP CAP Integration
SAP Community, Former MemberThe reasoning
nothing recorded
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3
SAP Community, Mike Zaschka, part 3 of 3The reasoningRunnable code
1 stale part
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 2/3
SAP Community, Mike Zaschka, part 2 of 3The reasoningRunnable code
Gone quiet
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 1/3
SAP Community, Mike Zaschka, part 1 of 3The reasoningRunnable code
Gone quiet
Content-based Agents with SAP Joule Studio Agent Builder
SAP BTP AI Best Practices, SAPThe reasoning
nothing recorded
Pro-Code AI Agents
SAP BTP AI Best Practices, SAPThe reasoning
nothing recorded
Generate agentic workflows using SAP-managed n8n in Joule Studio
SAP TechEd — session catalogueA recipe
nothing recorded
Connecting AI agents to the ABAP RESTful application programming model
SAP TechEd — session catalogueThe reasoning
nothing recorded
Building agentic applications with SAP HANA Cloud
SAP TechEd — session catalogueA recipe
nothing recorded
Agentic memory: Knowledge graph engine and recall in SAP HANA Cloud
SAP TechEd — session catalogue, Markus FathThe reasoning
nothing recorded
Knowledge graph and agent memory: Build an agent that remembers
SAP TechEd — session catalogue, Markus Fath, Thomas HammerA recipe
nothing recorded
Access to Generative AI Models
SAP BTP AI Best Practices, SAPThe reasoning
nothing recorded
ABAP AI SDK powered by ISLM - How to implement your own AI use cases in ABAP
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Agentic CAP: Build MCP servers and enterprise AI agents
SAP TechEd — session catalogue, Daniel Hutzel, Daniel SchlachterA recipe
nothing recorded
AI-enabled administration: Automating log analysis with generative AI hub
SAP TechEd — session catalogueThe reasoning
nothing recorded
Stop guessing, start counting: How generative AI fixed an inventory mess
SAP TechEd — session catalogueThe reasoning
nothing recorded

Details

Graph5 edges
POINTS OUT →
explainsAgent toolingcapability, core and community
explainsLLM integrationcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communityagentic-ai-tag
discovered viaSAP Communityjoule-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · agentic-ai-tag, SAP Community · joule-tag.
For your agent
Ref
content:building-a-pro-code-agent-on-sap-btp-part-2-the-agent-langgraph-genai-hub
JSON
/content/building-a-pro-code-agent-on-sap-btp-part-2-the-agent-langgraph-genai-hub.json
MCP
Connecting an agent