List of topics
Nền tảng Agentic AI + Framework Harness
Context Harness - Nền tảng RAG
[Bổ trợ] Docker + Cloud
[Live] Context Harness - Thực hành lập trình - Lập trình đầy đủ 1 agent
Tool Harness
Bài tập lớn 1 - Lập trình Drive Agent
Orchestration Harness
Evaluation Harness
Security Harness
Governance Harness
AgentOps Harness
Project cuối khóa - Enterprise AI Agent Platform

Nền tảng Agentic AI + Framework Harness

Nội dung:

  • LLM Fundamentals

  • Transformer & Attention

  • Prompt Engineering

  • Tool Calling

  • MCP (Model Context Protocol)

  • AI Agent Landscape


  • Lab: Ví dụ điển hình về Agentic: Claude Code

1. Nội dung

1.1. Giới thiệu Agent

1.2. Giới thiệu Framework Harness

1.3. Harness Claude Code

Giải mã Kiến trúc Claude Code qua Framework Harness 7 Thành Phần


Claude Code, coding assistant được Anthropic phát triển, là một trong những hệ thống Agent phức tạp nhất hiện nay được công bố công khai. Kiến trúc của nó không được xây dựng như một chatbot biết viết code, mà được thiết kế như một hệ thống kỹ thuật hoàn chỉnh với 7 tầng riêng biệt: từ quản lý input, tri thức, thực thi, cho đến multi-agent, tích hợp, quan sát và đầu ra.

Trong buổi học này, chúng ta sẽ không chỉ đọc kiến trúc mà sẽ liên tưởng nó sang ngôn ngữ của Framework 7 Thành Phần: một bộ khung thực chiến giúp bạn tư duy, thiết kế và triển khai bất kỳ hệ thống Agent nào trong doanh nghiệp.

Mỗi component trong Claude Code sẽ liên kết mật thiết với các thành phần của Harness: từ Skill Registry thuộc Quản lý Tri thức, Permission Gate thuộc Bảo mật & An toàn, cho đến Event Bus thuộc Vận hành & Giám sát.

Bản chất Claude Code sử Dụng Framework Harness và đây là ánh xạ các khái niệm.

Claude Code Component

Layer

Harness

Vai trò

Skill Registry

Knowledge

Context Harness

Inject tool/prompt theo yêu cầu on-demand

Context Compressor

Knowledge

Context Harness

Nén context 3-layer, ngưỡng 92%

Task Graph

Knowledge

Context Harness

Quản lý dependency và priority giữa các task

Memory Store

Knowledge

Context Harness

Lưu trữ cross-session persistence

Tool Dispatch

Execution

Tool Harness

Typed registry, one handler per tool

MCP Runtime

Integration

Tool Harness

Auto-discover external tools qua mcp_server_tool

External Servers

Integration

Tool Harness

Kết nối Filesystem, Git, Custom API

Streaming Runtime

Execution

Tool Harness

Real-time parallel execution

Master Agent Loop

Execution

Orchestration Harness

Vòng lặp chính: Perception → Action → Observation

Subagent Spawner

Multi-Agent

Orchestration Harness

Spawn agent con với isolated context

FSM Protocol

Multi-Agent

Orchestration Harness

Điều phối trạng thái IDLE→REQUEST→WAIT→RESPOND

Teammate Mailboxes

Multi-Agent

Orchestration Harness

Giao tiếp agent-to-agent qua Redis pub/sub

Autonomous Board

Multi-Agent

Orchestration Harness

Self-assign task, Atomic lock tránh xung đột

Worktree Isolator

Multi-Agent

Orchestration Harness

Per-task git branch, zero conflict

Session Manager

Input

Orchestration Harness

Resume, Fork, Persist session

Prompt Cache

Execution

Orchestration Harness

Stable prefix reuse, giảm 10% cost

Task Result

Output

Evaluation Harness

Verified output, trigger memory update

Streaming Runtime

Execution

Evaluation Harness

Đo throughput và latency parallel execution

Permission Gate

Input

Security Harness

3-tier policy: Deny / Allow / Approve

YAML Rules

Input

Security Harness

Input validation, 3-tier rule definition

Permission Gate

Input

Governance Harness

Ghi audit trail mọi decision

Session Manager

Input

Governance Harness

Persist lịch sử fork/resume để kiểm toán

Event Bus

Observability

AgentOps Harness

Hook lifecycle events, intercept toàn hệ thống

Background Executor

Observability

AgentOps Harness

Daemon threads non-blocking cho monitoring

1.4. Thực hành

1.5. [Video] Giới thiệu Agent và thực hành lập trình Agent code

1. Nội dung
1.1. Giới thiệu Agent
1.2. Giới thiệu Framework Harness
1.3. Harness Claude Code
1.4. Thực hành
1.5. [Video] Giới thiệu Agent và thực hành lập trình Agent code