Skip to main content

AWS AgentCore action

Invokes an agent you host in AWS—a Bedrock AgentCore agent runtime. In the action picker it is AWS AgentCore, under AI Actions. The agent's progress streams into the run as it works, and it can pause to ask a person a question.

Fields

FieldRequiredDescription
AWS AccountYesThe AWS connection whose runtimes this step can reach, in that account's region. Pick it first—everything below is drawn from it.
AgentYesThe hosted agent runtime to invoke, chosen from the runtimes the selected account holds in its region.
InputYesWhat to send the agent—a Prompt, written as text, or JSON, a structured payload. Both accept variables, resolved before the request is sent.
Long-term Memory ScopeNoHow much the agent recalls between runs—see below.
Human in the LoopNoOpt-in. Set it to let the agent pause and ask a person before finishing, and choose the Providers the question is pushed to. Left unset, the agent must finish on its own.

AWS Account comes first for a reason: the list of agents depends on it. Leaving it blank means the deployment's own AWS credentials, and only where the deployment permits that—where it does not, the step cannot run until this field names an account.

Long-term Memory Scope

This decides which prior runs an agent can recall. It has no effect unless long-term memory is enabled on the agent's own memory resource in AWS; where it is, facts and summaries accumulate per scope.

ScopeWhat shares a memory
Per NodeThis step alone. Two AgentCore steps in the same automation stay separate.
Per WorkflowEvery AgentCore step in this automation, across all its runs. The default, and the one that matches "this automation remembers what it learned".
Per Site AgentThe same agent, wherever it is invoked. Right for an agent that acts as a standing assistant rather than belonging to one automation.
Per SiteEvery AgentCore step in every automation. The broadest scope, and the easiest way for unrelated automations to leak context into each other—pick it only when sharing is the point.
EphemeralNothing. The run leaves no trace a later run can recall. Use it for test runs and for content that should not persist.

Short-term recall within a single run, including the conversation around a human-in-the-loop pause, works the same whichever scope you pick.

Pausing for a person

With Human in the Loop set, the agent can stop to ask a question and the step waits for the answer before the agent resumes. Pick the Providers the question is pushed to—Slack, Microsoft Teams, or both—and turn on Only Notify on Questions to push the pauses alone rather than the running progress. Every request is also answerable from the approvals inbox, whichever providers are configured.

Output

The agent's result, together with the run's telemetry. The result's shape is defined by the agent.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.