Skip to main content
Build AI agents tailored to your organization’s specific needs.

Overview

Custom agents let you create AI-powered assistants with:
  • Custom instructions — Define how the agent responds.
  • Enterprise knowledge — Connect internal data sources.
  • Tool integrations — Access external systems and APIs.
  • Configurable behavior — Control tone, scope, and capabilities.

Agent Types

Agent TypeDescriptionBest For
Prompt AgentLLM-powered agent with custom instructions and variable-based promptsContent generation, text transformation, data analysis
API AgentNo-code integration with external REST APIs and systems of recordReal-time data retrieval, triggering external actions
Search AgentRAG-based retrieval from Search AI or Amazon Q indexesEnterprise search, documentation Q&A
Agentic Flow AgentSequential multi-agent workflows with decision logicComplex processes, multi-step automation
Autonomous AgentSelf-directed agent connected to Agent Platform via APIResearch, complex automation, long-running tasks
Bot AgentConversational bot built on AI for Service PlatformGuided workflows, form filling, structured interactions
Workflow AgentIntegration with Agent Platform workflow automationBusiness process automation, sync/async workflows
MCP AgentTools hosted on Model Context Protocol serversExternal tool connections, multi-system workflows

Prompt Agents

Prompt Agents collect specific user inputs as variables to customize prompts, enabling content generation, language translation, text summarization, and similar tasks. Administrators create and configure these agents; users interact with them to produce consistent, standardized outputs.

When to Use Prompt Agents

Content Generation and Standardization
  • Creating standardized documents (job descriptions, project proposals, marketing copy) that follow organizational templates.
  • Generating consistent reports, summaries, or communications that maintain brand voice and formatting.
  • Producing multiple content variations for A/B testing or different audiences.
Text Processing and Transformation
  • Translating content into multiple languages while maintaining context and tone.
  • Summarizing lengthy documents, reports, or meeting transcripts with consistent structure.
  • Converting technical documentation into user-friendly formats or different complexity levels.
Data Analysis and Insights
  • Processing uploaded files (.pdf, .docx, .csv, .xls) to extract insights, generate summaries, or create reports.
  • Analyzing data patterns and generating standardized analytical reports.
  • Creating executive summaries from complex datasets or research documents.

How Prompt Agents Work

Prompt agents operate using two components:
  • User-Collected Inputs: User inputs are incorporated into the prompt as variables to generate the required response. For example, a job description (JD) is created using user inputs about experience, responsibilities, and required skills.
  • Administrator-Uploaded Knowledge: Administrators upload a file used as a template. For example, a JD is generated based on user-provided inputs and a pre-uploaded template that ensures consistency and formatting.

Import an Existing Prompt Agent

  1. Click Import Agent in the upper-right corner. Import Agent
  2. Select the .ZIP file of the existing agent. Import Agent dialog
  3. Click Import. The imported agent appears on the Agents page.

Create a Prompt Agent

Navigate to Admin Console > AI Agents > Prompt Agents, then click +Create Agent. AI Agents menu The Prompt Agent creation wizard walks you through the following steps.

Step 1: Details and Purpose

Provide a unique name and describe the agent’s purpose. The system auto-generates fields, queries, and prompts based on the purpose provided. To change the icon, click the logo above the agent’s name and choose a predefined logo or upload a custom one. Click Continue. Details and Purpose

Step 2: Source Configuration

Configure the following sections in the Sources step. Source configuration
User Input
  1. Click +Add context to add a context field.
  2. Enter a context name and optional placeholder text. Placeholder text appears in the form field before the user provides input.
  3. Select the Field type: single-line, multiline, or file upload. Field type selection
  4. Toggle Mandatory if the field is required, then click Done.
  5. In the Parameters section, fields are pre-populated based on the agent’s purpose. Click +Add field to add more.
  6. For each parameter field, enter a name, placeholder text, and a Description that explains the field’s purpose in detail — this helps the LLM identify and pre-populate the field from natural language queries. For example, if you need a field for organizational departments, name it and describe that it accepts internal department names so the LLM can match it from queries.
  7. Select the Field type: single-line, multiline, single-select, multi-select, number, or file upload.
  8. Toggle Allow Upload Files or Allow URL Content to enable file uploads or URL-based retrieval. This option is available only for single-line and multiline text fields. URL content configuration
  9. Toggle Mandatory if required, then click Done.
Knowledge
  1. Click + Upload to upload a knowledge file (template, reference document, etc.) that the agent uses to generate responses. You can reference uploaded files directly in prompts. For example: “Create a JD in the same format as the Sample JD template file.” Knowledge upload
    If the file size exceeds the model’s context limit, an error is displayed listing affected models. When the limit is exceeded, all uploaded knowledge files are referenced for answering but not for generation.
  2. Select the model from the Model selection drop-down. To learn more, see LLM Configuration. Model selection
  3. Toggle Show to users to display the prompt to end users. When enabled, select Read-only or Editable. Show to users toggle
Prompts
A default prompt is auto-generated based on the purpose defined earlier and can be customized using variables. For example, a “Job Finder” purpose generates a prompt with fields like Company Name, Job Title, and Responsibilities. Enable Show to users to display the prompt to end users. Select Read-only or Editable.
Multi Prompt
For agents that offer multiple prompt options, click + Add another prompt to add prompts. You can rename prompts and drag-and-drop to reorder them. Click Generate prompt to auto-generate a prompt based on the form’s purpose and field values. When multiple prompts exist, a Prompt Selector field appears for end users:
  1. Click the edit option or anywhere in the prompt area to expand available options.
  2. Edit the prompt selector’s field name and optional placeholder text. The Mandatory toggle is enabled by default and cannot be modified.
  3. The Prompt Options list shows all created prompts — drag and drop to reorder.
  4. Click Done.
