-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from ckavili/main
✨docs updated ✨
- Loading branch information
Showing
12 changed files
with
1,306 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 39 additions & 37 deletions
76
content/modules/ROOT/pages/05-01-what-is-an-ai-agent.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,55 @@ | ||
= What is an AI Agent | ||
include::_attributes.adoc[] | ||
:slide: | ||
= **What is an AI Agent?** | ||
include::_attributes.adoc[] | ||
:slide: | ||
|
||
== Overview | ||
== **Overview** | ||
|
||
An Agent is an autonomous system that leverages Large Language Models (LLMs) to perform tasks by understanding, | ||
reasoning, planning, and executing actions with minimal human intervention. AI agents are designed to break down | ||
complex problems into manageable steps, utilizing tools, accessing memory, and adapting their behavior based on the | ||
provided context. | ||
An **AI Agent** is an autonomous system that utilizes **Large Language Models (LLMs)** to understand, reason, plan, and execute tasks with minimal human intervention. Unlike traditional AI models that respond passively to prompts, agents **actively break down complex problems into manageable steps**, leveraging memory, external tools, and adaptive behavior to achieve their goals. | ||
|
||
At its core, an agent is structured to: | ||
At its core, an AI agent follows a structured process: | ||
|
||
1. **Receive a Task**: The agent takes input from the user, such as a question or command. | ||
2. **Plan a Solution**: The agent decomposes the problem, chooses appropriate tools, and reasons through possible solutions. | ||
3. **Execute the Plan**: It performs actions, such as retrieving information, using tools, or generating responses based on the devised plan. | ||
4. **Deliver Results**: Finally, it presents the solution or output in a structured, actionable format. | ||
1. **Receive a Task** → Takes user input (e.g., a command or question). | ||
2. **Plan a Solution** → Decomposes the problem, selects tools, and reasons through possible solutions. | ||
3. **Execute the Plan** → Retrieves information, performs computations, or interacts with external resources. | ||
4. **Deliver Results** → Presents a structured response, action, or decision. | ||
|
||
image::02/02-01-agentic-vs-non-agentic.png[AI Agents Diagram] | ||
image::02/02-01-agentic-vs-non-agentic.png[AI Agents Diagram] | ||
|
||
== Key Components of an AI Agent: | ||
== **Key Components of an AI Agent** | ||
|
||
- **Profiling Module (Agent Core)**: This is the agent's decision-making hub. It defines the role and goals of | ||
the agent (e.g., financial analyst, teacher), selects appropriate tools, and coordinates task execution. | ||
The agent's "profile" helps determine its behavior and interaction style based on its role. | ||
An AI agent is composed of several **interconnected modules**, each responsible for specific functions that enable decision-making and execution. | ||
|
||
- **Memory Module**: The agent uses memory to track past interactions and experiences. Short-term memory stores | ||
context-relevant information (e.g., current session details), while long-term memory retains important information | ||
over time, which the agent can refer back to when needed. | ||
- **Profiling Module (Agent Core)** 🏗️ | ||
|
||
- **Tools Module**: External resources (e.g., APIs, databases) that the agent can call upon to complete tasks, | ||
like retrieving real-time data, performing calculations, or interacting with other systems. | ||
Defines the agent’s **role, goals, and behavior** (e.g., financial analyst, teacher, assistant). This module selects tools, orchestrates task execution, and determines how the agent interacts with users. | ||
|
||
- **Planning Module**: This module allows the agent to break down complex tasks into smaller, manageable sub-tasks. | ||
By planning step-by-step, the agent can tackle intricate queries and tasks with greater efficiency and precision. | ||
- **Memory Module** 🧠 | ||
|
||
image::02/02-02-agentic-components.png[AI Agents Diagram] | ||
Stores past interactions and contextual data: | ||
- **Short-term memory**: Tracks current session details for immediate recall. | ||
- **Long-term memory**: Retains historical information to improve continuity across interactions. | ||
|
||
== Anatomy of an AI Agent: | ||
- **Tools Module** 🔧 | ||
|
||
The Anatomy of an AI Agent consists of interconnected components such as: | ||
Connects the agent to **external resources** such as APIs, databases, or third-party services. This enables real-time data retrieval, calculations, and interaction with other systems. | ||
|
||
1. Persona | ||
2. Instruction | ||
3. Task & Planning | ||
4. Memory | ||
5. Tools | ||
6. Delegation | ||
- **Planning Module** 📌 | ||
|
||
which collectively enable the agent to perform tasks, manage strategies, and make | ||
decisions effectively within its defined context. | ||
Breaks down complex tasks into **smaller, manageable steps** to ensure structured decision-making and execution. This step-by-step reasoning improves efficiency and precision. | ||
|
||
image::05/05-06-agent-framework.png[Agentic Integrations] | ||
image::02/02-02-agentic-components.png[AI Agents Diagram] | ||
|
||
== **Anatomy of an AI Agent** | ||
|
||
An AI agent’s functionality is driven by the following key elements: | ||
|
||
1. **Persona** → Defines the agent’s identity and role. | ||
2. **Instruction** → Guides the agent on how to operate. | ||
3. **Task & Planning** → Helps the agent break down and structure its workflow. | ||
4. **Memory** → Allows it to recall and learn from past interactions. | ||
5. **Tools** → Expands its capabilities by interacting with external systems. | ||
6. **Delegation** → Enables collaboration with other agents or processes. | ||
|
||
Together, these components empower AI agents to reason, strategize, and autonomously complete tasks within a defined context. | ||
|
||
image::05/05-06-agent-framework.png[Agentic Integrations] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.