跳到正文
Skillpedia
智能体7.9k · #12750

honcho-memory

它能做什么

该技能讲解如何把 Honcho(一种记忆服务)用作 AI 助手的长期记忆。适用于已经连接了 Honcho、并希望充分利用它的人。

适用场景

  • ✓Honcho 已连接,你希望助手在多次对话中记住用户的时候。
  • ✓你想了解会话和参与者应如何为记忆而设置的时候。
  • ✓你不确定如何为记忆组织对话,需要基本方法的时候。

技能链接

https://github.com/plastic-labs/honcho/blob/main/skills/honcho-memory/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/plastic-labs/honcho/blob/main/skills/honcho-memory/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我应该如何组织我的对话,让 Honcho 记住关于我的正确内容?”

每周 5 个新技能,1 分钟读完。

工作原理

它涵盖基本循环:在回复前回忆记忆,并在之后记录每次对话。它还说明如何把消息分组为会话,每个会话保持一个清晰的上下文。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Using Honcho as Memory

Honcho is a memory layer for agents. You feed it the messages from your conversations; in the background it reasons over them and builds a representation of each participant. At any point you can ask it natural-language questions about the user ("How technical are they?", "What are they trying to do?") and get grounded, reasoned answers.

This skill is for when Honcho is already connected to you and you want to use it. If you're instead adding Honcho to a codebase from scratch, use the honcho-integration skill.

What's durable vs. what to look up. The concepts and the recall/record loop below change rarely — rely on them. Specifics that change often — the exact set of integrations, tool names, install commands, headers, and defaults — are illustrative here; treat the linked docs (and your own live tool list) as authoritative and fetch them when the details matter.

The mental model

  • Peer — any participant, human or AI. You and the user are both peers. Honcho builds a representation of peers it observes (typically the user, not you).
  • Session — one conversation thread; messages live in sessions. Honcho reasons over the messages in a session together, so scope each session to one coherent context (a conversation, channel, task, or project) and keep that context's turns in the same session rather than fragmenting them across many thin ones. For low-volume or trickle inputs, append to one ongoing session rather than spinning up a new one each time. See design patterns and reasoning.
  • Message — the raw turns you feed in. No messages → no reasoning → no memory.
  • Conclusion — a fact Honcho derived (or you stored) about a peer. Conclusions power the representation.
  • Representation / peer card — the synthesized understanding of a peer, queryable via chat. A peer's representation accumulates across every session it appears in — that's the cross-conversation memory. Session-scoped data (recent messages, summaries) stays local to one session.

Reasoning happens asynchronously. After you record a turn, don't poll or wait — the representation updates in the background and is richer next time you ask.

The loop: recall → respond → record

Do this every conversation. It's the whole skill.

  1. Once per conversation — make sure there's a session with you and the user as peers (observe the user, don't observe yourself).
  2. Before responding, when personalization helps — pull the user's current context (get_session_context / get_representation) or search past messages (search) — these are fast reads. For a reasoned answer to a specific question, ask the dialectic (chat) — that one takes a few seconds, so use it when it earns its keep.
  3. After every exchange — record both the user's message and your reply. This is what makes Honcho learn. Don't skip it.

Optionally, when you learn a durable fact you don't want to wait for background reasoning to surface, store a conclusion directly.

What you get back when you recall

Three ways to pull memory, cheapest first:

  • Representation (get_representation) — Honcho's synthesized understanding of the user as text, ready to drop straight into a system prompt. Near-instant read.
  • Context (get_session_context) — the fuller session view: a session summary + recent messages covering the conversation, and — only if you target a peer — that peer's representation folded in. Without a peer target it's session-local (recent turns + summary) and carries no cross-conversation memory. Near-instant read.
  • Dialectic (chat) — a reasoned natural-language answer to a specific question ("How does this user like to receive feedback?"). Runs live reasoning, so it takes a few seconds. Use it when a plain read won't answer the question.

The dialectic (chat) also takes a reasoning level that trades speed for depth — from minimal (fast factual lookup) through low (the default balance) to max (deep synthesis for the hardest questions). Pick the lowest level that answers the question; higher levels are slower and cost more. The full level-by-level table and model routing are in the chat docs.


Pick your access path

The loop is the same; the mechanics depend on ho

常见问题

什么是会话?

一个对话线程。Honcho 会一起对会话中的消息进行推理,因此一个上下文应保持在同一个会话中。

什么是对等方?

任何参与者,无论是人还是 AI。Honcho 通常建立的是对用户的记忆,而不是对助手的记忆。

该技能中的工具名称可靠吗?

该技能说明,工具名称和设置细节经常变化,因此可靠的依据是链接的文档和你当前的工具列表。

详情

作者的原始描述

Concepts and strategy for using a connected Honcho as persistent memory of the user — the recall/record loop and session and peer design. Start here to understand how Honcho memory works, then connect — via a first-class integration for your environment if one exists (preferred), or raw MCP tools (covered here) or the honcho-cli skill (CLI). For embedding the SDK into a codebase, use honcho-integration.

repo: plastic-labs/honcho

热度

GitHub 星标
7.9k
排名
#12750
许可证
AGPL-3.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能