Multi Response
To allow users to generate multiple responses:
  1. Enable Allow users to generate multiple responses in the output settings.
  2. Enable Skip Form Display to automatically bypass forms when all required entities are present in the initial query. This feature prevents conflicts with Multi-Response and shows messages for incompatible settings. Output settings
  3. Click Continue.

Step 3: Business Rules

Set rules to fill entities automatically when specific keywords are detected, controlling entity selection and response behavior. Configure either:
  • Entity Rule: Automatically adds entities to queries based on detected keywords, even if the user doesn’t mention them explicitly.
  • Answering Rule: Controls and customizes responses when specific conditions or keywords are met.
Business Rules

Step 4: Appearance and Behavior

A list of sample queries is displayed. Click + Add Query to add more. Enable Clear End-User Chat History to automatically delete the agent’s chat history after a specified period. Click Publish to proceed. Appearance and Behavior

Step 5: Publish

See Publishing Your Agent.

User Interaction

Users submit queries to initiate interaction. The agent processes inputs and provides contextually relevant responses. Users can upload files (.pdf, .docx, .csv, .xls) or provide URLs — the system processes content and generates summaries, reports, or insights. When multi-response is enabled, users select Additional Response to generate additional outputs. Each response can use the initial input or the output from a previous response as its input source, enabling chained workflows for multiple perspectives or output formats.

API Agents

API Agents integrate with legacy systems and external REST APIs using a no-code builder, enabling users to query business data through natural language.

Key Features

  • Easy Setup: Step-by-step wizard in the Admin Console
  • Flexible Configuration: Supports various API types, authentication methods, and data processing options
  • Customizable Fields: Select and configure up to 10 fields for querying and display
  • Intelligent Querying: Handles simple lookups, compound queries, and computational requests
  • Data Processing: ID and meta-resolution for presenting meaningful information to end users
  • Preview and Testing: Validate configurations before publishing
  • Sharing Options: Share with specific users, groups, or the entire organization

Prerequisites

API Requirements:
  • Standard REST APIs with JSON response format from Systems of Records (SOR)
  • Maximum 500 records per API call
  • Stable API endpoints with consistent data schema
Systems of Records: API Agents are designed for structured business data systems, including:
  • Customer Relationship Management (CRM) platforms
  • Enterprise Resource Planning (ERP) systems
  • Human Resources Information Systems (HRIS)
  • Database management systems with REST API access
  • Business applications with well-defined data models
Data Structure: API responses should be representable in tabular format with clear field definitions and consistent data types. Before you begin, have available:
  • Administrator access to the system you want to integrate
  • API documentation for the Schema API and Action API
  • cURL commands for the ID resolver and meta resolver

Create an API Agent

Navigate to Admin Console > AI Search > API Agents, then click + Create Agent. API Agent creation

Step 1: Purpose of Agent

Describe the system to integrate and the desired actions in 50 words or fewer. Example: “Integrate Jira system to manage tickets. Actions include getting ticket details, creating new tickets, or updating existing tickets.” This purpose helps the agent understand your system’s capabilities and accurately interpret user intents. Click Continue. Purpose of Agent

Step 2: Basic Details

Provide the Agent Name and select a Logo (from presets or upload a custom image). The name and logo identify the agent in the user interface. Click Continue. Basic Details

Step 3: Connection Setup

Connection Setup uses admin-provided profiles. The system accesses data using admin tokens for all retrieval operations. End users cannot create new connection profiles.

Step 4: Actions

Step 4.1: Purpose
Describe the specific action this agent performs, including what information it retrieves and from which fields. Example: “Get Jira issues based on assignee, priority, status, and due date.” The agent currently supports GET and POST actions. Click Continue. Action Purpose
Step 4.2: Data
Have Definition API Choose how to define the data structure:
  • API defining the fields: Select if you have an API that explicitly defines data fields. Helps with field names and pre-fills values for single-select and multi-select fields.
  • Continue with Data API: Select if you don’t have a data-defining API. This skips the Schema API and Label Selection steps, going directly to the Data API tab.
Schema API The Schema API provides essential data structure information: field definitions, data types, possible values, custom fields, and multi-select options. To configure:
  1. On the Schema API tab, define the API manually or click CURL Import.
  2. In the import pop-up, paste the URL and click Import.
  3. Click Run. On success, click Continue. If an error occurs, an appropriate message is displayed.
Authorization in the CURL URL overrides the previous user auth selection.
Label Selection The system displays fields from the imported JSON data. Select a key to serve as the user-facing field label name — the default key may be difficult to understand. This applies to all corresponding fields in the dataset. Navigate through records using Prev field and Next field. Click Continue. Data API Define the data API manually or via CURL Import. This API provides the actual data.
  1. On the Data API tab, click CURL Import.
  2. Paste the URL and click Import.
  3. Click Run. On success, click Understood.
