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
- SATURDAY MORNING WITH CRANKY DON JOE | Larry Introduced Me to Artificial Intelligence, and Now I Have Questions - MinneapoliMedia - October 17th, 2026 [October 17th, 2026]
- USCCB Appoints Charles Camosy to Task Force on Artificial Intelligence - The Catholic University of America - October 17th, 2026 [October 17th, 2026]
- Teenagers turning to artificial intelligence for relationships and advice - NewsNation - October 17th, 2026 [October 17th, 2026]
- Q: What are the biggest threats from artificial intelligence? - KRQE - October 17th, 2026 [October 17th, 2026]
- Anything not tied to artificial intelligence took off this week - CNBC - October 17th, 2026 [October 17th, 2026]
- Regent University Launches New Three-Year Degree in Artificial Intelligence for Spring 2027 - Regent University - October 17th, 2026 [October 17th, 2026]
- Elon Musk's AI company testifies at NYC Council hearing on artificial intelligence safety and regulations - ABC7 New York - October 17th, 2026 [October 17th, 2026]
- Focus - How books are being scanned and destroyed to train artificial intelligence - France 24 - October 17th, 2026 [October 17th, 2026]
- New publication urges skeptical approach to election information produced by artificial intelligence - WRVO - October 17th, 2026 [October 17th, 2026]
- Artificial intelligence values before autonomy - Fast Company - October 17th, 2026 [October 17th, 2026]
- Anthropic warns of self-replicating artificial intelligence models as AI arms race heats up - Fox Business - October 17th, 2026 [October 17th, 2026]
- North Korea has announced their use of artificial intelligence for a "new type" precision-guide torpedo system for target detection and... - October 17th, 2026 [October 17th, 2026]
- Billionaires Are Selling These 6 Artificial Intelligence (AI) Stocks. Should You Follow? - Yahoo Finance - October 17th, 2026 [October 17th, 2026]
- WSU Athletics is using Artificial Intelligence to help tell its story. What does that mean? - Moscow-Pullman Daily News - October 17th, 2026 [October 17th, 2026]
- This Hot Artificial Intelligence IPO Stock Is Down 52%, but It Could Double From Here, According to Wall Street - Yahoo Finance - October 17th, 2026 [October 17th, 2026]
- Artificial intelligence is coming to African schools - African Business - October 17th, 2026 [October 17th, 2026]
- Not Nvidia. Not Micron. This Under-the-Radar Artificial Intelligence (AI) Chip Stock Could Be the Biggest Winner in 2027. - The Motley Fool - October 15th, 2026 [October 15th, 2026]
- What My Son Is Learning From Artificial Intelligence - Greater Good: The Science of a Meaningful Life - October 15th, 2026 [October 15th, 2026]
- Sound Practices for Responsible Adoption of Artificial Intelligence (AI): Overview of consultation responses - Financial Stability Board - October 15th, 2026 [October 15th, 2026]
- Mission adopts policy for artificial intelligence usage in city business - MyRGV.com - October 15th, 2026 [October 15th, 2026]
- Yael Grushka-Cockayne discusses artificial intelligence and future of business education - The Cavalier Daily - October 15th, 2026 [October 15th, 2026]
- The New York Times. . Artificial intelligence has gone from struggling with basic arithmetic to helping solve some of mathematics most famous open... - October 15th, 2026 [October 15th, 2026]
- FSB finalises sound practices for the responsible adoption of artificial intelligence (AI) - Financial Stability Board - October 15th, 2026 [October 15th, 2026]
- Broadcom vs. SK Hynix: Here's What Revenue Trends Tell Investors About These Artificial Intelligence Companies - The Motley Fool - October 15th, 2026 [October 15th, 2026]
- When Artificial Intelligence Becomes the Expert, Who Is Still Thinking? - The Washington Stand - October 15th, 2026 [October 15th, 2026]
- Is artificial intelligence making weather forecasts better? - fox21online.com - October 15th, 2026 [October 15th, 2026]
- High-performance hardware requirements are shifting rapidly as local artificial intelligence tools expand - BNO News - October 15th, 2026 [October 15th, 2026]
- Not Memory. Not Energy. This Is the Biggest Bottleneck in Artificial Intelligence, and These Are the Companies That Can Benefit. - The Motley Fool - October 15th, 2026 [October 15th, 2026]
- How Artificial Intelligence Can Help With Critical Thinking - Greater Good: The Science of a Meaningful Life - October 15th, 2026 [October 15th, 2026]
- What The Tech: How criminals are tricking artificial intelligence platforms - WAKA 8 - October 15th, 2026 [October 15th, 2026]
- Open to AI: Hollywood Is Embracing Artificial Intelligence Tools Despite Doomsday Fears - Variety - October 15th, 2026 [October 15th, 2026]
- Is artificial intelligence making weather forecasts better? - mydailyrecord.com - October 15th, 2026 [October 15th, 2026]
- Apple to launch artificial intelligence for iPhones in China, but agreed to restrictions imposed by authorities Bloomberg - () - October 15th, 2026 [October 15th, 2026]
- Most Americans think artificial intelligence is developing too fast, a new AP-NORC poll finds - The Commercial Dispatch - October 15th, 2026 [October 15th, 2026]
- AI research must drive practical solutions for Namibia Steenkamp Staff Reporter YOUNG researchers have been urged to use artificial intelligence (AI)... - October 15th, 2026 [October 15th, 2026]
- Houston Emergency Physician Discusses the Role of Artificial Intelligence in Emergency Medicine - EIN News - October 15th, 2026 [October 15th, 2026]
- Is artificial intelligence making weather forecasts better? - thedigitalcourier.com - October 15th, 2026 [October 15th, 2026]
- The Surprising Way Artificial Intelligence (AI) Chatbots Are Giving Walmart's Business a Boost - The Motley Fool - October 15th, 2026 [October 15th, 2026]
- Brazil Potash conducts tests with artificial intelligence in a US$2.5 billion project in Amazonas - BNamericas - October 15th, 2026 [October 15th, 2026]
- Latest Research by The Business Research Company, the Global Edge Artificial Intelligence (AI) Processor Market - EIN News - October 15th, 2026 [October 15th, 2026]
- Is artificial intelligence making weather forecasts better? - Ashley County Ledger - October 15th, 2026 [October 15th, 2026]
- Is artificial intelligence making weather forecasts better? - The Herald Palladium - October 15th, 2026 [October 15th, 2026]
- Is artificial intelligence making weather forecasts better? - Iosco County News Herald - October 15th, 2026 [October 15th, 2026]
- Is artificial intelligence making weather forecasts better? - swiowanewssource.com - October 15th, 2026 [October 15th, 2026]
- The Surprising Way Artificial Intelligence (AI) Chatbots Are Giving Walmart's Business a Boost - Yahoo Finance - October 15th, 2026 [October 15th, 2026]
- Kroger to lay off 3,000 corporate employees over 3 years as it leans into artificial intelligence - AP News - October 15th, 2026 [October 15th, 2026]
- AI is being taught how to do your job. Will artificial intelligence replace us, or just change the way we work? - CBS News - October 6th, 2026 [October 6th, 2026]
- The Only 2 Artificial Intelligence (AI) Stocks I'd Buy With $1,000 Today and Never Sell - Yahoo Finance - October 6th, 2026 [October 6th, 2026]
- OPINIONS: How U.Va. should respond to the changing artificial intelligence landscape - The Cavalier Daily - October 6th, 2026 [October 6th, 2026]
- Artificial intelligence: the big bad - The Justice - October 6th, 2026 [October 6th, 2026]
- The Only 2 Artificial Intelligence (AI) Stocks I'd Buy With $1,000 Today and Never Sell - The Motley Fool - October 6th, 2026 [October 6th, 2026]
- California Enacts Laws Regulating Artificial Intelligence in Employment, Healthcare and Biosecurity - Distilled Post - October 6th, 2026 [October 6th, 2026]
- [Webinar] New Trends in Court Reporting: Ethical & Legal Use of Advanced Technology and Artificial Intelligence - JDSupra - October 6th, 2026 [October 6th, 2026]
- Not Nvidia. Not Micron. If I Could Buy and Hold Only 1 Artificial Intelligence (AI) Chip Stock Through 2030, It Would be This One. - Yahoo Finance - October 6th, 2026 [October 6th, 2026]
- Building the Finance Data Foundation for the AI Era - Emerj Artificial Intelligence Research - October 6th, 2026 [October 6th, 2026]
- 60 Minutes Transcript: Artificial intelligence and the future of work - CBS News - October 6th, 2026 [October 6th, 2026]
- Mistral has released Mistral Large 4, scoring 38 on the Artificial Analysis Intelligence Index - LinkedIn - October 6th, 2026 [October 6th, 2026]
- Department Of Justice Ordered To Call Artificial Intelligence 'SI' To Satisfy Donald Trump Fever Dreams - Above the Law - October 6th, 2026 [October 6th, 2026]
- "One club for Haaland and Bounou": artificial intelligence answers: where will Manchester City's stars go if they are relegated? - Goal.com - October 6th, 2026 [October 6th, 2026]
- Not Nvidia. Not Micron. If I Could Buy and Hold Only 1 Artificial Intelligence (AI) Chip Stock Through 2030, It Would be This One. - The Motley Fool - October 6th, 2026 [October 6th, 2026]
- Where Are You? A Jewish-Christian Dialogue in the Age of Artificial Intelligence - The Times of Israel - October 6th, 2026 [October 6th, 2026]
- Not Nvidia. Not Micron. If I Could Buy and Hold Only 1 Artificial Intelligence (AI) Chip Stock Through 2030, It Would be This One. - The Globe and... - October 6th, 2026 [October 6th, 2026]
- Keep Your AI On The Ball: A Policyholders Guide To Artificial Intelligence Insurance Coverage - Law.com - October 6th, 2026 [October 6th, 2026]
- Indias Gen Z Faces Down the Artificial Intelligence Future - Bloomberg.com - October 6th, 2026 [October 6th, 2026]
- Students outraged after Stanford University uses artificial intelligence to alter race, appearances in promotional photo - ABC7 San Francisco - September 26th, 2026 [September 26th, 2026]
- Students, parents, teachers want their voices heard on artificial intelligence in Santa Barbara schools - Santa Barbara News-Press - September 26th, 2026 [September 26th, 2026]
- U.S. Intervention in the UN Security Council Meeting on "Artificial Intelligence and International Security" - United States Mission to the... - September 26th, 2026 [September 26th, 2026]
- Diplomats ordered to use super intelligence instead of artificial intelligence in Trump push - The Hill - September 26th, 2026 [September 26th, 2026]
- Syracuse University launches artificial intelligence research institute - Syracuse.com - September 26th, 2026 [September 26th, 2026]
- Call for papers: Advancing research on the Ethics of Artificial Intelligence - UNESCO - September 26th, 2026 [September 26th, 2026]
- OpenAI hack on Australian government reveals anxiety at heart of global artificial intelligence dilemma - The Guardian - September 26th, 2026 [September 26th, 2026]
- Northwest Allen County Schools teachers add artificial intelligence to their toolbox - The Journal Gazette - September 26th, 2026 [September 26th, 2026]
- Positioning Artificial Intelligence to Help Explain Unexpected Cancer Trial Outcomes - OncLive - September 26th, 2026 [September 26th, 2026]
- Artificial Intelligence CEOs Brief the U.N. Security Council on the Risks of AI - C-SPAN - September 26th, 2026 [September 26th, 2026]
- Rice to launch Master of Artificial Intelligence program in fall 2027 - Rice University - September 26th, 2026 [September 26th, 2026]
- Artificial intelligence and the declining moral standards in the judicial branch - Juneau Independent - September 26th, 2026 [September 26th, 2026]
- Artificial social pattern intelligence: When the society, not the brain, is the thinking object - openaccessgovernment.org - September 26th, 2026 [September 26th, 2026]
- Less noise, more knowledge: Artificial intelligence and the future of information integrity - Unric - September 26th, 2026 [September 26th, 2026]
- Artificial Intelligence Could Transform Clinical Trialsbut Only With Stronger Guardrails - Bioengineer.org - September 26th, 2026 [September 26th, 2026]
- The AI Dialectic Can Ancient Faith Give Artificial Intelligence a Conscience? - The Times of Israel - September 26th, 2026 [September 26th, 2026]