Skip to main content
Feedback

Building an agent

An AI agent is an intelligent application designed to perform tasks to achieve specific goals using prompts and available tools, such as APIs and integrations. AI agents streamline business processes and accelerate productivity in your organization. Refer to About AI agents to learn more about what AI agents are, how they can benefit your organization, and when to create an AI agent. For more information on use cases and benefits, refer to Agent Designer overview.

The Agent Designer lets you define the agent’s personality and reasoning style, attach backend capabilities using tools, and apply guardrails to ensure safe and secure interactions. Throughout the creation process, you can test your agent iteratively and make adjustments to improve its responses and behavior. After deploying your agent, users can interact with it through the conversational interface in the Agent Garden.

Prerequisites

To build, edit, and deploy agents and tools, you must have one of the following roles:

  • Agent Garden Administrator
  • Agent Garden Developer
  • A custom role with privileges (Agent Garden Access, Agent Create, Agent Edit, Agent Feedback Submit, Agent Garden Feedback View)

Read Agent Garden for details on adding roles and setting up custom privileges.

Important considerations

  • Agents built in the Agent Designer can respond with text, images, and chart visualizations in the Agent Garden's conversational experience. Image links also appear in agent responses in the Message step from processes using Agent step. Videos are currently not supported.
  • If your agent performs only simple tasks, such as sentiment analysis, summarization, and data formatting, turn on the Quick Inference toggle to improve the AI processing speed in the agent's Profile configuration.
note

The Agent Designer employs a framework that selects the most suitable model for a given function, such as reasoning, summarization, and guardrails. It uses LLMs via Amazon Bedrock's managed service.

Step 1: Identifying tools

Before creating an agent, identify the tools and capabilities it will need to achieve its goal. For example, it may require access to a weather API to provide weather forecasts. You can attach multiple tools to agent tasks. There are five types of tools you can attach:

  • API tool - Enables the agent to make REST or SOAP API calls.
  • Integration tool - Enables the agent to run Boomi integrations.
  • Prompt tool - Enables the agent to receive detailed prompts that train the LLM’s response for a specific task.
  • DataHub Query tool - Enables the agent to query a DataHub repository and retrieve data. This tool aligns with the Query Golden Records API endpoint.
  • MCP tool - Pre-configured tools from an MCP server that enable the agent to perform operations, such a retrieving data.

Step 2: Building the agent profile

You can create an agent using a template, AI assistance, or manually without pre-populated fields to guide you. You can also import an agent from another Boomi account using a YAML file:

  • Blank Template - This option generates blank configuration fields. It is recommended for experienced users who understand how to build tasks and guardrails.
  • Build with AI - This option utilizes the Large Language Model (LLM) to generate editable configurations based on your agent goal, including tasks, instructions, and guardrails. It is recommended for new users to help them get started quickly.
  • Import Agent - This option uses the YAML file of an exported agent from another Boomi account. Refer to Importing an agent to learn more.
  • Template - This option creates an agent using a pre-defined, editable configuration that generally suits your use case or is intended for learning and exploration. Explore the templates gallery with over 100 AI agents. A template with a Deploy button indicates that the agent is ready to use immediately. A template with a Configure button indicates that the agent requires you to enter some credentials for tools, such as a key to call an API.

