- Select foundation models for specific tasks (a core differentiator for agentic systems).
- Choose and expose tools, external APIs, and enterprise services.
- Store and retrieve conversational or workflow context, controlling the context size passed into each model.
- Maintain multi-step orchestration logic for sequential or iterative execution.
- Define routing rules to determine which models or tools handle particular requests.

- This code is intended to run on the AgentCore serverless platform.
- The functions
get_open_incident_tickets,get_sales_metrics, andcall_bedrock_modelare examples of tools/integrations you implement and register with the AgentCore runtime. - Orchestration code controls when and how tools and models are invoked. You can orchestrate:
- Single- or multi-model flows
- Conditional tool calls
- Iterative loops to converge on a result
- Multi-agent interactions
You explicitly define what resources the orchestration can use:
- What tools and resources are available.
- How those tools are exposed and what interfaces they present.
- Any constraints, guardrails, or workflow boundaries the agent must follow.
- Sequencing rules that order steps where applicable.

- Predefined: the serverless workflow logic controls the exact sequence and tool usage (deterministic).
- Dynamic: the model/agent decides at runtime which tools to use, when to call them, and whether to iterate.
- Should a tool be used at all?
- Which tool should be chosen?
- How often and in what order should tools be invoked?
- Should the agent retrieve additional data, ask clarifying questions, or iterate with another model call?

- Build advanced, flexible AI systems beyond SDK-only or basic agent patterns.
- Integrate enterprise tools and services that expose nonstandard interfaces.
- Author multi-step, multi-agent processes and iterative loops (for example, while-type loops to converge on a goal).
- Maintain a modular, extensible architecture that makes adding new tools and behaviors straightforward by updating serverless workflow code.
Start with Bedrock Agents for simpler agentic tasks. Choose AgentCore when you need deeper orchestration control, multi-tool coordination, tighter guardrails, or custom sequencing that requires serverless workflow logic and explicit resource management.
- Amazon Bedrock documentation
- Designing agentic systems
- Serverless workflow patterns and best practices