Amazon Bedrock is a fully managed service that enables businesses to easily and efficiently access and use high-performance Foundation Models (FMs).
Amazon Bedrock Agent enables Generative AI applications to perform multi-step tasks by connecting to enterprise systems, APIs, and data sources.
The Agent leverages the reasoning capabilities of Foundation Models (FMs) combined with APIs and data to analyze user requests, retrieve necessary information, and complete tasks efficiently.
In this workshop, we will use the Foundation Model Claude 3 Sonnet.
The diagram below illustrates how Amazon Bedrock Agent integrates with Code Interpreter to handle data analysis, visualization, and complex computation tasks.
Main Workflow:
File Processing Workflow:
1. Multi-agent Collaboration
This feature allows developers to easily create, deploy, and manage specialized Agents, enabling them to work together to handle complex business processes.
2. Retrieval-Augmented Generation (RAG)
The Agent can connect to enterprise data sources to provide accurate responses to customer queries.
🔹 Example: A customer asks: “How did the history of Python begin?”
👉 Benefit: Enables the AI to answer questions for which data is not available in the model but can be retrieved from external sources.
3. Orchestrate and Execute Multi-step Tasks
Customers can select an AI model and provide simple instructions, such as:
“You are a warehouse management Agent, help identify available products in the system.”
The Agent will analyze the task, break it down into logical steps, and automatically call the necessary APIs to complete the request.
4. Memory Retention Across Interactions
Amazon Bedrock Agent can retain information from previous interactions, providing a seamless and personalized experience.
For example, if a customer previously inquired about inventory for product X, the Agent can remember this information and avoid requesting it again in subsequent queries.
5. Code Interpretation
The Agent can generate and execute code in a secure environment, automating complex analytical queries.
👉 Applications:
✅ Data analysis
✅ Data visualization (charts, graphs)
✅ Solving complex mathematical problems
6. Prompt Engineering
The Agent can automatically generate prompt templates from customer instructions, action groups, and knowledge bases.
Customers can also refine inputs, orchestration plans, and model responses to improve results.
In this workshop, we use the Claude 3 Sonnet model, with specific costs as follows:
Anthropic models | Price per 1,000 input tokens | Price per 1,000 output tokens | Price per 1,000 input tokens (batch) | Price per 1,000 output tokens (batch) | Price per 1,000 input tokens (cache write) | Price per 1,000 input tokens (cache read) |
---|---|---|---|---|---|---|
Claude 3 Sonnet | $0.003 | $0.015 | $0.0015 | $0.0075 | N/A | N/A |
📌 Note: Costs may vary depending on usage and deployment methods. Refer to the official AWS documentation for more details.