agent profile showing goal, avatar, and personality settings

  1. Navigate to Agent Garden > Agent Designer. Agent Designer icon
  2. Select Agents.
  3. Select one of the following options:
    • Select Blank Template to create an agent from scratch without a starter template.
    • Select Build with AI - You can have AI assist you with building your agent based on the goal you describe. AI auto-fills in the profile, tasks, instructions, and guardrails fields for you. You can include a lot of detail about the different tasks your agent performs and if it calls a specific tool for additional capabilities, such as calling an API to get data. The Goal field supports up to 2000 characters.
    • Select Import Agent - You can import a YAML file that contains a configuration of an agent built in the Agent Designer from another account. YAML files are generated when you export an agent.
    • Select Explore Templates Gallery to create an agent based on a pre-built example. If a template has a Deploy button, this indicates that the agent is ready to use right away. If the template has a Configure button, it indicates that the agent requires you to enter some credentials for tools, such as a key to call an API.
  4. In Profile, enter the goal of the agent. If you are building with AI or a template, this goal is pre-populated. However, you can make edits and additions to the goal. The goal displays on the main agent page when the user enters a prompt. It also provides information to the LLM about its purpose. The Goal field supports up to 2000 characters.
  5. Enter an agent's name to identify the agent.
  6. Optional: Click Edit next to Agent Photo to select an avatar and color for the agent.
  7. Optional: If your agent performs only simple tasks, such as sentiment analysis, summarization, and data formatting, turn on the Quick Inference toggle to improve the AI processing speed.
  8. Choose your agent's mode based on its use case:
    • Conversational mode (default) - The AI agent responds in natural language text. This mode is ideal for conversational agents where the user may have follow up questions after the initial prompt. The agent can use chat history and context to respond to the user and achieve its goal.

    • Structured mode - The AI agent receives JSON input from Boomi Integration and responds in a consistent, structured JSON format. This model is ideal for workflows that use Agent step where the agent’s response is consumed by downstream systems. The response is single turn, meaning the agent has a single input and output with no reference to previous responses. Refer to Using Structure agent mode for details

  9. Configure the personality for the agent’s responses. These settings control the agent's temperature, which includes how random and varied its responses are and how it reasons to achieve its tasks.
    • Creativity - This setting controls how well an agent can generate new and imaginative responses. Low level creativity results in straightforward, repetitive responses. High level creativity results in unique and diverse responses that include metaphors and examples. Higher creativity = higher randomness
    • Engagement - This setting controls the interactive and conversational quality of the agent's responses. Low engagement delivers short, straightforward responses with little depth or follow-up questions. High engagement results in detailed, helpful, and enthusiastic replies that invite the user to respond.
    • Decisiveness - This setting controls the agent's ability to respond with answers quickly. Low decisiveness delivers responses that offer multiple options and may show hesitation. High decisiveness gives clear and concise responses with minimal hesitation, potentially missing nuanced views in subjective discussions.
    • Clarity - This setting controls how straightforward and easy-to-understand the agent's responses are. It controls focus and precision. Low clarity delivers vague responses that lack detail and may be confusing. High clarity delivers short, relevant, and factual answers.
    • Confidence - This setting controls how certain the agent's responses sound. Low confidence delivers neutral and exploratory statements that invite user input and collaboration. High confidence delivers strong, definitive statements.
  10. Select the voice and tone for the agent’s responses:
    • Professional - The agent’s responses are courteous, concise, respectful, objective, helpful, and solution-oriented.
    • Friendly - The agent’s responses are casual, warm, engaging, jargon-free, and enthusiastic. They may include exclamation points and simple language (“lets you” instead of “enables”).
    • Instructional - The agent’s responses are detailed, helpful, logical, direct, supportive, and objective. If steps do not resolve the issue, the responses may include steps and alternative solutions.
    • Playful - The agent’s responses are lighthearted, enthusiastic, engaging, very casual, encouraging, and fun. They may include emojis and exclamation marks and make you laugh or smile.
  11. In Conversation Starter, click Add new starter to provide prompts users can enter to start chatting with your agent. These starter prompts display as clickable buttons on the agent’s main conversation page so users can quickly get started. examples of conversation starters
  12. Click Save and Continue.

Step 3: Adding tasks

