Components

External Agent (A2A) Step

Call an agent that runs outside Airia and speaks the Agent2Agent (A2A) protocol, from inside an agent workflow.

Use the External Agent (A2A) step to send text to an agent that runs outside Airia and get its answer back as the step output. The remote agent must speak the Agent2Agent (A2A) protocol and publish an agent card.


When to use this step

  • Hand a task to a partner's or another team's agent and use the reply in later steps
  • Stream a remote agent's answer to the chat while it is still being written
  • Reuse an agent you cannot rebuild in Airia

The step can send an API key, a bearer token, or a username and password that you store in Airia, or a token from an OAuth connector that signs in with client credentials. It can also send each user's own sign-in or key, so the remote agent acts as the person the run acts for. See Credentials.


Before you start

You need:

  • The URL of the remote agent's card, or the agent's own address. When the address has no path, such as https://agent.example.com, Airia reads the card from /.well-known/agent-card.json on that address, and from /.well-known/agent.json if the first answers with an error. Any other URL is fetched exactly as given.
  • Permission to manage agents in the project.
  • A card that lists at least one supported interface with a URL.

The card URL must be reachable from the public internet. Airia refuses addresses it cannot fetch, such as local or private network addresses. Only http and https are allowed, the response must be smaller than 1 MiB, and the server must answer within 30 seconds.

On Airia's hosted service, every interface URL on the card must use https. A card with a plain http interface URL is not imported.


Import the agent card

Open the import dialog

Open the project, go to its Agents tab, open the menu next to Add a New Agent, and choose Import External Agent. The option is only on a project's Agents tab, not on the list of all agents.

Enter the card URL

In Add External Agent, enter the Agent URL, either the card's URL or the agent's address, and select Discover Agents.

Pick the agents

Airia shows how many agents it found and lists each one with its name, version, description, and provider. Select one or more agents and choose Add Agent (or Add Agents).

The dialog accepts a single card, a list of cards, or an object with an agents field. Each card needs a name, description, version, capabilities, skills, and at least one supported interface with a URL, a protocol binding, and a protocol version.

Airia reads the card on its server, in the A2A 1.0 format or the older A2A 0.3 format, and stores both in the same shape. It asks for the 1.0 card, so an agent that serves both answers with its 1.0 card. A 1.0 card keeps its interfaces in the order it lists them, and its security schemes and the scopes each requirement asks for are kept. A 0.3 card gives its address as a top-level url instead of a list of supported interfaces: Airia builds the interface list from url, preferredTransport (JSON-RPC when it is missing) and additionalInterfaces, gives each one the card's protocolVersion, and puts a JSON-RPC interface first. Its security list becomes the card's security requirements, and an API key scheme's in field becomes its location.

If a card does not match, the dialog names the field that failed, written like skills[0].tags. If Airia refuses a selected card, for example because an interface URL uses http, or because an A2A 1.x HTTP+JSON interface names a tenant that cannot be one part of its address, a message names the card and the reason. The dialog stays open when no card was imported.

Each imported card also creates an agent in the project, with the card's name. It appears in the Agents list with an External badge and has a published flow of Input, External Agent and Output steps. The External Agent step in that flow is titled Agent Card.

Importing is a one-time read. Airia does not refresh a card after you add it, and there is no way to edit or delete an imported card. Deleting the agent that the import created does not remove the card.


Add the step to an agent

  1. Open the agent in the builder.
  2. In the Agents category of the item drawer, drag External Agent (A2A) onto the canvas.
  3. The Available External Agents list opens when you drop the step. To reopen it, use Add, or the refresh icon once an agent is chosen. Search by agent name and select the agent. After selecting, use See details to read the card.
  4. Connect the step. It accepts zero or one incoming connection.

The step has one setting, the agent you selected. There is no streaming toggle. The credentials the step sends belong to the agent card, not to the step. To set them, select See details in the step's panel and open the Credentials tab.

The details dialog shows the card's skills, version, provider, response types, the full card JSON, and whether it supports streaming and push notifications. The Credentials tab shows which credentials are bound to the card.


Credentials

An agent card lists the sign-in schemes the agent accepts, and which ones it needs together. For each scheme you choose what the step sends:

  • One shared credential: a stored Airia credential or an OAuth connector's client credentials token. Every call sends the same one.
  • Each user signs in: each run sends the sign-in or key of the person the run acts for. See Each user's own sign-in or key.

What each scheme takes

