Bitzu

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

Single choice

What most distinguishes an agent from a single prompt-and-response call to a model?

  1. It always uses a larger model
  2. It plans steps and uses tools or knowledge to complete a task
  3. It retrains itself after every answer
  4. 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.

Select all that apply

Which tasks suit an AI agent well?

  1. Looking up an order, checking the return policy and starting a return
  2. Storing one backup file in an S3 bucket
  3. Encrypting a disk volume
  4. Collecting missing details from a user and then opening an IT ticket through an API
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More AIF-C01 topics in this module