Read Writing tasks and instructions for best practices and conceptual information.

  1. In Tasks, click Add new task to create an objective for the agent to accomplish. Each task includes instructions, similar to subtasks, that include details about accomplishing the task. Optionally, you can attach a tool to a task to provide the LLM additional capabilities it needs to perform the task. Tasks and instructions do not need to be in sequential order.
    1. Enter a task name.
    2. Enter a detailed description of the task and what the agent must do to perform the task. Be as detailed as possible to help the LLM understand its objective.
    3. Optional: Click the Instructions tab to break the task into multiple steps. This helps the LLM understand each part of the task and how to accomplish it.
      1. Optional: Click Give me some ideas to let AI generate ideas for instructions based on your detailed task description in step b.
      2. Click Add new instruction to enter a new instruction or step for the task.
      3. Click Add task.
    4. Optional: Click the Tools tab to add a capability or functionality so the agent can accomplish the task. For example, if the task involves the agent retrieving information from an API, you can attach an API tool you created. Four tool options are available: Prompt, Integration, DataHub Query, and API.
      1. Click Add New Tool.
      2. Select the checkbox next to the tool or tools to add.
      3. Click Update Select Tool to add the tool(s).
      4. Optional: Select Requires Approval to require the agent to ask the user if it can proceed with an action performed through the tool. This is useful when the agent performs a permanent update, changes a field in a record, or creates something new in a system.
      5. Optional: Select Data Passthrough to send raw data directly to the conversation. The data bypasses the Agent's reasoning steps and the raw data, such as an API response, is sent directly to the user in the chat. If you select Data Passthrough when attaching a integration tool, the agent responds with raw system data from the integration's execution status. When Data Passthrough is deselected, the agent responds with the data processed using natural language text. Refer to Data passthrough setting for details.
      6. Click Add task.
  2. Click Save and Continue.

Step 4: Creating guardrails

Read Creating guardrails for safety defaults and conceptual information.

screen showing the blocked message and denied topic list

  1. In Guardrails, enter a blocked message. This message displays any time a user prompts the agent for a response that violates the agent’s restrictions and ethical guidelines. Refer to Creating guardrails for more information.

    1. Click Add Denied Topics to enter a topic the agent cannot respond to, along with a few sample phrases. For example, a bank may want its AI agent to avoid any conversation related to investment advice or engage in conversations related to cryptocurrencies. In this case, you can enter “investment advice” and “cryptocurrency” as denied topics. You can set a maximum of 30 denied topics. The maximum number of sample phrases is 5. Topic descriptions can be up to 200 characters.
    2. Click the Word Filters tab. Enter words or short phrases that trigger the agent to respond with the blocked message. For example, you can add words such as steal, hack, and fraud.
    3. Click the Custom Regex Pattern tab. Enter patterns of sensitive data, such as email addresses and phone numbers, that will trigger a blocked message from the agent. For example, you can add ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ for email addresses.
  2. Click Save and Continue.

Step 5: Reviewing and testing

Refer to Testing and troubleshooting an agent for more information and best practices.

Important considerations

  • Testing your agent may count against any usage limits.
  • If you want to edit your agent after deploying it, you must disable the agent first. Agent Designer does not currently offer version control.
tip

Test your agent before and after you add tasks and guardrails. Testing iteratively helps you easily identify which configuration is causing an issue and which configurations are working correctly.

  1. Review the settings you created for your agent.
  2. Enter a prompt in the Test Agent window to test the agent’s responses and capabilities. Testing allows you to troubleshoot issues before deploying the agent. When the agent responds, you can click Show Trace to inspect the internal decision-making process of an AI agent when it processes a request. It provides a detailed breakdown of how the agent interprets inputs, applies logic, and generates responses. It also indicates errors with tool calls. This is useful for troubleshooting and making edits to your agent.
  3. Click Deploy Agent to make your agent active in the Agent Garden. Users can interact with active agents on the Chat page. Refer to Using AI agents to learn more.

Step 6 (Optional): Adding an Agent step to your integration

The Agent step allows you to integrate AI agents from the Agent Control Tower that you create with the Agent Designer directly into your integration process workflows.

You can find the Agent step in the Execute section of the Steps Palette on the Integration Build canvas. After adding it to the canvas, you can choose from the available agents in your Control Tower to configure in the step. Refer to Agent step to learn the basics and Creating a Data Quality Report agent to see how you can use Agent step in an integration.

Next Steps:

  • Read Agent examples to get tutorials on building specific agents for real-world use cases. You'll learn how to use Agent step, how to create an API your agent can use to retrieve data, and more.
  • Read Using AI agents. After you deploy your agent, users are able to see and interact with your agent in a conversational interface in the Chat screen.
On this Page