sap-cloud-sdk-ai
Skill1 starsChanged 4 months agoMITView on GitHub
SAP Cloud SDK for AI — generative AI hub SDK, LLM orchestration, prompt templating, model selection, orchestration service for multi-step AI workflows, document grounding, retrieval augmented generation (RAG). Use when building AI agents with SAP Cloud SDK, calling LLMs via SAP BTP GenAI Hub, or implementing RAG patterns with SAP data.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- yan252/trae-sap-skillstheir own version, first seen Feb 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- yan252/trae-sap-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository413 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .cursor/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sap-router-skillCopilot instructions
- .cursor/rules/sap-router.mdcCursor rule
- abap-cloud-migrationSkill
- abap-cloudSkill
- abap-code-patternsSkill
- abap-code-reviewSkill
- abap-docs-referenceSkill
- abapgitSkill
- abapSkill
- abap-snippetSkill
- abap-sql-amdpSkill
- abap-system-infoSkill
- abap-unit-testingSkill
- arc-1-skillsSkill
- atc-cloudificationSkill
- authorization-iamSkill
- automation-pilot-catalog-explorerSkill
- automation-pilot-command-generationSkill
- automation-pilot-command-reviewSkill
- automation-pilot-content-management-via-apiSkill
- automation-pilot-debuggerSkill
- automation-pilot-executions-apiSkill
- automation-pilot-executor-executescriptSkill
- automation-pilot-executor-httprequestSkill
- automation-pilot-mcp-server-generationSkill
- automation-pilot-scheduled-executions-apiSkill
- badi-enhancementSkill
- btp-abap-environmentSkill
- btp-best-practicesSkill
- btp-build-work-zoneSkill
- btp-business-application-studioSkill
- btp-ciasSkill
- btp-cloud-foundrySkill
- btp-cloud-identitySkill
- btp-cloud-loggingSkill
- btp-cloud-platformSkill
- btp-cloud-transport-managementSkill
- btp-connectivitySkill
- btp-developer-guideSkill
- btp-diagram-generatorSkill
- btp-integration-suiteSkill
- btp-job-schedulingSkill
- btp-master-data-integrationSkill
- btp-service-managerSkill
- cap-add-remote-serviceSkill
- cap-developerSkill
- cap-triviaSkill
- capture-answerSkill
- cap-upgradeSkill
- cds-view-entitiesSkill
- claude-abap-skillsSkill
- claude-memSkill
- clean-abapSkill
- context-modeSkill
- cpi-iflow-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 88
Document grounding documents must be in supported format (PDF, TXT, MD)
- Distinctive: line 89
Always validate LLM output — hallucination risk with SAP technical content
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SAP Cloud SDK for AI
Generative AI development on SAP BTP — LLM orchestration, prompt management, RAG.
Python SDK
from gen_ai_hub.orchestration import OrchestrationService
# Orchestration with templating and grounding
service = OrchestrationService(
api_url="https://api.ai.core.prod.<region>.aws.cloud.sap/v2",
client_id="...", client_secret="..."
)
# Define a prompt template
template = '''
System: You are an SAP procurement expert. Answer using only provided context.
Context: {{?grounding_context}}
User: {{?user_input}}
'''
result = service.invoke(
template=template,
grounding={"type": "document", "source": "sap-procurement-docs"},
model={"name": "gpt-4"},
input={"user_input": "How do I create a purchase order?"}
)
print(result.content)Document Grounding
# Upload SAP documents for RAG
service.upload_document(
name="sap-procurement-docs",
content=open("procurement_guide.pdf", "rb"),
metadata={"category": "SAP_MM", "language": "EN"}
)
# Query with grounding
response = service.query_with_grounding(
question="What BAPI creates a purchase order?",
document_names=["sap-procurement-docs"],
top_k=3
)Model Selection
| Model | Provider | Best For |
| GPT-4 / GPT-4o | OpenAI | Complex reasoning, code generation |
| Codex Opus / Sonnet | Anthropic | Analysis, structured output |
| Llama 3 | Meta (self-hosted) | Cost-sensitive, offline scenarios |
| Gemini Pro | Multimodal, long context |
Multi-Step Orchestration
# Chain: classify → route → generate → validate
orchestrator = OrchestrationService()
steps = [
{"name": "classify", "template": classify_template, "model": "gpt-4o-mini"},
{"name": "generate", "template": generate_template, "model": "gpt-4"},
{"name": "validate", "template": validate_template, "model": "gpt-4o-mini"}
]
result = orchestrator.run_pipeline(steps=steps, input={"question": user_input})Gotchas
- GenAI Hub requires AI Core entitlement on BTP subaccount
- Rate limits vary by model provider (OpenAI vs Anthropic vs Meta)
- Document grounding documents must be in supported format (PDF, TXT, MD)
- Always validate LLM output — hallucination risk with SAP technical content
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

