Skip to main content

Choose the right agent workload

Who this is for

Builders deciding which agent architecture fits their use case before writing code. If you already know your workload type, jump straight to its overview: Conversational, Workflow, or Coding. If you haven't deployed anything on AgentCore yet, start with Get Started first.

Reference categorization — not AgentCore product types

The Conversational, Workflow, and Coding categories on this site are reference patterns created to organize architecture guidance. They are not AgentCore product types, named tiers, or mandatory configurations. AgentCore capabilities (Runtime, Memory, Gateway, Identity, Guardrails, Evaluations, Observability) are modular — you combine them based on your use case. These categories help you reason about which combination typically fits a given problem.

AgentCore supports many agent archetypes including the following three. Each is optimized for a different interaction model, trigger pattern, and operational profile. Pick the one that matches your use case, then follow its Quick Start to deploy in minutes.


Workload Types at a Glance​


When to Use Each Workload​

Use CaseWhy This Fits
Conversational
Customer support / helpdesk agentHuman-initiated, multi-turn, needs memory of prior exchanges
Internal knowledge assistant (HR, IT, etc.)Q&A with employees, auth-scoped answers per user
Sales co-pilot / deal desk assistantReal-time advice during live user interactions
NL-to-SQL / self-serve analyticsUser asks a question, agent queries data and responds
Workflow
Claims processing / adjudicationEvent-triggered, rules-based, needs bounded autonomy
IT incident response / auto-remediationAlert fires, agent triages and acts without a human
Document intake and routingDocument uploaded → classify → route → notify
Compliance monitoring / drift detectionScheduled scan → detect → remediate or escalate
Order fulfillment exception handlingSystem event (stuck order) triggers investigation
Email / ticket triage and auto-responseInbound message → classify → auto-reply or route
Coding
Feature implementation from Jira ticketsTicket created → agent generates code → PR for review
Automated code review / security scanningPR opened → agent reviews → comments inline
Codebase migration / refactoringBatch task: transform patterns across many files
Test generation from specificationsSpec updated → agent writes/updates test suites
Documentation generation from codeCode merged → agent generates/updates docs

Decision Criteria at a Glance​

Use this table to map your requirements to a reference category. Multiple "best fit" matches in a row point to the same workload.

CriterionConversationalWorkflowCoding
Trigger sourceHuman typing a messageSystem event (alert, webhook, schedule, queue)Ticket, PR, CI event, or schedule
Human interactionContinuous, real-time back-and-forthMinimal during execution; human-in-the-loop (HITL) for approvals on high-risk actionsReview gate at the end (PR/approval)
Action riskLow-to-medium (user-scoped actions)Medium-to-high (autonomous system actions)Medium (code change, auto-merged PR)
DurationMinutes to hours across many turnsSeconds to minutes per invocationMinutes to hours per task
Identity modelEnd-user identity (OAuth bearer token)Service identity (machine-to-machine)Developer identity (repo/CI access)
State / memorySession + long-term per userPer-entity cross-invocation contextProject-scoped codebase context
Latency requirementLow (streaming token-by-token to UI)Tolerant (results to downstream systems)Tolerant (background task)
Integration patternFrontend / chat UI, IdP, streaming APIEventBridge, SNS, SQS, S3, webhooksGitHub/GitLab, Jira, CI/CD pipelines

How They Compare​

DimensionConversationalWorkflowCoding
TriggerUser message (human-initiated)System event (machine-initiated)Ticket/PR/schedule (machine-initiated)
Session durationMinutes to hours (multi-turn)Seconds to minutes (single invocation)Minutes to hours (long-running task)
Identity modelEnd-user OAuth bearer tokens (acts as user)Service identity (acts as system)Developer identity (acts as developer)
MemorySession + long-term per userCross-invocation context per entityProject-scoped context
StreamingToken-by-token to UIOptional (results go to downstream systems)Optional (progress updates to IDE/CI)
Primary outputNatural language response to humanActions taken + structured events emittedCode artifacts + PR/review comments
Scaling patternConcurrent sessions (many users)Event throughput (many events per second)Concurrent tasks (many repos/PRs)
Key metrics ²Builtin.Helpfulness, Builtin.CorrectnessBuiltin.GoalSuccessRate, trajectory match evaluatorsCode quality, test pass rate (no code-specific built-in evaluator)
Idle cost ³Scale-to-zero between sessionsScale-to-zero between eventsScale-to-zero between tasks
Compute lifecycleUp to 8 hours (session affinity) ¹Short-lived by design; sessions stop at the default 15-minute idle timeout ¹Up to 8 hours (long-running) ¹
Guardrails focusContent filters, PII, prompt injectionTool-level policies (Cedar), bounded autonomyCode quality gates, security scanning

¹ Session duration and scaling behaviors are architecture guidance based on typical AgentCore usage patterns, not per-workload limits — the maximum compute lifetime is the same for every runtime. Verify current limits in the AgentCore service quotas.

² Builtin.* names are AgentCore Evaluations built-in evaluators. Trajectory matching is a family: Builtin.TrajectoryInOrderMatch, Builtin.TrajectoryAnyOrderMatch, and Builtin.TrajectoryExactOrderMatch.

³ Runtime uses active-resource consumption pricing; idle agents scale to zero after their sessions stop.


Decision Guide​

Choose Conversational when:

  • A human is typing messages and expecting real-time responses
  • You need multi-turn memory and session continuity
  • The agent acts on behalf of the end-user (their identity, their permissions)

Choose Workflow when:

  • A system event triggers the agent (alert, webhook, schedule, file upload)
  • The agent needs to make decisions and take actions autonomously
  • You need bounded autonomy: the agent should act within defined guardrails, not freely

Choose Coding when:

  • The output is code, tests, documentation, or PR comments
  • Tasks are long-running and involve file system or repository operations
  • You need sandbox isolation for code execution and validation

Getting Started Resources​

Once you've chosen your workload type, jump to the quickstart that fits:

PathWhat you getLink
CLI quickstartScaffold any agent project with agentcore create, iterate locally with hot-reload, deploy with one commandBuild from CLI
Managed harnessConfigure rather than code: AgentCore manages the agent loop, memory, and system promptFirst Agent (Harness)
Conversational quickstartSample-driven path for chat agents with identity, memory, and streamingConversational Quick Start
Workflow quickstartEvent-driven agent with bounded autonomy and tool gatesWorkflow Quick Start
Coding quickstartLong-running code agent with sandbox executionCoding Quick Start

For CLI reference and the full set of agentcore create options, see the AgentCore CLI project creation guide.


Next Steps​

warning

Any agent created with the commands on this page is a prototype until you have applied the controls in Preparing for production. Do not use a prototype endpoint to serve real user traffic.