SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
β€’ Open full site

8 - Add Subagent to Convert Currency Using MCP Server

Create a subagent that connects to an MCP server with currency conversion tool, and then add that agent to our shipment agent.

Overview

🎓 beginner 15 min. CloudBeginner

You will learn

  • βœ”How to create a subagent
  • βœ”How to connect to an MCP server
Daniel Wroblewski D Daniel Wroblewski April 5, 2026
Created by January 18, 2026
Contributors

Prerequisites

Prerequisites

Steps

Intro

In this tutorial we will explore two additional features of agents:

  • You can create subagents to be called from another agent, so you can better structure your projects. A subagent is built the same way as any other agent, just that it is added as a tool in another agent. For now, once an agent is used as a tool in another agent, it cannot be called directly.

  • You can connect your agent to an MCP server and use its tools as part of that agent.

You will create an agent that uses an MCP server for converting currencies, and then use that agent within your logistics agent.

We probably could have just added the MCP server to the first agent, but we wanted to show the subagent feature as well 😊.

Step 1 Create empty agent
β€”

  1. Select the Overview tab.

  2. Click Create, and choose Joule Agent.

    New agent
    New agent

  3. In the Create Joule Agent dialog, enter the following details:

    FieldValue
    NameAgent for Converting Currencies
    DescriptionAn agent for converting currencies and show the value of one currency in another currency

    Click Create.

    Name agent
    Name agent

    Once the Joule skill is created, you are taken to the skill builder.

Step 2 Add expertise, instructions and context
+
Step 3 Add MCP server
+
Step 4 Add currency agent as subagent
+
Step 5 Change instructions
+
Step 6 Test agent
+
Step 7 Questions to ponder
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Create empty agent 2. Add expertise, instructions and context 3. Add MCP server 4. Add currency agent as subagent 5. Change instructions 6. Test agent 7. Questions to ponder

Learn more →