GOLIVE
Back to blog

AI Agents: the fundamentals you need for your tech projects

An AI agent is not a souped-up chatbot. Understanding what sets it apart from a simple workflow will help you make better decisions on your software projects.

AI agent design patterns, multi-agent architectures and agent types. Everything you need to know to integrate an AI agent into your project.

The term AI agent is everywhere in 2025, often used interchangeably with "AI workflow" or "LLM connected to tools." Yet the distinction matters: depending on what you build or buy, you can end up with a system that is fundamentally different from what you expected. Here are the core concepts you need to steer your decisions.

  • 🤖 An AI agent puts the LLM in the driver's seat: the human no longer programs the steps in advance.
  • 🧩 Four design patterns structure every agent: reflection, tool use, planning, and multi-agent systems.
  • 📊 The five levels of agents range from a simple reflex thermostat to a learning agent: picking the right level keeps you from over-engineering.
  • 💼 For every existing SaaS product, an agentic version is possible: a concrete framework for identifying where to invest.

From AI tool to AI agent: where the real shift happens

The confusion stems from the fact that all three levels (raw LLM, AI workflow, and AI agent) look alike from the outside. All produce text, all use a language model. The difference lies in who decides the steps.

An LLM like ChatGPT or Claude responds to a prompt. That's it. It doesn't know what's on your calendar, it has no access to your internal data, and above all, it is passive. You ask a question, it answers. If you ask when your next meeting is, it cannot answer correctly because it has no access to that information.

An AI workflow partly solves that problem. A human programs a predefined path: "every time the user asks about their calendar, first query Google Calendar, then respond." It works as long as the question stays within the expected scope. The moment the question falls outside the programmed path, the system fails. Logical control still belongs to a human. You can chain as many steps as you want, calling weather APIs, speech-synthesis models, email-sending tools: as long as a developer has laid out the path, it is a workflow.

The AI agent takes it one step further: the LLM itself becomes the decision-maker. That is the fundamental shift. Instead of following a path traced in advance, the agent reasons about the best way to reach a goal, selects the appropriate tools, executes actions, observes intermediate results, and decides whether to iterate. This model has a name in the field: the ReAct framework (Reason + Act). The agent reasons, acts, observes, repeats.

This capacity for autonomous iteration is what truly sets an agent apart from a workflow. If you have ever had to manually rework an AI's prompt because the output wasn't satisfactory, an agent would make that correction on its own, with no human intervention. This also explains why developers working with AI need to rethink the way they design systems: code no longer programs every decision, it defines a decision space within which the agent operates.

The four patterns that define an autonomous agent

Andrew Ng, one of the most respected figures in the field, has formalized four major agentic design patterns. Understanding them gives you a precise vocabulary for evaluating any solution on the market or scoping a project's requirements.

The first pattern is reflection. The agent produces an output, then critiques its own work to improve it. In a code-generation context, that looks like this: the agent writes the code, generates tests, detects errors, fixes them, and repeats the cycle until all tests pass. What you would have done manually over several back-and-forth rounds with a developer, the agent does autonomously. A natural extension of this pattern is multi-agent review: instead of a single LLM critiquing itself, a second LLM plays the role of critic. The two agents collaborate to reach a quality level that neither would have achieved alone.

The second pattern is tool use. By equipping an LLM with capabilities such as web search, code execution, calendar access, or database reads, you let it gather missing information before responding. An agent with a web-search tool will give you an answer grounded in recent sources, whereas a bare LLM would rely solely on its training data. RAG (Retrieval-Augmented Generation), which you hear about constantly, is simply one particular form of this pattern: the agent retrieves relevant information before answering.

The third pattern is planning. Given a complex objective, the agent breaks down the necessary steps on its own and identifies the tools required for each one. A concrete example from an Andrew Ng demonstration: ask an agent to generate an image of a person in a pose identical to that of a reference image, then describe that image out loud. The agent plans on its own: analyze the reference pose with a vision model, generate the image with the same pose, convert to a text description, pass to speech synthesis. None of these steps was programmed in advance by a human.

The fourth pattern covers multi-agent systems. Rather than a single LLM juggling everything, several specialized agents collaborate, each with its own role, tools, and task. Research shows that this approach produces better results than a single agent trying to handle everything. The logic is the same as for a human team: specialization improves the quality of the final deliverable.

The five levels of agent intelligence

Not all AI agents are created equal. IBM Technology offers a useful taxonomy to avoid conflating systems that are fundamentally different. There are five levels, ranked by degree of autonomy and decision-making capability.

