AIF-C01 ยท Designing foundation model applications
What is an AI agent and what is it good for?
The role of an agent in multi-step tasks, how agents use tools and knowledge, and typical business uses.
Key points
- An agent uses a foundation model to plan a multi-step task, then acts and decides which step comes next.
- Actions: calls tools or APIs, for example through action groups.
- Facts: queries knowledge bases.
- Gaps: asks the user for missing details, then combines the results into an answer.
- Uses: insurance claims, travel booking, order status and returns, IT helpdesk.
- Amazon Bedrock AgentCore: builds and runs agents.
Source: https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html
Practice questions
What most distinguishes an agent from a single prompt-and-response call to a model?
- It always uses a larger model
- It plans steps and uses tools or knowledge to complete a task
- It retrains itself after every answer
- It works without any foundation model
Show answer
Answer: B. It plans steps and uses tools or knowledge to complete a task
An agent breaks a goal into steps and uses tools and data between steps until the task is done. A single call just returns text. Neither involves retraining or removing the model.
Which tasks suit an AI agent well?
- Looking up an order, checking the return policy and starting a return
- Storing one backup file in an S3 bucket
- Encrypting a disk volume
- Collecting missing details from a user and then opening an IT ticket through an API
- Rendering a fixed company logo
Show answer
Answer: A. Looking up an order, checking the return policy and starting a return, D. Collecting missing details from a user and then opening an IT ticket through an API
Agents shine where a goal needs several steps and calls to external systems, like checking an order and issuing a refund or gathering details and filing a ticket. Producing a single static image or storing a file do not need multi-step planning.
An AI agent only generates text and cannot take actions in other systems.
Show answer
Answer: False
False. Agents can call tools and APIs (for example through action groups) to carry out actions such as booking or filing a ticket, in addition to producing text.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
