
Aicore SDK js
Generates TypeScript and JavaScript code for calling SAP GenAI Hub models
Aicore SDK js is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- TypeScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 162
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Aicore SDK js
This skill helps an AI coding agent produce working TypeScript or JavaScript starter code for SAP GenAI Hub on SAP AI Core, using the @sap-ai-sdk package family. It covers the main entry points: orchestration-based chat and streaming, the native OpenAI SDK surface, LangChain integration, and separate packages for document grounding, managed prompt templates, batch LLM jobs, tabular prediction and Context Registry resources.
The skill sets working conventions for the agent. It asks for the framework, use case, runtime and deployment ID before generating code, and points to the SAP AI Core console for existing deployments. It favors passing messages directly to the orchestration client and warns against the older v1 configuration shape. Generated code carries comments on configuring AI Core credentials, and the skill reads from a bundled reference file and compile-checked templates, with an optional documentation lookup tool when one is available.
It expects Node.js 22 or later with native ESM support, npm or bun, and an SAP AI Core service key. Lifecycle management of deployments is out of scope and must be handled in the AI Core console. Java requests are routed to a separate sibling skill.
When your agent uses it
Generate working TypeScript/JavaScript boilerplate for SAP GenAI Hub using @sap-ai-sdk/orchestration, @sap-ai-sdk/foundation-models, @sap-ai-sdk/openai (native OpenAI SDK), @sap-ai-sdk/langchain (LangChain), @sap-ai-sdk/document-grounding (RAG), @sap-ai-sdk/prompt-registry, @sap-ai-sdk/llm-batch (batch jobs), @sap-ai-sdk/rpt (tabular prediction), or @sap-ai-sdk/context-registry (data destinations, tabular artifacts, scenario configurations). WHEN: user asks for TypeScript, JavaScript, Node.js, or JS/TS code that calls a GenAI Hub model, wants a TypeScript starter project, asks how to use @sap-ai-sdk in their app, asks how to use LangChain (JS/TS) with SAP AI Core, or wants JS/TS for RAG/document-grounding, prompt templates, batch LLM jobs, tabular (RPT) prediction, or managing data destinations / tabular artifacts / scenario configurations via the Context Registry. DO NOT USE FOR: Java code — use `aicore-sdk-java`.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs TypeScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: Apache-2.0(see the files on GitHub)
From a static check of its 17 files (81 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the aicore-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add SAP/ai-skills-library
/plugin install aicore-skills@ai-skills-libraryOr copy only this skill to ~/.claude/skills/aicore-sdk-js:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/aicore-sdk-js &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-sdk-js" ~/.claude/skills/aicore-sdk-js &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/aicore-sdk-js inside it instead.
Copy the skill folder to ~/.agents/skills/aicore-sdk-js to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/aicore-sdk-js &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-sdk-js" ~/.agents/skills/aicore-sdk-js &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/aicore-sdk-js inside it instead.
Copy the skill folder to ~/.cursor/skills/aicore-sdk-js to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/aicore-sdk-js &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-sdk-js" ~/.cursor/skills/aicore-sdk-js &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/aicore-sdk-js inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/SAP/ai-skills-library.git --path plugins/aicore-skills/skills/aicore-sdk-jsOr copy the folder to ~/.gemini/skills/aicore-sdk-js yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/aicore-sdk-js:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/aicore-sdk-js &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-sdk-js" ~/.copilot/skills/aicore-sdk-js &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/aicore-sdk-js inside it instead.
Get the folder:
git clone --depth 1 https://github.com/SAP/ai-skills-library.gitThen copy ai-skills-library/plugins/aicore-skills/skills/aicore-sdk-js into your agent's skills folder as aicore-sdk-js. Agents that support SKILL.md read one folder per skill.
What it does
- Orchestration chat and streaming
- Templates for chat completions and streamed responses through the orchestration client.
- LangChain integration
- Examples wiring SAP AI Core models into LangChain chat clients for JavaScript and TypeScript.
- Native OpenAI SDK surface
- Patterns for using the OpenAI client interface on SAP GenAI Hub, including embeddings and Responses API.
- Document grounding for RAG
- Starter code for retrieval-augmented generation with the document grounding package.
- Managed prompt templates
- Code for working with reusable prompt templates stored in the prompt registry.
- Batch and tabular prediction
- Templates for batch LLM jobs and SAP-RPT-1 tabular prediction.
Good for
- Write a TypeScript chat app that calls a GenAI Hub model
- Set up a Node.js streaming endpoint backed by SAP AI Core
- Add LangChain chat to a JavaScript project using SAP AI Core
- Build a document question-answering flow with grounding in TypeScript
- Run a batch of LLM requests from a Node.js script
Aicore SDK js FAQ
What does Aicore SDK js need before it generates code?
It asks for the framework, use case, runtime and model with deployment ID, and for OpenAI models it asks whether you plan to switch models later.
Does Aicore SDK js manage AI Core deployments?
No. Creating, listing and deleting deployments is not covered; use the SAP AI Core console or your admin.
Which Node.js version is required?
Node.js 22 or later with native ESM support, plus npm or bun.
Will Aicore SDK js generate Python code?
No. It is JavaScript and TypeScript only and points Python users to the SAP AI SDK documentation.
How do I install Aicore SDK js in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/aicore-sdk-js to use it in all your projects, or to .claude/skills/aicore-sdk-js 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 Aicore SDK js run scripts?
Yes. It runs TypeScript 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 Aicore SDK js?
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 Aicore SDK js?
The closest alternatives to Aicore SDK js are Aicore SDK java, Aicore SDK python, Developing genkit js, Angular developer and Azure AI projects ts.
Where this comes from
- Description: from the skill's own SKILL.md.
More from SAP/ai-skills-library

Checks SAP AI Core credentials, fetches auth tokens and manages resource groups
- Open source
- 162 GitHub stars
- Cloud and infrastructure

Lets your agent manage SAP AI Core scenarios, configurations and deployments via scripts
- Open source
- 162 GitHub stars
- Cloud and infrastructure

Generates Java code for calling SAP GenAI Hub models via the SAP AI SDK
- Open source
- 162 GitHub stars
- Developer tools

Generates Python code for calling LLMs, batch jobs and RAG through SAP AI Core
- Open source
- 162 GitHub stars
- Developer tools

Browse SAP AI Core GenAI Hub foundation models and get IDs for deployments
- Open source
- 162 GitHub stars
- AI models and LLM tooling

Lets an agent build SAP AI Core orchestration pipelines with templates, filtering and RAG
- Open source
- 162 GitHub stars
- AI models and LLM tooling