The simple reflex agent reacts to immediate stimuli according to predefined rules. A thermostat is the textbook example: if the temperature drops below 18°C, it turns on the heat. It remembers nothing, anticipates nothing. Effective in stable environments, it breaks down the moment the situation falls outside its programmed scope.

The model-based reflex agent adds internal memory. It maintains a state representing its understanding of the world and updates it over time. A robot vacuum that maps cleaned areas and remembers obstacles belongs to this category. It doesn't truly anticipate, but it avoids repeating the same mistakes because it knows where it has been.

The goal-based agent introduces the concept of objectives. Rather than reacting to rules, the agent simulates possible future states and selects the action that brings it closest to its goal. A self-driving car uses this type of reasoning: it evaluates different possible trajectories and picks the one that leads to its destination.

The utility-based agent refines things further: it doesn't just seek to reach a goal, it maximizes a composite utility function. A delivery drone that simultaneously optimizes speed, package safety, and battery consumption illustrates this level well. It doesn't simply choose "the route that reaches the destination" but "the best route according to multiple competing criteria."

Finally, the learning agent improves through experience. It has a critic component that evaluates its performance, a learning component that updates its strategies, and a problem generator that pushes it to explore novel actions. Video games are often cited as training grounds: after thousands of games, the agent converges on strategies that no human would have hard-coded.

Agent type Memory Planning Learning Example
Simple reflex No No No Thermostat
Model-based reflex Yes No No Robot vacuum
Goal-based Yes Yes No Self-driving car
Utility-based Yes Yes No Delivery drone
Learning agent Yes Yes Yes Video-game AI

In practice today, most AI agents deployed in enterprises combine several of these levels. And as IBM points out: AI agents generally work best with a human in the loop for high-impact decisions. That is not a weakness of the system, it is a sound architectural practice.

Multi-agent architectures: from sequential to asynchronous

Once you move beyond a single agent, architectures get more complex and the number of possible configurations multiplies. Crew AI, in collaboration with DeepLearning.AI, has documented five main patterns that cover the vast majority of production use cases.

The sequential pattern is the simplest: one agent does its work and hands off to the next, like an assembly line. For automated document processing, for instance, a first agent extracts the text, a second summarizes it, a third identifies action items, and a fourth saves everything to the database. It's predictable, easy to monitor, and straightforward to debug.

The hierarchical pattern introduces a manager agent that orchestrates specialized sub-agents. To produce a business decision report, a manager agent receives the mission and delegates: one sub-agent analyzes market trends with its own tools, another collects customer feedback from internal databases, a third tracks product metrics. The manager compiles and synthesizes. Each sub-agent has its own tools; the manager only steps in to coordinate.

The hybrid pattern combines hierarchy and sequentiality with continuous feedback loops. Autonomous vehicle systems use this model: one agent plans the overall route, sub-agents handle sensor fusion and real-time obstacle avoidance, with constant feedback flowing back to the higher level. This pattern is common in robotics and complex adaptive systems.

The parallel pattern has multiple independent agents process different parts of a task simultaneously. For large-scale data analysis, it's the natural choice: each agent takes a segment, and results are merged at the end. The speed gain can be significant on large volumes.

Finally, the asynchronous pattern lets agents run independently, with no enforced synchronization. This is the preferred structure for real-time monitoring, such as cybersecurity threat detection: one agent monitors network traffic, another analyzes behavioral patterns, a third runs randomized tests. When one of them spots an anomaly, the system reacts. This approach handles uncertainty and changing conditions well.

The growing complexity of these architectures comes with governance complexity. The more agents you add, the more potential failure points you have and the less direct visibility you get into the decisions being made. This is a reality to factor in from the design phase, not mid-stream. Tina Huang cites a Y Combinator observation worth keeping in mind: for every existing SaaS product, there is an agentic equivalent to be built. That's a concrete framework for spotting opportunities without having to invent use cases from scratch.


AI agents are not a cosmetic layer on top of existing LLMs. They are systems with their own architectural logic, their own design patterns, and their own operational constraints. Before tasking a team to build an agent or integrating a market solution, it is worth defining precisely what level of autonomy you are aiming for, which tools the agent will need to handle, and which human stays in the loop for critical decisions. These choices have direct consequences on cost, output quality, and system maintainability. The case of Achille.ai, which scaled its LLM infrastructure with GoLive Software, illustrates what it actually takes to move from prototype to production on this kind of architecture.

Vincent Roye
Vincent Roye
CEO & Founder, GoLive Software

French engineer based in Vietnam since 2014. He leads a team of senior full-stack developers and has helped startups and SMEs structure their tech teams for over 11 years.