AI Skills and Impacts

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

According to Gartner's 2024 report, what percentage of enterprise software applications are expected to include agentic AI by 2028?

  • 33% (correct)
  • 15%
  • 5%
  • 50%

Agentic AI is predicted to decrease the number of day-to-day work decisions made autonomously by 2028.

False (B)

What is the primary function of Al agents, according to the provided materials?

autonomously performing tasks on behalf of a user or another system by designing its workflow and utilizing available tools

According to McKinsey, agents are described as the next frontier of ______ Al.

<p>generative</p> Signup and view all the answers

Match the Al technical capability with its corresponding lecture number:

<p>Understanding = T2 Generation = T3 Coding = T5 Video Computer Vision = T8</p> Signup and view all the answers

In the context of Al agents, what differentiates a 'rational agent' from other types of agents?

<p>Its selection of actions to maximize performance measure. (C)</p> Signup and view all the answers

An agent's architecture includes only the software components that define its algorithms and decision-making processes.

<p>False (B)</p> Signup and view all the answers

What two components define an agent?

<p>agent program, agent architecture</p> Signup and view all the answers

In agent terminology, the history of everything the agent has ever perceived is called its ______.

<p>percept sequence</p> Signup and view all the answers

Match the type of agent program with its description:

<p>Simple reflex agents = Actions mapped to current percepts, history is ignored Model-based reflex agents = Agent maintains internal state of the environment Goal-based agents = Actions selected based on achieving goals Utility agents = Actions selected to maximize expected utility function</p> Signup and view all the answers

How do Large Language Models (LLMs) enhance goal-based agents?

<p>By making search and planning more effective and efficient. (B)</p> Signup and view all the answers

In learning agents, the 'performance element' is responsible for suggesting new actions to explore.

<p>False (B)</p> Signup and view all the answers

What is the role of the 'critic' in a learning agent?

<p>evaluating the outcomes of past actions and providing feedback to the learning agent</p> Signup and view all the answers

The component of a learning agent that is responsible for suggesting actions that would lead to new and informative experiences is known as the ______.

<p>problem generator</p> Signup and view all the answers

Match the component of LLM-based Al agents with its function:

<p>Reasoning engine = Determines actions and necessary inputs. Goals = Sets the objective of the agent. Tools = Resources the agent utilizes to accomplish tasks. Cognitive skills = Accomplishes specialized tasks.</p> Signup and view all the answers

In the context of LLM-based Al agents, what is 'tool calling'?

<p>Using external resources to gather up-to-date information. (A)</p> Signup and view all the answers

The primary advantage of Agentic Al solutions is their ability to effectively manage highly structured and predictable processes.

<p>False (B)</p> Signup and view all the answers

What is the purpose of orchestration in the context of LLM-based Al agents?

<p>action planning and collaboration among agents</p> Signup and view all the answers

In RAG (Retrieval-Augmented Generation) systems, the ______ Agent is designed to dynamically orchestrate knowledge retrieval.

<p>task-specific</p> Signup and view all the answers

Match the agent architecture to its function:

<p>Multi-agent architecture = Consists of several agents, tools, and data stores working together Manager agent = Interacts with external systems and assigns tasks Specialized Agents = Performs assigned tasks RAG Agent Router = Analyses user queries and maps them to appropriate sources</p> Signup and view all the answers

What is the role of the lead agent in a RAG Orchestrated Multi-Agent System?

<p>To dynamically route queries and integrate information for a context-aware response. (D)</p> Signup and view all the answers

Langchain and LangGraph are the same thing.

<p>False (B)</p> Signup and view all the answers

What is the specific purpose of LangGraph?

<p>Build robust and stateful multi-actor applications with LLMs by modeling steps as edges and nodes in a graph.</p> Signup and view all the answers

A developer platform that enables debugging, testing, evaluation, and monitoring of LLM applications is called ______.

<p>langsmith</p> Signup and view all the answers

Match the LangChain-supported Al agent architecture with its function:

<p>Router = Allows a LLM to select from a specified set of options. Multi-step decision making = Enables the LLM to control a sequence of decisions. Tool access/calling = The LLM can from and use a variety of tool. ReAct = Combines multi-step decision making and tool calling into three core concepts</p> Signup and view all the answers

Which of the following best describes tool calling in LLMs?

<p>Using external systems to gather up-to-date information. (C)</p> Signup and view all the answers

In the ReWOO (Reasoning WithOut Observation) approach, agents continuously update their context based on tool outputs after each action.

<p>False (B)</p> Signup and view all the answers

What is the primary distinction between the ReAct and ReWOO agent methodologies?

<p>ReAct uses tool responses to decide which tool to use next, ReWOO eliminates reliance on tool outputs.</p> Signup and view all the answers

