AWS AgentCore action
Runs an agent your developers host in AWS, on Bedrock AgentCore. In the action picker it is AWS AgentCore, under Integration Actions. The agent's progress streams into the run as it works, and the step waits at most 4 minutes for its reply.
During a dry run the agent is not called at all: the step logs what it would have run and returns its Test Output, or nothing. Unlike the built-in AI Agent, an agent in AWS can't be held to read-only tools, so skipping it is the only safe choice.

Fields
| Field | Required | Description |
|---|---|---|
| AWS Account | Yes | The AWS connection whose runtimes this step can reach, in that account's region. Pick it first: everything below is drawn from it. |
| Agent | Yes | The hosted agent to run, chosen from the runtimes the selected account holds in its region. |
| Input | Yes | What 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 Scope | No | How much the agent recalls between runs; see below. |
Leaving AWS Account blank means the deployment's own AWS credentials, and only where the platform operator permits that; where they don't, 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. Short-term recall within a single run works the same whichever scope you pick.
| Scope | What shares a memory |
|---|---|
| Per Node | This step alone. Two AgentCore steps in the same automation stay separate. |
| Per Workflow | Every AgentCore step in this automation, across all its runs. The default. |
| Per Site Agent | The same agent, wherever it is run. Right for an agent that acts as a standing assistant rather than belonging to one automation. |
| Per Site | Every AgentCore step in every automation. |
| Ephemeral | Nothing. The run leaves no trace a later run can recall. Use it for test runs and for content that should not persist. |
Per Site is the broadest scope, and the easiest way for unrelated automations to leak context into each other: what one automation's agent learned about one piece of content becomes recallable by every other. Pick it only when sharing is the point.
Pausing for a person
The step doesn't pause for a person. The agent runs as a black box in your AWS account, so an agent that needs someone's input or approval builds that into itself. An agent that asks the step for input fails the step.
Output
What the agent replied, in a shape the agent decides:
- An agent that replies in one piece gives what it returned.
- An agent that streams its reply gives
text, the text it streamed joined into one reply, andevents, every other value it streamed, in order. The step finishes when the stream closes. For a single clean value that later steps can read directly, have the agent return its result rather than stream it.
An agent whose code fails partway through a streamed reply fails the step with the agent's error, and an agent still replying after 4 minutes fails the step.