EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 360+ Courses All in One Bundle
  • Login

Agents in Artificial Intelligence

Home » Data Science » Data Science Tutorials » Artificial Intelligence Tutorial » Agents in Artificial Intelligence

Agents in Artificial Intelligence main

Introduction to Agents in Artificial Intelligence

Agents in Artificial Intelligence are the associated concepts that the AI technologies work upon. The AI software or AI-enabled devices with sensors generally captures the information from the environment setup and process the data for further actions. There are mainly two ways the agents interact with the environment, such as perception and action. The person is only passive for capturing the information without changing the actual environment, whereas action is the active form of interaction by changing the actual environment. AI technologies such as virtual assistance catboats, AI-enabled devices to work based on the previous persecution data processing and learning for the actions.

What is an Agent?

An Agent is anything that takes actions according to the information that it gains from the environment. A human agent has sensory organs to sense the environment and the body parts to act while a robot agent has sensors to perceive the environment.

Start Your Free Data Science Course

Hadoop, Data Science, Statistics & others

How does the Agent Interact with the Environment?

The agents interact with the environment in two ways:

1. Perception

Perception is a passive interaction, where the agent gains information about the environment without changing the environment. The sensors of the robot help it to gain information about the surroundings without affecting the surrounding. Hence, gaining information through sensors is called perception.

2. Action

Action is an active interaction where the environment is changed. When the robot moves an obstacle using its arm, it is called an action as the environment is changed. The arm of the robot is called an “Effector” as it performs the action.

Agents in Artificial Intelligence 1

Explanation of the above image:

  • The interaction of the Agent with the Environment is through Sensors and Effectors.
  • Consider the example of a chatbot which is a virtual assistant. When it reads and understands the meaning of a user’s messages, it is called perception. And when it replies to the user after analyzing the user’s message, it is called the action.

How should the Agents Act in Artificial Intelligence?

Below are the points that explain how an agent should act:

  • A rational agent does the right thing. The right action is the one that causes the agent to be the most successful.
  • An omniscient agent knows what impact the action will have and can act accordingly, but it is not possible in reality.
  • The degree of success which is defined by the performance measure
  • The percept sequence which is the entire sequence of perceptions by the agent until the present moment
  • The knowledge of agent about the environment
  • What actions can the agent perform?

Mapping of Percept Sequences to Actions

When it is known that the action of agent depends completely on the perceptual history – the percept sequence, then the agent can be described by using a mapping. Mapping is a list that maps the percept sequence to the action. When we specify which action an agent should take corresponding to the given percept sequence, we specify the design for an ideal agent.

Popular Course in this category
Artificial Intelligence Training (3 Courses, 2 Project)3 Online Courses | 2 Hands-on Project | 32+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.5 (5,087 ratings)
Course Price

View Course

Related Courses
All in One Data Science Bundle (360+ Courses, 50+ projects)Machine Learning Training (17 Courses, 27+ Projects)

Autonomy

The behaviour of an agent depends on its own experience as well as the built-in knowledge of the agent instilled by the agent designer. A system is autonomous if it takes actions according to its experience. So for the initial phase, as it does not have any experience, it is good to provide built-in knowledge. The agent learns then through evolution. A truly autonomous intelligent agent should be able to operate successfully in a wide variety of environments if given sufficient time to adapt.

Types of Agents in Artificial Intelligence

Following are the 4 types of agents:

1. Reflex Agent

Reflex Agent works similar to our body’s reflex action (e.g. when we immediately lift our finger when it touches the tip of the flame). Just as the prompt response of our body based on the current situation, the agent also responds based on the current environment irrespective of the past state of the environment. The reflex agent can work properly only if the decisions to be made are based on the current percept.

Type of Artificial Intelligence

2. Agents that keep Track of the World

These are the agents with memory. It stores the information about the previous state, the current state and performs the action accordingly. Just as while driving, if the driver wants to change the lane, he looks into the mirror to know the present position of vehicles behind him. While looking in front, he can only see the vehicles in front, and as he already has the information on the position of vehicles behind him (from the mirror a moment ago), he can safely change the lane. The previous and the current state get updated quickly for deciding the action.

Agents that keep Track of the World

3. Goal-based Agents

In some circumstances, just the information of the current state may not help in making the right decision. If the goal is known, then the agent takes into account the goal information besides the current state information to make the right decision. For, e.g., if the agent is a self-driving car and the goal is the destination, then the information of the route to the destination helps the car in deciding when to turn left or right.

‘Search’ and ‘planning’ are the two subfields of AI that help the agent achieve its goals. Though the goal-based agent may appear less efficient, yet it is flexible. Considering the same example mentioned above, if the destination changes then the agent will manipulate its actions accordingly. This will not be the case with the reflex agent as all the rules need to be rewritten with the change in goal.

