Skip to content

Hermes Agent

Hermes Agent nên được hiểu là open-source, hackable agent runtime/CLI. Nó nằm cùng tầng kiến trúc với Codex CLI, Claude Code, OpenCode hoặc các coding agent harness khác, không cùng tầng với Spec Kit hay OpenSpec.

Nguồn chính:

Hermes nằm ở đâu?

mermaid
flowchart TB
    A[AI API hoặc local/self-hosted LLM] --> B[Hermes Agent runtime]
    B --> C[Tools: shell, files, git, test runner, internal APIs]
    B --> D[Memory, skills, subagents]
    D --> E[Workflow rules: OpenSpec, Spec Kit, AI-DLC, Superpowers]
    C --> F[Repo, docs, CI]
    E --> F

Hermes trả lời:

Làm sao chạy, customize và mở rộng một AI agent?

Workflow frameworks trả lời:

Agent nên làm việc theo quy trình nào?

Hermes mạnh ở đâu?

Hermes đáng quan tâm khi bạn cần:

Nhu cầuVì sao Hermes hữu ích
Open-source agent runtimeCó thể inspect, modify, self-host harness
Dùng API hoặc local/self-hosted modelHarness layer có thể tùy biến theo model strategy
Custom toolsCó thể tích hợp internal APIs, shell tools, repo tools, research tools
Memory và skillsHermes nhấn mạnh memory, skills và học từ work trước
SubagentsHữu ích cho workstreams song song hoặc chuyên biệt
Internal agent platformPhù hợp hơn một coding assistant đóng gói sẵn
Agent researchPlayground tốt cho runtime, memory và orchestration experiments

Hermes không phải gì?

Hermes không chủ yếu là:

  • spec framework như Spec Kit;
  • change-spec system như OpenSpec;
  • enterprise lifecycle governance như AWS AI-DLC;
  • project execution workflow như GSD;
  • TDD/review methodology như Superpowers.

Nó có thể chạy hoặc hỗ trợ các workflow đó, nhưng không thay thế artifact model của chúng.

Hermes vs workflow frameworks

Câu hỏiHermesSpec Kit / OpenSpec / AI-DLC / GSD / Superpowers
Tầng nào?Agent runtime/harnessWorkflow/methodology/artifact layer
Quan tâm chínhTools, memory, skills, subagents, executionSpecs, plans, approvals, tasks, tests, review
Source of truthKhông phải concept chínhConcept trung tâm
GovernanceCần process bổ sungAI-DLC đặc biệt mạnh ở đây
Use tốt nhấtBuild/customize agent platformĐịnh hình agent làm việc thế nào

Khi nào nên dùng Hermes?

Dùng Hermes khi:

  1. Muốn self-host hoặc customize sâu agent.
  2. Cần local/self-hosted LLM hoặc model routing linh hoạt.
  3. Muốn memory/skills/subagents như runtime capabilities.
  4. Đang build internal AI agent platform.
  5. Muốn research hoặc sửa agent loop.

Đừng thêm Hermes chỉ vì nó tồn tại. Nếu Codex CLI hoặc Claude Code đã giải quyết tốt workflow code hằng ngày, Hermes có thể chỉ thêm complexity.

Khi nào không nên dùng Hermes?

Tránh thêm Hermes khi:

  • chỉ cần coding CLI polished;
  • vấn đề là requirement mơ hồ, không phải runtime customization;
  • cần enterprise governance nhưng chưa có AI-DLC-like controls;
  • team không muốn vận hành custom agent runtime;
  • không cần custom tools, memory, skills hoặc self-hosting.

Kết hợp Hermes với workflow frameworks

ComboÝ nghĩa
Hermes + OpenSpecHermes execute; OpenSpec sở hữu change specs
Hermes + Spec KitHermes execute tasks sinh từ specs/plans
Hermes + AI-DLCHermes execute; AI-DLC sở hữu governance, state, audit
Hermes + SuperpowersHermes dùng TDD/review/brainstorming skills như discipline
Hermes + GSDCó overlap; phải quyết định ai sở hữu memory và multi-agent execution

Kiến trúc mẫu: internal AI coding platform

mermaid
flowchart TB
    A[Model router: OpenAI / Anthropic / local LLM] --> B[Hermes Agent]
    B --> C[Internal tools]
    C --> C1[Git provider]
    C --> C2[CI/test runner]
    C --> C3[Issue tracker]
    C --> C4[Docs/search]
    B --> D[Workflow layer]
    D --> D1[OpenSpec for change specs]
    D --> D2[Superpowers-like TDD/review]
    D --> D3[AI-DLC for high-risk governance]
    D --> E[Repo and PR]

Step-by-step adoption

  1. Bắt đầu với một repo low-risk.
  2. Quyết định model strategy: hosted API, local LLM hoặc router.
  3. Cài và chạy Hermes trong môi trường kiểm soát.
  4. Chỉ thêm minimum tools trước: file read/write, git, shell, tests.
  5. Thêm một workflow layer: OpenSpec hoặc Superpowers là lựa chọn đầu tốt.
  6. Định nghĩa Hermes được làm gì không cần approval.
  7. Thêm logging và audit cho tool calls.
  8. Chạy một pilot task.
  9. So sánh output với Codex CLI hoặc Claude Code.
  10. Chỉ adopt nếu Hermes có lợi thế rõ.

Production concerns

Nếu dùng Hermes như internal platform, hãy coi nó như infrastructure:

ConcernQuyết định cần có
SecretsCredentials scoped và rotated thế nào?
Tool permissionsAgent được chạy commands/APIs nào?
Memory retentionLưu gì, bao lâu, ai truy cập được?
Model routingTask nào được dùng model nào?
Audit logsTool calls và decisions có được ghi lại không?
Kill switchHuman có dừng runaway execution được không?
EvaluationĐo chất lượng agent theo thời gian thế nào?

Built as a static bilingual AI engineering stack guide.