Agents in Artificial Intelligence – GeeksforGeeks
Artificial intelligence is defined as a study of rational agents. A rational agent could be anything which makes decisions, as a person, firm, machine, or software. It carries out an action with the best outcome after considering past and current percepts(agents perceptual inputs at a given instance).An AI system is composed of an agent and its environment. The agents act in their environment. The environment may contain other agents. An agent is anything that can be viewed as :
Note : Every agent can perceive its own actions (but not always the effects)To understand the structure of Intelligent Agents, we should be familiar with Architecture and Agent Program. Architecture is the machinery that the agent executes on. It is a device with sensors and actuators, for example : a robotic car, a camera, a PC. Agent program is an implementation of an agent function. An agent function is a map from the percept sequence(history of all that an agent has perceived till date) to an action.
Agent = Architecture + Agent Program
Examples of Agent:-A software agent has Keystrokes, file contents, received network packages which act as sensors and displays on the screen, files, sent network packets acting as actuators.A Human agent has eyes, ears, and other organs which act as sensors and hands, legs, mouth, and other body parts acting as actuators.A Robotic agent has Cameras and infrared range finders which act as sensors and various motors acting as actuators.
Agents can be grouped into four classes based on their degree of perceived intelligence and capability :
Simple reflex agents ignore the rest of the percept history and act only on the basis of the current percept. Percept history is the history of all that an agent has perceived till date. The agent function is based on the condition-action rule. A condition-action rule is a rule that maps a state i.e, condition to an action. If the condition is true, then the action is taken, else not. This agent function only succeeds when the environment is fully observable. For simple reflex agents operating in partially observable environments, infinite loops are often unavoidable. It may be possible to escape from infinite loops if the agent can randomize its actions. Problems with Simple reflex agents are :
It works by finding a rule whose condition matches the current situation. A model-based agent can handle partially observable environments by use of model about the world. The agent has to keep track of internal state which is adjusted by each percept and that depends on the percept history. The current state is stored inside the agent which maintains some kind of structure describing the part of the world which cannot be seen. Updating the state requires information about :
These kind of agents take decision based on how far they are currently from their goal(description of desirable situations). Their every action is intended to reduce its distance from the goal. This allows the agent a way to choose among multiple possibilities, selecting the one which reaches a goal state. The knowledge that supports its decisions is represented explicitly and can be modified, which makes these agents more flexible. They usually require search and planning. The goal-based agents behavior can easily be changed.
The agents which are developed having their end uses as building blocks are called utility based agents. When there are multiple possible alternatives, then to decide which one is best, utility-based agents are used.They choose actions based on a preference (utility) for each state. Sometimes achieving the desired goal is not enough. We may look for a quicker, safer, cheaper trip to reach a destination. Agent happiness should be taken into consideration. Utility describes how happy the agent is. Because of the uncertainty in the world, a utility agent chooses the action that maximizes the expected utility. A utility function maps a state onto a real number which describes the associated degree of happiness.
Learning Agent
A learning agent in AI is the type of agent which can learn from its past experiences or it has learning capabilities.It starts to act with basic knowledge and then able to act and adapt automatically through learning.A learning agent has mainly four conceptual components, which are:
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
thumb_up 15
Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.
Post navigation
Previous
Next
See original here:
Agents in Artificial Intelligence - GeeksforGeeks
- 2 Artificial Intelligence (AI) Stocks to Buy Before the End of 2025 - Yahoo Finance - November 24th, 2025 [November 24th, 2025]
- Prediction: This Incredible Artificial Intelligence (AI) Software Stock Will Join the $1 Trillion Club by 2035 (Hint: It's Not Palantir) - The Motley... - November 24th, 2025 [November 24th, 2025]
- How Choreographers Are Making Works That Imagine the Implications of Artificial Intelligence - Dance Magazine - November 24th, 2025 [November 24th, 2025]
- USF faculty reframes what literacy means in the age of generative artificial intelligence - University of South Florida - November 24th, 2025 [November 24th, 2025]
- Rising layoffs in Maryland and U.S. linked to rise of artificial intelligence - Baltimore Fishbowl - November 24th, 2025 [November 24th, 2025]
- APUS Offers New Courses with MIT Computer Science and Artificial Intelligence Lab (CSAIL)-Powered Content on AI - PR Newswire - November 24th, 2025 [November 24th, 2025]
- This Artificial Intelligence (AI) and Robotics Stock Has Crushed Nvidia and Palantir This Year. It Can Still Soar Higher. - The Motley Fool - November 24th, 2025 [November 24th, 2025]
- What Is 1 of the Best Artificial Intelligence (AI) Stocks to Hold for the Next 5 Years? - The Motley Fool - November 24th, 2025 [November 24th, 2025]
- Top Key Players Shaping the Future of the Artificial Intelligence (AI) Robots Industry - Yahoo Finance - November 24th, 2025 [November 24th, 2025]
- Artificial Intelligence (AI) Could Be the Catalyst That Lifts These Undervalued Tech Stocks - The Motley Fool - November 24th, 2025 [November 24th, 2025]
- What Is One of the Best Artificial Intelligence (AI) Stocks to Hold for the Next 5 Years? - The Motley Fool - November 24th, 2025 [November 24th, 2025]
- Flash Poll: Trust and Artificial Intelligence at a Crossroads - Edelman - November 24th, 2025 [November 24th, 2025]
- Artificial intelligence in polycystic ovary syndrome: a systematic review of diagnostic and predictive applications - BMC Medical Informatics and... - November 24th, 2025 [November 24th, 2025]
- Leveraging Artificial Intelligence to Save While Holiday Shopping - NTD News - November 24th, 2025 [November 24th, 2025]
- Artificial Intelligence Robots Market to Reach USD 89.57 Billion by 2032 Driven by Rapid Automation and 29.46% CAGR | SNS Insider -... - November 24th, 2025 [November 24th, 2025]
- Prediction: This Incredible Artificial Intelligence (AI) Software Stock Will Join the $1 Trillion Club by 2035 (Hint: It's Not Palantir) - Finviz - November 24th, 2025 [November 24th, 2025]
- 2 Artificial Intelligence (AI) Stocks You Can Buy and Hold for the Next Decade - Yahoo Finance - November 24th, 2025 [November 24th, 2025]
- What Is 1 of the Best Artificial Intelligence (AI) Stocks to Hold for the Next 5 Years? - Finviz - November 24th, 2025 [November 24th, 2025]
- Artificial intelligence: key updates and developments (17 - 24 November) - Lexology - November 24th, 2025 [November 24th, 2025]
- Artificial intelligence improves early detection of pancreatic cancer in CT scans, study finds - MARCA - November 24th, 2025 [November 24th, 2025]
- Artificial intelligence Between bubble fears and a bright future - Economies.com - November 24th, 2025 [November 24th, 2025]
- Medik8 bills generative artificial intelligence as the future of beauty marketing - Cosmetics Business - November 24th, 2025 [November 24th, 2025]
- College of Business to offer new artificial intelligence concentration next semester - The State Hornet - November 18th, 2025 [November 18th, 2025]
- Rethinking Graduate Research in the Age of Artificial Intelligence - SBU News - November 18th, 2025 [November 18th, 2025]
- Integration of artificial intelligence and wearable technology in the management of diabetes and prediabetes - Nature - November 18th, 2025 [November 18th, 2025]
- Artificial Intelligence in MRI for Urologic Oncology: A Systematic Review of Diagnostic Accuracy and Clinical Utility - Cureus - November 18th, 2025 [November 18th, 2025]
- 10 Artificial Intelligence (AI) Infrastructure Stocks to Buy for the $400 Billion Buildout - The Motley Fool - November 18th, 2025 [November 18th, 2025]
- Microsoft CEO Satya Nadella Just Delivered Bad News to Artificial Intelligence Investors - Yahoo Finance - November 18th, 2025 [November 18th, 2025]
- 2 Artificial Intelligence (AI) Stocks to Buy With $10,000 and Hold for Decades - The Motley Fool - November 18th, 2025 [November 18th, 2025]
- Rowan lab is super-powered to advance manufacturing through artificial intelligence - Today's Medical Developments - November 18th, 2025 [November 18th, 2025]
- Notre Dame Faculty Contribute to Dialogue on Artificial Intelligence at the Vatican - University of Notre Dame - November 18th, 2025 [November 18th, 2025]
- What Are the 10 Best-Performing Artificial Intelligence (AI) ETFs of 2025? - The Motley Fool - November 18th, 2025 [November 18th, 2025]
- Billionaire Warren Buffett Just Made a Massive $4 Billion Investment in This Artificial Intelligence (AI) Stock - The Motley Fool - November 18th, 2025 [November 18th, 2025]
- What Are the 10 Best-Performing Artificial Intelligence (AI) ETFs of 2025? - Nasdaq - November 18th, 2025 [November 18th, 2025]
- MMI Honored with 2025 AI Pioneer Award for Innovative Use of Artificial Intelligence in Mortgage Technology - Send2Press - November 18th, 2025 [November 18th, 2025]
- Barry Callebaut partners with NotCo AI to explore artificial intelligence in chocolate development - FoodBev Media - November 18th, 2025 [November 18th, 2025]
- Artificial intelligence helping to improve early lung cancer detection - WLWT - November 18th, 2025 [November 18th, 2025]
- Kennesaw State researchers use drones, artificial intelligence to improve disaster response - Kennesaw State University - November 18th, 2025 [November 18th, 2025]
- Artificial Intelligence and the Mission of the Church. An analytical contribution - Agenzia Fides - November 18th, 2025 [November 18th, 2025]
- Amazon Bedrock AgentCore and Claude: Transforming business with agentic AI | Artificial Intelligence - Amazon Web Services (AWS) - November 18th, 2025 [November 18th, 2025]
- Artificial Intelligence in Supply Chains: Beyond the Hype - Inbound Logistics - November 18th, 2025 [November 18th, 2025]
- The human factor in explainable artificial intelligence: clinician variability in trust, reliance, and performance - Nature - November 18th, 2025 [November 18th, 2025]
- (Artificial) Intelligence saturation and the future of work - Brookings - November 18th, 2025 [November 18th, 2025]
- FOX News Media CEO Suzanne Scott says artificial intelligence chatter has too much doomerism at the University of South Carolinas Baldwin Business and... - November 18th, 2025 [November 18th, 2025]
- Meet the Epic Artificial Intelligence (AI) Stock Whose Revenue Is Skyrocketing - The Motley Fool - November 18th, 2025 [November 18th, 2025]
- AI firms must be clear on risks or repeat tobaccos mistakes, says Anthropic chief | Artificial intelligence (AI) - The Guardian - November 18th, 2025 [November 18th, 2025]
- U.S. Artificial Intelligence in Manufacturing Market to Reach USD 89.98 Billion by 2034 with a CAGR of 45.4% - openPR.com - November 18th, 2025 [November 18th, 2025]
- Generative Artificial Intelligence in Urology: Navigating the Frontier of Ethical, Legal, and Clinical Challenges - Cureus - November 18th, 2025 [November 18th, 2025]
- Jeff Dunham To Bring Artificial Intelligence Tour To UK And Ireland In Spring 2026 - Stereoboard.com - November 18th, 2025 [November 18th, 2025]
- The Impact Of Generative Artificial Intelligence On Online Search In The Fashion And Beauty Sectors (Podcast) - Mondaq - November 18th, 2025 [November 18th, 2025]
- What Are the Top 4 Artificial Intelligence (AI) Stocks to Buy Right Now? - The Motley Fool - November 18th, 2025 [November 18th, 2025]
- This is Alpha School, the school without teachers where artificial intelligence teaches and children learn on their own - Unin Rayo - November 18th, 2025 [November 18th, 2025]
- 1 No-Brainer Artificial Intelligence (AI) ETF to Buy With $70 During the Nasdaq Bull Market - Yahoo Finance - November 14th, 2025 [November 14th, 2025]
- Galveston city officials consider using artificial intelligence to deal with influx of traffic - ABC13 Houston - November 14th, 2025 [November 14th, 2025]
- 1 No-Brainer Artificial Intelligence (AI) ETF to Buy With $70 During the Nasdaq Bull Market - The Motley Fool - November 14th, 2025 [November 14th, 2025]
- Joshua Meyer 12 Teaches Workshop on Artificial Intelligence and Agentic AI - Seton Hall University - November 14th, 2025 [November 14th, 2025]
- Why Is Meta Spending Aggressively on Artificial Intelligence? - The Motley Fool - November 14th, 2025 [November 14th, 2025]
- Rise of the robots: The promise of physical artificial intelligence - Hrriyet Daily News - November 14th, 2025 [November 14th, 2025]
- This Is the Smartest Stock to Buy to Take Advantage of the $15.7 Trillion Artificial Intelligence (AI) Revolution (Hint: It's Not Nvidia or Palantir)... - November 14th, 2025 [November 14th, 2025]
- Children, Artificial Intelligence, and rights for their protection: this is what Pope Leo XIV thinks - ZENIT - English - November 14th, 2025 [November 14th, 2025]
- Artificial intelligence in the business world - Goshen College - November 14th, 2025 [November 14th, 2025]
- Artificial intelligence singer hits the country charts; Tennessees top lawyer isnt singing along - WKRN News 2 - November 14th, 2025 [November 14th, 2025]
- Perspective | Artificial intelligence is not just a new tool, its a turning point - EdNC - November 14th, 2025 [November 14th, 2025]
- The Best Artificial Intelligence (AI) Stock to Hold in Uncertain Times - The Motley Fool - November 14th, 2025 [November 14th, 2025]
- Explainable artificial intelligence for predicting cardiovascular events in hospitalised COVID-19 patients - BMC Infectious Diseases - November 14th, 2025 [November 14th, 2025]
- How Artificial Intelligence is Transforming Bible Translation - Religion Unplugged - November 14th, 2025 [November 14th, 2025]
- What Is One of the Best Artificial Intelligence (AI) Stocks to Own for the Next 5 Years? - The Motley Fool - November 14th, 2025 [November 14th, 2025]
- Artificial intelligence is not an all-powerful deity, university expert warns - Catholic News Agency - November 14th, 2025 [November 14th, 2025]
- California Leads Regulatory Frontier with New Privacy and Artificial Intelligence Laws for 2026 - Buchanan Ingersoll & Rooney PC - November 14th, 2025 [November 14th, 2025]
- Dartmouth AI Conference Explores the Future of Artificial Intelligence - Dartmouth's Tuck School of Business - November 14th, 2025 [November 14th, 2025]
- Physicists discuss the future of machine learning and artificial intelligence - Physics World - November 14th, 2025 [November 14th, 2025]
- Henry Hills journey to the frontlines of cloud and artificial intelligence - Digital Journal - November 14th, 2025 [November 14th, 2025]
- Artificial Intelligence (AI) Robots Market worth $33.39 billion by 2030 - Exclusive Report by MarketsandMarkets - PR Newswire - November 14th, 2025 [November 14th, 2025]
- Are you ready for artificial intelligence to rock your world? - baltimorepositive.com - November 14th, 2025 [November 14th, 2025]
- Outsourcing humanity? International law, humane treatment, and artificial intelligence in detention operations - ICRC - November 14th, 2025 [November 14th, 2025]
- What Is One of the Best Artificial Intelligence Stocks to Own for the Next 5 Years? - Yahoo Finance - November 14th, 2025 [November 14th, 2025]
- Artificial intelligence at the heart of dizzying projections - MarketScreener - November 14th, 2025 [November 14th, 2025]
- An "autonomous" spy campaign was orchestrated by artificial intelligence - Red Hot Cyber - November 14th, 2025 [November 14th, 2025]
- What Is One of the Best Artificial Intelligence Stocks to Own for the Next 5 Years? - The Motley Fool - November 14th, 2025 [November 14th, 2025]
- Utah universities prepare students for jobs transformed by artificial intelligence - KUTV - November 14th, 2025 [November 14th, 2025]