A function that returns an agent's perceptual input at any given instant is called a(n) ______.

<p>percept</p> Signup and view all the answers

Match the concepts with their functions:

<p>Agent Function = Maps any given percept sequence to an action Agent Program = Implementation of agent function Agent Actions = Modifies the state of the environment Performance Measure = Evaluative measure</p> Signup and view all the answers

Select the correct statement about the capabilities of data stores:

<p>VertexAl Search access to VertexAl search capabilities. (A)</p> Signup and view all the answers

Code Interpreter reduces the number of code generations.

<p>False (B)</p> Signup and view all the answers

Can agents connect to external system?

<p>yes</p> Signup and view all the answers

The two building blocks to create a vertex agent is the ability to set a goal and provide ______.

<p>instruction</p> Signup and view all the answers

Match parameters with a description:

<p>Name = Helps LLM and developers to understand tasks. Goals = Description of what the playbook is meant to handle Instructions = Steps that should be taken to accomplish a goal. Examples = effective snapshots for the tool/LLM function.</p> Signup and view all the answers

When referencing another agent in the instructional code in the LLM, which is the proper syntactical format?

<p>${AGENT: agent_name}. (B)</p> Signup and view all the answers

Agents can complete tasks using unstructured language.

<p>False (B)</p> Signup and view all the answers

Tools are defined to have what particular function regarding Genrative AI?

<p>connect generative agents to external systems</p> Signup and view all the answers

Flashcards

What is an AI Agent?

A system or program that autonomously performs tasks on behalf of a user, designing workflows and utilizing available tools.

Agentic AI impact by 2028

By 2028, 33% of enterprise software will include agentic AI, enabling 15% of day-to-day work decisions to be made autonomously.

Intelligent agents in AI

AI driven software entities that use AI techniques to complete tasks and achieve goals

Agency of current LLM apps

They lack the agency to make plans and take action on their own, responding only to prompts.

Signup and view all the flashcards

Agents manage multiplicity

Deal with less predictable workflows and exceptions.

Signup and view all the flashcards

Promise of Agentic AI solutions

Process of dealing with unstructured or emergent activities.

Signup and view all the flashcards

What is an agent?

Anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators

Signup and view all the flashcards

Agent function

Maps any given percept sequence to an action.

Signup and view all the flashcards

Agent Actions

Modify the state of the environment and may help collect further information

Signup and view all the flashcards

Agent program

Maps percepts into actions.

Signup and view all the flashcards

Agent Architecture

The environment on which the agent program runs, including percepts, actuators, and the communication among them.

Signup and view all the flashcards

Simple reflex agents

Actions are mapped to current percepts, and history is ignored; uses a simple if-then model.

Signup and view all the flashcards

Model-based reflex agents

Agent maintains internal state of the environment and uses knowledge about how states evolve.

Signup and view all the flashcards

Goal-based agents

Selection of actions based on goal information; what states of the environment are desirable.

Signup and view all the flashcards

Utility Agents

Based on a utility function, the agent selects actions that maximize its expected utility function.

Signup and view all the flashcards

Agent Goal

A goal that can be achieved through one or multiple actions.

Signup and view all the flashcards

Learning Agents

Developed through an adaptive learning process, such as through different ML approaches.

Signup and view all the flashcards

Performance element of Learning Agents

Responsible for selecting actions based on the percept.

Signup and view all the flashcards

Critic element of Learning Agents

Responsible for evaluating the outcomes of past actions and providing feedback to the learning agent.

Signup and view all the flashcards

Problem generator

Responsible for suggesting actions that would lead to new and informative experiences.

Signup and view all the flashcards

GenAI based AI Agents

Reasoning engines to determine which actions to take and the inputs necessary to perform the action.

Signup and view all the flashcards

NL Understanding of LLMs

Natural language capabilities of LLMs, such as chain-of-thought reasoning

Signup and view all the flashcards

Agentic Technology

Agentic technology that uses tool calling on the backend to obtain up-to-date information, optimize workflow and create subtasks

Signup and view all the flashcards

Reasoning Engine

LLMs allow for effective action search and planning

Signup and view all the flashcards

LLM Based Reasoning Engine

Combines goal information with accessible knowledge to identify the actions, or sequence of actions, that would help achieve the goal.

Signup and view all the flashcards

AI tools

AI tool that an agent can utilize to do work, such as data sets, web searches, code generation tools, external APIs and pre-defined actions

Signup and view all the flashcards

AI Cognitive Skills

Cognitive skills module that acts as a model hub, providing an agent with a purpose-built model to accomplish tasks

Signup and view all the flashcards

Task-Specific Agent

An autonomous system designed to handle a specific function or solve a narrowly defined problem within a particular domain.

Signup and view all the flashcards

ReAct Agent

