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
- Will the Humanities Survive Artificial Intelligence? - The New Yorker - April 27th, 2025 [April 27th, 2025]
- Artificial Intelligence transforming the vacation-planning process - Fox Business - April 27th, 2025 [April 27th, 2025]
- These 2 Artificial Intelligence (AI) Chip Stocks Could Soar 50% to 112% in the Next Year, According to Wall Street - Yahoo Finance - April 27th, 2025 [April 27th, 2025]
- 2 Top Artificial Intelligence Stocks to Buy While They're on Sale - The Motley Fool - April 27th, 2025 [April 27th, 2025]
- AI Takes the Field: How Artificial Intelligence Is Powering the Next Era of Sports - PYMNTS.com - April 27th, 2025 [April 27th, 2025]
- 'Godfather of AI' reveals the startling odds that artificial intelligence will take over humanity - Daily Mail - April 27th, 2025 [April 27th, 2025]
- Prediction: Palantir's New Deal With NATO Could Revolutionize How Artificial Intelligence (AI) Is Used in the Public Sector. Here's Why. - Yahoo... - April 27th, 2025 [April 27th, 2025]
- ASCRS 2025: Bonnie An Henderson, MD, on leveraging artificial intelligence in cataract refractive surgery - Ophthalmology Times - April 27th, 2025 [April 27th, 2025]
- 2 Artificial Intelligence Stocks to Buy With $2,000 - The Motley Fool - April 27th, 2025 [April 27th, 2025]
- Alumni explore the future of artificial intelligence at Imagine RIT symposium - Rochester Institute of Technology - April 27th, 2025 [April 27th, 2025]
- Israels use of AI on the battlefield: How the IDF targets Hamas leaders with artificial intelligence - All Israel News - April 27th, 2025 [April 27th, 2025]
- Are you using artificial intelligence, such as ChatGPT, to write or edit your work? - dnronline.com - April 27th, 2025 [April 27th, 2025]
- These 2 Artificial Intelligence (AI) Chip Stocks Could Soar 50% to 112% in the Next Year, According to Wall Street - The Motley Fool - April 27th, 2025 [April 27th, 2025]
- 2 Top Artificial Intelligence (AI) Stocks to Buy Right Now - The Motley Fool - April 27th, 2025 [April 27th, 2025]
- AMD Jumped Today -- Is the Artificial Intelligence (AI) Stock a Buy? - The Motley Fool - April 27th, 2025 [April 27th, 2025]
- 6 EdTech AI trends: How artificial intelligence is reshaping education - Amazon Web Services (AWS) - April 27th, 2025 [April 27th, 2025]
- Why Colorados artificial intelligence law is a big deal for the whole country - The Colorado Sun - April 27th, 2025 [April 27th, 2025]
- In new sci-fi novels, artificial intelligence causes problems and the moon somehow turns into cheese - Toronto Star - April 27th, 2025 [April 27th, 2025]
- Rockets to introduce ClutchBot as generative artificial intelligence mascot - Rockets Wire - April 27th, 2025 [April 27th, 2025]
- ADVANCING ARTIFICIAL INTELLIGENCE EDUCATION FOR AMERICAN YOUTH - The White House (.gov) - April 25th, 2025 [April 25th, 2025]
- Some of California's troubled bar exam was drafted by nonlawyers with help from artificial intelligence - ABA Journal - April 25th, 2025 [April 25th, 2025]
- Trump Executive Order Calls for Artificial Intelligence to Be Taught in Schools - EdSurge - April 25th, 2025 [April 25th, 2025]
- Colorado lawmakers move to ban sexually exploitive images, video created with artificial intelligence - The Colorado Sun - April 25th, 2025 [April 25th, 2025]
- US Department of Labor applauds President Trumps executive order advancing artificial intelligence education for young Americans - U.S. Department of... - April 25th, 2025 [April 25th, 2025]
- 1 Magnificent Artificial Intelligence (AI) Stock to Keep an Eye on Before It Starts Soaring - The Motley Fool - April 25th, 2025 [April 25th, 2025]
- Artificial Intelligence in Agriculture is Changing the Way Farmers Farm - Farms.com - April 25th, 2025 [April 25th, 2025]
- Artificial intelligence tool development: what clinicians need to know? - BMC Medicine - April 25th, 2025 [April 25th, 2025]
- President Donald Trump Just Dealt a Jarring Blow to Nvidia. Can the Artificial Intelligence (AI) Chip King Recover and Reclaim Its Previous Highs? -... - April 25th, 2025 [April 25th, 2025]
- Palantir Surged Again Today -- Is the Artificial Intelligence (AI) Stock a Buy? - The Motley Fool - April 25th, 2025 [April 25th, 2025]
- How Artificial Intelligence Is Enhancing Cryptocurrency Security and Fraud Detection - Programming Insider - April 25th, 2025 [April 25th, 2025]
- The Impact of Artificial Intelligence on Education - The A&T Register - April 25th, 2025 [April 25th, 2025]
- 2 Artificial Intelligence (AI) Stocks That Could Soar in the Second Half of 2025 - Yahoo Finance - April 25th, 2025 [April 25th, 2025]
- Advancing Artificial Intelligence Education for American Youth (Trump EO Tracker) - Akin Gump Strauss Hauer & Feld LLP - April 25th, 2025 [April 25th, 2025]
- Why Pony AI Is Winning the Artificial Intelligence Race Today - The Motley Fool - April 25th, 2025 [April 25th, 2025]
- Artificial Intelligence in Military Market is Forecasted to Reach US$ 15.62 Billion in 2029, Says Stratview Research - openPR.com - April 25th, 2025 [April 25th, 2025]
- Nurses Perception of Artificial Intelligence-Driven Monitoring Systems for Enhancing Compliance With Infection Prevention and Control Measures in... - April 25th, 2025 [April 25th, 2025]
- 4 Reasons CrowdStrike Is Still a Top Artificial Intelligence Stock Buy Right Now - The Motley Fool - April 25th, 2025 [April 25th, 2025]
- Prediction: 2 Artificial Intelligence (AI) Stocks That Could Be Worth More Than Nvidia by 2030 - The Motley Fool - April 25th, 2025 [April 25th, 2025]
- 3 Artificial Intelligence (AI) Stocks That Could Soar in the Second Half of 2025 - The Motley Fool - April 25th, 2025 [April 25th, 2025]
- AI-powered diagnostics: What physicians need to know about artificial intelligence diagnosing patients - Medical Economics - April 25th, 2025 [April 25th, 2025]
- Palantir Surged Again Today -- Is the Artificial Intelligence (AI) Stock a Buy? - MSN - April 25th, 2025 [April 25th, 2025]
- Commentary: From artificial intelligence to 'natural stupidity' - The Business Journals - April 25th, 2025 [April 25th, 2025]
- Nvidia Is Expensive. Here Are 3 High-Yield Artificial Intelligence Plays That Aren't. - Nasdaq - April 23rd, 2025 [April 23rd, 2025]
- Incorporation of explainable artificial intelligence in ensemble machine learning-driven pancreatic cancer diagnosis - Nature - April 23rd, 2025 [April 23rd, 2025]
- Artificial intelligence in the Kyrgyz Republic: a silent transformation in the making? - World Bank Blogs - April 23rd, 2025 [April 23rd, 2025]
- Does Netflix Have the Right Artificial Intelligence (AI) Ideas? - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- Impact of artificial intelligence on elections topic of Edmonds Civic Roundtable May 5 meeting - My Edmonds News - April 23rd, 2025 [April 23rd, 2025]
- 1 Market-Beating Artificial Intelligence (AI) ETF That Could Turn $250,000 Into $1 Million - Nasdaq - April 23rd, 2025 [April 23rd, 2025]
- The Oasis Group and AdvisorEngine Release Research Report on Artificial Intelligence Note Takers - Yahoo Finance - April 23rd, 2025 [April 23rd, 2025]
- This May Be the Best Artificial Intelligence (AI) Semiconductor Stock to Buy Right Now - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- 2 Artificial Intelligence (AI) Stocks to Buy on the Dip Right Now - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- 2 Artificial Intelligence (AI) Stocks That Could Soar in the Second Half of 2025 - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- 3 Artificial Intelligence (AI) Stocks That Can Skyrocket Up to 232%, According to Select Wall Street Analysts - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- Artificial Intelligence Solves One of Archaeologys Greatest Puzzles - The Daily Galaxy - April 23rd, 2025 [April 23rd, 2025]
- What's next in artificial intelligence according to a tech visionary who may hold the cards to our future - CBS News - April 23rd, 2025 [April 23rd, 2025]
- 1 Market-Beating Artificial Intelligence (AI) ETF That Could Turn $250,000 Into $1 Million - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- DIGI360: Digital transformation, cybersecurity, and the future of artificial intelligence in one event - EntrepreNerd - April 23rd, 2025 [April 23rd, 2025]
- The American Film Academy is not against the use of artificial intelligence in films - Mezha.Media - April 23rd, 2025 [April 23rd, 2025]
- Artificial Intelligence In Omics Studies Market Massive Growth - openPR.com - April 23rd, 2025 [April 23rd, 2025]
- Artificial Intelligence and The Prospect of De-Globalization - Modern Diplomacy - April 23rd, 2025 [April 23rd, 2025]
- China to rely on artificial intelligence in education reform bid - Reuters - April 23rd, 2025 [April 23rd, 2025]
- Artificial Intelligence What's all the fuss? - The Hacker News - April 23rd, 2025 [April 23rd, 2025]
- Artificial Intelligence (AI) in Marketing Market Expected to Reach USD 104.85 Billion by 2030 - openPR.com - April 23rd, 2025 [April 23rd, 2025]
- Alumni Association To Offer Online Artificial Intelligence Course To All Penn State Alumni - Onward State - April 23rd, 2025 [April 23rd, 2025]
- Nvidia Is Expensive. Here Are 3 High-Yield Artificial Intelligence Plays That Aren't. - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- AI Week: Exploring the Future of Artificial Intelligence - www.alfred.edu - April 23rd, 2025 [April 23rd, 2025]
- 1 Artificial Intelligence (AI) Stock-Buyback Stock to Buy Hand Over Fist During the Nasdaq Sell-Off - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- Was Talos, the Bronze Automaton Who Guarded the Island of Crete in Greek Myth, an Early Example of Artificial Intelligence? - Smithsonian Magazine - April 23rd, 2025 [April 23rd, 2025]
- Prediction: These 2 Artificial Intelligence (AI) Giants Will Outperform Nvidia Over the Next 5 Years - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- Galaxy Announces Commitment with CoreWeave to Host Additional Artificial Intelligence and High-Performance Computing Infrastructure at Helios Data... - April 23rd, 2025 [April 23rd, 2025]
- Tariff Turmoil: One Artificial Intelligence (AI) Stock Down 26% to Buy Hand Over Fist Right Now - The Motley Fool - April 23rd, 2025 [April 23rd, 2025]
- EU to invest $1.4 billion in artificial intelligence, cybersecurity and digital skills - Reuters - March 28th, 2025 [March 28th, 2025]
- Virginia Governor Vetoes Artificial Intelligence Bill HB 2094: What the Veto Means for Businesses - Ogletree Deakins - March 28th, 2025 [March 28th, 2025]
- Artificial Intelligence, China, and Americas Next Industrial Revolution - The National Interest Online - March 28th, 2025 [March 28th, 2025]
- SEC Roundtable on Artificial Intelligence in the Financial Industry - SEC.gov - March 28th, 2025 [March 28th, 2025]
- Prediction: This Artificial Intelligence (AI) Stock Will Join Nvidia, Meta Platforms, Apple, Microsoft, Amazon, and Alphabet in the Trillion-Dollar... - March 28th, 2025 [March 28th, 2025]
- 3 Subtle Ways Warren Buffett Is Investing in the $15.7 Trillion Artificial Intelligence (AI) Revolution - The Motley Fool - March 28th, 2025 [March 28th, 2025]
- Did Artificial Intelligence Technology Drive Startup Activity in the US from 2010 to 2023? - International Banker - March 28th, 2025 [March 28th, 2025]
- Data and artificial intelligence: the fuel behind space discovery - SpaceNews - March 28th, 2025 [March 28th, 2025]
- How Artificial Intelligence is Transforming PlayStation Games - PSX Extreme - March 28th, 2025 [March 28th, 2025]