The card asks forBind a credential of typeWhat is sent
An API key in a headerHeader, naming the same headerThat header and its value
An API key in a cookieHeader, with the header name Cookie and the value <cookie name>=<value>The cookie. Two cookies the agent asks for together go in one Cookie header
An API key in a query parameterQuery Parameters, with the same parameter nameThe parameter, added to the agent's address
An HTTP bearer tokenBearer API TokenAuthorization: Bearer <token>
HTTP basic sign-inUsername and PasswordAuthorization: Basic .... The username cannot contain a colon

An OAuth scheme takes an OAuth connector instead of a stored credential: one that signs in with client credentials for a shared token, bound through the API (see OAuth client credentials), or one that signs each user in. An OpenID Connect scheme takes only each user's own sign-in. Client certificate schemes are shown but cannot be bound yet. As a shared credential, a personal credential or a credential from the library cannot be bound.

In the Credentials tab, each API key, bearer or basic scheme has a choice between One shared credential and Each user signs in. With One shared credential, the Choose a credential list offers only credentials of the type the scheme takes.

Default and project credentials

The Credentials tab has two sets:

  • Default (all projects): used by every project's runs that have no set of their own.
  • This project: the project of the agent you are building. When it has a set, its runs send that set instead of the default. A project's set must answer one of the agent's requirements in full.

The tab says which set this project's runs use now. While neither set has anything bound, the step calls the agent without credentials, even when the card declares sign-in.

A credential limited to one project is sent only on that project's runs. Bind an account-wide credential to the default set when other projects use the agent too.

Turn on Require every project to use these to make every project's runs send the default set. It can be turned on only when the default set answers one of the agent's requirements in full. While it is on, projects cannot bind their own set, a set they already have is kept but not used, and the default set cannot be removed.

Who can change them

You need permission to manage agents. An administrator of the whole account can bind any shared credential. A project administrator can bind only credentials limited to one of their projects, never an OAuth connector, and cannot change a binding to a credential they cannot see. The tab shows such a set as read-only.

Only an administrator of the whole account can make a scheme use each user's own sign-in or key, because it sends every run user's own account. A project administrator sees a set that does so as read-only.

Where credentials are sent

Before you save, the tab shows the agent's host and asks you to confirm Send these credentials to that host. Credentials are sent only to that address, as scheme, host and port: the address of the interface the step calls (see How Airia calls the agent). A call to any other address is refused before anything is sent, and redirects are never followed.

When the agent's address moves to another host or port, its bindings stop being sent until someone confirms them again for the new address. The tab marks each one Needs confirming, and Confirm for approves it for the new host. A change of path alone keeps them.

The same applies whenever a binding was confirmed for another address than the one the step calls now, for example when the step starts calling a different interface of the card. A binding confirmed for one address is never sent to another.

If the agent repeats a credential in its answer or in an error, Airia replaces it with [redacted] before the text reaches the chat, the step output or the logs.

How the step picks what to send

When the card lists several ways to sign in, the step sends the first one the set answers in full. When the card lists no requirement, it sends everything bound. Before each call it also checks that every credential still exists, is not expired, is still shared, and still belongs to the run's project or to the whole account.

OAuth client credentials

When the card asks for OAuth 2.0, bind one of your account's OAuth connectors to the scheme instead of a stored credential. The step then sends the connector's access token as Authorization: Bearer <token>.

  • Which connector: a connector that belongs to your whole account and signs in with client credentials (machine to machine), such as one with the Service Account authentication type. It must have exactly one connection for the whole account. Connectors managed by Airia, connectors that belong to one user, and connectors that sign each user in cannot be bound. See OAuth App Registration to set one up.
  • Token address: when the card's clientCredentials flow names a tokenUrl, it must be the connector's own token endpoint, or the binding is refused. The token always comes from the connector, never from an address on the card, so the connector's secret is never sent to a URL a card names.
  • Scopes: the scopes the card's requirement lists are neither requested nor checked. The token carries the scopes the connector is set up with.
  • When it is read: the step reads the token the connector holds for the account when it runs. If the connector has no connection for the account, has more than one, or its token has expired, the step fails and the agent is not called.
  • When the connector changes: a binding approves the connector as it was when bound: its token endpoint, client ID, authorization, revoke and discovery URLs, and authentication type. If any of them changes, the binding is not sent until someone confirms it again.
  • Who can bind one: only an administrator of the whole account. The binding applies to every project's runs that use the set it is in.

