# Genai hub orchestration

> Genai hub orchestration is an open-source agent skill for ai models and llm tooling. Lets an agent build SAP AI Core orchestration pipelines with templates, filtering and RAG. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/SAP/ai-skills-library/tree/main/plugins/aicore-skills/skills/genai-hub-orchestration
- **Repository:** https://github.com/sap/ai-skills-library
- **GitHub stars:** 162
- **License:** Apache-2.0
- **Skill name:** genai-hub-orchestration
- **Collection:** https://github.com/SAP/ai-skills-library
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through the SAP AI Core Orchestration service, which wraps a language model in a pipeline that can apply prompt templates, input and output content filters, and document grounding. It describes the deployment prerequisite, the REST endpoint used for orchestration calls, and a choice between curl and the Python SDK before code is written.

The skill ships three runnable Python templates covering basic chat, chat with filtering, and retrieval-augmented generation with document grounding. It also includes key SDK patterns for building a pipeline and adding filters, and points to reference files for the Harmonized API request shape and grounding module setup.

Using it requires an SAP AI Core account with a running orchestration deployment, plus credentials configured through a companion skill. Code runs with Python 3.11 or later and uv, using the sap-ai-sdk-gen package, and the curl path relies on jq and bash.

## When your agent uses it

> Configure and use the SAP AI Core Orchestration service: build prompt templates, add content filtering, set up document grounding (RAG) pipelines, and call models via the Harmonized API. WHEN: user asks about the orchestration service, Harmonized API, prompt templating with variables, content filtering, grounding, RAG pipeline, document grounding, or building a pipeline that wraps an LLM. DO NOT USE FOR: creating an orchestration deployment — use `aicore-lifecycle-management` for that; credential setup — use `aicore-admin-resources`; browsing or deploying foundation models directly without a pipeline — use `genai-hub-foundation-models`; direct LLM inference without a pipeline — use `aicore-sdk-java` or `aicore-sdk-js`

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/SAP/ai-skills-library/tree/HEAD/plugins/aicore-skills/skills/genai-hub-orchestration)
- [Asks for: Bash, Read](https://github.com/SAP/ai-skills-library/blob/HEAD/plugins/aicore-skills/skills/genai-hub-orchestration/SKILL.md)
- [No network calls found in its scripts](https://github.com/SAP/ai-skills-library/tree/HEAD/plugins/aicore-skills/skills/genai-hub-orchestration)
- [License: Apache-2.0](https://github.com/SAP/ai-skills-library/tree/HEAD/plugins/aicore-skills/skills/genai-hub-orchestration)

## Features

- **Prompt templating:** Builds reusable chat templates with variable placeholders filled at run time.
- **Content filtering:** Adds input and output filters for categories such as hate, violence and self-harm.
- **Document grounding:** Sets up retrieval-augmented generation pipelines that answer from supplied documents.
- **Harmonized API calls:** Calls different models through one OpenAI-style message format via the orchestration endpoint.
- **Ready-made templates:** Provides runnable Python examples for basic chat, filtered chat and RAG.
- **REST and SDK options:** Shows both curl requests and Python SDK code for the same orchestration workflow.

## Good for

- Wrap an LLM in a pipeline that applies a fixed system prompt and user variables
- Add hate and violence filtering to both the input and output of a chatbot
- Answer questions from a set of internal documents using grounding
- Call the SAP AI Core orchestration endpoint with curl to test a deployed model
- Switch a pipeline between GPT and Gemini models without rewriting client code

## Install

### Claude Code

This skill ships in the `aicore-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add SAP/ai-skills-library
/plugin install aicore-skills@ai-skills-library
```

Or copy only this skill to `~/.claude/skills/genai-hub-orchestration`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.claude/skills/genai-hub-orchestration &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/genai-hub-orchestration` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/genai-hub-orchestration` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.agents/skills/genai-hub-orchestration &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/genai-hub-orchestration` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/genai-hub-orchestration` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.cursor/skills/genai-hub-orchestration &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/genai-hub-orchestration` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/SAP/ai-skills-library.git --path plugins/aicore-skills/skills/genai-hub-orchestration
```

Or copy the folder to `~/.gemini/skills/genai-hub-orchestration` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/genai-hub-orchestration`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.copilot/skills/genai-hub-orchestration &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/genai-hub-orchestration` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/SAP/ai-skills-library.git
```

Then copy `ai-skills-library/plugins/aicore-skills/skills/genai-hub-orchestration` into your agent's skills folder as `genai-hub-orchestration`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What do I need before using Genai hub orchestration?

A running orchestration deployment in SAP AI Core is required. The skill points to a lifecycle skill to create one and an admin skill to configure credentials.

### Which tools does Genai hub orchestration use?

The skill's allowed tools are Bash and Read, and its examples run Python scripts through uv and call the orchestration endpoint with curl.

### Does Genai hub orchestration work with direct model inference without a pipeline?

No. The skill covers orchestration pipelines only and directs direct inference and model browsing to other skills.

### How do I install Genai hub orchestration in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/genai-hub-orchestration to use it in all your projects, or to .claude/skills/genai-hub-orchestration in one project. Or install the aicore-skills plugin, which includes it: /plugin marketplace add SAP/ai-skills-library, then /plugin install aicore-skills@ai-skills-library.

### Does Genai hub orchestration run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Genai hub orchestration?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Genai hub orchestration?

The closest alternatives to Genai hub orchestration are Genai hub prompt evaluation, Genai hub foundation models, Developing genkit js, API AI augmented and Prompt optimizer.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Genai hub prompt evaluation](https://ai-powered.com/skills/genai-hub-prompt-evaluation): Genai hub prompt evaluation is an open-source agent skill for ai models and llm tooling.
- [Genai hub foundation models](https://ai-powered.com/skills/genai-hub-foundation-models): Genai hub foundation models is an open-source agent skill for ai models and llm tooling.
- [Developing genkit js](https://ai-powered.com/skills/developing-genkit-js): Developing genkit js is an open-source agent skill for developer tools.
- [API AI augmented](https://ai-powered.com/skills/api-ai-augmented): API AI augmented is an open-source agent skill for ai models and llm tooling.
- [Prompt optimizer](https://ai-powered.com/skills/prompt-optimizer-getsentry): Prompt optimizer is an open-source agent skill for ai models and llm tooling.
- [System prompt creator](https://ai-powered.com/skills/system-prompt-creator): System prompt creator is an open-source agent skill for ai models and llm tooling.
- [Agent governance](https://ai-powered.com/skills/agent-governance): Agent governance is an open-source agent skill for ai models and llm tooling.
- [Agent prompt engineering](https://ai-powered.com/skills/agent-prompt-engineering): Agent prompt engineering is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/genai-hub-orchestration
