Urgent.News

What's breaking now, across thousands of outlets.

AI

From Generative AI to AI Agents: From Answers to Action

AI has come a long way. What started with simple rule-based systems has evolved into machine learning, deep learning, transformers, and now generative AI. But the next big shift isn't just about AI generating better answers. It's about AI taking action. That is where AI agents come in. What Are AI Agents? A chatbot like ChatGPT mainly responds to what you ask. An AI agent goes a step further. An…

Generative AI has undergone a significant evolution, progressing from basic rule-based systems, through machine learning, deep learning, transformers, and now into the realm of generative AI. The next major leap is not merely about generating better answers but about AI agents taking action. AI agents are different from chatbots like ChatGPT, which primarily respond to queries.

Instead, agents can understand a goal, break it down into smaller tasks, utilize tools and APIs, retain pertinent information, execute actions, and learn from outcomes to refine their approach.

For instance, rather than merely asking an AI to explain why an application is failing, an agent could be directed to "Find and fix the authentication bug." The agent would then inspect the code, review logs, execute tests, modify the code, and report the changes made. This distinction underscores the transition from generating responses to completing tasks.

The evolution of AI to agents has not been a direct jump. It has progressed through several phases. Initially, symbolic AI attempted to represent intelligence via rules and logic, which proved effective in controlled situations but challenging to maintain as problems grew more complex. Next, expert systems emerged, encoding human knowledge into extensive rule collections, but often proved brittle.

The 1990s ushered in machine learning, which shifted attention from explicitly programming rules to training systems using data. Deep learning took this further, leveraging large datasets, GPUs, and advanced neural networks to achieve significant strides in areas like vision, speech, and language.

The breakthrough in this domain was the Transformer architecture, which laid the groundwork for contemporary large language models. When ChatGPT was made widely accessible in 2022, generative AI entered the mainstream. This led to the emergence of AI agents, as the logical progression from models capable of understanding and generating information to those capable of utilizing this information to accomplish tasks.

An AI agent can be understood through five key aspects: perception, reasoning, planning, action, and memory. Perception involves understanding information from various sources such as APIs, databases, files, websites, text, images, or other inputs. Reasoning entails deciding the subsequent action. Planning involves decomposing a large goal into smaller, manageable steps.

Action refers to utilizing tools, APIs, code, or other systems to perform an action. Memory encompasses retaining pertinent information from prior interactions or tasks. Collectively, these components form a loop: Observe → Reason → Act → Observe → Repeat.

AI agents are already being investigated in diverse fields including software development, customer support, research, productivity, and data automation. In software development, agents can write code, detect bugs, run tests, and review pull requests. Customer support agents can retrieve customer details, resolve issues, and escalate complex cases.

In research, agents can sift through documents, compare sources, and generate reports. Productivity agents manage tasks, calendars, emails, and workflows. Data and automation agents connect different systems and execute multi-step processes.

The method of constructing AI agents isn't uniform. A straightforward system might employ a singular agent loop integrating goal determination, thinking, tool usage, observation, and repetition. More intricate systems can leverage a planner alongside multiple executors, where a single agent devises a plan, and other agents carry out individual tasks.

There are also multi-agent and graph-based structures suitable for complex workflows. However, it's crucial to remember that a more complex system isn't inherently superior. In many cases, a simpler workflow might suffice, and excess complexity can lead to unnecessary complications. The primary challenge in building an agent lies not just in linking an LLM to a few APIs but in ensuring production agents are robust, reliable, secure, and efficient.

This necessitates traditional software engineering expertise. The future of AI won't merely revolve around crafting more sophisticated models; it will also be centered around constructing dependable systems around those models. Generative AI taught computers to create; agentic AI is teaching software to act. For developers, AI agents represent one of the most compelling areas of software engineering today.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

More from Wednesday 30 September →