Logo Honcho

Honcho

Cộng đồng
Tommy-yw
honcho

Configure and use Honcho memory with Hermes -- cross-session user modeling, multi-profile peer isolation, observation config, dialectic reasoning, session summaries, and context budget enforcement. Use when setting up Honcho, troubleshooting memory, managing profiles with Honcho peers, or tuning observation, recall, and dialectic settings.

Tổng quan

Nhà phát hànhTommy-yw
Kho mãRunbookHermes
Tên kỹ nănghoncho
Sao
546
Bản fork
41
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Tommy-yw công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Honcho trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Tommy-yw/RunbookHermes/tree/main/optional-skills/autonomous-ai-agents/honcho
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Tommy-yw/RunbookHermes.git /tmp/RunbookHermes
mkdir -p .claude/skills
cp -r /tmp/RunbookHermes/optional-skills/autonomous-ai-agents/honcho .claude/skills/honcho
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Honcho trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Honcho ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Honcho với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Honcho Memory for Hermes

Honcho provides AI-native cross-session user modeling. It learns who the user is across conversations and gives every Hermes profile its own peer identity while sharing a unified view of the user.

When to Use

  • Setting up Honcho (cloud or self-hosted)
  • Troubleshooting memory not working / peers not syncing
  • Creating multi-profile setups where each agent has its own Honcho peer
  • Tuning observation, recall, dialectic depth, or write frequency settings
  • Understanding what the 5 Honcho tools do and when to use them
  • Configuring context budgets and session summary injection

Setup

Cloud (app.honcho.dev)

bash
hermes honcho setup
# select "cloud", paste API key from https://app.honcho.dev

Self-hosted

bash
hermes honcho setup
# select "local", enter base URL (e.g. http://localhost:8000)

See: https://docs.honcho.dev/v3/guides/integrations/hermes#running-honcho-locally-with-hermes

Verify

bash
hermes honcho status    # shows resolved config, connection test, peer info

Architecture

Base Context Injection

When Honcho injects context into the system prompt (in hybrid or context recall modes), it assembles the base context block in this order:

  1. Session summary -- a short digest of the current session so far (placed first so the model has immediate conversational continuity)
  2. User representation -- Honcho's accumulated model of the user (preferences, facts, patterns)
  3. AI peer card -- the identity card for this Hermes profile's AI peer

The session summary is generated automatically by Honcho at the start of each turn (when a prior session exists). It gives the model a warm start without replaying full history.

Cold / Warm Prompt Selection

Honcho automatically selects between two prompt strategies:

ConditionStrategyWhat happens
No prior session or empty representationCold startLightweight intro prompt; skips summary injection; encourages the model to learn about the user
Existing representation and/or session historyWarm startFull base context injection (summary → representation → card); richer system prompt

You do not need to configure this -- it is automatic based on session state.

Peers

Honcho models conversations as interactions between peers. Hermes creates two peers per session:

  • User peer (peerName): represents the human. Honcho builds a user representation from observed messages.
  • AI peer (aiPeer): represents this Hermes instance. Each profile gets its own AI peer so agents develop independent views.

Observation

Each peer has two observation toggles that control what Honcho learns from:

ToggleWhat it does
observeMePeer's own messages are observed (builds self-representation)
observeOthersOther peers' messages are observed (builds cross-peer understanding)

Default: all four toggles on (full bidirectional observation).

Configure per-peer in honcho.json:

json
{
  "observation": {
    "user": { "observeMe": true, "observeOthers": true },
    "ai":   { "observeMe": true, "observeOthers": true }
  }
}

Or use the shorthand presets:

PresetUserAIUse case
"directional" (default)me:on, others:onme:on, others:onMulti-agent, full memory
"unified"me:on, others:offme:off, others:onSingle agent, user-only modeling

Settings changed in the Honcho dashboard are synced back on session init -- server-side config wins over local defaults.

Sessions

Honcho sessions scope where messages and observations land. Strategy options:

StrategyBehavior
per-directory (default)One session per working directory
per-repoOne session per git repository root
per-sessionNew Honcho session each Hermes run
globalSingle session across all directories

Manual override: hermes honcho map my-project-name

Recall Modes

How the agent accesses Honcho memory:

