ai-agents-for-beginners

How to design better AI agents

(Click di picture wey de for top make you watch di video for dis lesson)

Principles wey dey guide how to design AI agents

Intro

Plenty different ways dey to think how person go build AI Agentic Systems. Since ambiguity na part of generative AI design, e fit hard for engineers to sabi how dem go even start. We don make set of human-centric UX Design Principles to help developers build customer-centered agentic systems wey go solve business needs. These design principles no be strict architecture; na jus starting point for teams wey dey define and build agent experiences.

For general, agents suppose:

Wetin dis Lesson go Cover

Learning Goals

After you finish dis lesson, you go fit:

  1. Explain wetin the Agentic Design Principles be
  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)

Na di environment wey the agent dey operate. These principles dey guide how we go design agents for physical and digital worlds.

Agent (Time)

Na how the agent dey operate over time. These principles dey guide how we design agents wey dey interact across past, present, and future.

Agent (Core)

These na the main elements wey dey the core of agent design.

The Guidelines to Implement These Principles

When you dey use the design principles wey come before, use these guidelines:

  1. Transparency: Make user sabi say AI dey involved, how e dey work (including past actions), and how dem fit give feedback and modify the system.
  2. Control: Make user fit customize, specify preferences and personalize, and get control over the system and im attributes (including ability to forget).
  3. Consistency: Try make experiences consistent and multi-modal across devices and endpoints. Use familiar UI/UX elements where possible (for example, microphone icon for voice interaction) and reduce customer cognitive load as much as you fit (for example, try make responses short, use visual aids, and ‘Learn More’ content).

How To Design a Travel Agent using These Principles and Guidelines

Imagine say you dey design Travel Agent, na so you fit think how to use the Design Principles and Guidelines:

  1. Transparency – Tell user say Travel Agent na AI-enabled Agent. Give small basic instructions how to start (for example, “Hello” message, sample prompts). Put dis for product page. Show list of prompts wey user don ask before. Make e clear how to give feedback (thumbs up and down, Send Feedback button, etc.). Make am clear if Agent get usage or topic restrictions.
  2. Control – Make sure say e clear how user fit modify the Agent after dem don create am with things like the System Prompt. Make user fit choose how verbose the Agent dey, im writing style, and any things wey Agent no suppose talk about. Allow user to view and delete any related files or data, prompts, and past conversations.
  3. Consistency – Make sure say icons for Share Prompt, add a file or photo and tag person or something dey standard and people sabi am. Use paperclip icon to show file upload/sharing with Agent, and image icon to show graphics upload.

Sample Codes

You get more questions about AI Agentic Design Patterns?

Join the Microsoft Foundry Discord make you meet other learners, join office hours and get your AI Agents questions answer.

Additional Resources

Previous Lesson

Exploring Agentic Frameworks

Next Lesson

Tool Use Design Pattern


Abeg note: Dis document don translate by AI translation service [Co-op Translator] (https://github.com/Azure/co-op-translator). Even though we dey try make am correct, abeg sabi say automatic translations fit get mistake or no too correct. The original document for im original language na the authoritative source. If na critical information, make professional human translator do the translation. We no go responsible for any misunderstanding or misinterpretation wey fit come from using this translation.