An agent that combines reasoning and action to handle interactive workflows and decision-making tasks.

Signup and view all the flashcards

Orchestration

Framework for action planning and collaboration among agents.

Signup and view all the flashcards

Router Agent

Agent that maps queries of tasks to the appropriate sub-agents or data sources

Signup and view all the flashcards

RAG Orchestrated Multi-Agent System

Advanced implementation of a Multi-Agent System where a lead agent coordinates the activities of multiple specialized agents.

Signup and view all the flashcards

What is LangChain?

A framework for developing applications powered by large language models (LLMs).

Signup and view all the flashcards

Router (Ai Models)

Allows AI to select a single step from specified set of options that relies on structured output of the model.

Signup and view all the flashcards

Multi step decisions

Provides the LLM with the ability to control a sequence of decisions rather than just a single one

Signup and view all the flashcards

Tool access/calling

The LLM can choose from and use a variety of tools to accomplish specific tasks.

Signup and view all the flashcards

ReAct Reasoning

Type of AI agent that combines multi-step decision making and using tools that are integrated by three core concepts.

Signup and view all the flashcards

Code Interpreter Tool

Building tool combining code generation and execution.

Signup and view all the flashcards

Vertex Al Agent Builder

Helps you design, deploy, and manage intelligent conversational AI and process automation agents using natural language.

Signup and view all the flashcards

Agent Playbooks

Basic building block of generative agents for specific tasks.

Signup and view all the flashcards

Human-in-the-loop

Allow humans to participate in a workflow to enhance agent reliability, especially for sensitive tasks.

Signup and view all the flashcards

Study Notes

Coming Up

  • April 1 will cover AI Skills, Agentic Solutions architectures, tools, data stores, and Project Walk-through.
  • Project Walk-through meetings are scheduled.
  • HW 9 and 10 are due on April 4 and are important for your project.
  • April 8 will continue Agentic AI, covering the role of data in AI, AI acquisition strategy, AI cloud platforms and services, and AI management issues.
  • Remaining project walkthrough will occur
  • The interim report is due by midnight.
  • Exam 2 is scheduled for April 15, after the exam date will be TBD.
  • April 22 will address AI social impacts, AI legal environment, and AI ethics.
  • April 29 will feature project presentations.

Understand AI Technical Capabilities

  • The AI Index report by Stanford University provides insights.
  • Annual updates on AI capabilities are available.
  • Access the AI Index report at https://aiindex.stanford.edu/report/.
  • Chapter topics include Research and Development, Technical Performance, and Responsible AI.
  • Other chapters cover Economy, Science and Medicine, and Education.
  • Governance, Diversity, and Public Opinion are also addressed.

AI Cognitive Task Performance

  • State-of-the-Art AI has surpassed human-level baselines:
    • In image classification since 2015
    • In basic reading comprehension since 2017
    • In visual reasoning since 2020
    • In natural language inference since 2021
  • AI is trailing human baselines in more complex cognitive tasks and expert-level reasoning.
  • This includes moral and abstract reasoning tasks.

AI Technical Capabilities

  • Language understanding is at T2 and generation is at T3.
  • Factuality and truthfulness of AI-generated language is at T4.
  • Coding and code generation capabilities are at T5.
  • Image Computer Vision and Image Generation are covered, with generation at T6.
  • Instruction following, editing, segmentation, and 3D reconstruction at T7 are included.
  • Video Computer Vision and Video generation are at T8.
  • General reasoning is at T9, while mathematical reasoning is at T10.
  • Visual reasoning, moral reasoning (T 11), and causal reasoning are also covered.
  • Also audio generation
  • Agent capabilities are at T12, both general and task-specific.
  • Robotics and reinforcement learning are part of AI technical capabilities.

Week 11 In-Class Exercise

  • Open chapter 2 of the AI index report
  • Review the report in project teams.
  • Prepare a 1-slide presentation on the assigned capability.
  • Propose an example of a use case (existing or proposed).
  • Submit a group participation assignment by 8 PM today.
  • Be ready to present in class at short notice.

What are AI Agents?

  • An AI agent is a system or program capable of autonomously performing tasks.
  • They do this on behalf of a user or another system by designing its workflow and utilizing available tools.
  • AI agents are important because they can handle complex tasks across various applications.
  • They can be deployed in enterprise settings like software design, IT automation, code generation, and conversational assistants.
  • Large Language Models enable today's agents to understand goals from natural language.
  • Agents use provided information, plan actions, use tools/other agents, and combine outputs into responses.

Rise of Agentic AI

  • Gartner, on October 1, 2024 projected the future of AI is about agency and productivity.
  • Gartner predicts that by 2028, 33% of enterprise software will include agentic AI.
  • This is up from less than 1% in 2024, enabling 15% of daily work decisions to be made autonomously.
  • McKinsey noted in July 2024 that agents represent the next frontier of generative AI.
  • There is an evolution towards gen AI-enabled agents using foundation models.
  • These models execute complex workflows in a digital world, moving from thought to action.