Field Selection Select up to 10 fields from the API response for querying and display. For example, in Jira, you might select assignee, status, priority, key, and summary. Click the fields to select them, then click Continue. Navigate through records using Prev field and Next field. Field Configuration Configure each selected field:
SettingDescription
Primary FieldThe leftmost column displayed to users
Field KeyNon-editable API parameter key used to construct requests (may differ from the user-visible label)
Field LabelUser-visible name; sourced from the schema API or entered manually
Field TypeDetermines query syntax: text, number, date, single-select, multi-select, object, or object array
Field Value ResolverFor object types: maps nested JSON values to labels and icons
Field OptionsFor single-select or multi-select types: predefined choices with label-to-value mapping
Field Meta ResolverFor object types: resolves field values at runtime before making API calls
Adding a Field Value Resolver (object type only):
  1. Click + in the Field Value Resolver column.
  2. In the Value Resolver pop-up:
    • If the resolver doesn’t find the JSON: Click Define API > CURL Import (or use a Dictionary), paste the URL, click Import, enter a sample input, click Run, then close the pop-up.
    • If the resolver finds the JSON: Click Goto Mapper > Map Value (select the field displayed to users, for example displayName) > Map ID (select the field passed to the API, for example accountId). Map color, icon, and icon color fields if available, then close the pop-up.
Adding Field Options (single-select or multi-select only):
  1. Click + in the Field Options column.
  2. Enter Map Value (sent to the API) and Map Label (displayed to users) for each option.
    • If the schema API is mapped: click Map Value and Map Label to select JSON fields; remaining choices auto-populate.
    • If not mapped: enter values manually for each choice.
  3. Close the pop-up.
Adding a Field Meta Resolver (object type only):
  1. Click + in the Field Meta Resolver column.
  2. Click CURL Import or use a Dictionary. Field Meta Resolver
  3. Paste the URL and click Import. Import URL
  4. Enter a Sample Input and click Run. Sample Input
  5. Output Fields are displayed. Close the pop-up. The ID resolver is now displayed. ID Resolver
  6. Click Continue.
Dictionary If API support is unavailable, use a Dictionary as a local data store to map and resolve IDs or metadata. Dictionaries cache API-fetched data for fast local queries, reduce repeated API calls, support scheduled updates, and can be shared across agents in the same account. To use an existing dictionary: toggle Use Dictionary, select the dictionary, and click Run. Output fields are displayed. Use Dictionary toggle To create a new Dictionary:
  1. On the field value resolver or field meta resolver pop-up, toggle Use Dictionary. Dictionary toggle
  2. Click + Create.
  3. On the Name & API tab, enter the dictionary name, API call details, and pagination details if required. Name and API tab
  4. Click Run API. The Field Selection tab is displayed.
  5. Select the fields to be searched, the ID resolver field, the Schedule to Pool data frequency, and the meta resolver field. Field Selection tab
  6. Click Pool data into the dictionary. The Preview tab displays the pooled data.
  7. Click Done. The dictionary is saved.