In the Credentials tab, an OAuth scheme offers only each user's own sign-in. A client credentials connector is bound through the API, and a set that includes one is read-only in the tab ("This set includes a sign-in that cannot be changed here yet."), so use the API to change that set, remove it, or confirm its bindings again.

Bind a connector with the API

Authenticate with an API key in the X-API-KEY header, as an administrator of the whole account.

export AIRIA_API_KEY="ak-..."
export AIRIA_API="https://api.airia.ai"
  1. Find the ids you need:

    • The agent card: GET /v1/AgentCard?projectId={projectId} lists the project's cards, each with its agentCardId.
    • The connector: open it in the OAuth connector settings. Its id is the last part of the page address, after /settings/oauth-connectors/edit/.
    • The scheme: the name of the scheme under securitySchemes in the card's JSON, shown in the JSON tab of See details.
  2. Read the current bindings and the agent's address:

    curl -H "X-API-KEY: $AIRIA_API_KEY" "$AIRIA_API/v1/AgentCard/{agentCardId}/credentials?projectId={projectId}"

    The answer has the agent's address as origin, the default set as cardLevel, and the project's own set as projectLevel. Each binding has its id, schemeName, referenceKind, referenceId and needsReconfirmation.

  3. Replace the whole set at one level. A request replaces every binding at that level, so list the bindings you want to keep too:

    curl -X PUT -H "X-API-KEY: $AIRIA_API_KEY" -H "Content-Type: application/json" \
      "$AIRIA_API/v1/AgentCard/{agentCardId}/credentials" \
      -d '{
        "level": "Card",
        "confirmedOrigin": "<origin from step 2>",
        "bindings": [
          { "schemeName": "<OAuth scheme name>", "referenceKind": "ProviderConfig", "referenceId": "<connector id>" },
          { "schemeName": "<another scheme>", "referenceKind": "Credential", "referenceId": "<credential id>" }
        ]
      }'
FieldMeaning
levelCard for the default set of every project, or Project for one project's own set.
projectIdThe project, when level is Project. Leave it out for Card.
confirmedOriginThe agent's address you were shown, as the origin from step 2. The request is refused when it is not the agent's current address.
bindingsEvery binding of the set. referenceKind is ProviderConfig for an OAuth connector and Credential for a stored credential, and referenceId is its id. mode is Shared, the default, or PerUser for each user's own sign-in or key, where a key binding takes no referenceId.

To confirm a binding again, for example after its connector changed:

curl -X POST -H "X-API-KEY: $AIRIA_API_KEY" -H "Content-Type: application/json" \
  "$AIRIA_API/v1/AgentCard/{agentCardId}/credentials/{bindingId}/reconfirm" \
  -d '{ "confirmedOrigin": "<origin from step 2>" }'

To remove a set, send DELETE /v1/AgentCard/{agentCardId}/credentials?level=Card, or ?level=Project&projectId={projectId} for a project's own set.

The full request and response schemas are in the API reference under /v1/AgentCard.

Each user's own sign-in or key

A scheme can send the sign-in or key of the person each run acts for, instead of one shared credential. The remote agent then acts as that person, with their own access.

Set it up

  1. Open the agent's See details and the Credentials tab, as an administrator of the whole account.
  2. For an OAuth or OpenID Connect scheme, choose the OAuth connector each user signs in through. It must be a connector that belongs to your whole account and signs each user in. If none does, add one under OAuth connectors first. See OAuth App Registration.
  3. For an API key, bearer or basic scheme, choose Each user signs in. No credential is bound: each user adds their own key of the type the scheme takes.
  4. Confirm Send these credentials to the agent's host, and save.

The binding follows the same rules as a shared one: it is sent only to the confirmed address, it needs confirming again when the address or the connector changes, and the project and default sets work the same way.

How each user connects

Each user connects in the chat's Integrations panel, in the side panel of a chat with an agent that uses the External Agent step. The external agent has one row per scheme that uses each user's own sign-in or key, named after the external agent, with the scheme under the name. A key row also names the header or parameter the key must carry.

The row showsWhat it means
Connect on a sign-in rowThe user has not signed in yet. Connect opens the connector's sign-in.
Connect on a key rowThe user has no key that fits. Connect opens a form with the header or parameter name already filled in, and the user enters only the value.
ConnectedThe step sends this user's sign-in or key. The delete icon removes it.
ReconnectThe user's sign-in has expired.
"names another header or parameter than this agent asks for"The user has a key of the right type, but for another header or parameter. Connect adds one with the right name.
"waiting for an administrator to confirm its sign-in"The binding needs confirming again. Only an administrator can fix it.

