<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Knowledge Base &#8211; TrueLabAI</title>
	<atom:link href="https://truelabai.net/knowledge-base-archive/feed/" rel="self" type="application/rss+xml" />
	<link>https://truelabai.net</link>
	<description>AI Agent Discovery</description>
	<lastBuildDate>Thu, 15 Oct 2026 05:04:26 +0000</lastBuildDate>
	<language>vi</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://truelabai.net/wp-content/uploads/2026/04/logo-SkilltopAI-3Dv250-100x100.png</url>
	<title>Knowledge Base &#8211; TrueLabAI</title>
	<link>https://truelabai.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">236566518</site>	<item>
		<title>Thiết lập đăng nhập</title>
		<link>https://truelabai.net/knowledge-base/thiet-lap-dang-nhap/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Wed, 14 Oct 2026 09:07:53 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2396</guid>

					<description><![CDATA[Giữ nguyên cài đặt mặc định không xác thực để sử dụng cục bộ, hoặc bật OIDC để nhóm của bạn đăng nhập bằng nhà cung cấp danh tính của bạn. Đăng nhập vào TrueForge là tùy chọn. Bạn có&#8230;&#160;<a href="https://truelabai.net/knowledge-base/thiet-lap-dang-nhap/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Giữ nguyên cài đặt mặc định không xác thực để sử dụng cục bộ, hoặc bật OIDC để nhóm của bạn đăng nhập bằng nhà cung cấp danh tính của bạn.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Setup Login" data-page-href="/authentication/overview"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Đăng nhập vào TrueForge là </span><strong><span dir="auto">tùy chọn</span></strong><span dir="auto">. Bạn có thể chạy nó mà không cần xác thực để sử dụng cá nhân, cục bộ, hoặc kết nối với nhà cung cấp danh tính OIDC (Okta, Microsoft Entra ID, hoặc bất kỳ nhà cung cấp danh tính OIDC tiêu chuẩn nào) để nhóm của bạn đăng nhập và cài đặt vẫn chỉ dành cho quản trị viên.</span></span></div>
<div data-page-title="Setup Login" data-page-href="/authentication/overview">
<h2 id="choose-your-mode" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Chọn chế độ của bạn</span></span></h2>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_ui_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Cách thức</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Khi nào nên sử dụng</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Những gì người dùng nhìn thấy</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Không cần đăng nhập</span></strong><span dir="auto"> (mặc định)</span></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Mạng cục bộ </span><code>npx</code><span dir="auto">hoặc mạng mà bạn hoàn toàn tin tưởng.</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không có màn hình đăng nhập; mọi người đều là quản trị viên cục bộ dùng chung duy nhất.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Đăng nhập OIDC</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Triển khai nhóm được lưu trữ hoặc chia sẻ</span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Đăng nhập bằng tài khoản IdP của bạn; mỗi người là một </span><code>admin</code><span dir="auto">hoặc một</span><code>user</code></span></td>
</tr>
</tbody>
</table>
<h2 id="option-a-—-leave-login-off" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Phương án A — tắt chức năng đăng nhập</span></span></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Mặc định. </span><strong><span dir="auto">Không cần</span></strong><span dir="auto"> thiết lập bất kỳ </span><code>OIDC_*</code><span dir="auto">biến nào, chạy TrueForge như bình thường ( </span><a class="link" href="https://trueforge.dev/quickstart" target="_blank" rel="noopener"><span dir="auto">Khởi động nhanh</span></a><span dir="auto"> ), và mở giao diện người dùng — không có màn hình đăng nhập, và Cài đặt cũng như trò chuyện sẽ có sẵn ngay lập tức.</span></span></p>
<div class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-yellow-200 bg-yellow-50 dark:border-yellow-900 dark:bg-yellow-600/20 [&amp;_[data-component-part='callout-icon']]:mt-px" role="note" aria-label="Cảnh báo" data-callout-type="warning">
<h3 class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-yellow-800 dark:text-yellow-300" data-component-part="callout-content"><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 20px;">1. Đăng ký ứng dụng với nhà cung cấp danh tính của bạn:</span></strong></h3>
<div data-component-part="callout-content">
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Tạo một ứng dụng OIDC </span><strong><span dir="auto">(trên web) bảo mật</span></strong><span dir="auto"> . Bất kể nhà cung cấp nào, bạn cần:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Mã ủy quyền</span></strong><span dir="auto"> loại cấp phép (PKCE cũng được sử dụng)</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">URI chuyển hướng: </span><code>https://&lt;trueforge-url&gt;/api/v1/auth/callback</code><span dir="auto">, trong đó </span><code>&lt;trueforge-url&gt;</code><span dir="auto">là địa chỉ công khai của phiên bản TrueForge của bạn (cùng giá trị bạn đã đặt là </span><code>PUBLIC_BASE_URL</code><span dir="auto">)</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Người dùng hoặc nhóm được phép đăng nhập</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Mã định danh </span><strong><span dir="auto">(ID token)</span></strong><span dir="auto"> chứa thông tin về tư cách thành viên nhóm/vai trò, giúp TrueForge phân biệt quản trị viên với người dùng thông thường.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">TrueForge sử dụng chuẩn OIDC, vì vậy bất kỳ nhà cung cấp danh tính nào phát hành mã thông báo định danh đều có thể sử dụng được. Chọn nhà cung cấp của bạn để biết các bước cụ thể:</span></p>
<h3><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 20px;">2. Thiết lập môi trường máy chủ</span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Hãy thiết lập cả ba biến OIDC bắt buộc cùng lúc &#8211; cấu hình không đầy đủ sẽ khiến quá trình khởi động thất bại &#8211; cộng thêm nguồn gốc công cộng.</span></span></p>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_up_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Biến</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Yêu cầu</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mục đích</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><button id="base-ui-_r_us_" type="button" data-base-ui-tooltip-trigger=""><span class="tooltip underline decoration-dotted decoration-2 underline-offset-4 decoration-gray-400 dark:decoration-gray-500"><code>PUBLIC_BASE_URL</code></span></button></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đúng</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Người dùng nguồn gốc công cộng và IdP thấy (không có đường dẫn theo sau)</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_ISSUER_URL</code></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đúng</span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Nhà phát hành IdP (khám phá tại </span><code>/.well-known/openid-configuration</code><span dir="auto">)</span></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_CLIENT_ID</code></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đúng</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">ID máy khách OIDC</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_CLIENT_SECRET</code></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đúng</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">mã bí mật của máy khách OIDC</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_USER_REFERENCE_CLAIM</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Không (mặc định </span><code>sub</code><span dir="auto">)</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Thông tin xác nhận được sử dụng làm ID người dùng để xác định quyền sở hữu phiên.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_USER_DISPLAY_NAME_CLAIM</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Không (mặc định </span><code>name</code><span dir="auto">)</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Yêu cầu được sử dụng làm tên hiển thị của người dùng</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_USER_ROLE_CLAIM</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Không (mặc định </span><code>groups</code><span dir="auto">)</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Yêu cầu tư cách thành viên quản trị đã được kiểm tra.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_ADMIN_ROLE_VALUE</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Không (mặc định </span><code>admin</code><span dir="auto">)</span></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Chuỗi ký tự chính xác cấp quyền </span><code>admin</code><span dir="auto">(phân biệt chữ hoa chữ thường)</span></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_SCOPES</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Không (mặc định </span><code>openid,profile,email</code><span dir="auto">)</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Phạm vi của yêu cầu ủy quyền</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>OIDC_ALLOWED_EMAILS</code></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">KHÔNG</span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Danh sách cho phép các email chính xác và/hoặc </span><code>*</code><span dir="auto">các mẫu ký tự đại diện (ví dụ: </span><code>alice@acme.com,*@partner.com</code><span dir="auto">) được phân tách bằng dấu phẩy. Khi được thiết lập, chỉ các mã định danh có </span><code>email</code><span dir="auto">thông tin xác thực khớp với một mục nhập mới được phép đăng nhập. Để trống / không được thiết lập = không bị hạn chế. Việc so khớp không phân biệt chữ hoa chữ thường.</span></span></td>
</tr>
</tbody>
</table>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Cách bạn truyền các tham số này phụ thuộc vào cách bạn chạy TrueForge:</span></p>
<h3><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 20px;">3. Đăng nhập và xác minh vai trò</span></strong></h3>
<ol>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mở giao diện người dùng &#8211; bạn sẽ được chuyển hướng đến trang đăng nhập IdP của mình.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Sau khi đăng nhập, hãy xác nhận rằng quản trị viên mới thấy </span><strong><span dir="auto">phần Cài đặt</span></strong><span dir="auto">, còn người dùng không phải quản trị viên thì không.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Nếu ai đó mong đợi quyền quản trị nhưng lại nhận được quyền khác </span><code>user</code><span dir="auto">, hãy giải mã mã định danh của họ và kiểm tra giá trị yêu cầu vai trò (phải khớp chính xác, phân biệt chữ hoa chữ thường). Hãy đăng xuất và đăng nhập lại sau bất kỳ thay đổi nào về yêu cầu của nhà cung cấp danh tính.</span></span></li>
</ol>
<h2 id="roles-admin-vs-user" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Vai trò: quản trị viên so với người dùng</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Mỗi người dùng đã đăng nhập tương ứng với chính xác một vai trò, được xác định bởi thông tin vai trò trong mã định danh của họ.</span></span></p>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_v3_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Vai trò</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Ai</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Có thể trò chuyện và sử dụng trợ lý ảo.</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Có thể thay đổi cài đặt</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">quản trị viên</span></strong></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Yêu cầu vai trò chứa</span><code>OIDC_ADMIN_ROLE_VALUE</code></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đúng</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đúng vậy — mô hình, trình kết nối, kỹ năng, hộp cát</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">người dùng</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tất cả những người khác có thể đăng nhập</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đúng</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không — Cài đặt bị ẩn</span></td>
</tr>
</tbody>
</table>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Để gọi API HTTP hoặc SDK đối với máy chủ có bật tính năng đăng nhập, hãy truyền mã định danh &#8211; xem </span><a class="link" href="https://trueforge.dev/api/quickstart#get-a-token-and-connect" target="_blank" rel="noopener"><span dir="auto">phần Lấy mã và kết nối</span></a><span dir="auto">.</span></span></p>
<h2 id="troubleshooting" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="min-w-0 break-words cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Khắc phục sự cố</span></span></strong></h2>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_v4_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Triệu chứng</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nguyên nhân có thể xảy ra</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>no_matching_policy</code><span dir="auto">/ Đánh giá chính sách thất bại</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Chính sách truy cập máy chủ ủy quyền không bao gồm máy khách, quyền cấp phép, phạm vi hoặc người dùng này (Okta).</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>You are not allowed to access this app</code></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Người dùng chưa được chỉ định cho ứng dụng hoặc chính sách đăng nhập của ứng dụng từ chối cho phép họ đăng nhập.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><code>invalid client secret</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Ứng dụng này là ứng dụng SPA/công khai — hãy tạo lại nó thành một ứng dụng </span><strong><span dir="auto">web</span></strong><span dir="auto"> (bí mật) với mã bí mật của khách hàng.</span></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Màn hình xác thực trống khi yêu cầu</span><code>groups</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Máy chủ ủy quyền tùy chỉnh thiếu </span><code>groups</code><span dir="auto">thông tin về phạm vi và/hoặc nhóm mã định danh (Okta)</span></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Đăng nhập thành công nhưng mọi người đều&#8230;</span><code>role: "user"</code></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Thông tin nhóm/vai trò bị thiếu trong mã định danh, tên yêu cầu không chính xác hoặc giá trị quản trị không khớp (phân biệt chữ hoa chữ thường)</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">SDK trả về</span><code>401</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">OIDC đang hoạt động và yêu cầu không có </span><a class="link" href="https://trueforge.dev/api/quickstart#get-a-token-and-connect" target="_blank" rel="noopener"><span dir="auto">mã định danh</span></a><span dir="auto"> hoặc cookie phiên.</span></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Đăng nhập thất bại với lỗi </span><code>login_failed</code><span dir="auto">/ API trả về </span><code>401</code><span dir="auto">sau khi triển khai danh sách cho phép.</span></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Yêu cầu của người gọi </span><code>email</code><span dir="auto">nằm ngoài phạm vi cho phép </span><code>OIDC_ALLOWED_EMAILS</code><span dir="auto">, hoặc mã định danh không có </span><code>email</code><span dir="auto">yêu cầu nào trong khi danh sách cho phép được thiết lập. Các lỗi vẫn giữ nguyên tính chất chung chung để danh sách cho phép không được tiết lộ.</span></span></td>
</tr>
</tbody>
</table>
<h2 id="security-checklist" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Danh sách kiểm tra an ninh</span></span></strong></h2>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Lưu trữ </span><code>OIDC_CLIENT_SECRET</code><span dir="auto">trong trình quản lý bí mật; đừng bao giờ tiết lộ nó.</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không nên để lộ triển khai không có OIDC trên mạng internet công cộng.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Hãy ghi lại URL gọi lại chính xác mà người dùng của bạn truy cập (scheme + host).</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2396</post-id>	</item>
		<item>
		<title>So sánh hiệu suất</title>
		<link>https://truelabai.net/knowledge-base/so-sanh-hieu-suat/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Wed, 14 Oct 2026 09:01:17 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2392</guid>

					<description><![CDATA[So sánh TrueForge với Claude Managed Agents và deepagents về cùng các tác vụ, công cụ và mô hình &#8211; và cách tái hiện sự khác biệt này. Chúng tôi đã so sánh hiệu năng của TrueForge với hai giải&#8230;&#160;<a href="https://truelabai.net/knowledge-base/so-sanh-hieu-suat/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">So sánh TrueForge với Claude Managed Agents và deepagents về cùng các tác vụ, công cụ và mô hình &#8211; và cách tái hiện sự khác biệt này.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Benchmarking" data-page-href="/benchmarking"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Chúng tôi đã so sánh hiệu năng của TrueForge với hai giải pháp thay thế khác &#8211; </span><strong><span dir="auto">Claude Managed Agents (hệ thống đóng) và </span></strong><strong><span dir="auto">deepagents</span></strong><span dir="auto"> (LangGraph) (mã nguồn mở ) &#8211; trên cùng 14 tác vụ cấp doanh nghiệp, với cùng các công cụ và cùng mô hình. Độ chính xác tương đương, chi phí thấp hơn:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Rẻ hơn khoảng 30% so với dịch vụ quản lý đại lý của Claude</span></strong><span dir="auto"> trên cùng một mô hình (Opus 4.8).</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Rẻ hơn khoảng 2,5 lần so với DeepAgents</span></strong><span dir="auto"> trên cùng một mô hình.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Chi phí vận hành thấp hơn khoảng 75%</span></strong><span dir="auto"> khi sử dụng mô hình mã nguồn mở hiệu quả </span><strong><span dir="auto">GLM-5.2</span></strong><span dir="auto"> , mà chất lượng vẫn tương đương.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><img fetchpriority="high" decoding="async" class="aligncenter wp-image-4241 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero.jpg" alt="" width="2160" height="2160" srcset="https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero.jpg 2160w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-300x300.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-1024x1024.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-150x150.jpg 150w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-768x768.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-1536x1536.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-2048x2048.jpg 2048w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-270x270.jpg 270w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-600x600.jpg 600w, https://truelabai.net/wp-content/uploads/2023/10/evaluation-hero-100x100.jpg 100w" sizes="(max-width: 2160px) 100vw, 2160px" /></span></p>
<h2 id="what-we-measured" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Những gì chúng tôi đã đo lường</span></span></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Chúng tôi sử dụng </span><strong><span dir="auto">các tác vụ L1-L2 từ </span><a class="link" href="https://x.com/devrev/status/2075815567458734468" target="_blank" rel="noopener noreferrer"><span dir="auto">Enterprise-Bench của DevRev</span></a></strong><span dir="auto"> &#8211; 14 tác vụ liên hệ giữa các hệ thống, mô phỏng công việc vận hành B2B thực tế trên các bộ phận kỹ thuật, bán hàng và hỗ trợ. Mỗi tác vụ yêu cầu nhân viên kết nối dữ liệu trên ba máy chủ MCP: một hệ thống CRM (kiểu Salesforce), một hệ thống theo dõi dự án (kiểu Jira) và một kho lưu trữ tài liệu (kiểu Drive).</span></span><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" href="https://trueforge.dev/benchmarking#how-we-measured" aria-label="Điều hướng đến tiêu đề" target="_blank" rel="noopener"><span dir="auto">​</span></a></span></p>
<h2 id="how-we-measured" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Cách chúng tôi đo lường</span></span></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Mỗi bộ khung kiểm thử đều chạy </span><strong><span dir="auto">cùng một mô hình, cùng ba máy chủ MCP và cùng một dấu nhắc hệ thống</span></strong><span dir="auto">, với mỗi tác vụ được thực hiện trong một phiên mới và không có gì được chuyển tiếp từ phiên trước. Chúng tôi thực hiện </span><strong><span dir="auto">n = 3 lần thử nghiệm</span></strong><span dir="auto"> cho mỗi cấu hình và báo cáo giá trị trung bình.</span><span dir="auto">Các câu trả lời được chấm điểm bởi một giám khảo LLM độc lập, người chỉ xem xét các tiêu chí của bài tập và câu trả lời &#8211; chứ không bao giờ biết được bộ dây dẫn nào đã tạo ra câu trả lời đó &#8211; và một bài tập chỉ được coi là đạt nếu đáp ứng </span><strong><span dir="auto">mọi</span></strong><span dir="auto"> tiêu chí yêu cầu.</span></span></p>
<div class="absolute" tabindex="-1">
<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light">
<h2 id="results" class="flex whitespace-pre-wrap group font-semibold"><span class="min-w-0 break-words cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Kết quả</span></span></h2>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_vs_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Cấu hình</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đã giải quyết / 14</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">$ / chạy</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mã thông báo / lần chạy</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Claude Managed Agents · Opus 4.8</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">10.7</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">11,8 đô la</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">10.0 triệu</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">TrueForge · Opus 4.8</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">10.7</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">8,6 đô la</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3,7 triệu</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">TrueForge · GLM-5.2</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">11.7</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3 đô la</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3,8 triệu</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">deepagents · Opus 4.8</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">10.0</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">21,2 đô la</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">16,5 triệu</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">deepagents · GLM-5.2</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">12.0</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">9,1 đô la</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">11,9 triệu</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><code>Solved / 14</code><span dir="auto">là số lượng nhiệm vụ trung bình được hoàn thành trong mỗi lần thử (n = 3 lần thử cho mỗi cấu hình).</span></span></div>
<div>
<h3 id="per-task" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Theo nhiệm vụ</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Các nhiệm vụ được hoàn thành qua 3 lần thử nghiệm, theo từng cấu hình:</span></span></p>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true" data-has-overflow-x="" data-overflow-x-end="">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="0" role="region" data-id="base-ui-_r_vt_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn" data-has-overflow-x="" data-overflow-x-end="">
<div class="flex" role="presentation" data-component-part="scroll-area-content" data-has-overflow-x="" data-overflow-x-end="">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nhiệm vụ</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">CMA · Opus</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">TrueForge · Opus</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">TrueForge · GLM-5.2</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">deepagents · Opus</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">deepagents · GLM-5.2</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">eng-l1-a</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">1/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">eng-l1-b</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">eng-l1-c</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">1/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">eng-l2-a</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">1/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">1/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">eng-l2-b</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">1/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">1/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">2/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">doanh số-l1-a</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">2/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">doanh số-l2-a</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">1/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">doanh số-l2-b</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">doanh số-l2-c</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">doanh số-l2-d</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">hỗ trợ-l1-a</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">hỗ trợ-l1-b</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">hỗ trợ-l1-c</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">2/3</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">hỗ trợ-l2-a</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">2/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">0/3</span></td>
<td data-numeric="true"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">3/3</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Trung bình / 14</span></strong></span></td>
<td data-numeric="true"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">10.7</span></strong></span></td>
<td data-numeric="true"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">10.7</span></strong></span></td>
<td data-numeric="true"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">11.7</span></strong></span></td>
<td data-numeric="true"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">10.0</span></strong></span></td>
<td data-numeric="true"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">12.0</span></strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<h2 id="why-it-was-cheaper" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Vì sao nó rẻ hơn?</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Phần lớn chi phí trong một lần chạy tác nhân nằm ở vòng lặp, chứ không phải câu trả lời cuối cùng &#8211; mỗi lần công cụ thực hiện đều gửi ngữ cảnh ngày càng tăng trở lại mô hình. TrueForge giữ cho vòng lặp đó gọn nhẹ:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Ngữ cảnh được đơn giản hóa trong mỗi lượt.</span></strong><span dir="auto"> Nó hoạt động dựa trên hướng dẫn ngắn gọn thay vì cấu trúc phức tạp; deepagents cũng tích hợp lập kế hoạch, hệ thống tập tin ảo và cơ chế tác nhân phụ trong mỗi lượt.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Số lần gọi công cụ ít hơn.</span></strong><span dir="auto"> Nó lên kế hoạch thực hiện ít lần gọi công cụ nhất trong ba công cụ để đạt được kết quả tương tự &#8211; 19 lần gọi cho mỗi tác vụ, so với 32 và 40 lần gọi của các công cụ khác.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><a class="link" href="https://trueforge.dev/key-features/overview#context-compaction" target="_blank" rel="noopener"><span dir="auto">Phương pháp này nén dữ liệu</span></a><span dir="auto"> thay vì phát lại.</span></strong><span dir="auto"> Nó cắt bớt lịch sử và</span><a class="link" href="https://trueforge.dev/key-features/large-tool-responses" target="_blank" rel="noopener"><span dir="auto"> giảm tải các phản hồi lớn từ công cụ</span></a><span dir="auto"> thay vì gửi lại mọi thứ nguyên văn; deepagents đọc lại ngữ cảnh đã tích lũy từng bước một, đó là lý do tại sao nó cần số lượng token gấp ba đến bốn lần cho cùng một tác vụ.</span></span></li>
</ul>
</div>
</div>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2392</post-id>	</item>
		<item>
		<title>Tạo một tác nhân</title>
		<link>https://truelabai.net/knowledge-base/tao-mot-tac-nhan/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Mon, 12 Oct 2026 08:34:38 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2584</guid>

					<description><![CDATA[Mọi tùy chọn trên một tác nhân, những gì giao diện người dùng hiện tại cung cấp và cách thiết lập phần còn lại thông qua API. Một agent là một định nghĩa đã được lưu và có thể tái&#8230;&#160;<a href="https://truelabai.net/knowledge-base/tao-mot-tac-nhan/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mọi tùy chọn trên một tác nhân, những gì giao diện người dùng hiện tại cung cấp và cách thiết lập phần còn lại thông qua API.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Create an Agent" data-page-href="/create-agent/overview"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Một agent là một định nghĩa đã được lưu và có thể tái sử dụng: một mô hình, các hướng dẫn, các công cụ và kỹ năng mà nó có thể sử dụng, và một tập hợp các hành vi trong thời gian chạy. Bạn xây dựng một agent trên trang </span><strong><span dir="auto">Xây dựng Agent</span></strong><span dir="auto"> hoặc thông qua </span><a class="link" href="https://trueforge.dev/api/overview" target="_blank" rel="noopener"><span dir="auto">SDK</span></a><span dir="auto"> &#8211; bằng cả hai cách, TrueForge đều lưu trữ cùng một </span><strong><span dir="auto">thông số kỹ thuật agent</span></strong><span dir="auto">, và bất kỳ số lượng cuộc hội thoại nào cũng có thể chạy với agent đó.</span></span></p>
<ul>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Giải thích chi tiết về vai trò của một người môi giới – mọi lựa chọn<strong><a class="link" href="https://trueforge.dev/create-agent/overview#what%E2%80%99s-in-an-agent" target="_blank" rel="noopener"> có trong dịch vụ.</a></strong></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><a class="link" href="https://trueforge.dev/create-agent/overview#create-an-agent-via-the-ui" target="_blank" rel="noopener"><span dir="auto">Tạo tài khoản đại lý thông qua giao diện người dùng</span></a></strong><span dir="auto"> — các tùy chọn hiện có trong giao diện người dùng.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><a class="link" href="https://trueforge.dev/create-agent/overview#create-an-agent-via-the-api" target="_blank" rel="noopener"><span dir="auto">Tạo một agent thông qua API</span></a></strong><span dir="auto"> &#8211; thông số kỹ thuật đầy đủ của agent, bao gồm mọi trường thông tin.</span></span></li>
</ul>
<h2 id="what’s-in-an-agent" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Một người đại diện bao gồm những gì?</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Mỗi tùy chọn bên dưới là một phần của định nghĩa tác nhân. Dòng </span><strong><span dir="auto">&#8220;Đặt trong</span></strong><span dir="auto"> &#8221; trên mỗi tùy chọn cho biết nơi bạn có thể cấu hình nó hiện tại &#8211; </span><strong><span dir="auto">giao diện người dùng</span></strong><span dir="auto"> trò chuyện, </span><strong><span dir="auto">API</span></strong><span dir="auto"> hoặc cả hai.</span></span></p>
<h2 id="create-an-agent-via-the-ui" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Tạo một tác nhân thông qua giao diện người dùng</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Mở </span><strong><span dir="auto">Build Agent</span></strong><span dir="auto"> từ thanh bên. Bảng </span><strong><span dir="auto">Agent Config</span></strong><span dir="auto"> ở bên trái là nơi bạn thiết lập tác nhân; khung chat ở bên phải cho phép bạn kiểm tra tác nhân trong quá trình thiết lập.</span></span></p>
<ol>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Chọn một mô hình</span></strong><span dir="auto"> từ các nhà cung cấp mà bạn đã cấu hình trong </span><strong><span dir="auto">Cài đặt → Mô hình</span></strong><span dir="auto">, và đặt mức độ nỗ lực suy luận của nó.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Hãy viết </span><strong><span dir="auto">hướng dẫn</span></strong><span dir="auto"> cụ thể &#8211; về vai trò, đối tượng và hành vi.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Thêm máy chủ MCP</span></strong><span dir="auto"> &#8211; mở </span><strong><span dir="auto">Chọn Công cụ MCP</span></strong><span dir="auto">, chọn các máy chủ mà tác nhân nên sử dụng và chọn công cụ nào của chúng để kích hoạt. Sử dụng biểu tượng khiên trên một công cụ để yêu cầu </span><strong><span dir="auto">phê duyệt trước khi chạy &#8211; các công cụ phá hoại được kiểm soát theo mặc định. Đặt công tắc </span></strong><strong><span dir="auto">tải trước</span></strong><span dir="auto"> của máy chủ trên chip của nó để tải các công cụ của nó trước.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Thêm kỹ năng</span></strong><span dir="auto"> nếu nhân viên cần tuân theo các quy trình chuyên biệt (yêu cầu bật chế độ </span><a class="link" href="https://trueforge.dev/sandbox" target="_blank" rel="noopener"><span dir="auto">sandbox</span></a><span dir="auto"> ).</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Mở </span><strong><span dir="auto">Cấu hình Thời gian chạy</span></strong><span dir="auto"> để xem xét quá trình thực thi và hành vi ngữ cảnh &#8211; Các tác nhân phụ động, Giao diện người dùng tạo sinh, Hỏi người dùng câu hỏi, hộp cát, giới hạn lặp lại và nén ngữ cảnh (tất cả đều được bật theo mặc định).</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Nhấp vào </span><strong><span dir="auto">Lưu Đặc vụ</span></strong><span dir="auto">, đặt tên và mô tả cho đặc vụ đó, rồi lưu lại. Đặc vụ này sau đó sẽ xuất hiện trong </span><a class="link" href="https://trueforge.dev/agent-library" target="_blank" rel="noopener"><span dir="auto">mục Đặc vụ</span></a><span dir="auto">.</span></span></li>
</ol>
<figure id="attachment_4212" aria-describedby="caption-attachment-4212" style="width: 2560px" class="wp-caption aligncenter"><img decoding="async" class="wp-image-4212 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/save-agent-scaled.jpg" alt="" width="2560" height="1463" srcset="https://truelabai.net/wp-content/uploads/2023/10/save-agent-scaled.jpg 2560w, https://truelabai.net/wp-content/uploads/2023/10/save-agent-300x171.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/save-agent-1024x585.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/save-agent-768x439.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/save-agent-1536x878.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/save-agent-2048x1171.jpg 2048w, https://truelabai.net/wp-content/uploads/2023/10/save-agent-360x206.jpg 360w, https://truelabai.net/wp-content/uploads/2023/10/save-agent-600x343.jpg 600w" sizes="(max-width: 2560px) 100vw, 2560px" /><figcaption id="caption-attachment-4212" class="wp-caption-text"></span> <span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Lưu một tác nhân có thể tái sử dụng từ trang Xây dựng tác nhân.</span></figcaption></figure>
</div>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Hiện có sẵn trong giao diện người dùng: </span><strong><span dir="auto">mô hình</span></strong><span dir="auto">, </span><strong><span dir="auto">hướng dẫn</span></strong><span dir="auto">, </span><strong><span dir="auto">máy chủ MCP</span></strong><span dir="auto"> (đính kèm, lựa chọn công cụ, phê duyệt công cụ, tải trước), </span><strong><span dir="auto">kỹ năng</span></strong><span dir="auto">, </span><strong><span dir="auto">hộp cát</span></strong><span dir="auto"> (bật/tắt và tải xuống tệp), </span><strong><span dir="auto">giới hạn lặp</span></strong><span dir="auto">, </span><strong><span dir="auto">nén ngữ cảnh</span></strong><span dir="auto">, và các </span><strong><span dir="auto">tác nhân phụ động</span></strong><span dir="auto">, </span><strong><span dir="auto">giao diện người dùng tạo sinh</span></strong><span dir="auto"> và các nút </span><strong><span dir="auto">chuyển đổi Hỏi người dùng câu hỏi</span></strong><span dir="auto">.</span></span></p>
<h2 id="create-an-agent-via-the-api" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Tạo tác nhân thông qua API</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">SDK và API HTTP hiển thị <strong>mọi</strong> tùy chọn thông qua <strong>đặc tả tác nhân. Bạn có thể lưu đặc tả này dưới dạng một tác nhân có tên, có thể tái sử dụng và tham </strong></span><a class="link" href="https://trueforge.dev/api/overview" target="_blank" rel="noopener"><span dir="auto">chiếu</span></a><span dir="auto"> nó bằng tên, hoặc truyền trực tiếp nó khi mở phiên. Tất cả các trường đều là kiểu dữ liệu null, và mọi trường ngoại trừ kiểu dữ liệu null đều có giá trị mặc định.</span><code>snake_case</code><code>model</code></span></p>
<ol>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Kết nối với máy khách: <span dir="auto">Khi bật </span><a class="link" href="https://trueforge.dev/authentication/overview" target="_blank" rel="noopener"><span dir="auto">đăng nhập OIDC, hãy truyền mã thông báo ID; xem </span></a><a class="link" href="https://trueforge.dev/api/quickstart#get-a-token-and-connect" target="_blank" rel="noopener"><span dir="auto">phần Lấy mã thông báo và kết nối</span></a><span dir="auto">. Khi tắt đăng nhập, hãy bỏ qua bước này </span><code>token</code><span dir="auto">.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Lưu cấu hình dưới dạng một tác nhân được đặt tên: <code>agents.create</code><span dir="auto">( </span><code>POST /api/v1/agents</code><span dir="auto">) lưu trữ thông số kỹ thuật dưới một tên duy nhất </span><code>name</code><span dir="auto">và trả về tác nhân với tên do máy chủ tạo ra </span><code>id</code><span dir="auto">. Tên này là bất biến và phải là duy nhất &#8211; nếu trùng lặp sẽ trả về </span><code>409</code><span dir="auto">. Tên </span><code>description</code><span dir="auto">này là bắt buộc.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mở một phiên chơi và luân phiên nhau: <span dir="auto">Tham chiếu đến tác nhân đã lưu theo tên, sau đó thực hiện một lượt chơi. Xem </span><a class="link" href="https://trueforge.dev/api/use-agent" target="_blank" rel="noopener"><span dir="auto">Sử dụng tác nhân</span></a><span dir="auto"> để biết toàn bộ quy trình, bao gồm phê duyệt và câu hỏi.</span></span></li>
</ol>
<h3 id="the-full-agent-spec" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Thông số kỹ thuật đầy đủ của đại lý</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Những gì </span><code>manifest</code><span dir="auto">bạn lưu (hoặc nội tuyến </span><code>spec</code><span dir="auto">) là thông số kỹ thuật của tác nhân bên dưới &#8211; mọi trường, với các giá trị mặc định.</span></span></p>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Cột </span><strong><span dir="auto">&#8220;Thiết lập thông qua</span></strong><span dir="auto"> &#8221; trên mỗi bảng bên dưới cho biết trường đó hiện có thể được cấu hình thông qua giao diện người dùng ( </span><strong><span dir="auto">UI)</span></strong><span dir="auto"> , </span><strong><span dir="auto">API</span></strong><span dir="auto"> hoặc cả hai.</span></span></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2584</post-id>	</item>
		<item>
		<title>Agents</title>
		<link>https://truelabai.net/knowledge-base/agents/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Mon, 12 Oct 2026 08:28:26 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2572</guid>

					<description><![CDATA[Tìm kiếm, chỉnh sửa và thử nghiệm các tác nhân đã lưu từ một nơi duy nhất. Agents là nơi lưu trữ các agent đã lưu. Mở mục này từ thanh bên để tìm kiếm các agent đã lưu, bắt&#8230;&#160;<a href="https://truelabai.net/knowledge-base/agents/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tìm kiếm, chỉnh sửa và thử nghiệm các tác nhân đã lưu từ một nơi duy nhất.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Agents" data-page-href="/agent-library"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><strong><span dir="auto">Agents</span></strong><span dir="auto"> là nơi lưu trữ các agent đã lưu. Mở mục này từ thanh bên để tìm kiếm các agent đã lưu, bắt đầu cuộc trò chuyện với </span><strong><span dir="auto">chức năng &#8220;Thử&#8221;</span></strong><span dir="auto"> hoặc quản lý agent từ menu hàng của nó. Mỗi hàng tóm tắt mô hình, kỹ năng và các kết nối của agent.</span></span></div>
<div data-page-title="Agents" data-page-href="/agent-library">
<figure id="attachment_4216" aria-describedby="caption-attachment-4216" style="width: 2560px" class="wp-caption aligncenter"><img decoding="async" class="wp-image-4216 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/agents-library-scaled.jpg" alt="" width="2560" height="1463" srcset="https://truelabai.net/wp-content/uploads/2023/10/agents-library-scaled.jpg 2560w, https://truelabai.net/wp-content/uploads/2023/10/agents-library-300x171.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/agents-library-1024x585.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/agents-library-768x439.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/agents-library-1536x878.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/agents-library-2048x1171.jpg 2048w, https://truelabai.net/wp-content/uploads/2023/10/agents-library-360x206.jpg 360w, https://truelabai.net/wp-content/uploads/2023/10/agents-library-600x343.jpg 600w" sizes="(max-width: 2560px) 100vw, 2560px" /><figcaption id="caption-attachment-4216" class="wp-caption-text"></span> <span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Các cộng tác viên: tìm kiếm các cộng tác viên đã lưu và bắt đầu trò chuyện với Try.</span></figcaption></figure>
<p><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Từ trang này, bạn có thể:</span></span></strong></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tìm kiếm</span></strong><span dir="auto"> đại lý theo tên</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Hãy thử</span></strong><span dir="auto"> liên hệ với một nhân viên hỗ trợ để bắt đầu phiên trò chuyện.</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mở menu hàng để chỉnh sửa một tác nhân (mô hình, công cụ, kỹ năng và hướng dẫn của tác nhân trong Build Agent) hoặc quản lý tác nhân đó.</span></li>
</ul>
<div class="absolute" tabindex="-1"><span style="color: #222222; font-family: arial, helvetica, sans-serif; font-size: 16px; font-weight: bold;">Khả năng hiển thị và truy cập (chế độ lưu trữ)</span></div>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Ở </span><strong><span dir="auto">chế độ lưu trữ</span></strong><span dir="auto"> với </span><a class="link" href="https://trueforge.dev/authentication/overview" target="_blank" rel="noopener"><span dir="auto">tính năng đăng nhập</span></a><span dir="auto"> được bật, TrueForge hiện </span><strong><span dir="auto">chưa</span></strong><span dir="auto"> giới hạn phạm vi thư viện tác nhân theo người dùng hoặc nhóm.</span></span></p>
<div class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-yellow-200 bg-yellow-50 dark:border-yellow-900 dark:bg-yellow-600/20 [&amp;_[data-component-part='callout-icon']]:mt-px" role="note" aria-label="Cảnh báo" data-callout-type="warning">
<div class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-yellow-800 dark:text-yellow-300" data-component-part="callout-content"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Lịch sử phiên vẫn giới hạn trong phạm vi người dùng (mỗi người dùng chỉ thấy các cuộc trò chuyện của riêng họ). Các cài đặt (mô hình, trình kết nối, kỹ năng, hộp cát) vẫn </span><strong><span dir="auto">chỉ dành cho quản trị viên</span></strong><span dir="auto"> khi OIDC được bật. Thư viện tác nhân hiện đang mở cho tất cả người dùng đã xác thực trên máy chủ đó.</span><span dir="auto">Ở </span><strong><span dir="auto">chế độ cục bộ</span></strong><span dir="auto"> (danh tính dùng chung duy nhất), chỉ có một người dùng, do đó mô hình thư viện dùng chung vẫn được áp dụng theo định nghĩa.</span></span></div>
</div>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2572</post-id>	</item>
		<item>
		<title>Sessions</title>
		<link>https://truelabai.net/knowledge-base/sessions/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Mon, 12 Oct 2026 08:16:37 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2568</guid>

					<description><![CDATA[Xem lại các lần chạy của tác nhân trước đó: lượt chơi, lệnh gọi công cụ, tác nhân phụ, mã thông báo và thời gian. Sessions ghi lại mọi cuộc hội thoại với đặc vụ. Mở nó từ thanh bên&#8230;&#160;<a href="https://truelabai.net/knowledge-base/sessions/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Xem lại các lần chạy của tác nhân trước đó: lượt chơi, lệnh gọi công cụ, tác nhân phụ, mã thông báo và thời gian.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Sessions" data-page-href="/sessions"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><strong><span dir="auto">Sessions</span></strong><span dir="auto"> ghi lại mọi cuộc hội thoại với đặc vụ. Mở nó từ thanh bên để xem đặc vụ đã làm gì trong một ca làm việc, mỗi lượt kéo dài bao lâu, đã sử dụng công cụ và </span><a class="link" href="https://trueforge.dev/key-features/subagents" target="_blank" rel="noopener"><span dir="auto">đặc vụ phụ</span></a><span dir="auto"> nào , và lỗi xảy ra ở đâu.</span></span></p>
<h2 id="the-sessions-list" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Danh sách các phiên</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Mọi phiên được liệt kê theo thứ tự mới nhất trước. Mỗi hàng hiển thị thông báo mở đầu, thời gian chạy, số lượt đã thực hiện và tổng thời lượng. Sử dụng bộ lọc </span><strong><span dir="auto">tác nhân</span></strong><span dir="auto"> và </span><strong><span dir="auto">khung thời gian</span></strong><span dir="auto"> ở trên cùng (mặc định là 30 ngày gần đây) để thu hẹp danh sách xuống hoạt động gần đây hoặc xuống một tác nhân cụ thể.</span><span dir="auto">Các lần chạy được bắt đầu theo </span><a class="link" href="https://trueforge.dev/schedules" target="_blank" rel="noopener"><span dir="auto">lịch trình</span></a><span dir="auto"> cũng xuất hiện ở đây, được đánh dấu là &#8221; </span><strong><span dir="auto">Chạy theo lịch trình&#8221;</span></strong><span dir="auto"> và hiển thị tác vụ đã chạy.</span></span></div>
<div data-page-title="Sessions" data-page-href="/sessions">
<figure id="attachment_4218" aria-describedby="caption-attachment-4218" style="width: 2560px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="wp-image-4218 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/sessions-list-scaled.jpg" alt="" width="2560" height="1463" srcset="https://truelabai.net/wp-content/uploads/2023/10/sessions-list-scaled.jpg 2560w, https://truelabai.net/wp-content/uploads/2023/10/sessions-list-300x171.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/sessions-list-1024x585.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/sessions-list-768x439.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/sessions-list-1536x878.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/sessions-list-2048x1171.jpg 2048w, https://truelabai.net/wp-content/uploads/2023/10/sessions-list-360x206.jpg 360w, https://truelabai.net/wp-content/uploads/2023/10/sessions-list-600x343.jpg 600w" sizes="(max-width: 2560px) 100vw, 2560px" /><figcaption id="caption-attachment-4218" class="wp-caption-text"></span> <span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Phiên hoạt động của đặc vụ: các lần chạy gần đây với số lượt và thời lượng, có thể lọc theo đặc vụ và khung thời gian.</span></figcaption></figure>
<h2 id="session-detail" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Chi tiết phiên</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Nhấp vào một phiên để mở nó. Chế độ xem chi tiết có ba phần.</span></span></p>
<h3 id="summary-metrics" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Các chỉ số tóm tắt</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Một hàng tổng hợp cho toàn bộ phiên: </span><strong><span dir="auto">Lượt</span></strong><span dir="auto">, </span><strong><span dir="auto">Thời lượng</span></strong><span dir="auto">, </span><strong><span dir="auto">Mã thông báo</span></strong><span dir="auto">, </span><strong><span dir="auto">Ngữ cảnh</span></strong><span dir="auto">, Số </span><strong><span dir="auto">lần gọi công cụ</span></strong><span dir="auto">, </span><strong><span dir="auto">Tác nhân phụ</span></strong><span dir="auto"> và </span><strong><span dir="auto">Lỗi</span></strong><span dir="auto">. Nó tóm tắt quá trình chạy một cách nhanh chóng.</span></span></p>
<h3 id="event-timeline" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Dòng thời gian sự kiện</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Một dòng thời gian thể hiện toàn bộ quá trình chạy, được tô màu theo loại sự kiện, chẳng hạn như </span><strong><span dir="auto">Hệ thống</span></strong><span dir="auto">, </span><strong><span dir="auto">Người dùng</span></strong><span dir="auto">, </span><strong><span dir="auto">Mô hình</span></strong><span dir="auto">, </span><strong><span dir="auto">Cuộc gọi công cụ</span></strong><span dir="auto"> và </span><strong><span dir="auto">Tác nhân phụ</span></strong><span dir="auto">. Nó cho thấy thời gian của quá trình chạy đã được sử dụng như thế nào, do đó dễ dàng nhận biết được một cuộc gọi mô hình chậm, một công cụ chạy lâu hoặc các tác nhân phụ chạy song song.</span></span></p>
<h3 id="turn-by-turn-transcript" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Bản ghi chép từng bước</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Bên dưới dòng thời gian, mỗi lượt chơi được liệt kê với số lượng token và thời lượng riêng, thông báo của người dùng và mục &#8221; </span><strong><span dir="auto">Các bước của tác nhân&#8221;</span></strong><span dir="auto"> mà bạn có thể mở rộng để xem các cuộc gọi công cụ mà tác nhân đã thực hiện và cách chúng được giải quyết. </span><span dir="auto">Cả hai công cụ này cùng nhau giúp dễ dàng xác định chính xác vị trí xảy ra lỗi trong quá trình vận hành, cho dù đó là do thao tác bị hủy, </span><a class="link" href="https://trueforge.dev/mcp-servers" target="_blank" rel="noopener"><span dir="auto">máy chủ MCP</span></a><span dir="auto"> gặp lỗi hay công cụ không trả về kết quả hữu ích nào.</span></span></p>
<figure id="attachment_4220" aria-describedby="caption-attachment-4220" style="width: 2500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="wp-image-4220 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/sessions-detail.jpg" alt="" width="2500" height="1429" srcset="https://truelabai.net/wp-content/uploads/2023/10/sessions-detail.jpg 2500w, https://truelabai.net/wp-content/uploads/2023/10/sessions-detail-300x171.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/sessions-detail-1024x585.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/sessions-detail-768x439.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/sessions-detail-1536x878.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/sessions-detail-2048x1171.jpg 2048w, https://truelabai.net/wp-content/uploads/2023/10/sessions-detail-360x206.jpg 360w, https://truelabai.net/wp-content/uploads/2023/10/sessions-detail-600x343.jpg 600w" sizes="(max-width: 2500px) 100vw, 2500px" /><figcaption id="caption-attachment-4220" class="wp-caption-text"></span> <span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Phiên họp đã được mở để kiểm tra: các số liệu tóm tắt, diễn biến sự kiện và bản ghi chi tiết từng lượt diễn biến.</span></figcaption></figure>
<h2 id="resuming-a-run" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Tiếp tục chạy</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Mỗi phiên đều có một </span><strong><span dir="auto">ID phiên</span></strong><span dir="auto"> có thể sao chép, và phần tiêu đề chi tiết có một nút để </span><strong><span dir="auto">tiếp tục</span></strong><span dir="auto"> phiên, nút này sẽ mở lại cuộc trò chuyện để bạn có thể tiếp tục.</span></span></p>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2568</post-id>	</item>
		<item>
		<title>Lịch trình</title>
		<link>https://truelabai.net/knowledge-base/lich-trinh/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Mon, 12 Oct 2026 08:09:31 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2564</guid>

					<description><![CDATA[Chạy một tác vụ đã lưu theo chu kỳ định kỳ, tự động, và xem lại mỗi lần chạy. Lịch trình sẽ tự động chạy một tác vụ đã lưu theo chu kỳ định kỳ, mà không cần sự can&#8230;&#160;<a href="https://truelabai.net/knowledge-base/lich-trinh/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Chạy một tác vụ đã lưu theo chu kỳ định kỳ, tự động, và xem lại mỗi lần chạy.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Schedules" data-page-href="/schedules"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><strong><span dir="auto">Lịch trình</span></strong><span dir="auto"> sẽ tự động chạy một tác vụ đã lưu theo chu kỳ định kỳ, mà không cần sự can thiệp của người dùng. Mỗi lần chạy sẽ gửi cùng một tác vụ đến tác vụ đó, thực thi trên máy chủ và được ghi lại dưới dạng một </span><a class="link" href="https://trueforge.dev/sessions" target="_blank" rel="noopener"><span dir="auto">phiên làm việc</span></a><span dir="auto"> mà bạn có thể mở sau này. Hãy sử dụng chúng cho các công việc định kỳ như tóm tắt hàng ngày, báo cáo định kỳ hoặc kiểm tra thường xuyên.</span></span></p>
<h2 id="before-you-start" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Trước khi bạn bắt đầu</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Lịch trình sẽ chạy một </span><strong><span dir="auto">tác vụ đã được lưu sẵn</span></strong><span dir="auto">, vì vậy </span><a class="link" href="https://trueforge.dev/create-agent/overview" target="_blank" rel="noopener"><span dir="auto">hãy tạo tác vụ</span></a><span dir="auto"> trước. Tác vụ sẽ nhận cùng một nhiệm vụ trong mỗi lần chạy, vì vậy các hướng dẫn và công cụ của nó nên đã bao gồm công việc đó.</span></span></div>
<div data-page-title="Schedules" data-page-href="/schedules">
<h2 id="creating-a-schedule" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Lập lịch trình</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Mở </span><strong><span dir="auto">mục Lịch trình</span></strong><span dir="auto"> từ thanh bên và nhấp vào </span><strong><span dir="auto">Tạo lịch trình</span></strong><span dir="auto">. Điền vào các thông tin sau:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Agent</span></strong><span dir="auto">: tác nhân đã được lưu để chạy.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tên</span></strong><span dir="auto">: nhãn cho lịch trình.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Nhiệm vụ</span></strong><span dir="auto">: tin nhắn được gửi đến tác nhân trong mỗi lần chạy. Hãy viết nó như tin nhắn đầu tiên trong một cuộc trò chuyện, ví dụ: “Tóm tắt những tin tức quan trọng nhất về AI trong 24 giờ qua và liệt kê năm mục hàng đầu kèm theo liên kết.”</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tần suất</span></strong><span dir="auto">: </span><strong><span dir="auto">Hàng giờ</span></strong><span dir="auto">, </span><strong><span dir="auto">Hàng ngày</span></strong><span dir="auto"> hoặc </span><strong><span dir="auto">Hàng tuần</span></strong><span dir="auto">, kèm theo giờ, phút và </span><strong><span dir="auto">múi giờ</span></strong><span dir="auto"> cần chạy. Biểu mẫu sẽ hiển thị trước kết quả, ví dụ như “Hàng ngày 9:00 sáng” theo múi giờ của bạn.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Nhấp vào </span><strong><span dir="auto">Lưu</span></strong><span dir="auto">. Lịch trình sẽ được kích hoạt và chạy theo nhịp độ đã thiết lập.</span></span></div>
<div data-page-title="Schedules" data-page-href="/schedules">
<figure id="attachment_4223" aria-describedby="caption-attachment-4223" style="width: 2500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="wp-image-4223 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/schedules-create.jpg" alt="" width="2500" height="1429" srcset="https://truelabai.net/wp-content/uploads/2023/10/schedules-create.jpg 2500w, https://truelabai.net/wp-content/uploads/2023/10/schedules-create-300x171.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/schedules-create-1024x585.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/schedules-create-768x439.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/schedules-create-1536x878.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/schedules-create-2048x1171.jpg 2048w, https://truelabai.net/wp-content/uploads/2023/10/schedules-create-360x206.jpg 360w, https://truelabai.net/wp-content/uploads/2023/10/schedules-create-600x343.jpg 600w" sizes="(max-width: 2500px) 100vw, 2500px" /><figcaption id="caption-attachment-4223" class="wp-caption-text"></span> <span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tạo lịch trình: chọn một tác nhân đã lưu, viết nhiệm vụ và thiết lập tần suất cũng như múi giờ.</span></figcaption></figure>
<h2 id="how-runs-work" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Cách thức hoạt động của các lượt chạy</span></span></strong></h2>
<ul>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mỗi lần chạy sẽ bắt đầu một phiên mới, gửi nhiệm vụ cho tác nhân và kết thúc khi tác nhân hoàn thành nhiệm vụ đó.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Mỗi lần chạy được ghi lại dưới dạng một </span><a class="link" href="https://trueforge.dev/sessions" target="_blank" rel="noopener"><span dir="auto">phiên</span></a><span dir="auto">, được đánh dấu là &#8221; </span><strong><span dir="auto">Lần chạy theo lịch trình&#8221;</span></strong><span dir="auto">, vì vậy bạn có thể mở nó để đọc bản ghi, các lệnh gọi công cụ và kết quả.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Danh sách này hiển thị kết quả của </span><strong><span dir="auto">năm lượt chạy gần nhất</span></strong><span dir="auto"> cho mỗi lịch trình.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Sử dụng </span><strong><span dir="auto">chức năng &#8220;Chạy ngay&#8221;</span></strong><span dir="auto"> để kích hoạt quá trình chạy ngay lập tức, mà không cần chờ đến thời gian đã lên lịch tiếp theo.</span></span></li>
</ul>
<h2 id="managing-schedules" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Quản lý lịch trình</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Trang </span><strong><span dir="auto">Lịch trình tác vụ</span></strong><span dir="auto"> liệt kê mọi lịch trình với tác nhân, tần suất, trạng thái và các lần chạy gần đây. Từ đây bạn có thể:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tìm kiếm</span></strong><span dir="auto"> theo tên, hoặc lọc theo </span><strong><span dir="auto">trạng thái</span></strong><span dir="auto"> hoặc </span><strong><span dir="auto">người đại diện</span></strong><span dir="auto">.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tạm dừng</span></strong><span dir="auto"> lịch trình để dừng nó chạy và tiếp tục sau. Các lịch trình đã tạm dừng vẫn còn trong danh sách.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Chỉnh sửa</span></strong><span dir="auto"> nhiệm vụ, chu kỳ hoặc múi giờ của lịch trình.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Xóa</span></strong><span dir="auto"> lịch trình mà bạn không còn cần nữa.</span></span></li>
</ul>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Schedules" data-page-href="/schedules">
<h2 id="via-the-sdk" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Thông qua SDK</span></span></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Bạn có thể tạo và quản lý lịch trình bằng lập trình với </span><code>client.schedules</code><span dir="auto">. Xem </span><a class="link" href="https://trueforge.dev/api/use-agent#schedules" target="_blank" rel="noopener"><span dir="auto">Lịch trình trong SDK</span></a><span dir="auto">.</span></span></div>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2564</post-id>	</item>
		<item>
		<title>Kỹ năng</title>
		<link>https://truelabai.net/knowledge-base/ky-nang/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Mon, 12 Oct 2026 07:59:33 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2553</guid>

					<description><![CDATA[Đăng ký các gói hướng dẫn SKILL.md được hỗ trợ bởi Git từ danh mục đi kèm hoặc kho lưu trữ của riêng bạn. Kỹ năng dạy cho nhân viên cách thực hiện các nhiệm vụ chuyên biệt &#8211; truy&#8230;&#160;<a href="https://truelabai.net/knowledge-base/ky-nang/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đăng ký các gói hướng dẫn SKILL.md được hỗ trợ bởi Git từ danh mục đi kèm hoặc kho lưu trữ của riêng bạn.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Setup Skills" data-page-href="/skills">
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Kỹ năng dạy cho nhân viên cách thực hiện các nhiệm vụ chuyên biệt &#8211; truy vấn cơ sở dữ liệu, phân loại cảnh báo, tuân theo quy trình xử lý sự cố hoặc soạn thảo ghi chú phát hành.</span><span dir="auto">Kỹ năng là một </span><strong><span dir="auto">thư mục trong kho lưu trữ Git,</span></strong><span dir="auto"> có gốc là một </span><code>SKILL.md</code><span dir="auto">tệp. Đăng ký kỹ năng một lần trong </span><strong><span dir="auto">Cài đặt → Kỹ năng</span></strong><span dir="auto">, sau đó gắn chúng theo tên khi bạn </span><a class="link" href="https://trueforge.dev/create-agent/overview" target="_blank" rel="noopener"><span dir="auto">tạo tác nhân</span></a><span dir="auto">.</span></span></p>
<h2 id="registering-a-skill" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Đăng ký kỹ năng</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Mở </span><strong><span dir="auto">Cài đặt → Kỹ năng</span></strong><span dir="auto">, chọn một kỹ năng cơ bản từ danh mục hoặc thêm kho lưu trữ GitHub/GitLab của riêng bạn (URL, đường dẫn tùy chọn và tham chiếu). Ghim thẻ hoặc mã SHA của commit để đảm bảo tính ổn định khi sử dụng trong môi trường sản xuất.</span></span></p>
</div>
<div data-page-title="Setup Skills" data-page-href="/skills"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Các kỹ năng khởi đầu trong danh mục được lấy từ danh mục kỹ năng mặc định &#8211; xem </span><a class="link" href="https://trueforge.dev/harness/initial-setup#what-is-supported-out-of-the-box" target="_blank" rel="noopener"><span dir="auto">Thiết lập ban đầu</span></a><span dir="auto"> để biết cách thức hoạt động của danh mục và cách thay đổi những gì giao diện người dùng cung cấp.</span></span></div>
<h2 data-page-title="Setup Skills" data-page-href="/skills"><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 24px;">Kỹ năng bao gồm những gì?</span></strong></h2>
<div data-page-title="Setup Skills" data-page-href="/skills"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">customer-support-skill/</span><br />
<span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">├── SKILL.md</span><br />
<span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">├── references/</span><br />
<span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">│ └── escalation-policy.md</span><br />
<span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">└── scripts/</span><br />
<span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">└── classify_ticket.py</span></div>
<div data-page-title="Setup Skills" data-page-href="/skills">
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><code>SKILL.md</code><span dir="auto">Nó có phần đầu YAML ( </span><code>name</code><span dir="auto">, </span><code>description</code><span dir="auto">) và phần thân hướng dẫn bằng Markdown. Phần đầu </span><code>description</code><span dir="auto">là những gì người đại lý nhìn thấy ngay từ đầu; toàn bộ nội dung và các tệp hỗ trợ chỉ được tải khi người đại lý chọn kỹ năng ( </span><strong><span dir="auto">tiết lộ dần dần</span></strong><span dir="auto"> ).</span></span></p>
<h2 id="runtime-requirements" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Yêu cầu thời gian chạy</span></span></strong></h2>
<p><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Trong quá trình thực thi:</span></span></strong></p>
<ol>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Bộ dây đeo hiển thị tên và mô tả của từng kỹ năng được gắn kèm.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Khi mô hình xác định một kỹ năng nào đó là phù hợp, kho lưu trữ sẽ được hiện thực hóa trong phần </span><code>/opt/tfy/skills/{name}</code><span dir="auto">.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Nhân viên này theo dõi </span><code>SKILL.md</code><span dir="auto">và sử dụng các tài liệu hỗ trợ khi cần thiết.</span></span></li>
</ol>
<h2 id="skills-+-mcp-tools" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Kỹ năng + Công cụ MCP</span></span></strong></h2>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Kỹ năng</span></strong><span dir="auto"> xác định </span><em><span dir="auto">cách</span></em><span dir="auto"> thức xử lý một nhiệm vụ (quy trình, logic quyết định, định dạng).</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Các công cụ MCP</span></strong><span dir="auto"> cung cấp </span><em><span dir="auto">các thao tác và dữ liệu</span></em><span dir="auto"> để thực hiện điều đó.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Ví dụ: bộ kỹ năng theo dõi CRM thiết lập giọng điệu và quy tắc leo thang; công cụ MCP tra cứu hồ sơ, cập nhật phiếu yêu cầu và thông báo cho Slack.</span></span></p>
<h2 id="authoring-tips" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Mẹo viết bài</span></span></strong></h2>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Hãy giữ cho hình ảnh </span><code>description</code><span dir="auto">sắc nét &#8211; đó là thứ duy nhất mà mô hình nhìn thấy trước khi tải kỹ năng.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Hãy viết </span><code>SKILL.md</code><span dir="auto">theo kiểu hướng dẫn dành cho một đồng đội giỏi.</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đưa các tài liệu tham khảo chuyên sâu vào các tệp hỗ trợ liên kết với kỹ năng đó.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nên ưu tiên một vài kỹ năng chuyên biệt hơn là một kỹ năng đa năng.</span></li>
</ul>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2553</post-id>	</item>
		<item>
		<title>Sandbox</title>
		<link>https://truelabai.net/knowledge-base/sandbox/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Mon, 12 Oct 2026 03:25:52 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2542</guid>

					<description><![CDATA[Kết nối một môi trường thực thi biệt lập cho mã, tệp và lệnh shell &#8211; chỉ được cung cấp khi tác nhân cần đến. Môi trường sandbox cung cấp cho tác nhân của bạn một môi trường an toàn,&#8230;&#160;<a href="https://truelabai.net/knowledge-base/sandbox/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Kết nối một môi trường thực thi biệt lập cho mã, tệp và lệnh shell &#8211; chỉ được cung cấp khi tác nhân cần đến.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Setup Sandbox" data-page-href="/sandbox"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Môi trường sandbox cung cấp cho tác nhân của bạn một môi trường an toàn, biệt lập để chạy mã, thao tác tệp và thực thi các lệnh shell &#8211; tách biệt khỏi máy chủ TrueForge và cơ sở hạ tầng của bạn.</span><span dir="auto">Chế độ Kỹ năng và </span><a class="link" href="https://trueforge.dev/key-features/code-mode" target="_blank" rel="noopener"><span dir="auto">Mã hóa</span></a><span dir="auto"> yêu cầu môi trường thử nghiệm (sandbox). Cấu hình nhà cung cấp một lần trong </span><strong><span dir="auto">Cài đặt → Nhà cung cấp môi trường thử nghiệm</span></strong><span dir="auto">, tùy chọn xác định một hoặc nhiều </span><a class="link" href="https://trueforge.dev/sandbox#environments" target="_blank" rel="noopener"><span dir="auto">môi trường</span></a><span dir="auto">, sau đó bật môi trường thử nghiệm trên mỗi tác nhân cần đến nó.</span></span></div>
<div data-page-title="Setup Sandbox" data-page-href="/sandbox">
<h2 id="trueforge’s-approach" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Cách tiếp cận của TrueForge</span></span></h2>
<p><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Có hai mô hình phổ biến để kết hợp các tác nhân với môi trường thử nghiệm:</span></span></strong></p>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_rp_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mẫu</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nơi mà người đại lý hoạt động</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Sự đánh đổi</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Đặc vụ trong môi trường thử nghiệm</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Bên trong hình ảnh hộp cát</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Môi trường sandbox được thiết lập ngay cả đối với những yêu cầu đơn giản nhất; các thông tin bí mật phải được lưu trữ trong môi trường sandbox; việc cập nhật đồng nghĩa với việc phải xây dựng lại ảnh hệ thống.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Sandbox như một công cụ</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Bên ngoài, trên máy chủ</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Môi trường thử nghiệm (sandbox) được cấp phát theo yêu cầu khi cần thiết; thông tin bí mật được lưu giữ trong hệ thống; môi trường thử nghiệm chỉ dành cho việc thực thi/tập tin.</span></td>
</tr>
</tbody>
</table>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">TrueForge sử dụng </span><strong><span dir="auto">sandbox như một công cụ</span></strong><span dir="auto">: vòng lặp tác nhân và thông tin xác thực vẫn nằm trong hệ thống điều khiển; sandbox chỉ thực thi mã, tệp và các thao tác shell. </span><span dir="auto">Điều đó có nghĩa là:</span></span></p>
<ul>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Thông tin xác thực Model và MCP không bao giờ được đưa vào môi trường thử nghiệm.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Trạng thái hội thoại vẫn được duy trì sau khi môi trường thử nghiệm gặp sự cố.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Môi trường thử nghiệm chỉ được tạo ra khi nhân viên thực sự cần đến nó &#8211; các cuộc gọi hỏi đáp đơn giản và các cuộc gọi MCP không phát sinh chi phí môi trường thử nghiệm.</span></li>
</ul>
<h2 id="configuring-a-provider" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Cấu hình nhà cung cấp</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Hiện tại, Daytona là nhà cung cấp môi trường thử nghiệm duy nhất được hỗ trợ.</span></strong><span dir="auto"> Chúng tôi dự định sẽ hỗ trợ thêm các nhà cung cấp khác. </span><span dir="auto">Mở </span><strong><span dir="auto">Cài đặt → Nhà cung cấp Sandbox</span></strong><span dir="auto">, chọn cài đặt sẵn </span><a class="link" href="https://www.daytona.io/" target="_blank" rel="noopener noreferrer"><span dir="auto">Daytona</span></a><span dir="auto"> từ danh mục và dán khóa API của bạn.</span></span></p>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Các thiết lập mặc định của nhà cung cấp được lấy từ danh mục hộp cát được cung cấp sẵn &#8211; xem </span><a class="link" href="https://trueforge.dev/harness/initial-setup#what-is-supported-out-of-the-box" target="_blank" rel="noopener"><span dir="auto">Thiết lập ban đầu</span></a><span dir="auto"> để biết cách thức hoạt động của danh mục và cách thay đổi các tùy chọn mà giao diện người dùng cung cấp.</span></span></p>
<h2 id="environments" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="min-w-0 break-words cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Môi trường</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Môi </span><strong><span dir="auto">trường hộp cát</span></strong><span dir="auto"> là một bản thiết kế có thể tái sử dụng cho các hộp cát mà tác nhân của bạn tạo ra. Nó ghi lại hình ảnh cơ bản và một tập lệnh xây dựng tùy chọn, CPU, bộ nhớ và ổ đĩa cần phân bổ, các biến môi trường, các quy tắc mạng đi ra và </span><a class="link" href="https://trueforge.dev/sandbox#secrets" target="_blank" rel="noopener"><span dir="auto">các thông tin bí mật</span></a><span dir="auto">. Khi một tác nhân thiết lập một hộp cát, TrueForge sẽ sao chép môi trường mà tác nhân đó trỏ đến. </span><span dir="auto">Mở mục </span><strong><span dir="auto">Envs</span></strong><span dir="auto"> ở thanh bên để xem các môi trường hiện có và tạo môi trường mới. Mỗi hàng hiển thị trạng thái xây dựng, tài nguyên, mạng và thời điểm cập nhật lần cuối.</span></span></p>
<h3 id="creating-an-environment" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Tạo ra một môi trường</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Nhấp vào </span><strong><span dir="auto">Tạo Môi trường Mới</span></strong><span dir="auto">, đặt tên cho môi trường đó để các tác nhân của bạn có thể tham chiếu, sau đó thiết lập những gì bạn cần:</span></span></p>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_rt_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Cánh đồng</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nó cấu hình những gì</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Khi nào nó áp dụng</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tập lệnh xây dựng</span></strong></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Ví dụ: một shell chỉ chạy một lần trong khi TrueForge tạo ảnh chụp nhanh.</span><code>pip install httpx</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Trên môi trường thử nghiệm </span><strong><span dir="auto">mới</span></strong><span dir="auto"> tiếp theo , khi môi trường đã </span><strong><span dir="auto">sẵn sàng.</span></strong></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">CPU / Bộ nhớ / Ổ đĩa</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Các tài nguyên được tích hợp sẵn trong ảnh chụp nhanh (mặc định: 1 CPU, 1 GB, 3 GB)</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tương tự như tập lệnh xây dựng</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Biến môi trường</span></strong></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Các cặp trơn </span><code>KEY=value</code><span dir="auto">có sẵn cho quy trình thử nghiệm.</span></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Khi một môi trường thử nghiệm được </span><strong><span dir="auto">tạo</span></strong></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Chặn tất cả mạng</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Chặn tất cả lưu lượng truy cập đi ra. Danh sách cho phép tên miền và thông tin bí mật sẽ bị bỏ qua khi chức năng này được bật.</span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Khi một môi trường thử nghiệm được </span><strong><span dir="auto">tạo</span></strong></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Danh sách tên miền được phép</span></strong></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Ví dụ: Các máy chủ được phân tách bằng dấu phẩy mà hộp cát có thể truy cập.</span><code>api.github.com,api.openai.com</code></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Khi một môi trường thử nghiệm được </span><strong><span dir="auto">tạo</span></strong></span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Bí mật</span></strong></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Thông tin xác thực phạm vi mạng được chèn dưới dạng biến môi trường, xem </span><a class="link" href="https://trueforge.dev/sandbox#secrets" target="_blank" rel="noopener"><span dir="auto">mục Bí mật.</span></a></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Các chỉnh sửa về giá trị và máy chủ sẽ được cập nhật ngay lập tức vào các môi trường thử nghiệm </span><strong><span dir="auto">hiện có</span></strong><span dir="auto"> ; một bí mật mới được thêm vào sẽ được áp dụng trong lần tạo tiếp theo.</span></span></td>
</tr>
</tbody>
</table>
<h3 id="build-status-and-rebuilds" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Trạng thái xây dựng và xây dựng lại</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Môi trường mới hoặc đã chỉnh sửa sẽ hiển thị </span><strong><span dir="auto">trạng thái Đang xây dựng</span></strong><span dir="auto"> trong khi TrueForge tạo ảnh chụp nhanh, sau đó là </span><strong><span dir="auto">Sẵn sàng</span></strong><span dir="auto">. Chỉ những môi trường </span><strong><span dir="auto">ở trạng thái Sẵn sàng mới</span></strong><span dir="auto"> có thể được chọn trên một tác nhân.</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Việc thay đổi </span><strong><span dir="auto">tập lệnh xây dựng</span></strong><span dir="auto"> hoặc </span><strong><span dir="auto">CPU/bộ nhớ/ổ đĩa</span></strong><span dir="auto"> sẽ tạo ra một </span><strong><span dir="auto">ảnh chụp nhanh mới</span></strong><span dir="auto">. Môi trường sẽ quay lại quá trình xây dựng, và các sandbox hiện có sẽ giữ nguyên ảnh chụp nhanh cũ cho đến khi chúng được thay thế.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Việc thay đổi </span><strong><span dir="auto">các biến môi trường</span></strong><span dir="auto">, </span><strong><span dir="auto">mạng</span></strong><span dir="auto"> hoặc </span><strong><span dir="auto">thông tin bí mật</span></strong><span dir="auto"> sẽ sử dụng lại ảnh chụp nhanh hiện tại, do đó không cần phải xây dựng lại.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Môi trường tùy chỉnh thuộc sở hữu của người dùng đã tạo ra chúng. Bạn không thể xóa một môi trường khi tác nhân đã lưu vẫn còn tham chiếu đến nó.</span></span></p>
<h2 id="network-policy" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Chính sách mạng</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Môi trường thử nghiệm (sandbox) chạy mã do tác nhân viết, vì vậy bạn có thể muốn giới hạn phạm vi truy cập của nó trên mạng. Theo mặc định, quyền truy cập ra ngoài không bị </span><strong><span dir="auto">hạn chế</span></strong><span dir="auto">. Mỗi môi trường có hai tùy chọn trong </span><strong><span dir="auto">phần Mạng</span></strong><span dir="auto"> để thắt chặt điều đó:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Danh sách tên miền cho phép</span></strong><span dir="auto">: một danh sách các máy chủ được phân tách bằng dấu phẩy mà môi trường thử nghiệm có thể truy cập, ví dụ: </span><code>api.github.com,api.openai.com</code><span dir="auto">. Các yêu cầu đến bất kỳ máy chủ nào không có trong danh sách đều bị chặn. Sử dụng danh sách này để giới hạn phạm vi hoạt động của môi trường thử nghiệm chỉ cho phép truy cập vào các dịch vụ mà tác vụ thực sự cần.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Chặn tất cả mạng</span></strong><span dir="auto">: không cho phép truy cập ra ngoài. Danh sách cho phép truy cập tên miền và </span><a class="link" href="https://trueforge.dev/sandbox#secrets" target="_blank" rel="noopener"><span dir="auto">thông tin bí mật</span></a><span dir="auto"> sẽ bị bỏ qua khi chức năng này được bật. Sử dụng chức năng này cho các môi trường chỉ chạy mã cục bộ và các thao tác tệp.</span></span></li>
</ul>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_s1_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Kết nối mạng</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Truy cập ra ngoài</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không bộ nào</span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Không giới hạn</span></strong><span dir="auto"> (mặc định, hiển thị trong </span><code>Unrestricted</code><span dir="auto">phần môi trường)</span></span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Danh sách cho phép tên miền</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Chỉ những máy chủ được liệt kê mới có thể truy cập được; mọi thứ khác đều bị chặn.</span></td>
</tr>
<tr>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Chặn tất cả mạng</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không có quyền truy cập ra ngoài; danh sách cho phép và các thông tin bí mật bị bỏ qua.</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/sandbox#secrets" target="_blank" rel="noopener"><span dir="auto">Các bí mật</span></a><span dir="auto"> có </span><strong><span dir="auto">phạm vi mạng</span></strong><span dir="auto">: mỗi bí mật chỉ định các máy chủ mà giá trị của nó có thể được gửi đến, vì vậy thông tin xác thực chỉ được chuyển tiếp đến các đích mà bạn chấp thuận, ngay cả khi môi trường thử nghiệm có thể truy cập được chúng. Vì lý do này, không thể thêm bí mật khi </span><strong><span dir="auto">tùy chọn &#8220;Chặn tất cả mạng&#8221;</span></strong><span dir="auto"> đang bật.</span><span dir="auto">Các thay đổi về mạng sẽ có hiệu lực khi một môi trường thử nghiệm (sandbox) được </span><strong><span dir="auto">tạo</span></strong><span dir="auto">, vì vậy phiên làm việc hiện tại sẽ giữ nguyên chính sách hiện hành cho đến khi môi trường thử nghiệm của nó được thay thế. Xem </span><a class="link" href="https://trueforge.dev/sandbox#how-changes-reach-a-running-session" target="_blank" rel="noopener"><span dir="auto">Cách các thay đổi tác động đến phiên đang chạy</span></a><span dir="auto">.</span></span></p>
<h2 id="secrets" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="min-w-0 break-words cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Bí mật</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Các bí mật chứa thông tin xác thực mà </span><strong><span dir="auto">hộp cát</span></strong><span dir="auto"> cần cho các cuộc gọi đi ra ngoài của chính nó, chẳng hạn như mã thông báo API hoặc thông tin xác thực Git. Chúng không phải là thông tin xác thực mô hình hoặc MCP, những thông tin này vẫn nằm trong hệ thống bảo mật (xem </span><a class="link" href="https://trueforge.dev/sandbox#credential-safety" target="_blank" rel="noopener"><span dir="auto">Bảo mật thông tin xác thực</span></a><span dir="auto"> ).</span><span dir="auto">Thêm các thông tin bí mật cho từng môi trường trong mục </span><strong><span dir="auto">Secrets</span></strong><span dir="auto">. Mỗi thông tin bí mật bao gồm:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tên biến môi trường</span></strong><span dir="auto">: biến môi trường mà tiến trình hộp cát nhìn thấy, ví dụ: </span><code>GITHUB_TOKEN</code><span dir="auto">.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Giá trị</span></strong><span dir="auto">: chính là thông tin xác thực. TrueForge không lưu trữ giá trị này dưới dạng văn bản thuần, và các thao tác đọc API và giao diện người dùng sẽ trả về một giá trị thay thế đã được che giấu. Hãy giữ nguyên giá trị thay thế để giữ lại giá trị đã lưu trữ, hoặc nhập một giá trị mới để thay đổi nó.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Máy chủ</span></strong><span dir="auto">: các đích đến mà giá trị có thể được gửi tới. Quá trình hộp cát nhìn thấy biến này, nhưng nhà cung cấp chỉ chuyển tiếp giá trị đến các máy chủ này.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Bạn không thể thêm bí mật khi </span><strong><span dir="auto">tính năng Chặn tất cả mạng</span></strong><span dir="auto"> đang được bật.</span></span></p>
<h3 id="how-changes-reach-a-running-session" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Cách các thay đổi được đưa vào phiên chạy thử</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><strong><span dir="auto">Các thiết lập của môi trường được đọc khi tạo</span></strong><span dir="auto"> sandbox, vì vậy việc thay đổi chúng thường chỉ ảnh hưởng đến các phiên mới. Ngoại lệ là </span><strong><span dir="auto">các thông tin bí mật</span></strong><span dir="auto">: việc lưu môi trường sẽ đồng bộ hóa chúng với nhà cung cấp ngay lập tức, ngay cả khi quá trình xây dựng lại ảnh chụp nhanh vẫn đang diễn ra. Bảng này bao gồm mọi trường thông tin.</span></span></p>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_s2_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Bạn thay đổi</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Một phiên làm việc mà môi trường thử nghiệm (sandbox) đã tồn tại.</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Một phiên họp mới</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Xoay giá trị</span></strong><span dir="auto"> hoặc </span><strong><span dir="auto">chỉnh sửa máy chủ</span></strong><span dir="auto"> của một bí mật mà môi trường thử nghiệm đã có.</span></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Có hiệu lực </span><strong><span dir="auto">ngay lập tức</span></strong><span dir="auto"> ; yêu cầu tiếp theo sẽ sử dụng giá trị hoặc máy chủ mới, không cần tạo cuộc trò chuyện mới.</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Sử dụng bí mật đã được cập nhật</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Thêm</span></strong><span dir="auto"> một bí mật (tên môi trường mới)</span></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không được tiêm vào, vì các bí mật chỉ được gắn kết khi môi trường thử nghiệm được tạo.</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đòn khóa bí mật mới</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Xóa</span></strong><span dir="auto"> một bí mật</span></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Việc tiêm thuốc </span><strong><span dir="auto">dừng lại ngay lập tức.</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không bao giờ nhận được nó.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Các biến môi trường</span></strong><span dir="auto"> , </span><strong><span dir="auto">danh sách miền được cho phép</span></strong><span dir="auto"> hoặc </span><strong><span dir="auto">chặn tất cả mạng.</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Không thay đổi cho đến khi môi trường thử nghiệm được thay thế.</span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Sử dụng môi trường đã lưu.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tập lệnh biên dịch</span></strong><span dir="auto"> hoặc </span><strong><span dir="auto">CPU / bộ nhớ / ổ đĩa</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tiếp tục chạy trên bản dựng hiện có cho đến khi môi trường thử nghiệm được thay thế.</span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Chờ cho đến khi môi trường </span><strong><span dir="auto">sẵn sàng</span></strong><span dir="auto"> , sau đó sử dụng bản dựng mới.</span></span></td>
</tr>
</tbody>
</table>
<h2 id="enabling-the-sandbox-on-an-agent" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Kích hoạt chế độ hộp cát trên tác nhân</span></span></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Chế độ sandbox </span><strong><span dir="auto">mặc định bị tắt cho</span></strong><span dir="auto"> mỗi agent. Hãy bật nó trong trình tạo agent khi bạn cần thực thi mã, kỹ năng hoặc Chế độ mã. Bạn cũng có thể thiết lập </span><code>config.sandbox.enabled</code><span dir="auto">trong </span><a class="link" href="https://trueforge.dev/create-agent/overview#config" target="_blank" rel="noopener"><span dir="auto">thông số kỹ thuật của agent</span></a><span dir="auto"> khi tạo agent thông qua SDK. </span><span dir="auto">Các tùy chọn điều khiển:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tải xuống tập tin</span></strong><span dir="auto">: cho phép người dùng tải xuống các tập tin do tác nhân tạo ra (mặc định bật trong giao diện trò chuyện).</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Môi trường</span></strong><span dir="auto">: môi trường mà hộp cát được sao chép từ đó. Hãy để </span><strong><span dir="auto">mặc định</span></strong><span dir="auto"> hoặc chọn một môi trường bạn đã tạo (chỉ các môi trường </span><strong><span dir="auto">Sẵn sàng mới</span></strong><span dir="auto"> hiển thị).</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Trong trình tạo tác nhân, cả hai tùy chọn đều nằm trong </span><strong><span dir="auto">Cấu hình thời gian chạy</span></strong><span dir="auto"> dưới </span><strong><span dir="auto">mục Sandbox</span></strong><span dir="auto">, nơi menu thả xuống </span><strong><span dir="auto">Môi trường cũng có liên kết </span></strong><strong><span dir="auto">Quản lý môi trường</span></strong><span dir="auto"> đến trang Envs. Đối với cuộc trò chuyện một lần, hãy chọn một môi trường từ menu </span><strong><span dir="auto">Công cụ</span></strong><span dir="auto"> của trình soạn thảo dưới tab </span><strong><span dir="auto">Môi trường</span></strong><span dir="auto">. Thông qua SDK, hãy đặt </span><code>config.sandbox.environment_name</code><span dir="auto">trên </span><a class="link" href="https://trueforge.dev/create-agent/overview#config" target="_blank" rel="noopener"><span dir="auto">thông số kỹ thuật của tác nhân</span></a><span dir="auto">; bỏ qua nó để sử dụng </span><code>default</code><span dir="auto">:</span></span></p>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">&#8220;config&#8221;: { &#8220;sandbox&#8221;: { &#8220;enabled&#8221;: true, &#8220;environment_name&#8221;: &#8220;data-tools&#8221; } }</span></p>
<figure id="attachment_4205" aria-describedby="caption-attachment-4205" style="width: 2560px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="wp-image-4205 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-scaled.jpg" alt="" width="2560" height="1365" srcset="https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-scaled.jpg 2560w, https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-300x160.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-1024x546.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-768x409.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-1536x819.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-2048x1092.jpg 2048w, https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-360x192.jpg 360w, https://truelabai.net/wp-content/uploads/2023/10/sandbox-environment-select-600x320.jpg 600w" sizes="(max-width: 2560px) 100vw, 2560px" /><figcaption id="caption-attachment-4205" class="wp-caption-text"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Bộ chọn Môi trường của tác nhân trong Cấu hình Thời gian chạy, với liên kết Quản lý Môi trường.</span></figcaption></figure>
</div>
<h2 id="lifecycle" class="flex whitespace-pre-wrap group font-semibold"><span class="min-w-0 break-words cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Vòng đời</span></span></h2>
<ul>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Được cung cấp theo yêu cầu khi tác nhân cần mã, tập tin, kỹ năng hoặc Chế độ Mã.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Được sử dụng lại trong nhiều lượt chơi trong cùng một phiên (tệp tin được lưu giữ).</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Sau một thời gian không hoạt động, chương trình đã dừng lại, sau đó được lưu trữ và cuối cùng bị xóa theo cài đặt của nhà cung cấp.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Việc chỉnh sửa môi trường của tác nhân không làm thay đổi môi trường thử nghiệm đã tồn tại, ngoại trừ một trường hợp: các bí mật được đồng bộ hóa ngay lập tức. Xem </span><a class="link" href="https://trueforge.dev/sandbox#how-changes-reach-a-running-session" target="_blank" rel="noopener"><span dir="auto">Cách các thay đổi được cập nhật vào phiên đang chạy</span></a><span dir="auto">.</span></span></li>
</ul>
<h2 id="credential-safety" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">An toàn chứng chỉ</span></span></strong></h2>
<ul>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Chứng chỉ Model và MCP vẫn được giữ nguyên trong bộ dây đeo.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Các lệnh gọi MCP từ các tập lệnh </span><a class="link" href="https://trueforge.dev/key-features/code-mode" target="_blank" rel="noopener"><span dir="auto">Chế độ Mã</span></a><span dir="auto"> được chuyển tiếp trở lại hệ thống điều khiển &#8211; môi trường thử nghiệm không bao giờ lưu giữ các mã thông báo đó.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/sandbox#secrets" target="_blank" rel="noopener"><span dir="auto">Các bí mật</span></a><span dir="auto"> môi trường được quản lý bởi nhà cung cấp và có phạm vi mạng. Việc thay đổi giá trị sẽ ngay lập tức cập nhật các hộp cát phiên hiện có; việc thêm bí mật thì không, vì vậy hãy bắt đầu một phiên mới cho nó.</span></span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2542</post-id>	</item>
		<item>
		<title>Tổng quan Harness</title>
		<link>https://truelabai.net/knowledge-base/tong-quan-harness/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Sun, 11 Oct 2026 23:14:00 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2459</guid>

					<description><![CDATA[Công cụ Sandbox, kỹ thuật ngữ cảnh, các điểm kiểm tra thủ công và giao diện người dùng tạo sinh &#8211; đó là cách TrueForge giúp các tác nhân hoạt động đáng tin cậy và hiệu quả. TrueForge không chỉ&#8230;&#160;<a href="https://truelabai.net/knowledge-base/tong-quan-harness/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Công cụ Sandbox, kỹ thuật ngữ cảnh, các điểm kiểm tra thủ công và giao diện người dùng tạo sinh &#8211; đó là cách TrueForge giúp các tác nhân hoạt động đáng tin cậy và hiệu quả.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Harness Capabilities" data-page-href="/key-features/overview"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">TrueForge không chỉ đơn thuần là mô hình + công cụ. Những tính năng của bộ dây dẫn này giúp cho việc vận hành các đường dẫn chất tẩy rửa dài ngày trở nên chính xác hơn, tiết kiệm hơn và an toàn hơn.</span></span></div>
<div data-page-title="Harness Capabilities" data-page-href="/key-features/overview">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]" style="width: 100%;">
<thead>
<tr>
<th style="width: 30.0875%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tính năng</span></th>
<th style="width: 69.8031%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Chức năng của nó là gì?</span></th>
</tr>
</thead>
<tbody>
<tr>
<td style="width: 30.0875%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/key-features/overview#sandbox-as-a-tool" target="_blank" rel="noopener"><span dir="auto">Sandbox như một công cụ</span></a></span></td>
<td style="width: 69.8031%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Thực thi mã/tệp độc lập mà không cần đưa thông tin bí mật hoặc vòng lặp tác nhân vào bên trong hộp cát.</span></td>
</tr>
<tr>
<td style="width: 30.0875%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/key-features/overview#what-is-context-engineering" target="_blank" rel="noopener"><span dir="auto">Kỹ thuật ngữ cảnh</span></a></span></td>
<td style="width: 69.8031%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Kỹ năng tiến bộ, công cụ trì hoãn, tác nhân phụ, chuyển giao công việc, Chế độ mã, nén dữ liệu</span></td>
</tr>
<tr>
<td style="width: 30.0875%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/create-agent/overview#tool-approval" target="_blank" rel="noopener"><span dir="auto">Phê duyệt công cụ</span></a></span></td>
<td style="width: 69.8031%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tạm dừng trước khi ghi/xóa các công cụ MCP</span></td>
</tr>
<tr>
<td style="width: 30.0875%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/create-agent/overview#ask-clarifying-questions" target="_blank" rel="noopener"><span dir="auto">Đặt câu hỏi làm rõ</span></a></span></td>
<td style="width: 69.8031%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Làm rõ vấn đề một cách có cấu trúc trong quá trình chạy</span></td>
</tr>
<tr>
<td style="width: 30.0875%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/create-agent/overview#generative-ui" target="_blank" rel="noopener"><span dir="auto">Giao diện người dùng tạo sinh</span></a></span></td>
<td style="width: 69.8031%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Biểu đồ, bảng và thẻ được truyền tải liên tục vào khung chat.</span></td>
</tr>
<tr>
<td style="width: 30.0875%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><a class="link" href="https://trueforge.dev/mcp-servers#in-chat-authentication" target="_blank" rel="noopener"><span dir="auto">Xác thực OAuth MCP trong cuộc trò chuyện</span></a></span></td>
<td style="width: 69.8031%;"><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nút kết nối khi cần xác thực trình kết nối.</span></td>
</tr>
</tbody>
</table>
<h2 id="sandbox-as-a-tool" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Sandbox như một công cụ</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Không giống như các hệ thống chạy toàn bộ tác nhân bên trong máy ảo, TrueForge giữ vòng lặp tác nhân trên máy chủ và chỉ sử dụng môi trường </span><a class="link" href="https://trueforge.dev/sandbox" target="_blank" rel="noopener"><span dir="auto">sandbox</span></a><span dir="auto"> cho mã, tệp và shell. Thông tin bí mật không được lưu trữ trong sandbox; tài nguyên tính toán chỉ được cung cấp khi cần thiết. Chế độ Kỹ năng và Chế độ Mã yêu cầu điều này.</span></span></p>
<h2 id="what-is-context-engineering" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Kỹ thuật tạo bối cảnh là gì?</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Kỹ thuật ngữ cảnh là cung cấp </span><strong><span dir="auto">thông tin chính xác ở định dạng phù hợp</span></strong><span dir="auto"> để tác nhân có thể hoàn thành công việc một cách đáng tin cậy. Trong TrueForge, </span><em><span dir="auto">ngữ cảnh</span></em><span dir="auto"> bao gồm tất cả những gì mô hình nhìn thấy ở mỗi bước &#8211; hướng dẫn, </span><a class="link" href="https://trueforge.dev/skills" target="_blank" rel="noopener"><span dir="auto">kỹ năng</span></a><span dir="auto"> , định nghĩa công cụ </span><a class="link" href="https://trueforge.dev/mcp-servers" target="_blank" rel="noopener"><span dir="auto">MCP</span></a><span dir="auto">, lịch sử hội thoại và kết quả của công cụ.</span></span></p>
<p><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Việc mất đi sự cân bằng đó sẽ ảnh hưởng đến chất lượng:</span></span></strong></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Thiếu ngữ cảnh</span></strong><span dir="auto"> &#8211; nhân viên hỗ trợ thiếu thông tin cần thiết và trả lời kém hiệu quả.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Quá nhiều ngữ cảnh</span></strong><span dir="auto"> &#8211; cửa sổ bị lấp đầy bởi nhiễu, khả năng suy luận bị suy giảm, và chi phí/độ trễ tăng cao.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">TrueForge quản lý sự cân bằng bằng các chiến lược nhiều lớp. Hãy nghĩ về bối cảnh theo hai giai đoạn:</span></span></p>
<figure id="attachment_4225" aria-describedby="caption-attachment-4225" style="width: 1692px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="wp-image-4225 size-full" src="https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window.jpg" alt="" width="1692" height="930" srcset="https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window.jpg 1692w, https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window-300x165.jpg 300w, https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window-1024x563.jpg 1024w, https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window-768x422.jpg 768w, https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window-1536x844.jpg 1536w, https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window-360x198.jpg 360w, https://truelabai.net/wp-content/uploads/2023/10/agent-harness-context-window-600x330.jpg 600w" sizes="(max-width: 1692px) 100vw, 1692px" /><figcaption id="caption-attachment-4225" class="wp-caption-text"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Ngữ cảnh đầu vào được thiết lập khi khởi động; ngữ cảnh thời gian chạy được mở rộng từng bước khi vòng lặp của tác nhân hoạt động.</span></figcaption></figure>
<h2 id="input-context" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Ngữ cảnh đầu vào</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Ngữ cảnh đầu vào là tất cả những gì mô hình nhận được khi </span><strong><span dir="auto">bắt đầu</span></strong><span dir="auto"> một lần chạy. Nó hầu như không thay đổi giữa các lần chạy của cùng một tác nhân &#8211; bạn cấu hình nó một lần và hệ thống sẽ tải nó mỗi lần. Ngữ cảnh đầu vào càng nhỏ và càng tập trung, mô hình càng có nhiều không gian để suy luận.</span></span></p>
<h2 id="runtime-context" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Ngữ cảnh thời gian chạy</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Ngữ cảnh thời gian chạy bao gồm tất cả mọi thứ được thêm vào ngữ cảnh của mô hình </span><strong><span dir="auto">trong quá trình chạy</span></strong><span dir="auto">:</span></span></p>
<div class="min-w-0 [--page-padding:20px] flex w-[calc(100%+(var(--page-padding)*2))] my-[1em] py-[1em] -mx-(--page-padding) max-w-none [contain:inline-size]" role="presentation" data-component-part="scroll-area" data-table-wrapper="true">
<div class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] overflow-y-hidden! base-ui-disable-scrollbar" tabindex="-1" role="region" data-id="base-ui-_r_i6_-viewport" data-component-part="scroll-area-viewport" aria-label="Bảng có thể cuộn">
<div class="flex" role="presentation" data-component-part="scroll-area-content">
<div class="px-(--page-padding) grow max-w-none table">
<table class="m-0 min-w-full w-full max-w-none table [&amp;_th]:text-left [&amp;_td[data-numeric]]:tabular-nums [&amp;_td]:min-w-[150px]">
<thead>
<tr>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nguồn</span></th>
<th><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nó là gì?</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tin nhắn người dùng</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Bất kể người dùng gửi gì, kể cả các tin nhắn tiếp theo trong cuộc hội thoại nhiều lượt.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Tin nhắn trợ lý</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Lý luận và phản hồi của mô hình ở mỗi bước</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Công cụ gọi</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mỗi lệnh gọi công cụ do tác nhân thực hiện, cùng với các đối số của nó.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Kết quả công cụ</span></strong></span></td>
<td><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Bất kể công cụ trả về gì — dữ liệu JSON, nội dung tệp, kết quả tìm kiếm, lỗi.</span></td>
</tr>
<tr>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Đầu ra của tác nhân phụ</span></strong></span></td>
<td><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Kết quả cuối cùng được trả về từ </span><a class="link" href="https://trueforge.dev/key-features/subagents" target="_blank" rel="noopener"><span dir="auto">các đại lý phụ được ủy quyền.</span></a></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><strong><span dir="auto">Vấn đề phình to</span></strong><span dir="auto"> ngữ cảnh chủ yếu xảy ra ở ngữ cảnh thời gian chạy. Một lệnh gọi công cụ duy nhất trả về tải trọng JSON 50.000 token, hoặc một cuộc hội thoại dài với hàng chục bước trung gian, có thể nhanh chóng đạt đến giới hạn của mô hình. Đây là phần mà hệ thống kiểm thử chủ động quản lý.</span></span></p>
<h2><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 24px;">Quản lý ngữ cảnh thời gian chạy</span></strong></h2>
<h3 id="subagents-—-context-isolation" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Các tác nhân phụ &#8211; cách ly ngữ cảnh</span></span></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Các tác nhân con phân tách các tác vụ nặng. Khi tác nhân gốc tạo ra một tác nhân con:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Tác nhân phụ hoạt động với </span><strong><span dir="auto">bối cảnh riêng biệt, hoàn toàn mới mẻ</span></strong><span dir="auto"> &#8211; các hướng dẫn và công cụ, nhưng không có lịch sử tin nhắn được chia sẻ.</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nó hoạt động tự động, tự gọi các công cụ và tạo ra kết quả cuối cùng.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Chỉ có </span><strong><span dir="auto">kết quả cuối cùng</span></strong><span dir="auto"> mới được trả về cho tác nhân gốc. Các lệnh gọi công cụ trung gian, kết quả tìm kiếm lớn và các bước suy luận không bao giờ được đưa vào ngữ cảnh của tác nhân gốc.</span></span></li>
</ul>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Điều này đặc biệt hữu ích cho các tác vụ liên quan đến nhiều thực thể hoặc yêu cầu nhiều lệnh gọi công cụ. Ví dụ, việc tóm tắt các yêu cầu kéo (PR) trong một nhóm 10 người có thể được phân bổ thành 10 tác nhân con song song &#8211; tác nhân gốc thu thập 10 bản tóm tắt ngắn thay vì 10 bộ dữ liệu đầu ra thô từ công cụ. Xem </span><a class="link" href="https://trueforge.dev/key-features/subagents" target="_blank" rel="noopener"><span dir="auto">phần Tác nhân con</span></a><span dir="auto">.</span></span></p>
<h3 id="large-result-offloading" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Tải xuống kết quả lớn</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Đôi khi một lệnh gọi công cụ duy nhất trả về lượng dữ liệu nhiều hơn mức mà tác nhân cần để xử lý &#8211; một danh sách JSON lớn, một tập tin dài, một phản hồi tìm kiếm chi tiết. Việc chuyển tải dữ liệu giúp giữ cho dữ liệu đó không bị ảnh hưởng bởi ngữ cảnh:</span></span></p>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Sau đó, tác nhân có thể sử dụng các công cụ hộp cát để kiểm tra tệp, suy luận lược đồ của nó, trích xuất các trường cụ thể hoặc lọc dữ liệu &#8211; tất cả mà không cần dữ liệu thô được đưa vào cuộc hội thoại. Xem </span><a class="link" href="https://trueforge.dev/key-features/large-tool-responses" target="_blank" rel="noopener"><span dir="auto">Phản hồi công cụ lớn</span></a><span dir="auto">.</span></span></p>
<h3 id="code-mode-—-process-tool-output-in-code" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Chế độ mã &#8211; xử lý đầu ra của công cụ dưới dạng mã</span></span></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Đối với các tác vụ liên quan đến </span><strong><span dir="auto">việc tổng hợp, lọc hoặc chuyển đổi</span></strong><span dir="auto"> đầu ra của công cụ (đếm, nhóm theo, kết hợp giữa nhiều lệnh gọi công cụ), </span><a class="link" href="https://trueforge.dev/key-features/code-mode" target="_blank" rel="noopener"><span dir="auto">Chế độ Mã</span></a><span dir="auto"> cho phép tác nhân chạy một kịch bản Python trong môi trường thử nghiệm để gọi trực tiếp các công cụ MCP. Kịch bản xử lý dữ liệu bằng mã và chỉ in ra bản tóm tắt.</span><span dir="auto">Điều này giúp tránh hai kiểu lỗi xảy ra cùng một lúc:</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Sự phình to ngữ cảnh</span></strong><span dir="auto"> &#8211; đầu ra thô của công cụ không bao giờ được đưa vào ngữ cảnh, chỉ có kết quả được in ra mới được đưa vào.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Phép toán ảo giác</span></strong><span dir="auto"> &#8211; các phép đếm, phép cộng và phép nhóm được tính toán bằng mã, chứ không phải suy luận từ văn bản.</span></span></li>
</ul>
<h3 id="context-compaction" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><span dir="auto">Nén ngữ cảnh</span></span></strong></h3>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Khi cuộc hội thoại kéo dài hơn khả năng xử lý của việc chỉ sử dụng phương pháp chuyển tải dữ liệu, hệ thống sẽ kích hoạt </span><strong><span dir="auto">quá trình nén</span></strong><span dir="auto"> dữ liệu. Quá trình nén dữ liệu được bật theo mặc định và chạy ở mức 80% độ dài ngữ cảnh của mô hình. Nếu độ dài đó không đủ, hệ thống sẽ chuyển sang sử dụng 50.000 token đầu vào. Người dùng cũng có thể đặt ngưỡng token đầu vào cụ thể. </span><span dir="auto">LLM tạo ra bản tóm tắt có cấu trúc về cuộc hội thoại cho đến nay &#8211; ý định ban đầu, các quyết định quan trọng, tệp và hiện vật, lỗi và cách khắc phục, và các bước tiếp theo &#8211; và bản tóm tắt đó thay thế lịch sử tin nhắn cũ trong ngữ cảnh làm việc của tác nhân, giải phóng các token để tiếp tục suy luận.</span></span></p>
<h2 id="how-the-strategies-compose" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Các chiến lược được cấu thành như thế nào</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Trên thực tế, các chiến lược này được kết hợp với nhau. Một lần chạy của tác nhân duy nhất có thể:</span></span></p>
<ol>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Bắt đầu với </span><strong><span dir="auto">chế độ tải trước tắt</span></strong><span dir="auto">, để chỉ một số ít lược đồ công cụ nằm trong ngữ cảnh đầu vào.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Giao</span></strong><span dir="auto"> nhiệm vụ nghiên cứu cho một tác nhân phụ thực hiện hàng chục lệnh gọi công cụ một cách độc lập.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Chuyển</span></strong><span dir="auto"> kết quả của một công cụ lớn bên trong tác nhân phụ sang một tệp hộp cát.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Sử dụng </span><strong><span dir="auto">Chế độ Mã (Code Mode)</span></strong><span dir="auto"> để tổng hợp dữ liệu đã được xử lý thành một bản tóm tắt ngắn gọn.</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Trả lại bản tóm tắt cho tác nhân gốc &#8211; giữ cho ngữ cảnh hoạt động của tác nhân gốc luôn sạch sẽ.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Sau này, nếu cuộc hội thoại dài vượt quá ngưỡng cho phép, hãy nén</span></strong><span dir="auto"> lịch sử của tác nhân gốc lại.</span></span></li>
</ol>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2459</post-id>	</item>
		<item>
		<title>Sub Agent</title>
		<link>https://truelabai.net/knowledge-base/sub-agent/</link>
		
		<dc:creator><![CDATA[TrueLabAI]]></dc:creator>
		<pubDate>Sun, 11 Oct 2026 23:02:44 +0000</pubDate>
				<guid isPermaLink="false">https://skilltop.net/?post_type=epkb_post_type_1&#038;p=2453</guid>

					<description><![CDATA[Hệ thống này phân công các nhiệm vụ phụ cụ thể cho các tác nhân phụ song song, giữ cho ngữ cảnh của tác nhân gốc luôn được gọn gàng. Khi một tác vụ liên quan đến việc thu thập&#8230;&#160;<a href="https://truelabai.net/knowledge-base/sub-agent/" class="more-link">Xem thêm</a>]]></description>
										<content:encoded><![CDATA[<header id="header" class="relative leading-none @container/page-header">
<div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]">
<p><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Hệ thống này phân công các nhiệm vụ phụ cụ thể cho các tác nhân phụ song song, giữ cho ngữ cảnh của tác nhân gốc luôn được gọn gàng.</span></p>
</div>
</header>
<div id="content" class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Subagents" data-page-href="/key-features/subagents"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Khi một tác vụ liên quan đến việc thu thập hoặc xử lý thông tin từ nhiều nguồn, một tác nhân duy nhất có thể nhanh chóng làm đầy cửa sổ ngữ cảnh của nó với các lệnh gọi công cụ trung gian và kết quả. TrueForge giải quyết vấn đề này bằng </span><strong><span dir="auto">các tác nhân con</span></strong><span dir="auto"> &#8211; các tác nhân chạy độc lập, nhẹ, xử lý các tác vụ con tập trung song song và chỉ trả về kết quả cuối cùng cho tác nhân gốc. Các tác nhân con động được </span><strong><span dir="auto">bật theo mặc định</span></strong><span dir="auto">. </span><span dir="auto">Người điều hành chính tập trung vào việc phối hợp cấp cao. Các nhân viên cấp dưới đảm nhiệm những công việc nặng nhọc hơn.</span></span></p>
<div class="absolute" tabindex="-1">
<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light">
<h2 id="why-subagents" class="flex whitespace-pre-wrap group font-semibold"><strong><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Tại sao lại cần các đại lý phụ?</span></span></strong></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Các tác nhân phụ giải quyết </span><strong><span dir="auto">vấn đề phình to ngữ cảnh</span></strong><span dir="auto">. Khi một tác nhân sử dụng các công cụ có đầu ra lớn &#8211; phản hồi API, kết quả tìm kiếm, nội dung tệp &#8211; cửa sổ ngữ cảnh sẽ đầy dữ liệu trung gian chỉ cần thiết tạm thời. Khi ngữ cảnh phát triển, tác nhân trở nên chậm hơn, tốn kém hơn và dễ xảy ra lỗi hơn.</span><span dir="auto">Hãy xem xét một nhiệm vụ: </span><em><span dir="auto">“Tóm tắt các yêu cầu kéo (pull request) gần đây của mỗi thành viên trong nhóm của tôi.”</span></em></span></div>
<div>
<h3 class="flex text-sm items-center gap-1.5 leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b text-primary dark:text-primary-light border-current" data-component-part="tab-button" data-active="true" data-testid="tab-Without subagents"><strong><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 20px;">Không có đại lý phụ:</span></strong></h3>
<ol>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đặc vụ tìm kiếm thông tin về các thành viên trong nhóm.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Nó xử lý từng thành viên </span><strong><span dir="auto">một</span></strong><span dir="auto"> , lấy các yêu cầu kéo (pull request) và tóm tắt từng yêu cầu.</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tất cả các lệnh gọi công cụ trung gian và kết quả đều được lưu giữ trong cửa sổ ngữ cảnh.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Người đại diện phải suy luận trong một bối cảnh rộng lớn và phức tạp để đưa ra câu trả lời cuối cùng.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tình trạng phình to này sẽ tiếp diễn sang các lượt chơi tiếp theo trong phiên.</span></li>
</ol>
<h3><span style="font-family: arial, helvetica, sans-serif; font-size: 20px;"><strong><span dir="auto">Với các đại lý phụ:</span></strong></span></h3>
<ol>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Đặc vụ tìm kiếm thông tin về các thành viên trong nhóm.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span dir="auto">Nó tạo ra một tác nhân phụ </span><strong><span dir="auto">cho mỗi thành viên trong nhóm</span></strong><span dir="auto"> &#8211; chúng hoạt động song song.</span></span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Mỗi tác nhân con sẽ tự động lấy các yêu cầu kéo và tạo ra bản tóm tắt.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Các tác nhân phụ chỉ trả về bản tóm tắt của chúng cho tác nhân gốc.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Tác nhân gốc kết hợp các bản tóm tắt &#8211; dữ liệu thô không bao giờ được đưa vào ngữ cảnh của nó.</span></li>
</ol>
<h2><span style="font-family: arial, helvetica, sans-serif; font-size: 20px;" data-as="p"><strong><span dir="auto">Khi nào các trợ lý cấp dưới phát huy hiệu quả nhất:</span></strong></span></h2>
<ul>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Nghiên cứu nhiều bước trên nhiều thực thể (người dùng, kho lưu trữ, dịch vụ) có thể chạy song song.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Các tác vụ mà đầu ra của công cụ trung gian lớn nhưng kết quả cuối cùng là một bản tóm tắt.</span></li>
<li><span dir="auto" style="font-family: arial, helvetica, sans-serif; font-size: 16px;">Công việc cần sự tách biệt &#8211; mỗi nhiệm vụ phụ đều có bối cảnh rõ ràng để suy luận.</span></li>
</ul>
<h2 id="how-it-works" class="flex whitespace-pre-wrap group font-semibold"><span class="cursor-pointer" style="font-family: arial, helvetica, sans-serif; font-size: 24px;"><span dir="auto">Cách thức hoạt động</span></span></h2>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;" data-as="p"><span dir="auto">Tác nhân gốc sẽ quyết định trong quá trình thực thi xem có nên ủy quyền hay không. Khi quyết định, nó sẽ gọi </span><code>create_sub_agent</code><span dir="auto">công cụ tích hợp sẵn với các hướng dẫn được tạo ra và tập trung cho từng tác vụ con, tạo ra các tác nhân con và chờ kết quả của chúng.</span></span></p>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Công cụ và môi trường thử nghiệm dùng chung</span></strong><span dir="auto"> &#8211; các tác nhân phụ có quyền truy cập vào cùng các công cụ MCP và môi trường thử nghiệm như tác nhân gốc.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Không có tương tác người dùng</span></strong><span dir="auto"> &#8211; các tác nhân phụ không thể hỏi người dùng câu hỏi. Chỉ có tác nhân gốc mới giao tiếp với người dùng. Tuy nhiên, các lệnh gọi công cụ của tác nhân phụ yêu cầu </span><a class="link" href="https://trueforge.dev/create-agent/overview#what%E2%80%99s-in-an-agent" target="_blank" rel="noopener"><span dir="auto">phê duyệt</span></a><span dir="auto"> vẫn tạm dừng để người dùng chờ xử lý.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Không có lồng ghép</span></strong><span dir="auto"> &#8211; các tác nhân con không thể tạo ra các tác nhân con khác. Ủy quyền chỉ có một cấp độ.</span></span></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><strong><span dir="auto">Thực thi song song</span></strong><span dir="auto"> &#8211; nhiều tác nhân con chạy đồng thời. Tác nhân gốc chờ tất cả chúng trước khi tiếp tục.</span></span></li>
</ul>
</div>
</div>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2453</post-id>	</item>
	</channel>
</rss>
