ai-agents-for-beginners

How to Design Good AI Agents

(Click the image above to view video of this lesson)

AI Agentic Design Principles

Introduction

There are many ways to think about building AI Agentic Systems. Given that ambiguity is a feature and not a bug in Generative AI design, it’s sometimes difficult for engineers to figure out where to even start. We have created a set of human-centric UX Design Principles to enable developers to build customer-centric agentic systems to solve their business needs. These design principles are not a prescriptive architecture but rather a starting point for teams who are defining and building out agent experiences.

In general, agents should:

This Lesson Will Cover

Learning Goals

After completing this lesson, you will be able to:

  1. Explain what the Agentic Design Principles are
  2. Explain the guidelines for using the Agentic Design Principles
  3. Understand how to build an agent using the Agentic Design Principles

The Agentic Design Principles

Agentic Design Principles

Agent (Space)

This is the environment in which the agent operates. These principles inform how we design agents for engaging in physical and digital worlds.

Agent (Time)

This is how the agent operates over time. These principles inform how we design agents interacting across the past, present, and future.

Agent (Core)

These are the key elements in the core of an agent’s design.

The Guidelines to Implement These Principles

When you’re using the previous design principles, use the following guidelines:

  1. Transparency: Inform the user that AI is involved, how it functions (including past actions), and how to give feedback and modify the system.
  2. Control: Enable the user to customize, specify preferences and personalize, and have control over the system and its attributes (including the ability to forget).
  3. Consistency: Aim for consistent, multi-modal experiences across devices and endpoints. Use familiar UI/UX elements where possible (e.g., microphone icon for voice interaction) and reduce the customer’s cognitive load as much as possible (e.g., aim for concise responses, visual aids, and ‘Learn More’ content).

How To Design a Travel Agent using These Principles and Guidelines

Imagine you are designing a Travel Agent, here is how you could think about using the Design Principles and Guidelines:

  1. Transparency – Let the user know that the Travel Agent is an AI-enabled Agent. Provide some basic instructions on how to get started (e.g., a “Hello” message, sample prompts). Clearly document this on the product page. Show the list of prompts a user has asked in the past. Make it clear how to give feedback (thumbs up and down, Send Feedback button, etc.). Clearly articulate if the Agent has usage or topic restrictions.
  2. Control – Make sure it’s clear how the user can modify the Agent after it’s been created with things like the System Prompt. Enable the user to choose how verbose the Agent is, its writing style, and any caveats on what the Agent should not talk about. Allow the user to view and delete any associated files or data, prompts, and past conversations.
  3. Consistency – Make sure the icons for Share Prompt, add a file or photo and tag someone or something are standard and recognizable. Use the paperclip icon to indicate file upload/sharing with the Agent, and an image icon to indicate graphics upload.

Got More Questions about AI Agentic Design Patterns?

Join the Azure AI Foundry Discord to meet with other learners, attend office hours and get your AI Agents questions answered.

Additional Resources

Previous Lesson

Exploring Agentic Frameworks

Next Lesson

Tool Use Design Pattern