For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agents & API Gateways

The runtime components of Frends.

Agents and API Gateways represent the fundamental worker and routing instances that execute integration workloads and manage API traffic in Frends.

What are Agents and API Gateways?

Within the Frends execution architecture, Agents and API Gateways operate as individual worker nodes assigned to an Agent Group, executing the runtime operations managed centrally by the Frends Control Panel. While both component types share identical administration interfaces, configuration options, and event monitoring tools, they fulfill distinct architectural roles in an enterprise integration topology.

Agents

An Agent is a full-featured worker node designed for executing backend integration Processes. Agents listen to scheduled, conditional, and message-based Triggers, execute sequential Tasks, handle data transformations, and orchestrate communication with internal and external enterprise systems. In clustered configurations, multiple Agents within the same Agent Group share processing queues and database state to balance execution workloads and deliver automatic high availability.

API Gateways

An API Gateway is a specialized instance designed primarily for managing incoming HTTP and REST API traffic. API Gateways receive client requests, terminate TLS connections, enforce authentication and rate limiting policies, and route traffic to backend Agents or external microservices. By deploying API Gateways in network perimeter zones such as DMZs, organizations securely expose public endpoints while keeping core integration Agents and sensitive business databases isolated inside internal private networks.

Agent and API Gateway management

The management interface for Agents and API Gateways in the Frends Control Panel provides administrative tools for configuring instance connectivity, reviewing runtime event streams, and inspecting active Trigger endpoints.

Administrators access two primary views for each instance: the configuration view used during provisioning and maintenance, and the operational monitoring view used for inspecting live agent health, execution events, and Trigger routes.

Usage

Managing Agents and API Gateways is performed through the Environments view under the Administration menu of the Frends Control Panel.

Accessing Agent and API Gateway views

To access an existing instance, open the Administration dropdown from the main navigation bar and select Environments. In the left panel, expand the target Environment and select the appropriate Agent Group. Within the main panel, locate the Agents or API Gateways section and select an instance card to open its operational monitoring view.

To adjust connection parameters or security settings for an active instance, select the settings gear icon located at the top right of the monitoring view.

Provisioning self-hosted Agents & API Gateways

To add a new Agent or API Gateway to a Self-Hosted Agent Group, navigate to the Agent Group view and select either the + New Agent or + New API Gateway button. This opens the instance configuration form where you define connection properties and security certificates.

Details for self-hosted Agents are provided in Environment management.

In the Name for agent field, specify a unique identifier for the worker node within the Agent Group.

Enter the service account authentication details in the Username for agent and Password for agent fields, which the background service or container uses to authenticate with the Frends Control Panel during startup and heartbeat operations.

The user account must be in local administrator group on the server in order to work.

Configure the local port bindings in the Ports for REST API (HTTPS) and Ports for REST API (HTTP) fields, which define the network ports the instance listens on for management calls and incoming REST requests. The ports must be separately opened from the firewall, if external connectivity is required. Frends versions from 5.7 onwards only listen for the HTTPS connections.

In the External address field, you can optionally provide the fully qualified domain name or URL prefix that clients use to reach this specific instance. This information is used for display purposes only; if provided, the Agent's Active Triggers view can display the full URL for the HTTP and API Triggers. Actual connectivity to the Agent does not require this value, nor does adding the value enable connectivity to the Agent.

If custom TLS encryption is required, provide the certificate identifier in the SSL Certificate thumbprint field, or leave the input empty to allow Frends to use an automatically generated certificate.

Save your configuration using the Save changes button to finalize the instance definition.

Configuring containerized Agents

When operating in containerized environments such as Docker, Kubernetes, or cloud container services, Agent provisioning and configuration occur directly on the container server rather than through the Frends Control Panel interface.

All connection parameters, including the Frends Tenant URL, Agent Group registration token, service account credentials, and database connection strings, are supplied as environment variables in the container deployment manifests or Helm charts. When a containerized Agent pod or container starts up, it initializes its internal runtime, connects to the Frends Control Panel, and automatically registers itself within the target Agent Group. Once connected, the newly registered Agent appears dynamically in the Control Panel under the Agent Group, where administrators can immediately inspect its health, monitor event streams, and review active Triggers without performing manual UI configuration.

Installing Agent software

To install a new Agent or API Gateway to a Self-Hosted Agent Group, navigate to the Agent Group view to find the available Agent registrations.

Configuration options for existing Agents.

Selecting the download package dropdown on an Agent card reveals multiple installation options tailored for different operating environments.

Choosing Preconfigured Linux binary package downloads a pre-configured archive containing the cross-platform runtime binaries and configuration files ready for deployment on Linux systems.

Selecting Windows installer downloads a setup wizard pre-populated with the group's connection tokens for Windows server installations.

The Configuration only option supplies the standalone configuration files for updating existing installations or configuring custom container workloads.

The Database Initializer provides the database provisioning utility to prepare the shared database schema before launching newly installed Agents.

Refer to the guide Installing Frends Agent for more information on installing the Agent software on your server or machine.

Monitoring Agent events

The Agent events section provides a real-time log viewer for tracking internal runtime diagnostics, lifecycle state changes, and error conditions reported by the instance.

The event log table displays entries with their severity Level, exact Timestamp, diagnostic Source namespace, and descriptive Message. Administrators can quickly locate specific operational issues using the Search for agent events by message filter bar located above the table. If an Agent encounters connectivity failures or Trigger initialization issues, detailed error traces appear directly in the message column. The table supports multi-page navigation controls to inspect historical event entries across previous operational intervals.

Inspecting active Triggers

The Triggers section allows administrators to review all Process Triggers currently bound to and listening on the selected instance.

The left list displays all deployed Processes that have active Triggers running on this node, indicating the Process name, version number, and total count of active Triggers. Selecting a Process from the list displays detailed metadata in the right Trigger pane, including the Trigger type, such as HTTP trigger, and the fully resolved endpoint URLs for both HTTP and HTTPS listeners. This enables developers and operators to verify the exact public and internal URLs generated for API endpoints hosted on that specific worker node.

Last updated

Was this helpful?