Goal-based Agents

4. Utility Agents

There can be many possible sequences to achieve the goal, but some will be better than others. Considering the same example mentioned above, the destination is known, but there are multiple routes. Choosing an appropriate route also matters to the overall success of the agent. There are many factors in deciding the route like the shortest one, the comfortable one, etc. The success depends on the utility of the agent-based on user preferences.

The utility is a function that maps a state to a real number that describes the degree of happiness. The utility function specifies the appropriate trade-off in case the goals are conflicting.

Utility Agents

Conclusion – Agents in Artificial Intelligence

An agent is anything that takes actions according to the information that it gains from the environment. The agents interact with the environment in two ways: Perception and Action. Agents can be rational or omniscient.

Following are the 4 types of agents:

  • Reflex (reactive) agent – an agent without
  • Agents that keep track of the world
  • Goal-based agents
  • Utility agents

Recommended Articles

This is a guide to Agents in Artificial Intelligence. Here we discuss what an agent, how the agent interacts with the environment, and the four types of an agent is. You can also go through our other related articles to learn more –

  1. Artificial Intelligence Technology
  2. How Artificial Intelligence Works?
  3. Applications of Machine Learning
  4. Types of Machine Learning Algorithms
  5. Artificial Intelligence Techniques
  6. Top 12 Types of Sensors and their Applications
  7. Hill Climbing in Artificial Intelligence | Types
  8. Top 4 Major Fields of Future of Artificial Intelligence

Artificial Intelligence Training (3 Courses, 2 Project)

3 Online Courses

2 Hands-on Project

32+ Hours

Verifiable Certificate of Completion

Lifetime Access

Learn More

0 Shares
Share
Tweet
Share
Primary Sidebar
Artificial Intelligence Tutorial
  • Basics
    • Introduction to Artificial Intelligence
    • What is Artificial Intelligence
    • Careers in Artificial Intelligence
    • Future of Artificial Intelligence
    • Uses of Artificial Intelligence
    • Artificial Intelligence Ethics
    • Types of Artificial Intelligence
    • Artificial Intelligence Tools & Applications
    • Artificial Intelligence Applications
    • Advantages of Artificial Intelligence
    • Artificial Intelligence Tools
    • Benefits of Artificial Intelligence
    • Artificial Intelligence Companies
    • Artificial Intelligence Techniques
    • Artificial Intelligence Software
    • How Artificial Intelligence Works
    • Importance of Artificial Intelligence
    • Subsets of Artificial Intelligence
    • Artificial Intelligence Problems
    • Artificial Intelligence Technology
    • Application of Neural Network
    • Applications of NLP
    • Global Positioning Systems
    • Production System in AI
    • Agents in Artificial Intelligence
    • Intelligent Agent in AI
    • Artificial Intelligence Algorithm
    • Search Algorithms in AI
    • Informed Search
    • Bidirectional Search
    • Adversarial Search
    • Uninformed Search
    • Uniform Cost Search
    • Hill Climbing in Artificial Intelligence
    • Propositional Logic in AI
    • Minimax Algorithm
    • Applications of Fuzzy Logic
    • Fuzzy Logic System
    • Implementation of Neural Networks
    • Turing Test in AI
    • Recurrent Neural Networks (RNN)
    • Spiking Neural Network
    • Feedforward Neural Networks
    • Probabilistic Neural Network
    • Overfitting Neural Network
    • Means-Ends Analysis
    • DNN Neural Network
    • Principal Component Analysis
    • Artificial Intelligence Interview
  • Pattern Recognition
    • Pattern Recognition
    • Pattern Recognition Algorithms
    • Forensic Tools
    • PRTools
    • Pattern Recognition Applications

Related Courses

Artificial Intelligence Training Courses

All One Data Science Training Courses

Machine Learning Course

Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Database Management
  • Machine Learning
  • All Tutorials
Certification Courses
  • All Courses
  • Data Science Course - All in One Bundle
  • Machine Learning Course
  • Hadoop Certification Training
  • Cloud Computing Training Course
  • R Programming Course
  • AWS Training Course
  • SAS Training Course

© 2020 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Data Science Course

Hadoop, Data Science, Statistics & others

*Please provide your correct email id. Login details for this Free course will be emailed to you
Book Your One Instructor : One Learner Free Class

Let’s Get Started

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA Login

Forgot Password?

EDUCBA
Free Data Science Course

Hadoop, Data Science, Statistics & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

Special Offer - Artificial Intelligence Training (3 Courses, 2 Project) Learn More