Agentic AI on BTP: Running Your Agents Unattended on a Schedule
Exposes an agent from the Pydantic AI rewrite in Agentic AI on BTP: a Multi‑Agent App with Pydantic AIAgentic AI on BTP: a Multi‑Agent App with Pydantic AISplits a single CAP/TypeScript agent that had grown to juggle five BTP MCP servers behind one bloated tool list into btp-multiagent-app, a Python and Pydantic AI rewrite where the Cloud Foundry and BTP Core MCP servers each get a dedicated specialist agent, with an audit log specialist scaffolded but left disabled, behind an orchestrator whose only tools are delegation calls to those specialists, which is the agent-tooling pattern the piece works through. Each specialist authenticates to its MCP server over Streamable HTTP with OAuth 2.1, and a shared module centralises the SAP AI Core GenAI Hub model setup behind two credential layouts, one for local runs and one for the Cloud Foundry service binding, the LLM integration side of the rewrite. Tool lists per agent drop from well over a hundred to a dozen or two, and routing failures become separable from tool-misuse failures by reading the trace.published 2026-05-03 as a scope-protected POST /api/agents/{slug}/run endpoint that the SAP Job Scheduling ServiceSAP Job Scheduling serviceCalls an application's endpoint on a schedule or once at a time and keeps the log of every run — cron without a process of your own to keep alive.sap official, btp calls on a cron schedule instead of a person opening the chat, answering 202 Accepted at once and finishing the run in a background task to stay inside the platform's 15-second budget. Because there is no signed-in user at 03:00, the job borrows a stored OAuth token from a service account named in a "Run as principal" field, with two separate preflight checks distinguishing no principal configured from a credential that has gone stale. A dedicated scope in xs-security.json, granted to the job-scheduler service instance with grant-as-authority-to-apps, protects the endpoint instead of the approuter, which only deploys correctly if that service is declared before XSUAASAP Authorization and Trust Management serviceThe OAuth server behind a BTP application: issues the JWT the app checks, holds the scopes and role collections it checks against, and brokers trust to an identity provider. Bound, never installed.sap official, btp in mta.yaml.
Where it sits
Who is behind it
In the atlas: maintains 25, contributes to 39, wrote 18@lemaiwoauthor
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · agentic-ai-tag, SAP Community · btp-tag.
For your agent
- Ref
content:agentic-ai-on-btp-running-your-agents-unattended-on-a-schedule- JSON
- /content/agentic-ai-on-btp-running-your-agents-unattended-on-a-schedule.json
- MCP
- Connecting an agent