Preview Displays the first five processed records with an option to load more. Optionally configure an “open” link that appears on hover, allowing records to open in a new tab:
  1. Click + Create URL.
  2. Enter a static URL (for example, https://team.atlassian.net/browse/).
  3. In the Variable Mapper, select the dynamic key from the response object. Variable Mapper
  4. Click Done. Click Continue.
Preview
Step 4.3: Query Filters
Field Filters Define which fields are available for querying and filtering:
  1. In the Allow Query column, select queryable fields (all are selected by default).
  2. Check Allow multiple values for fields that support multi-value queries.
  3. Check Mandatory for fields that users must specify before data is returned. This option is disabled if the corresponding Allow Query field is not selected.
  4. Edit Field_Filter_Key if the key differs between push and retrieval operations. Keys are generated based on the API response.
  5. Click Configure to generate sample queries based on the field filter settings.
  6. Click Upload API documentation, paste the API documentation, and click Save. Query parameters are auto-populated.
  7. Click Sample Query to extract variables.
  8. Build the API payload based on the API type:
    • GET: Configure the query parameters section (editable inline). Add additional parameters as needed.
    • POST: Configure the body payload.
    Ensure the configuration includes only variables in place of entities. This allows APIs to be dynamically generated at runtime.
  9. Click Run to generate the configuration builder script. The script runs on the sample query and displays the API response.
  10. Click Run Queries to test all generated queries. Success or error messages are displayed per query.
  11. Optionally, click Script to view and edit failed queries. You can proceed without fixing — only successful and similar queries will work after publishing.
  12. Click Continue.
Business Rules (within Actions) Enhance the agent’s response behavior with keyword-based rules:
  • Entity Rule: Automatically adds entities to queries when specific keywords are detected. Example: Interpreting “active deals” as deals in stages “presentation,” “working progress,” or “contract in progress.”
  • Answering Rule: Controls and customizes responses when specific conditions are met. Example: Responding with “contact sales” for any pricing-related questions.
Click the rule type, enter the rule, click Activate, then Continue.
Step 4.4: Sample Queries
Sample queries are auto-generated based on the system’s purpose. Users click them to execute associated actions. Add custom queries using + Add Query. Click Continue.

Step 5: Business Rules

Set account-level entity and answering rules for the agent. See Business Rules within Actions above for rule type descriptions. Business Rules

Step 6: Publish

See Publishing Your Agent.

Writing API Payloads with JavaScript

The configuration script is an IIFE invoked for each query with three arguments:
(function (headers, body, queryParams) {
    // Write your code here
    return { headers, queryParams, body }
})(headers, body, queryParams);
Parameter structures:
  • queryParams: Array of objects — { key: 'jql', value: '...', enabled: true }. Elements with enabled: false are ignored.
  • headers: Same structure as queryParams{ key: 'Content-Type', value: 'application/json', enabled: true }.
  • body: The JSON payload expected by the API.
Global variable — entities:
entities : {
    fieldId : {
        filterKey : fieldFilterKey,   // from field filter configuration
        dataType  : "text" | "number" | "date" | "singleSelect" | "multiselect" | "object" | "objectArray",
        // Simple queries:      value
        // Range queries:       min, max, value
        // Multi-value queries: values[]
    }
}
Entity examples by query type:
Query TypeAvailable FieldsExample
Simple (text, object, select)valuecreator: { filterKey: 'creator', dataType: 'object', value: '080-998df-ffal-9090' }
Range (date, number)min, max, valueamount: { filterKey: 'amount', dataType: 'number', min: 20000, max: 50000 }
Multiple valuesvalues[]assignee: { filterKey: 'assignee', dataType: 'object', values: ['9f0990-009-lklkl', '9099-ff-kll-9090'] }
Sample script — GET request (Jira):
(function (headers, body, queryParams) {
    const jqlParts = [];
    for (const entityKey in entities) {
        const entity = entities[entityKey];
        if (entity.value) jqlParts.push(`${entity.filterKey} = ${entity.value}`);
        if (entity.values) {
            const valuesString = entity.values.map(v => `'${v}'`).join(', ');
            jqlParts.push(`${entity.filterKey} IN (${valuesString})`);
        }
        if (entity.min) jqlParts.push(`${entity.filterKey} >= ${entity.min}`);
        if (entity.max) jqlParts.push(`${entity.filterKey} <= ${entity.max}`);
    }
    const jqlQuery = jqlParts.join(' AND ');
    queryParams.push({ key: 'jql', value: jqlQuery, enabled: true });
    return { headers, queryParams, body }
})(headers, body, queryParams);
Sample script — POST request (HubSpot):
(function (headers, body, queryParams) {
    const filterGroups = { filters: [] };
    for (const entityKey in entities) {
        const entity = entities[entityKey];
        if (entity.min) filterGroups.filters.push({ propertyName: entity.filterKey, operator: 'GTE', value: entity.min });
        if (entity.max) filterGroups.filters.push({ propertyName: entity.filterKey, operator: 'LTE', value: entity.max });
        if (entity.value) filterGroups.filters.push({ propertyName: entity.filterKey, operator: 'EQ', value: entity.value });
        if (entity.values && entity.values.length > 0) filterGroups.filters.push({ propertyName: entity.filterKey, operator: 'IN', value: entity.values });
    }
    body.filterGroups = [filterGroups];
    body.properties = ['dealname', 'hubspot_owner_id', 'amount', 'dealstage', 'pipeline', 'hs_priority', 'hs_updated_by_user_id'];
    return { headers, queryParams, body }
})(headers, body, queryParams);

User Interaction

Users query the API Agent in natural language. The agent processes queries and returns structured data. Users can refine queries for more specific results. For example, “Get hotel data” or “Display guest information with check-in after March 1” returns filtered, formatted results.

Search Agents

Search Agents (also called RAG Agents) combine retrieval and generation techniques to provide accurate, contextually relevant answers. They retrieve information from connected knowledge bases and use LLMs to generate precise responses. Integration options:
  • Search AI: Configure and index content from knowledge bases, files, and websites. Use when you need full control over content sources within your environment.
  • Amazon Q: Index enterprise data in your AWS cloud using 90+ connectors for AWS and non-AWS systems. Provides comprehensive search while maintaining data sovereignty.
For use cases where a search index should act as the default knowledge repository without intent-based routing, connect it via Enterprise Knowledge instead.

Prerequisites

For Search AI:
  1. Create a Search AI application.
  2. Configure content sources.
  3. Fine-tune search settings.
  4. Enable Answers.
  5. Train the application.
  6. Enable the Client Channel with the appropriate API scopes: Answer Generation, Permission Entity Management, Document Management, and Facets.
For Amazon Q:
  • An existing Amazon Q Business application with indexed enterprise content
  • Appropriate AWS credentials and permissions
  • Access to AWS data accessor configuration details

Create a Search Agent

Navigate to Admin Console > Search Agents, then click Create Agent.

Step 1: Details and Purpose

Provide a unique Name and brief Purpose. The purpose enables the Orchestrator to route user queries to this agent. For example, if the agent answers HR policy questions, specifying this ensures the agent activates on HR-related queries. Details and Purpose

Step 2: Configure Search Index

Select your search solution in Search Index Options. Option 1: Search AI Provide the following details (available in the Search AI app under Manage > Dev Tools > Web/Mobile SDK). See Web/Mobile SDK documentation for details.
FieldDescription
URLSearch AI instance URL where the application is hosted
App IDApplication ID of the Search AI app
Client IDClient credentials generated for interaction with the RAG Agent
Client Secret IDSecret key generated for secure interaction
Search IDUnique client identifier generated in Search AI
Option 2: Amazon Q Amazon Q configuration Use the Tenant ID shown in the configuration screen during AWS data accessor setup, then provide:
FieldDescription
Application IDUnique identifier of your Amazon Q Business application
Retriever IDUnique identifier of your Amazon Q Business retriever
Access Resource NameARN for secure access to Amazon Q resources
Application LocationAWS region where your Amazon Q Business application is deployed
IDC LocationAWS region where your AWS Identity Center instance is located
Amazon Q fields

Step 3: Appearance and Behavior

Review auto-generated sample queries. Click + Add Query to add more. Enable Clear End-User Chat History to delete chat history after a specified period. Click Publish to proceed. Appearance and Behavior

Step 4: Publish

See Publishing Your Agent.

Agentic Flow Agents

Agentic Flow enables the sequential execution of multiple AI agents to automate complex tasks. These flows streamline workflows by automating interactions and decision-making processes based on predefined logic and user input.

Create an Agentic Flow Agent

Navigate to Admin Console > AI Agents > Agentic Flow, then click +Create Agent. Admin Console - Agentic Flow Create Agent

Step 1: Details and Purpose

  • Agent Name: Enter a unique, meaningful name.
  • Purpose: Defines the intended functionality for query routing and training. Specifies the default prompt and sample queries for accurate routing.
Details and Purpose
A well-defined purpose enhances the agent’s ability to correctly interpret and execute tasks, ensuring precise responses to user queries.

Step 2: Build Agentic Flow

  1. Review the auto-generated Prompt based on the agent’s purpose. The system auto-generates workflow steps. For example, a financial advisor workflow might include: perform research, check who owns the shares, and decide to sell or hold based on research.
  2. Click Get Flow to review the generated flow.
  3. Customize your flow:
    • Add a step: Click + Add above or below any existing step.
    • Edit or delete a step: Hover over the step and select the edit or delete option.
    • Reorder steps: Drag and drop steps to the desired position.
  4. Click Run to execute all configured steps sequentially.
  5. Click Continue.

Step 3: Appearance and Behavior

Review auto-generated sample queries. Click + Add Query to add more. Enable Clear End-User Chat History to delete chat history after a specified period. Click Publish to proceed.

Step 4: Publish

See Publishing Your Agent.

Example: Finance Advisor

The Finance Advisor demonstrates a four-step Agentic Flow:
StepAgent TypeAction
1. Market Analysis OverviewSearch (RAG) AgentAnalyzes NVIDIA market performance from indexed files, evaluating market indicators and historical patterns
2. Company Share OwnersAPI AgentRetrieves shareholder information from the client database (institutional investors, individual stakeholders, portfolio allocations)
3. Client Information and RiskPrompt AgentPerforms risk evaluation and develops hold/sell recommendations based on consolidated data from previous steps
4. Compose an EmailPrompt AgentGenerates a professional email synthesizing all analyses and recommendations
To access: search for the agent name on the Home page. Each step can be added, edited, deleted, or reordered. Click Start to execute the sequence.
The generated email can be edited and customized before sending to meet specific communication requirements and organizational standards.

Autonomous Agents

Autonomous Agents are AI-powered agents that leverage Agent Platform to autonomously manage complex business tasks and workflows. They use adaptive algorithms for dynamic decision-making, responding to evolving business requirements in real time.

Create an Autonomous Agent

Navigate to Admin Console > AI Agents > Autonomous Agents, then click +Create Agent. Admin Console - Autonomous Agents Step 1: Details and Purpose
  • Icon: Choose from the predefined library or upload a custom icon.
  • Agent Name: Enter a unique, meaningful name.
  • Purpose of Agent: Define the intended functionality for query routing and training.
Step 2: Configure Autonomous Agent In the Define Autonomous API section, select the interaction mode:
ModeDescriptionRequirements
Sync ModeImmediate responses; 60-second timeoutNo POST URL or access token required
Async ModeFlexible; suitable for tasks taking longer than 60 secondsPOST URL and access token required in the Autonomous agent endpoint
For Async Mode, enter the POST URL and Access Token. Async Mode configuration Configure the API connection:
FieldDescription
URLEndpoint URL of the agent obtained from Agent Platform
MethodRequest type (GET, POST, etc.)
HeadersAuthentication tokens and request metadata; add multiple as needed
Query StringAdditional URL parameters for filtering or customization
Body TypeData format (JSON, Raw, etc.)
Content TypeData type label for the API
CURL Import: For existing APIs, click Curl Import, paste the cURL command, and click Import to auto-populate the configuration. See Environment documentation for retrieving the cURL from Agent Platform. CURL Import Step 3: Appearance and Behavior
  1. Click +Add Query to add test queries.
  2. Enable Allow End User Notification to enable notification configuration and agent trigger setup. See Notifications.
  3. Enable Clear End-User Chat History to delete chat history after a specified period.
  4. Click Publish to proceed.
Appearance and Behavior Step 4: Publish See Publishing Your Agent. After publishing, the agent appears in the Autonomous Agent List on the Admin Console.

Import an Existing Autonomous Agent

  1. Click Import Agent in the upper-right corner.
  2. Select the .ZIP file of the existing agent.
  3. Click Import. The agent appears on the Autonomous Agents page.
You cannot directly import agents exported from Agent Platform. Only Autonomous Agents originally created and exported from the application can be imported using this feature.

Usage

Trigger an Autonomous Agent from the Compose bar > Agents > agent tab. Users engage in natural conversations — the agent understands context, processes requests, and provides relevant responses based on its configured capabilities. Agent in use

Bot Agents

Administrators create Bot Agents for users using the bot agent builder. Workflows designed on the AI for Service Platform integrate seamlessly, allowing actions to execute when a workflow triggers — without requiring additional platforms. For complex workflows involving multiple system integrations and logic, users build bots on the AI for Service Platform and trigger them through conversational UI or NLP intent. Example: A Fund Transfer Bot Agent automates fund transfers to client accounts, capturing client names, account information, and transfer amounts through natural conversation.

Import an Existing Bot Agent

  1. Click Import Agent in the upper-right corner. Import Bot Agent
  2. Select the .ZIP file of the existing agent. Import Bot Agent dialog
  3. Click Import. The agent appears on the Bot Agents page.

Create a Bot Agent

Navigate to Admin Console > AI Agents > Bot Agents, then click +Create Agent. Bot Agents list Create Agent button
You must first build a bot on the AI for Service Platform and create a webhook channel. See Building a Virtual Assistant and Add Webhook Channel.
Set up the Webhook Channel on your bot:
  1. In the AI for Service Platform, open your virtual assistant. Navigate to Deploy > Channels > Add More > Webhook.
  2. Select the required app from the Webhook dialog. Webhook - Select App
  3. Copy the Bot client ID and Bot secret ID for use in Step 2 below. Webhook - Bot IDs
  4. Under Configured Channels, click the bot name and enable the channel.
Create a new client app using the JWT tokens generated from the Post URL and Access tokens available in the Add Bot section.

Step 1: Details and Purpose

Provide a unique name and describe the agent’s purpose. The purpose enables the agent to recognize its capabilities and respond to aligned user queries. Details and Purpose

Step 2: Add Bot

  1. Enter the following in the Add Bot section:
    • Post URL: API endpoint (auto-populated).
    • Access Token: Authentication token (auto-populated).
    • Webhook URL: URL from the Bot Webhook dialog.
    • Bot client ID: Copied from the Bot Webhook dialog.
    • Bot secret ID: Copied from the Bot Webhook dialog.
    Add Bot configuration
  2. Click Connect account.

Step 3: Appearance and Behavior

  1. Click +Add Query to add test queries.
  2. Enable Allow End User Notification to enable notification configuration. See Notifications.
  3. Enable Clear End-User Chat History to delete chat history after a specified period.
  4. Click Publish to proceed.

Step 4: Publish

See Publishing Your Agent. The agent appears in the Agents list on the Agents page.
On the Agents list page, click the three-dots icon next to the agent’s name to publish the agent at a later time if needed.

User Interaction

Users initiate conversations by typing a command. The bot guides users through required steps, capturing key details (for example, client name, account information, and transfer amount for a fund transfer). The bot confirms task completion or provides a status update. User Interaction 1 User Interaction 2 Related Resources:
  • Alert API — Integrate conversation hold and resume functionality within AI for Service Bots.
  • Notify API — Send interactive notifications to users.

Workflow Agents

Workflow Agents integrate tools from Agent Platform to deliver contextually relevant responses in real time. They combine APIs, retrieval, and generation techniques, and support both synchronous and asynchronous interactions.

Import an Existing Workflow Agent

  1. Click Import Agent in the upper-right corner. Import Workflow Agent
  2. Select the .ZIP file of the existing agent. Import Workflow Agent dialog
  3. Click Import. The agent appears on the Workflow Agents page.

Create a Workflow Agent

Navigate to Admin Console > AI Agents > Workflow Agents, then click +Create Agent. Workflow Agents list Create Agent button

Step 1: Details and Purpose

Provide a unique name and describe the agent’s purpose. For example, an agent named “Sales Buddy” handling cross-sell and upsell queries should specify this purpose so it activates for related user queries. Details and Purpose

Step 2: Configure Workflow Flow

Select the interaction mode:
ModeDescriptionTimeout
Sync ModeImmediate responses60 seconds
Async ModeFlexible; suitable for tasks taking longer than 60 secondsNo fixed timeout
For Async Mode, enter the POST URL and Access Token, then configure the Workflow Platform:
  1. In the Workflow Platform, open the agent and click Agent endpoint in the left navigation.
  2. Select Async push and click the settings icon. Async push settings
  3. Paste the POST URL and Access Token into the Sync/Async mode setup page.
  4. Click Save.
Configure the API connection:
  1. On the Define API page, click CURL Import.
  2. In the Workflow Platform, navigate to the agent’s Agent endpoint and copy the appropriate cURL (sync cURL for sync mode, async cURL for async mode).
  3. Paste the cURL into the Import URL dialog and click Import.
  4. Click Run to fetch API details.
  5. Retrieve the API key: in the Workflow Platform, go to API Keys > Create new key > Generate Key, then click Copy and Close.
  6. Paste the API key into the API key value field and click Continue.
  7. Review the API response output keys — these map to the values displayed to end users. API response output
  8. Click Continue.

Step 3: Appearance and Behavior

  1. Click +Add Query to add test queries.
  2. Enable Allow End User Notification to enable notification configuration. See Notifications.
  3. Enable Clear End-User Chat History to delete chat history after a specified period.
  4. Click Publish to proceed.

Step 4: Publish

See Publishing Your Agent.

Manage Input and Output

Agent Flows use input and output variables to control data flow:
  • Input Variables: Provide initial data to the agent flow.
  • Output Variables: Store and return derived values from the flow. Define output variables to capture the results you want the agent to return.
Variables defined in the Workflow Flow are automatically displayed in AI for Work, enabling transparent data exchange between the agent and the connected platform.

User Interaction

Sync Mode: Users enter a query and receive real-time results in the current interface. Ideal for requests completable within 60 seconds. Async Mode: Users enter a query and receive results via notification once processing is complete. Suited for complex queries that require more than 60 seconds.

MCP Agents

MCP Agents enable AI agents to interact with external systems through tools hosted on Model Context Protocol (MCP) servers. By configuring MCP tools, agents can execute complex workflows spanning multiple external services through a standardized interface. MCP Agents home

How MCP Agents Work

MCP Agents use the Model Context Protocol to discover, select, and invoke tools from connected MCP servers:
  1. Tool Discovery: During MCP server configuration, the MCP Client discovers available tools on the server, enabling the application to learn server capabilities. You then assign these tools to agents for dynamic decision-making.
  2. Intent Detection: When a user sends a query, the system sends the tool list and query to the LLM for intent detection and tool invocation. The LLM identifies the tool to use and forms a structured tool call.
  3. Tool Invocation: The MCP Client sends a structured request to the MCP Server with the tool name and required parameters.
  4. Execution: The MCP Server executes the tool logic and sends results back to the MCP Client.
  5. Response Generation: The agent uses the tool’s output to formulate a natural language response via the LLM.

Create an MCP Agent

Navigate to MCP Connections under your Workspace, then click Create Agent. MCP Agent creation
  1. Define the agent’s details and purpose:
    • Icon: Choose from the predefined library or upload a custom icon.
    • Agent Name: Enter a unique, meaningful name.
    • Purpose of Agent: Define the intended functionality for query routing and training.
  2. In the Configure MCP section, the platform displays all tools available from both workspace and account connections.
  3. Select the specific tools you want the agent to use.
  4. Configure each tool’s input parameters (see Configuring Tool Parameters).
  5. (Optional) Business Rules: Set entity or answering rules triggered by specific keywords.
  6. Click Save and Publish.

Configuring Tool Parameters

Each MCP tool requires specific input parameters. Configure parameters to control how the agent collects and uses data when invoking tools.

Static Values

Manually entered values that remain constant unless you modify the agent configuration. When configuring static values:
  • Show in End-User Form: Make the field visible to end users.
  • Set as Editable: Allow end users to modify the value.
  • Set as Read-Only: Display the value but prevent changes.
Static values work well for parameters that rarely change (API endpoints, default regions, standard settings).

Dynamic Values

Values handled at runtime in two ways:
  • Extract from Query: The system extracts values from the user’s natural language input via entity extraction.
  • Form Field Collection: If the system cannot extract a value, it displays the field in the end-user form to collect the value directly.

Configuring a Tool

  1. During agent creation or editing, select the tool to configure.
  2. For each parameter, review:
    FieldDescription
    GroupLogical grouping or category of the parameter
    Field NameUnique identifier for the parameter
    DescriptionPurpose and expected input
    Field TypeExpected data type (string, number, boolean, etc.)
    Required/OptionalWhether the parameter is mandatory
    Tool configuration
  3. Choose the input type:
    • Static Values: Enter the value; select form visibility; choose editable or read-only.
    • Dynamic Values: Select Extract from Query to use entity extraction.
  4. Save the tool configuration.
You can configure multiple tools from the same MCP connection or from different connections within a single agent.

Enabling and Disabling Tools

Toggle the Enable switch on a tool to activate or deactivate it without removing the configuration. This allows temporary deactivation while preserving settings.
  • Enabled: The agent can invoke the tool during interactions.
  • Disabled: The agent cannot use the tool, but the configuration is retained.

End-User Experience

When a user triggers an MCP Agent:
  1. The platform displays a form with the required input fields for the selected tool.
  2. Data types in the form match those defined by the MCP server.
  3. Values extracted from the user’s query via entity extraction are pre-filled.
  4. The Continue button remains disabled until all mandatory fields are complete.
  5. When the user clicks Continue, the agent executes the corresponding MCP action.
  6. Results are displayed as a natural language response.
Example — Sending an Email via MCP Agent:
  1. User asks: “Send an email to john@example.com about tomorrow’s meeting.”
  2. Agent displays a form:
    • Recipient: Pre-filled with john@example.com (extracted from query)
    • Subject: Empty field (mandatory)
    • Body: Empty field (mandatory)
  3. User fills in subject and body, clicks Continue.
  4. Agent invokes the Gmail tool through the MCP server with all parameters.
  5. Result displayed: “I’ve sent the email to john@example.com successfully.”

Manage MCP Agents

Editing an MCP Agent:
  1. Navigate to MCP Agents and select the agent.
  2. Click Edit. Manage MCP Agent
  3. Update any of the following: agent name, description, tool selections, tool parameter configurations, or tool enable/disable status.
  4. Click Save. Changes take effect immediately on the next user interaction.
Adding Tools from Multiple Connections:
  1. During agent creation or editing, click Add MCP Tools.
  2. Select tools from your first MCP connection.
  3. Click Add MCP Tools again and select tools from a different connection.
  4. Configure each tool’s parameters independently.
  5. Save the agent.
Handling Connection Updates: When an MCP connection is refreshed with new tools or modified schemas, manually update affected agents:
  1. Refresh the MCP connection.
  2. Navigate to the affected agent and click Edit.
  3. Review tool configurations for changes.
  4. Reselect or reconfigure tools as needed.
  5. Save the agent.
The platform does not automatically update agents when MCP server definitions change. Manually review and update agent configurations to ensure compatibility with the latest tool schemas.

MCP Connections

The Model Context Protocol (MCP) is an open standard that enables AI Agents to interact with external tools, data, and services through a standardized interface.
  • Without MCP: Each tool integration requires separate, custom logic per system.
  • With MCP: All systems are accessed through a single, consistent interface — dramatically simplifying development and reducing complexity.

Key Features

FeatureDescription
Open StandardUniversal standardized protocol for AI and tool integration
Simplified DevelopmentAll MCP tools accessed through the same client interface
Scalable ArchitectureAdd new tools to agents without custom integration
Universal CompatibilityAll MCP clients communicate using a standardized protocol, ensuring seamless interoperability

Connection Levels

Workspace-Level Connections

  • Accessible only within a specific workspace.
  • Available to all agents within that workspace.
  • Not visible or accessible outside the workspace.
Workspace-level connections

Account-Level Connections

  • Created under Connections in the Account Hub.
  • Accessible across all workspaces, including personal workspaces.
  • When viewed from within a workspace: displayed in read-only mode; authentication profiles and URLs are hidden for security.
Account-level connections

Create an MCP Connection

Navigate to Connections in your workspace or account view, then click Create MCP Connection.
FieldDescription
NameDescriptive name for the connection
DescriptionDetails about the connection’s purpose and available tools
MCP URLEndpoint URL of the MCP server
Authentication ProfileAuthentication method required by the MCP server
Custom Headers (optional)Additional headers required for server communication
Create MCP Connection Click Save Changes. The system validates the connection, contacts the MCP server, and retrieves available tools with their input/output schemas. Supported endpoint types: SSE-based and HTTP-based MCP server endpoints.

Manage MCP Connections

Refreshing a Connection: MCP servers may update tools or schemas over time. To retrieve updates:
  1. Navigate to Connections and locate the connection.
  2. Click Refresh.
The system fetches the updated tool list and displays any schema changes.
Dynamic MCP server updates are not reflected automatically. Manually reconfigure the MCP connection and reselect tools in affected agents to apply updates.
Viewing Tool Details: Each tool in a connection displays:
FieldDescription
Tool NameIdentifier for the tool
DescriptionWhat the tool does
InputRequired parameters, data types, and mandatory fields
OutputStructure of data the tool returns
Connection tools view Editing a Connection:
  1. Navigate to Connections, select the connection, and click Edit.
  2. Update server endpoints, authentication credentials, or custom headers.
  3. Click Save. The system validates the updated configuration and retrieves the current tool list.
Account-level connections cannot be edited from the workspace view. Access them from the account-level Connections section.
Deleting a Connection:
  1. Navigate to Connections, locate the connection, and click Delete.
  2. Confirm the deletion.
Deleting a connection disables all tools from that MCP server in all affected agents.

Enterprise Knowledge

Connect your agents to enterprise knowledge sources for RAG-based retrieval.

Search AI Connector

Connect to Search AI for RAG-based retrieval:
  1. Navigate to Enterprise Knowledge > Search AI.
  2. Select your Search AI application.
  3. Configure retrieval settings:
    • Top K results — Number of chunks to retrieve
    • Similarity threshold — Minimum relevance score
    • Source filtering — Limit to specific content sources

Agentic Apps Connector

Use Agent Platform apps as knowledge sources:
  1. Navigate to Enterprise Knowledge > Agentic Apps.
  2. Select the agentic app to connect.
  3. Configure access permissions.

Amazon Q Connector

Connect Amazon Q for AWS-based knowledge:
  1. Navigate to Enterprise Knowledge > Amazon Q.
  2. Configure AWS credentials.
  3. Select the Amazon Q application.
  4. Set access permissions.

Publishing Your Agent

All agent types share the same publishing options, configured in the final step of the creation wizard. Publish To — Define access permissions:
  • Everyone in the Account: Make the agent available to all users.
  • Limited Users: Grant access to specific workspace users or groups defined in workspace publish settings.
Enablement Type — Configure how users interact with the agent:
  • Always Enabled: The agent remains active and cannot be disabled by users.
  • Users Choice: Users can enable or disable the agent as needed.
Click Publish to make the agent available. It appears in the corresponding agent list on the Admin Console.
Publishing options are defined in Workspace settings. See Workspace for additional information.

Agent Management

Versioning

Track changes to agent configurations:
  • View version history
  • Compare versions
  • Roll back to previous versions
  • Tag versions for releases

Access Control

Configure who can access and modify agents:
RolePermissions
OwnerFull control, delete
EditorModify configuration
ViewerView only
UserInteract with deployed agent

Monitoring

Track agent performance:
  • Conversation volume
  • Response quality metrics
  • Error rates
  • User satisfaction

Best Practices

Instructions

  • Be specific about agent scope and limitations.
  • Include examples of good responses.
  • Define escalation paths for edge cases.
  • Specify tone and communication style.

Knowledge

  • Keep knowledge sources up to date.
  • Use specific source filtering for accuracy.
  • Test retrieval quality regularly.
  • Monitor for outdated information.

Testing

  • Test edge cases and error scenarios.
  • Validate tool integrations.
  • Check guardrail effectiveness.
  • Get feedback from target users.