ModeAuto-inject context?Tools available?Use case
hybrid (default)YesYesAgent decides when to use tools vs auto context
contextYesNo (hidden)Minimal token cost, no tool calls
toolsNoYesAgent controls all memory access explicitly

Three Orthogonal Knobs

Honcho's dialectic behavior is controlled by three independent dimensions. Each can be tuned without affecting the others:

Cadence (when)

Controls how often dialectic and context calls happen.

KeyDefaultDescription
contextCadence1Min turns between context API calls
dialecticCadence2Min turns between dialectic API calls. Recommended 1–5
injectionFrequencyevery-turnevery-turn or first-turn for base context injection

Higher cadence values fire the dialectic LLM less often. dialecticCadence: 2 means the engine fires every other turn. Setting it to 1 fires every turn.

Depth (how many)

Controls how many rounds of dialectic reasoning Honcho performs per query.

KeyDefaultRangeDescription
dialecticDepth11-3Number of dialectic reasoning rounds per query
dialecticDepthLevels--arrayOptional per-depth-round level overrides (see below)

dialecticDepth: 2 means Honcho runs two rounds of dialectic synthesis. The first round produces an initial answer; the second refines it.

dialecticDepthLevels lets you set the reasoning level for each round independently:

json
{
  "dialecticDepth": 3,
  "dialecticDepthLevels": ["low", "medium", "high"]
}

If dialecticDepthLevels is omitted, rounds use proportional levels derived from dialecticReasoningLevel (the base):

DepthPass levels
1[base]
2[minimal, base]
3[minimal, base, low]

This keeps earlier passes cheap while using full depth on the final synthesis.

Depth at session start. The session-start prewarm runs the full configured dialecticDepth in the background before turn 1. A single-pass prewarm on a cold peer often returns thin output — multi-pass depth runs the audit/reconcile cycle before the user ever speaks. Turn 1 consumes the prewarm result directly; if prewarm hasn't landed in time, turn 1 falls back to a synchronous call with a bounded timeout.

Level (how hard)

Controls the intensity of each dialectic reasoning round.

KeyDefaultDescription
dialecticReasoningLevellowminimal, low, medium, high, max
dialecticDynamictrueWhen true, the model can pass reasoning_level to honcho_reasoning to override the default per-call. false = always use dialecticReasoningLevel, model overrides ignored

Higher levels produce richer synthesis but cost more tokens on Honcho's backend.

Multi-Profile Setup

Each Hermes profile gets its own Honcho AI peer while sharing the same workspace (user context). This means:

  • All profiles see the same user representation
  • Each profile builds its own AI identity and observations
  • Conclusions written by one profile are visible to others via the shared workspace

Create a profile with Honcho peer

bash
hermes profile create coder --clone
# creates host block hermes.coder, AI peer "coder", inherits config from default

What --clone does for Honcho:

  1. Creates a hermes.coder host block in honcho.json
  2. Sets aiPeer: "coder" (the profile name)
  3. Inherits workspace, peerName, writeFrequency, recallMode, etc. from default
  4. Eagerly creates the peer in Honcho so it exists before first message

Backfill existing profiles

bash
hermes honcho sync    # creates host blocks for all profiles that don't have one yet

Per-profile config

Override any setting in the host block:

json
{
  "hosts": {
    "hermes.coder": {
      "aiPeer": "coder",
      "recallMode": "tools",
      "dialecticDepth": 2,
      "observation": {
        "user": { "observeMe": true, "observeOthers": false },
        "ai": { "observeMe": true, "observeOthers": true }
      }
    }
  }
}

Tools

The agent has 5 bidirectional Honcho tools (hidden in context recall mode):

ToolLLM call?CostUse when
honcho_profileNominimalQuick factual snapshot at conversation start or for fast name/role/pref lookups
honcho_searchNolowFetch specific past facts to reason over yourself — raw excerpts, no synthesis
honcho_contextNolowFull session context snapshot: summary, representation, card, recent messages
honcho_reasoningYesmedium–highNatural language question synthesized by Honcho's dialectic engine
honcho_concludeNominimalWrite or delete a persistent fact; pass peer: "ai" for AI self-knowledge

honcho_profile

Read or update a peer card — curated key facts (name, role, preferences, communication style). Pass card: [...] to update; omit to read. No LLM call.

