Agent Link Entrypoint Configuration Reference
This feature is in the Early Access stage and under active development. Configuration schemas and behavior are subject to change. We recommend that you do not use this feature in production environments.
This page lists the fields of the adapter_config of an Agent Link Entrypoint in a runtime configuration file. For a complete configuration example, see Configuring the Entrypoint in a Runtime Configuration File. For the fields of a link agent that the Platform service manages, see Link Agents with the CLI (Early Access).
The entrypoint refuses an unknown key or a value of the wrong type in an agent entry or a wake block. It also refuses a limit under adapter_config that is not a positive whole number. The Entrypoint Executor then does not start.
The entrypoint ignores an unknown key directly under adapter_config, so a misspelled limit silently keeps its default. Check the spelling of each limit against the following table.
Entrypoint Fields
The following table describes the fields directly under adapter_config. An entrypoint that you create on the Platform service has the same five limits, under the names and with the labels on the Entrypoints page that the table shows. To see the range of each, run sam config schema show entrypoint --type agent_link.
| Field | Platform Service Field (UI Label) | Type | Required | Default | Description |
|---|---|---|---|---|---|
agents
|
None. Link agents are separate resources. | list | Yes | None | The agents allowed to connect. At least one is required. |
max_frame_bytes
|
maxFrameBytes (Max message size (bytes)) |
integer | No | 8388608 (8 MiB) |
The maximum size, in bytes, of a WebSocket message in either direction. |
max_inflight
|
maxInflight (Max unacknowledged tasks per connection) |
integer | No | 16
|
The maximum number of tasks delivered to one connection that the agent has not yet acknowledged. With the Link SDK, this is the number of tasks that one connection runs at once. |
max_connections_per_agent
|
maxConnectionsPerAgent (Max connections per agent) |
integer | No | 8
|
The maximum number of open connections per agent. Further connections close with code 4409. |
max_connects_per_minute
|
maxConnectsPerMinute (Max connects per minute) |
integer | No | 60
|
The maximum number of connections an agent can open per minute. Further attempts are refused with HTTP 429 until the 1-minute window ends. |
task_ttl_seconds
|
taskTtlSeconds (Task time-to-live (seconds)) |
integer | No | 7200 (2 hours) |
How long a delivered task can stay unanswered. |
Consider the following details of the entrypoint fields:
-
Each answer to one of a task's approval requests or questions restarts the
task_ttl_secondsclock. When the time passes, the entrypoint answers the caller with an error. -
When you change
max_frame_bytes, setSAM_LINK_MAX_FRAME_BYTESto the same value where the agent runs.
Agent Fields
The following table describes the fields of each entry in agents.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
name
|
string | Yes | None | The agent's name in Agent Mesh. The agent must connect with exactly this name. |
token_sha256
|
string | Yes | None | The 64-character hexadecimal SHA-256 digest of the agent's token. |
enabled
|
boolean | No | true
|
When false, the agent cannot connect (HTTP 403) and is never woken. |
display_name
|
string | No | The agent's name |
The name Agent Mesh shows for the agent, at most 256 bytes long. |
owner
|
string | No | Empty | The person responsible for the agent, published on its agent card. The value can be at most 256 bytes long. |
team
|
string | No | Empty | The team responsible for the agent, published on its agent card. The value can be at most 256 bytes long. |
peers
|
list of strings | No | Empty | The agents this agent can delegate to. |
share_user_profile
|
boolean | No | false
|
When true, each task includes the user's profile from the profile provider that the Platform service is configured with. Without a profile provider, a task carries no profile, only the user's ID. For more information, see The Platform Block. |
wake
|
object | No | None | How to wake a request-driven agent. For more information, see Wake Fields. |
Consider the following details of the agent fields:
-
A
namecan contain letters, digits, dashes (-), and underscores (_), must start with a letter or digit, and can be at most 117 characters long. Names of the formagent_<uuid>andworkflow_<uuid>are reserved for agents and workflows that the Platform service deploys. -
Configure each agent name in only one Agent Link Entrypoint, because the entrypoints do not detect a name that is configured in more than one of them.
-
Two agents cannot share a
token_sha256, and the entrypoint refuses the digest of an empty token. -
Each entry in
peersmust match an agent's name exactly. An agent cannot list its own name. -
A disabled agent's request queue still exists, so requests sent to the agent wait there until their time-to-live (TTL) passes.
-
Each task includes the user's ID regardless of the
share_user_profilesetting. With many identity providers, the user's ID is the user's email address. -
Allowlists, workflow agent nodes, and entrypoints that resolve an agent by display name all match
display_name. For more information, see Controlling Which Agents Can Delegate to a Link Agent.
Wake Fields
The following table describes the fields of an agent's wake block.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
url
|
string | Yes | None | The runtime's invocation endpoint that the entrypoint calls. |
token_url
|
string | No | None | The OAuth token endpoint for the client credentials grant. This field is required when you set client_id or client_secret. |
client_id
|
string | With token_url |
None | The OAuth client ID. |
client_secret
|
string | With token_url |
None | The OAuth client secret. Use an environment variable placeholder. |
scope
|
string | No | None | The scope requested with the client credentials grant. |
headers
|
map of strings | No | Empty | Additional request headers sent with each wake call. |
timeout_seconds
|
integer | No | 900 (15 minutes) |
How long one wake call can take. A call that times out before the agent connects counts as a failed wake. |
on_start
|
boolean | No | true
|
When true, the entrypoint wakes the agent when the Entrypoint Executor starts, and again until the agent sends its self-description, so that it is listed. |
Consider the following details of the wake fields:
-
The
urlandtoken_urladdresses must usehttps. For local testing, they can usehttpwithlocalhostor a loopback address. -
For more information about how the entrypoint wakes an agent and the schedule it follows after a restart, see Waking Request-Driven Agents.
Next Steps
From here, you can:
-
Connect an agent with this configuration. For more information, see Agent Link Entrypoints (Early Access).
-
Change link agents and plan event broker access. For more information, see Operating Agent Link Entrypoints.
-
Diagnose a configuration that the entrypoint refuses. For more information, see Entrypoint Executor Does Not Start After You Add the Entrypoint.