Gartner on Agentic AI and the Agency Gap

  • Intelligent AI agents are goal-driven software that use AI techniques to complete tasks and achieve goals"
  • Current LLM apps are typically "prompted" and respond reactively
  • Chat agents like ChatGPT, DALL-E, and Google Bard do not have the agency to plan and act independently.
  • A fully mature intelligent agent learns, plans, and acts autonomously.

Benefits of GenAI-Based Agents

  • McKinsey & Co stated that agents are the next frontier of generative AI in July 2024.
  • Foundation models enable benefits for agents which include the ability to manage multiplicity.
  • Can deal with less predictable workflows and exceptions
  • Agent systems can be directed with natural language
  • Complex workflows can be encoded more easily and learn existing policies/procedures to enable human in the loop
  • Agents can work with existing software tools and platforms
  • They can learn how to interface with tools through natural language or other interfaces.

Agentic AI Solutions Defined

  • Defined as a sequence or flow of activities and tasks performed to achieve a specific organizational goal.
  • Process workflow defines the sequence or conditional transitions between the process tasks.
  • Promises to deal with unstructured or emergent processes/workflows.

Core Theory of AI Agents

  • Agents are anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators
  • An agent can be described by its percepts, percept sequences, agent function, agent program and agent actions -Percept - agent's perceptual input at any given instant -Percept sequence - the complete history of everything that the agent has ever perceived -Agent function - maps any given percept sequence to an action -Agent program is a concrete implementation of an agent function -Agent actions - modify the state of the environment and may help collect further information
  • Performance measure – this is an evaluative measure (usually in terms of desirability) of a given sequence of environmental states achieved through agent’s actions

Agent Architecture

  • Agent equals the agent program, plus the agent architecture
  • The agent program maps percepts into actions
  • Agent architecture is the environment in which the agent program runs.
  • The environment encompasses percepts, actuators, and communication.

Types of Agent Programs

  • Simple reflex agents map actions to current percepts without considering past history.
  • Model-based reflex agents maintain an internal state using knowledge of the environment.
  • Knowledge is used about the states and how the agent's actions affect these states
  • Goal-based agents select actions based on achieving specific goals, also consider the environment states.
  • Utility agents uses a utility function to represent their performance measure and maximizes expected utility.

Goal-Based Planning

  • Enable agents to find actions and a destination
  • Goal-based describe it’s situation to allow the agent to do that
  • Achieve goals through one or multiple actions
  • LLMs effectively make search and planning and development of goal-based agents

Utility Agent Breakdown

  • Agents select actions to maximize utilities:
    • Actions select based on utility function - internal representation of performance measurement of the agent

Learning Agents

  • Use adaptive learning processes and ML approaches:
    • They subdivided into
      • Learning agent
      • Performance agent
      • Critic
      • Problem generator

LLM-Based AI Agents

  • Use LLMs as reasoning engine
  • LLMs use comprehension and the capability of NLU
  • Agentic technology uses tool calling on backend
  • Optimized workflows and achieve complex goals

How LLM-Based AI Agents Work

  • They have engines and reasoning and allow effective action planning and search
  • Include tools like: -Granite (IBM) -Gemini (Google) -GPT-4 (OpenAI)
  • They use a LLM-based reasoning engine - combine goal information and are able to identify the actions to achieve
  • Actions may include tool calling and actions for agents
  • Orchestration use framework for collaboration an related to worklow
  • Equipping with the purpose built for models with a model hub

LLM Agent Architecture

  • Memory and cognitive skills combine with the LLM in the reasoning process and affect the decision. The decision feeds back into the LLM
  • The tasks affect the LLM which affect the tools
  • The LLM Agent results affect the environment:

Agentic Task Agents Architecture

  • Handles certain function or issues :
    • Includes all aspects of reasoning and making of decisions
    • Able to map all queries or tasks

Orchestrated RAG Multi Agent Systems

Include coordination and implementation of the Agent system:

  • Use as central routing agents such as data an analysis tool
  • Langchain framework helps developed application use large language models- framework has open source libraries:
  • Abstraction and language and 3rd integrations:
    • Package splits some into less weight packages
    • Langgraph help build multi actor apps: use modeling with the edges and graphs

Types of LangChain AI Support

  • Router is an LL selection
  • Multi step decision allows a sequence
  • Tools access allows a selection
  • ReAct action combines 3 core concepts
    • memory, tool access and planning

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

LLM Agent Implementation Overview
33 questions
AI Trends and Business Applications in 2025
20 questions
Use Quizgecko on...
Browser
Browser