Overview of the Agent Platform SDK for ABAP

The Agent Platform SDK for ABAP (formerly Vertex AI SDK for ABAP) lets you interact with the Gemini Enterprise Agent Platform programmatically by using ABAP. With ready-to-use ABAP classes and AI-centric data types, you can build AI-powered enterprise applications in your SAP environment without having to write custom API integration logic.

The Agent Platform SDK for ABAP is built on the ABAP SDK for Google Cloud. The Agent Platform SDK for ABAP is available with both the on-premises or any cloud edition of ABAP SDK for Google Cloud and the SAP BTP edition of ABAP SDK for Google Cloud.

Supported models

The models you can access depend on the SDK edition you use:

Edition Supported models and services
On-premises or any cloud edition
SAP BTP edition

Why use the Agent Platform SDK for ABAP

The Agent Platform SDK for ABAP offers the following capabilities:

  • Use ABAP classes and methods: Call the Agent Platform APIs by using built-in ABAP classes and methods.
  • Use AI-centric ABAP types: With AI-centric ABAP types for the input and output parameters, you can prepare inputs and parse outputs from the methods.
  • Receive formatted responses: Receive formatted responses from the Agent Platform API in an ABAP-friendly format that you can directly incorporate into your SAP business logic.
  • Configure parameters centrally: Configure the Agent Platform parameters once against a client key and large language model (LLM), and reuse these configurations for Agent Platform API calls. This approach reduces the amount of repetitive configuration code you need to write for subsequent API calls.

Get started with the Agent Platform SDK for ABAP

To get started with the Agent Platform SDK for ABAP in your SAP environment, choose your edition:

SAP BTP edition

Prototype and test generative AI features in SAP.

Learn about generative AI on Agent Platform and build scalable applications for SAP.

On-premises or any cloud edition

Prototype and test generative AI features in SAP.

Run the built-in demo programs to explore how generative AI can assist you in creating solutions in your SAP environment.

Learn about generative AI on Agent Platform and build scalable applications for SAP.

Pricing

The Agent Platform SDK for ABAP is offered at no cost. However, you are responsible for the charges that result from your use of Google Cloud services, such as the Gemini API or the Agent Platform API.

For quick prototyping with Gemini, you use the Gemini API and Google AI Studio. When you access the Gemini API through Google AI Studio, the Gemini API has both free and paid pricing tiers. However, the free tier of the Gemini API is not available in all regions. For information about the regions where you can access the free and paid tiers of the Gemini API, see Available regions for Google AI Studio and Gemini API. For information about other restrictions, see Use restrictions. For information about pricing and rate limits, see Pricing models.

Agent Platform pricing follows a pay-as-you-go model, which means you're charged based on the resources you consume. For information about pricing, see Agent Platform pricing.

For information about pricing for partner models, see Anthropic Claude pricing on Agent Platform.

For information about how Gemini with Agent Platform is different from Gemini with Google AI Studio, see Google AI versus Agent Platform differences.

Additional resources

Explore additional resources for generative AI:

Get started with generative AI on Agent Platform

Design and manage your prompts

Community resources for building AI-powered ABAP applications

To help you get the most out of the Agent Platform SDK for ABAP, you can explore the following community resources:

Build your RAG application with Agent Platform and Gemini

Accelerate your retrieval-augmented generation (RAG) application development with this handbook available on GitHub. With an end-to-end sample enterprise use case of warehouse operations, this handbook illustrates how to build your own RAG application by using the Agent Platform SDK for ABAP and prebuilt components from the GitHub repository.

Learn how to use generative AI in SAP business applications with Gemini

The following video shows how you can use Gemini to transform your SAP business applications with generative AI.

Integrate AI features into your ABAP editor

You can use a community-driven sample solution available on GitHub that offers features such as code explanation, code review, and ABAP unit test generation. This solution lets you integrate Gemini's advanced AI capabilities into your ABAP editor by using the Agent Platform SDK for ABAP. For more information, see the Genie for SAP GitHub page.

This solution is for reference only and isn't intended for direct use in a production environment.

Because this solution is a community resource, Google Cloud does not offer support for it. For assistance from the community, raise an issue on the Issues GitHub page.

What's next