<!DOCTYPE html>
    <html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
    <head>
<title>Hướng dẫn kỹ thuật lời nhắc. Các tác nhân. Các thành phần của tác nhân</title>
<meta name="description" content="Hướng dẫn kỹ thuật lời nhắc. Các tác nhân. Các thành phần của tác nhân - Savefile - Tin Tức -...">
<meta name="author" content="Giáo Dục Mở và Ứng dụng phát triển">
<meta name="copyright" content="Giáo Dục Mở và Ứng dụng phát triển [webmaster@giaoducmo.vinades.net]">
<meta name="robots" content="index, archive, follow, noodp">
<meta name="googlebot" content="index,archive,follow,noodp">
<meta name="msnbot" content="all,index,follow">
<meta name="generator" content="NukeViet v4.5">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:title" content="Hướng dẫn kỹ thuật lời nhắc. Các tác nhân. Các thành phần của tác nhân">
<meta property="og:type" content="website">
<meta property="og:description" content="Savefile - Tin Tức - https&#x3A;&#x002F;&#x002F;giaoducmo.avnuc.vn&#x002F;index.php&#x002F;savefile&#x002F;ai&#x002F;huong-dan-ky-thuat-loi-nhac-cac-tac-nhan-cac-thanh-phan-cua-tac-nhan-1601.html">
<meta property="og:site_name" content="Giáo Dục Mở và Ứng dụng phát triển">
<meta property="og:url" content="https://giaoducmo.avnuc.vn/index.php/savefile/ai/huong-dan-ky-thuat-loi-nhac-cac-tac-nhan-cac-thanh-phan-cua-tac-nhan-1601.html">
<link rel="shortcut icon" href="https://giaoducmo.avnuc.vn/uploads/logo-gdm.png">
<link rel="canonical" href="https://giaoducmo.avnuc.vn/index.php/savefile/ai/huong-dan-ky-thuat-loi-nhac-cac-tac-nhan-cac-thanh-phan-cua-tac-nhan-1601.html">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/" title="Tin Tức" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/hoi-thao/" title="Tin Tức - Hội nghị &#x002F; Hội thảo" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/tap-huan/" title="Tin Tức - Tập huấn" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/giao-duc/" title="Tin Tức - Tài nguyên Giáo dục Mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/cap-giay-phep-mo/" title="Tin Tức - Cấp giấy phép mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/du-lieu-mo/" title="Tin Tức - Dữ liệu Mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/truy-cap-mo/" title="Tin Tức - Truy cập Mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/khoa-hoc-mo/" title="Tin Tức - Khoa học Mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/openglam/" title="Tin Tức - OpenGLAM" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/dinh-dang-mo/" title="Tin Tức - Tiêu chuẩn&#x002F;Định dạng Mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/phan-mem-tu-do-nguon-mo/" title="Tin Tức - Phần mềm Tự do Nguồn Mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/phan-cung/" title="Tin Tức - Phần cứng Mở&#x002F;Phần cứng Nguồn Mở" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/tai-lieu-dich/" title="Tin Tức - Tài liệu dịch" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/bai-viet-toan-van/" title="Tin Tức - Bài viết toàn văn" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/hop-tac/" title="Tin Tức - Hợp tác&#x002F;Đối tác" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/hoc-truc-tuyen-tu-xa/" title="Tin Tức - Học trực tuyến&#x002F;từ xa" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/nang-luc-so/" title="Tin Tức - Chuyển đổi&#x002F;Năng lực số" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/tvet/" title="Tin Tức - TVET" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/hoc-tap-suot-doi/" title="Tin Tức - Học tập suốt đời" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/danh-gia-nghien-cuu/" title="Tin Tức - Đánh giá nghiên cứu" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/giao-duc-xanh-phat-trien-ben-vung/" title="Tin Tức - Xanh&#x002F;Bền vững" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/ai/" title="Tin Tức - AI" type="application/rss+xml">
<link rel="alternate" href="https://giaoducmo.avnuc.vn/index.php/rss/su-pham-mo/" title="Tin Tức - Sư phạm Mở" type="application/rss+xml">
<link rel="stylesheet" href="https://giaoducmo.avnuc.vn/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="https://giaoducmo.avnuc.vn/themes/giaoducmo/css/bootstrap.non-responsive.css">
<link rel="stylesheet" href="https://giaoducmo.avnuc.vn/themes/giaoducmo/css/style.css">
<link rel="stylesheet" href="https://giaoducmo.avnuc.vn/themes/giaoducmo/css/style.non-responsive.css">
<link rel="StyleSheet" href="https://giaoducmo.avnuc.vn/themes/default/css/news.css">
<link rel="stylesheet" href="https://giaoducmo.avnuc.vn/themes/giaoducmo/css/custom.css">
<link rel="stylesheet" href="https://giaoducmo.avnuc.vn/assets/css/giaoducmo.vi.0.css">
<style type="text/css">
	body{background: #fff;}
</style>
		<!-- Use passive listeners to improve scrolling performance, https://web.dev/uses-passive-event-listeners/?utm_source=lighthouse&utm_medium=unknown -->
    </head>
    <body>
<div id="print">
	<div id="hd_print">
		<h2 class="pull-left">Giáo Dục Mở và Ứng dụng phát triển</h2>
		<p class="pull-right"><a title="Giáo Dục Mở và Ứng dụng phát triển" href="https://giaoducmo.avnuc.vn/">https://giaoducmo.avnuc.vn</a></p>
	</div>
	<div class="clear"></div>
	<hr />
	<div id="content">
		<h1>Hướng dẫn kỹ thuật lời nhắc. Các tác nhân. Các thành phần của tác nhân</h1>
		<ul class="list-inline">
			<li>Thứ hai - 24/11/2025 13:26</li>
			<li class="hidden-print txtrequired"><em class="fa fa-print">&nbsp;</em><a title="In ra" href="javascript:;" onclick="window.print()">In ra</a></li>
			<li class="hidden-print txtrequired"><em class="fa fa-power-off">&nbsp;</em><a title="Đóng cửa sổ này" href="javascript:;" onclick="window.close()">Đóng cửa sổ này</a></li>
		</ul>
		<div class="clear"></div>
		<div id="hometext">
		</div>
				<div class="imghome">
			<img alt="Hướng dẫn kỹ thuật lời nhắc. Các tác nhân. Các thành phần của tác nhân" src="https://giaoducmo.avnuc.vn/uploads/news/2025_11/0_prompt-engineering_1.png" width="460" class="img-thumbnail" />
		</div>
		<div class="clear"></div>
		<div id="bodytext" class="clearfix">
			<p align="justify"><b><span style="background: rgb(255, 255, 0);">Agent Components</span></b></p>

<p align="justify">Theo: <a href="https://www.promptingguide.ai/agents/components">https://www.promptingguide.ai/agents/components</a></p>

<p align="justify">Các tác nhân đòi hỏi 3 năng lực cơ bản để xử lý hiệu quả các nhiệm vụ phức tạp: khả năng lập kế hoạch, sử dụng công cụ, và quản lý bộ nhớ. Hãy cùng tìm hiểu cách các thành phần này hoạt động cùng nhau để tạo ra các t<span style="background: transparent">ác nhân AI có chức năng.</span><span style="background: transparent"> </span></p>

<div class="image-center"><img alt="" height="520" src="https://giaoducmo.avnuc.vn/uploads/news/2025_11/3.2-agent-components.png" width="800" /></div>

<p align="justify"><span style="background: transparent"><b>Lập kế hoạch: Bộ não của tác nhân</b></span></p>

<p align="justify">Cốt lõi của bất kỳ tác nhân AI hiệu quả nào là khả năng lập kế hoạch, được hỗ trợ bởi các mô hình ngôn ngữ lớn (LLM). Các LLM hiện đại cho phép một số chức năng lập kế hoạch quan trọng:</p>

<ul>
	<li>
	<p align="justify">Phân tích nhiệm vụ thông qua suy luận chuỗi suy nghĩ</p>
	</li>
	<li>
	<p align="justify">Tự phản ánh về các hành động và thông tin trong quá khứ</p>
	</li>
	<li>
	<p align="justify">Học tập thích ứng để cải thiện các quyết định trong tương lai</p>
	</li>
	<li>
	<p align="justify">Phân tích có phản biện tiến độ hiện tại</p>
	</li>
</ul>

<p align="justify">Mặc dù khả năng lập kế hoạch của LLM hiện tại chưa hoàn hảo, nhưng chúng rất cần thiết để hoàn thành nhiệm vụ. Nếu không có khả năng lập kế hoạch mạnh mẽ, một tác nhân không thể tự động hóa hiệu quả các tác vụ phức tạp, điều này làm mất đi mục đích chính của nó.</p>

<p align="justify"><b>Sử dụng công cụ: Mở rộng khả năng của tác nhân</b></p>

<p align="justify">Thành phần quan trọng thứ hai là khả năng tương tác của tác nhân với các công cụ bên ngoài. Một tác nhân được thiết kế tốt không chỉ phải có quyền truy cập vào nhiều công cụ khác nhau mà còn phải hiểu khi nào và cách sử dụng chúng một cách phù hợp. Các công cụ phổ biến bao gồm:</p>

<ul>
	<li>
	<p align="justify">Trình thông dịch mã và môi trường thực thi</p>
	</li>
	<li>
	<p align="justify">Tiện ích tìm kiếm và thu thập dữ liệu trên web</p>
	</li>
	<li>
	<p align="justify">Máy tính toán học</p>
	</li>
	<li>
	<p align="justify">Hệ thống tạo hình ảnh</p>
	</li>
</ul>

<p align="justify">Các công cụ này cho phép tác nhân thực hiện các hành động đã lên kế hoạch, biến các chiến lược trừu tượng thành kết quả cụ thể. Khả năng hiểu được lựa chọn công cụ và thời điểm của LLM là rất quan trọng để xử lý các tác vụ phức tạp một cách hiệu quả.</p>

<p align="justify"><b>Hệ thống bộ nhớ: Lưu giữ và sử dụng thông tin</b></p>

<p align="justify">Thành phần thiết yếu thứ ba là quản lý bộ nhớ, có hai dạng chính:</p>

<ol>
	<li>
	<p align="justify">Bộ nhớ (làm việc) ngắn hạn</p>

	<ul>
		<li>
		<p align="justify">Hoạt động như một bộ nhớ đệm cho ngữ cảnh tức thời</p>
		</li>
		<li>
		<p align="justify">Cho phép học tập theo ngữ cảnh</p>
		</li>
		<li>
		<p align="justify">Đủ cho việc hoàn thành hầu hết các nhiệm vụ</p>
		</li>
		<li>
		<p align="justify">Giúp duy trì tính liên tục trong quá trình lặp lại nhiệm vụ</p>
		</li>
	</ul>
	</li>
	<li>
	<p align="justify">Bộ nhớ dài hạn</p>

	<ul>
		<li>
		<p align="justify">Được triển khai thông qua các kho lưu trữ vectơ bên ngoài</p>
		</li>
		<li>
		<p align="justify">Cho phép truy xuất nhanh chóng thông tin lịch sử</p>
		</li>
		<li>
		<p align="justify">Có giá trị cho việc hoàn thành nhiệm vụ trong tương lai</p>
		</li>
		<li>
		<p align="justify">Ít được triển khai hơn nhưng có khả năng rất quan trọng cho các phát triển trong tương lai</p>
		</li>
	</ul>
	</li>
</ol>

<p align="justify">Hệ thống bộ nhớ cho phép các tác nhân lưu trữ và truy xuất thông tin thu thập được từ các công cụ bên ngoài, cho phép cải tiến liên tục và xây dựng dựa trên kiến thức trước đó.</p>

<p align="justify">Sự đồng vận giữa khả năng lập kế hoạch, sử dụng công cụ và hệ thống bộ nhớ tạo nên nền tảng cho các tác nhân AI hiệu quả. Mặc dù mỗi thành phần đều có những hạn chế hiện tại, việc hiểu rõ các khả năng cốt lõi này là rất quan trọng để phát triển và làm việc với các tác nhân AI. Khi công nghệ phát triển, chúng ta có thể thấy các loại bộ nhớ và khả năng mới xuất hiện, nhưng ba trụ cột này có thể sẽ vẫn là nền tảng cơ bản cho kiến trúc tác nhân AI.</p>

<p align="justify"><a href="https://giaoducmo.avnuc.vn/ai/huong-dan-ky-thuat-loi-nhac-cac-tac-nhan-1598.html">Về ‘Các tác nhân’</a> <em><span style="font-style: normal"><span style="font-weight: normal"><span style="background: transparent">………. <a href="https://giaoducmo.avnuc.vn/ai/huong-dan-ky-thuat-loi-nhac-cac-tac-nhan-gioi-thieu-cac-tac-nhan-ai-1599.html">Phần trước</a> ………. Phần tiếp theo</span></span></span></em></p>
&nbsp;
		</div>
				<div id="author">
						<p>
				<strong>Tác giả:</strong>
				<a href="https://giaoducmo.avnuc.vn/index.php/author/admin/">admin</a>
			</p>
		</div>
	</div>
	<div id="footer" class="clearfix">
		<div id="url">
			<strong>URL của bản tin này: </strong><a href="https://giaoducmo.avnuc.vn/index.php/savefile/ai/huong-dan-ky-thuat-loi-nhac-cac-tac-nhan-cac-thanh-phan-cua-tac-nhan-1601.html" title="Hướng dẫn kỹ thuật lời nhắc. Các tác nhân. Các thành phần của tác nhân">https://giaoducmo.avnuc.vn/index.php/savefile/ai/huong-dan-ky-thuat-loi-nhac-cac-tac-nhan-cac-thanh-phan-cua-tac-nhan-1601.html</a>

		</div>
		<div class="clear"></div>
		<div class="copyright">
			&copy; Giáo Dục Mở và Ứng dụng phát triển
		</div>
		<div id="contact">
			<a href="mailto:webmaster@giaoducmo.vinades.net">webmaster@giaoducmo.vinades.net</a>
		</div>
	</div>
</div>
        <div id="timeoutsess" class="chromeframe">
            Bạn đã không sử dụng Site, <a onclick="timeoutsesscancel();" href="https://giaoducmo.avnuc.vn/#">Bấm vào đây để duy trì trạng thái đăng nhập</a>. Thời gian chờ: <span id="secField"> 60 </span> giây
        </div>
        <div id="openidResult" class="nv-alert" style="display:none"></div>
        <div id="openidBt" data-result="" data-redirect=""></div>
<div id="run_cronjobs" style="visibility:hidden;display:none;"><img alt="cron" src="/index.php?second=cronjobs&amp;p=m496ZO7w" width="1" height="1" /></div>
<script src="https://giaoducmo.avnuc.vn/assets/js/jquery/jquery.min.js"></script>
<script>var nv_base_siteurl="/",nv_lang_data="vi",nv_lang_interface="vi",nv_name_variable="nv",nv_fc_variable="op",nv_lang_variable="language",nv_module_name="news",nv_func_name="savefile",nv_is_user=0, nv_my_ofs=-4,nv_my_abbr="EDT",nv_cookie_prefix="nv4",nv_check_pass_mstime=1738000,nv_area_admin=0,nv_safemode=0,theme_responsive=0,nv_recaptcha_ver=2,nv_recaptcha_sitekey="6LddCbkUAAAAAA1MjB7RhRdYdQihicLCVYmTJe2R",nv_recaptcha_type="image",XSSsanitize=1;</script>
<script src="https://giaoducmo.avnuc.vn/assets/js/language/vi.js"></script>
<script src="https://giaoducmo.avnuc.vn/assets/js/DOMPurify/purify3.js"></script>
<script src="https://giaoducmo.avnuc.vn/assets/js/global.js"></script>
<script src="https://giaoducmo.avnuc.vn/assets/js/site.js"></script>
<script src="https://giaoducmo.avnuc.vn/themes/default/js/news.js"></script>
<script src="https://giaoducmo.avnuc.vn/themes/giaoducmo/js/main.js"></script>
<script src="https://giaoducmo.avnuc.vn/themes/giaoducmo/js/custom.js"></script>
<script>jQuery.event.special.touchstart={setup:function(c,a,b){this.addEventListener("touchstart",b,{passive:!a.includes("noPreventDefault")})}};jQuery.event.special.touchmove={setup:function(c,a,b){this.addEventListener("touchmove",b,{passive:!a.includes("noPreventDefault")})}};</script>
<script type="application/ld+json">
        {
            "@context": "https://schema.org",
            "@type": "Organization",
            "url": "https://giaoducmo.avnuc.vn",
            "logo": "https://giaoducmo.avnuc.vn/uploads/logo-gdm.png"
        }
        </script>
<script src="https://giaoducmo.avnuc.vn/themes/giaoducmo/js/bootstrap.min.js"></script>
</body>
</html>