The row shows the same answer the step would give, so a row that says Connected is what the next run sends.

Which runs use it

A run uses the sign-in or key of the user it acts for, by the same rule as tools and MCP servers that use each user's own credentials:

  • A chat with a signed-in user uses that user's.
  • A run started with a personal access token uses the token owner's.
  • A schedule, webhook, bot or event trigger uses the user it runs as.
  • An evaluation uses the requester's.

These runs fail before the agent is called, and the error says to bind a shared credential for runs like them:

  • A run started with a service account key or a legacy API key.
  • A run that acts for no user.

What is sent

  • Sign-in: the user's access token from the connector, as Authorization: Bearer <token>.
  • Key: the user's own credential of the scheme's type, sent the same way as a shared one (see What each scheme takes). It must be the user's own personal credential, not expired, and name the header or parameter the agent asks for. When the user has more than one that fits, the step fails rather than guess which to send.
  • Never: a shared credential, another user's credential, or another scheme in its place. When the user has not connected, the step fails and the agent is not called.

Bind it with the API

Use the same PUT /v1/AgentCard/{agentCardId}/credentials request as in Bind a connector with the API, with "mode": "PerUser" on each binding in its bindings array:

"bindings": [
  { "schemeName": "<OAuth scheme>", "referenceKind": "ProviderConfig", "referenceId": "<connector id>", "mode": "PerUser" },
  { "schemeName": "<key scheme>", "referenceKind": "Credential", "mode": "PerUser" }
]

A key binding takes no referenceId. Its userCredentialType is set from the scheme, and a request that names another type is refused.


How Airia calls the agent

Airia picks one of the card's interfaces, as described in Which interface is called, and sends one text message to its URL.

  • What is sent: one user message with a single text part. The text is the output of the step before it. If nothing is connected, the text is empty.
  • Message id: every call carries a message id. If a step is retried, Airia resends the same id so the remote agent can recognize the repeat. Each new run, and each new loop iteration, sends a new id.
  • Headers: each request carries the run's correlation id in an x-correlation-id header, and the trace context (traceparent) when tracing is on, so the agent's owner can match their logs to your run. Each request also states its body length (Content-Length) instead of sending the body in chunks. The bound credentials are added to every request.
  • Not sent: files, structured data, earlier messages, or task and context ids.

Which interface is called