honcho_search

Semantic search over stored context for a specific peer. Returns raw excerpts ranked by relevance, no synthesis. Default 800 tokens, max 2000. Good when you need specific past facts to reason over yourself rather than a synthesized answer.

honcho_context

Full session context snapshot from Honcho — session summary, peer representation, peer card, and recent messages. No LLM call. Use when you want to see everything Honcho knows about the current session and peer in one shot.

honcho_reasoning

Natural language question answered by Honcho's dialectic reasoning engine (LLM call on Honcho's backend). Higher cost, higher quality. Pass reasoning_level to control depth: minimal (fast/cheap) → low → medium → high → max (thorough). Omit to use the configured default (low). Use for synthesized understanding of the user's patterns, goals, or current state.

honcho_conclude

Write or delete a persistent conclusion about a peer. Pass conclusion: "..." to create. Pass delete_id: "..." to remove a conclusion (for PII removal — Honcho self-heals incorrect conclusions over time, so deletion is only needed for PII). You MUST pass exactly one of the two.

Bidirectional peer targeting

All 5 tools accept an optional peer parameter:

  • peer: "user" (default) — operates on the user peer
  • peer: "ai" — operates on this profile's AI peer
  • peer: "<explicit-id>" — any peer ID in the workspace

Examples:

honcho_profile                        # read user's card
honcho_profile peer="ai"              # read AI peer's card
honcho_reasoning query="What does this user care about most?"
honcho_reasoning query="What are my interaction patterns?" peer="ai" reasoning_level="medium"
honcho_conclude conclusion="Prefers terse answers"
honcho_conclude conclusion="I tend to over-explain code" peer="ai"
honcho_conclude delete_id="abc123"    # PII removal

Agent Usage Patterns

Guidelines for Hermes when Honcho memory is active.

On conversation start

1. honcho_profile                  → fast warmup, no LLM cost
2. If context looks thin → honcho_context  (full snapshot, still no LLM)
3. If deep synthesis needed → honcho_reasoning  (LLM call, use sparingly)

Do NOT call honcho_reasoning on every turn. Auto-injection already handles ongoing context refresh. Use the reasoning tool only when you genuinely need synthesized insight the base context doesn't provide.

When the user shares something to remember

honcho_conclude conclusion="<specific, actionable fact>"

Good conclusions: "Prefers code examples over prose explanations", "Working on a Rust async project through April 2026" Bad conclusions: "User said something about Rust" (too vague), "User seems technical" (already in representation)

When the user asks about past context / you need to recall specifics

honcho_search query="<topic>"       → fast, no LLM, good for specific facts
honcho_context                       → full snapshot with summary + messages
honcho_reasoning query="<question>"  → synthesized answer, use when search isn't enough

When to use peer: "ai"

Use AI peer targeting to build and query the agent's own self-knowledge:

  • honcho_conclude conclusion="I tend to be verbose when explaining architecture" peer="ai" — self-correction
  • honcho_reasoning query="How do I typically handle ambiguous requests?" peer="ai" — self-audit
  • honcho_profile peer="ai" — review own identity card

When NOT to call tools

In hybrid and context modes, base context (user representation + card + session summary) is auto-injected before every turn. Do not re-fetch what was already injected. Call tools only when:

  • You need something the injected context doesn't have
  • The user explicitly asks you to recall or check memory
  • You're writing a conclusion about something new

Cadence awareness

honcho_reasoning on the tool side shares the same cost as auto-injection dialectic. After an explicit tool call, the auto-injection cadence resets — avoiding double-charging the same turn.

Config Reference

Config file: $HERMES_HOME/honcho.json (profile-local) or ~/.honcho/config.json (global).

Key settings

KeyDefaultDescription
apiKey--API key (get one)
baseUrl--Base URL for self-hosted Honcho
peerName--User peer identity
aiPeerhost keyAI peer identity
workspacehost keyShared workspace ID
recallModehybridhybrid, context, or tools
observationall onPer-peer observeMe/observeOthers booleans
writeFrequencyasyncasync, turn, session, or integer N
sessionStrategyper-directoryper-directory, per-repo, per-session, global
messageMaxChars25000Max chars per message (chunked if exceeded)

Dialectic settings

