Bitzu

AI-901 ยท Building agents in Foundry

What makes up a Foundry prompt agent?

The parts of a Foundry agent: model, instructions, name and description, and how a single-agent solution differs from a plain model call.

Key points

  • A name (plus optional description) to identify it, a model deployment that generates responses, instructions that set its role and behavior, and optional tools.
  • Foundry stores and runs this definition for you and snapshots each change as a version.
  • A plain model call has none of this saved state: you resend the prompt every time.

Source: https://learn.microsoft.com/en-us/azure/foundry/agents/overview

Practice questions

Single choice

Which set of settings defines the behavior of a prompt agent in Foundry?

  1. A model, instructions and optional tools
  2. A training dataset, a loss function and a GPU size
  3. A container image, a port and a scaling rule
  4. A prompt template, a database schema and a cron job
Show answer

Answer: A. A model, instructions and optional tools

A prompt agent combines a model, instructions and optional tools. A training dataset or container image is not part of a prompt agent definition.

Select all that apply

Which statements about prompt agents in Foundry are true?

  1. They can be created and configured in the Foundry portal
  2. Foundry runs them, so there is no runtime code or container to maintain
  3. They require you to ship your own container image
  4. They need a labeled training dataset before first use
  5. They can also be defined programmatically with the SDK or REST API
Show answer

Answer: A. They can be created and configured in the Foundry portal, B. Foundry runs them, so there is no runtime code or container to maintain, E. They can also be defined programmatically with the SDK or REST API

Prompt agents are configured in the portal or via SDK/REST and run on a managed runtime. Container packaging belongs to hosted agents, and no training data is needed to define one.

True or false

True or false: to build a prompt agent you must package your own code as a container and host it.

Show answer

Answer: False

False. That describes hosted agents. A prompt agent is defined by configuration (model, instructions, tools) and Foundry runs it.

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 AI-901 topics in this module