The step calls A2A 0.3 over JSON-RPC, and A2A 1.x over JSON-RPC or HTTP+JSON. It goes through the card's interfaces in the card's order and takes the first protocol binding it can call. Of the interfaces with that binding, it calls the one with the highest version, and of two with the same version, the first.

  • Versions: a version is read as major and minor. An empty or unreadable version, or one below 1.0 such as 0.2.0, counts as 0.3. Versions from 2.0 on cannot be called.
  • Bindings: JSONRPC and HTTP+JSON can be called, and GRPC is skipped. A binding Airia does not recognize counts as JSON-RPC.
  • Skipped HTTP+JSON interfaces: an HTTP+JSON interface whose address has a query (?) or a fragment (#), or that names a tenant that cannot be one part of the address, is skipped, so a later interface can still be called. Import refuses a card with such a tenant; the step only skips the interface.
  • Tenant: when the chosen 1.x interface names a tenant, a JSON-RPC call sends it with every request, and an HTTP+JSON call adds it to the end of the address path. A 0.3 interface's tenant is not sent.
  • One choice per run: the interface is chosen when the run reaches the step, and every request it makes, including retries and task checks, goes to that interface. When the call fails, Airia does not try another interface.

When the card offers no interface the step can call, the step fails before sending anything, and the error names the reason, for example: "The external agent cannot be called because its card lists only GRPC 1.0. The step calls A2A 0.3 over JSON-RPC, and A2A 1.x over JSON-RPC or HTTP+JSON."

Connection rules

Every call follows these rules. A call that breaks one fails the step with the error shown in Troubleshooting.

  • https only: on Airia's hosted service, the agent's address must use https.
  • Public addresses only: an address that resolves to a private or internal network address is refused before anything is sent.
  • No redirects: if the agent answers with a redirect, Airia does not follow it. Import a card with the agent's final address.
  • No cookies: cookies are not kept between calls.
  • Size limit: an answer can be up to 16 MB. For a streamed answer, the limit covers the whole stream.
  • Time limit: the whole call, including waiting for the task and reading a streamed answer, must finish within the agent execution time limit, which is 10 minutes by default.

Streaming

Airia streams the answer only when all of these are true:

  • The chat stream is active.
  • The next step is an Output step.
  • The run delivers output asynchronously.
  • The card says it supports streaming.

Otherwise Airia makes one request and waits for the answer. Runs started by event triggers use the one-request mode.

When streaming, Airia forwards the agent's artifact text to the chat as it arrives. Status messages are not streamed, because agents use them for progress notes as often as for answers. An answer that is only in a status message shows when the task ends. Airia stops reading as soon as the task reaches a final state, or stops to ask for input or authentication. If the stream ends before that, the step fails.

Waiting for the task

When Airia makes one request, it asks the agent to answer only when the task is done. If the agent answers earlier with a task that is still running, Airia checks on the task until it ends: first after half a second, then less often, up to every five seconds, within the time limit. If one check fails on the way, Airia tries again at the next one. The agent must let callers read a task for this to work.

When you stop the run, when the time limit is reached, or when the step fails and will not be retried, Airia asks the agent to cancel its task. This is best effort: Airia waits at most three seconds, and a task the agent already ended is left alone.

What becomes the step output

The step output is plain text. Airia keeps only the text parts of what the remote agent sends. File and data parts are ignored.

  • A message: the message text.
  • A task: the text of the task's artifacts, joined in the order the agent first sent them. When there is no artifact text, the text of the task's latest status message.

A message reply always succeeds. When the agent answers with a task, the step succeeds only when the task completes. Any other state fails the step, including a task that stops to ask for input or authentication, with the agent's own status text added to the error when it sent one:

Task stateWhat happens
completedThe answer becomes the step output
failedThe step fails: the agent reported that the task failed
rejectedThe step fails: the agent declined the task
canceledThe step fails: the agent canceled the task
input-requiredThe step fails: the agent needs more input, and the step cannot reply
auth-requiredThe step fails: the agent needs authentication
An unknown stateThe step fails

When streaming, a failure also ends the chat stream with the error.

Retries

The step has no retry setting in the builder. When the step is inside a loop with Retry on error turned on, a failed attempt is retried. Only temporary server errors (429, 500, 502, 503 and 504) are retried, and a retry sends the same message id. A failed or refused connection, running out of time, an error the agent reports, and a task that does not complete are not retried.

Airia does not retry the network request on its own, so a message the agent may already have acted on is not sent twice.


Use the answer in later steps

Later steps read the remote agent's answer as text:

  • {{Steps.<YourStepName>.Value}}: the text the remote agent returned.

Spaces in the step name become underscores. For the step an import creates, that is {{Steps.Agent_Card.Value}}.


Example

Ask a partner's agent and summarize its answer for the user.

  1. Input: the user's question.
  2. External Agent (A2A): sends the question to the partner's agent.
  3. AI Model: prompt Summarize this answer in three bullet points: {{Steps.Agent_Card.Value}}.
  4. Output: returns the summary.

Limits

  • Text only, in both directions.
  • Only an API key, a bearer token, a username and password, an OAuth connector's client credentials token, or each user's own sign-in or key can be sent. Client certificates are not available yet.
  • An OAuth connector that signs in with client credentials can be bound only through the API.
  • A user connects for an agent only in the chat's Integrations panel. The step cannot ask the user to sign in during a run.
  • No other custom headers are sent.
  • No multi-turn conversations. A remote agent that asks for more input fails the step.
  • One interface is called per run, with no fallback to another when the call fails. gRPC interfaces and A2A versions from 2.0 on cannot be called.
  • Push notifications, the authenticated extended card, and card signatures are not used.
  • A header the request itself uses, such as Content-Type, Accept or Host, cannot carry a credential.
  • An answer can be up to 16 MB and 1,000,000 characters, and a streamed answer up to 10,000 events.
  • Other A2A clients cannot call Airia agents over the A2A protocol.

Where else you will see external agents

  • In the Agents list, agents created from an imported card show an External badge.
  • Imported cards are included when you export an agent and are recreated when you import it.
  • Red teaming has its own External Agent dialog that can import the same kind of card. When the imported card declares sign-in schemes, the dialog moves on to Bind credentials, the same settings as the Credentials tab. You can also close it and bind them later from the agent's details.

Troubleshooting

SymptomFix
Discovery says the address is blockedUse a publicly reachable URL. Localhost and private addresses are refused.
Discovery fails with an HTTP error or timeoutOpen the URL in a browser. It must return the card as JSON within 30 seconds and be under 1 MiB.
"Invalid agent card", naming a fieldThe response is not a supported card shape. Check that field against the required fields above.
"No agent card was found at /.well-known/agent-card.json or /.well-known/agent.json"The address has no path and the agent publishes its card at neither well-known path. Enter the card's full URL instead.
"The answer is not JSON." or "The answer is not an agent card."The URL returned something other than a card, such as a web page. Check that it is the card's URL.
Import says an interface "names a tenant that cannot be used in its HTTP+JSON address"On A2A 1.x HTTP+JSON the tenant becomes one part of the address path, so it may use only letters, digits, ., _, ~ and -, up to 128 characters, and cannot be only dots. Ask the agent's owner to fix the card.
Import shows a card's name with "must use https"On Airia's hosted service, every interface URL on the card must use https.
"The external agent cannot be called because" followed by a reasonThe card offers no interface the step can call: only gRPC, only versions from 2.0 on, an HTTP+JSON address with a query or fragment, an HTTP+JSON tenant that cannot be one part of the address, or no interface with a valid address. Ask the agent's owner for a JSON-RPC or HTTP+JSON interface for A2A 0.3 or 1.x.
The step fails with a connection error, such as "Name or service not known"Airia cannot reach the host of the interface the step calls. Check that the agent's address is public and correct.
"resolves to a private or internal network address"The agent's host points to a private network. Use a public address.
"answered with a redirect ... which is not followed"The agent's address has moved. Import a card with the agent's final address.
"refused the call as unauthorized" (HTTP 401 or 403)Check the Credentials tab: bind the scheme the agent needs, or check that the bound credential's value is right. For an OAuth connector, check the scopes the connector is set up with.
"sign-in is incomplete: nothing is bound to" a schemeThe set answers none of the agent's requirements. Bind the schemes named.
"must be confirmed again before it is sent"The agent's address changed, or the step now calls another address than the one confirmed. Review it and use Confirm for in the Credentials tab. When the error adds that the OAuth connector "changed after it was approved", review the connector and confirm the binding again through the API.
"credentials were approved for another address"A call went to an address other than the one confirmed. Review the agent's address and confirm its credentials again.
"cannot be sent:" followed by a reasonThe bound credential no longer fits: it was deleted, expired, made personal, moved to another project, or names another header or parameter than the agent asks for. Bind a credential that fits.
"cannot be sent:" naming an OAuth connectorThe connector was not found, no longer signs in with client credentials, has no connection for the account or more than one, or its token has expired or is missing. Fix the connector's connection, or bind another connector.
"the user this run acts for has not connected it"The user connects in the chat's Integrations panel, then sends again.
"the sign-in of the user this run acts for has expired"The user selects Reconnect in the chat's Integrations panel, then sends again.
"has none that can be used"The user adds their own key in the chat's Integrations panel. It must name the header or parameter the agent asks for.
"has more than one, so which to send is unclear"The user keeps only one key of that type, or an administrator binds a shared credential.
"which this run cannot use"The run started from a service account or legacy API key, or acts for no user. Bind a shared credential for runs like this one.
"needs authentication to finish the task"The agent accepted the call but asks for more sign-in during the task. This step cannot provide it. Check with the agent's owner which credentials it expects up front.
"card no longer exists"The agent card was deleted. Import the agent again.
"did not finish answering within" a number of minutesThe agent took longer than the agent execution time limit. Ask the agent's owner, or give it smaller tasks.
"does not let the step check on the task"The agent answered before the task was done and does not let callers read tasks. The agent must answer when the task is done, or allow reading tasks.
"reported that the task failed", "declined the task", or "canceled the task"The remote agent ended the task without an answer. The error includes what the agent said, when it said something.
"needs more input to finish the task"The agent asked a follow-up question. This step cannot reply, so send everything the agent needs in one message.
"answer ended before the task finished"The stream closed before the task reached a final state. Check with the agent's owner.
"larger than the 16 MB limit" or "longer than the 1,000,000 character limit"The agent's answer is too large for the step.
The step returns empty textThe remote agent sent its answer only in file or data parts. Airia keeps only text.

Was this page helpful?

On this page