KeyDefaultDescription
dialecticReasoningLevellowminimal, low, medium, high, max
dialecticDynamictrueAuto-bump reasoning by query complexity. false = fixed level
dialecticDepth1Number of dialectic rounds per query (1-3)
dialecticDepthLevels--Optional array of per-round levels, e.g. ["low", "high"]
dialecticMaxInputChars10000Max chars for dialectic query input

Context budget and injection

KeyDefaultDescription
contextTokensuncappedMax tokens for the combined base context injection (summary + representation + card). Opt-in cap — omit to leave uncapped, set to an integer to bound injection size.
injectionFrequencyevery-turnevery-turn or first-turn
contextCadence1Min turns between context API calls
dialecticCadence2Min turns between dialectic LLM calls (recommended 1–5)

The contextTokens budget is enforced at injection time. If the session summary + representation + card exceed the budget, Honcho trims the summary first, then the representation, preserving the card. This prevents context blowup in long sessions.

Memory-context sanitization

Honcho sanitizes the memory-context block before injection to prevent prompt injection and malformed content:

  • Strips XML/HTML tags from user-authored conclusions
  • Normalizes whitespace and control characters
  • Truncates individual conclusions that exceed messageMaxChars
  • Escapes delimiter sequences that could break the system prompt structure

This fix addresses edge cases where raw user conclusions containing markup or special characters could corrupt the injected context block.

Troubleshooting

"Honcho not configured"

Run hermes honcho setup. Ensure memory.provider: honcho is in ~/.hermes/config.yaml.

Memory not persisting across sessions

Check hermes honcho status -- verify saveMessages: true and writeFrequency isn't session (which only writes on exit).

Profile not getting its own peer

Use --clone when creating: hermes profile create <name> --clone. For existing profiles: hermes honcho sync.

Observation changes in dashboard not reflected

Observation config is synced from the server on each session init. Start a new session after changing settings in the Honcho UI.

Messages truncated

Messages over messageMaxChars (default 25k) are automatically chunked with [continued] markers. If you're hitting this often, check if tool results or skill content is inflating message size.

Context injection too large

If you see warnings about context budget exceeded, lower contextTokens or reduce dialecticDepth. The session summary is trimmed first when the budget is tight.

Session summary missing

Session summary requires at least one prior turn in the current Honcho session. On cold start (new session, no history), the summary is omitted and Honcho uses the cold-start prompt strategy instead.

CLI Commands

CommandDescription
hermes honcho setupInteractive setup wizard (cloud/local, identity, observation, recall, sessions)
hermes honcho statusShow resolved config, connection test, peer info for active profile
hermes honcho enableEnable Honcho for the active profile (creates host block if needed)
hermes honcho disableDisable Honcho for the active profile
hermes honcho peerShow or update peer names (--user <name>, --ai <name>, --reasoning <level>)
hermes honcho peersShow peer identities across all profiles
hermes honcho modeShow or set recall mode (hybrid, context, tools)
hermes honcho tokensShow or set token budgets (--context <N>, --dialectic <N>)
hermes honcho sessionsList known directory-to-session-name mappings
hermes honcho map <name>Map current working directory to a Honcho session name
hermes honcho identitySeed AI peer identity or show both peer representations
hermes honcho syncCreate host blocks for all Hermes profiles that don't have one yet
hermes honcho migrateStep-by-step migration guide from OpenClaw native memory to Hermes + Honcho
hermes memory setupGeneric memory provider picker (selecting "honcho" runs the same wizard)
hermes memory statusShow active memory provider and config
hermes memory offDisable external memory provider

Câu hỏi thường gặp

Kỹ năng AI Honcho làm được gì?

Configure and use Honcho memory with Hermes -- cross-session user modeling, multi-profile peer isolation, observation config, dialectic reasoning, session summaries, and context budget enforcement. Use when setting up Honcho, troubleshooting memory, managing profiles with Honcho peers, or tuning observation, recall, and dialectic settings.

Vì sao nên dùng Honcho trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Honcho là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Honcho trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Tommy-yw/RunbookHermes/tree/main/optional-skills/autonomous-ai-agents/honcho. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Honcho?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Honcho với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Honcho với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Honcho có miễn phí không?

Có. Kỹ năng này được Tommy-yw phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