Agent SkillsTanStack/ai › tanstack-ai-memory-honcho

tanstack-ai-memory-honcho

GitHub

提供基于 Honcho 的托管记忆适配器,通过会话中同等的消息交换模型实现记忆的保存与检索。回忆功能返回综合性的辩证答案而非离散片段,适用于构建具备上下文感知能力的 AI 应用。

packages/ai-memory/skills/tanstack-ai-memory-honcho/SKILL.md TanStack/ai

Trigger Scenarios

需要为 AI Agent 集成持久化或会话记忆功能 配置 TanStack AI 的记忆中间件

Install

npx skills add TanStack/ai --skill tanstack-ai-memory-honcho -g -y
More Options

Non-standard path

npx skills add https://github.com/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-honcho -g -y

Use without installing

npx skills use TanStack/ai@tanstack-ai-memory-honcho

指定 Agent (Claude Code)

npx skills add TanStack/ai --skill tanstack-ai-memory-honcho -a claude-code -g -y

安装 repo 全部 skill

npx skills add TanStack/ai --all -g -y

预览 repo 内 skill

npx skills add TanStack/ai --list

SKILL.md

Frontmatter
{
    "name": "tanstack-ai-memory-honcho",
    "description": "Use when wiring honcho() from @tanstack\/ai-memory\/honcho — a hosted memory adapter where recall is a dialectic answer over the user's representation (no discrete fragments). Requires the optional @honcho-ai\/sdk peer."
}

Honcho Memory Adapter

Hosted recall/save adapter backed by Honcho. Honcho models memory as peers exchanging messages in a session; recall returns a synthesized dialectic answer over the user peer's representation (so there are no discrete fragments), and save appends the turn's messages to the session.

Setup

import { memoryMiddleware } from '@tanstack/ai-memory'
import { honcho } from '@tanstack/ai-memory/honcho'

const memory = honcho({ user: currentUserId }) // baseURL defaults to HONCHO_URL

memoryMiddleware({ adapter: memory, scope })

@honcho-ai/sdk is an optional peer dependency, loaded lazily on first use — install it where you use honcho().

Options

  • user — user peer id (falls back to scope.userId, then 'demo-user').
  • baseURL — Honcho server URL (default HONCHO_URL or http://localhost:8001).
  • workspaceId — default HONCHO_APP_NAME or 'ai-memory'.
  • apiKey — default HONCHO_API_KEY.
  • assistantId — assistant peer id (default 'assistant').

Scope fields: session key = {tenantId|_}__{threadId}; peer id is {tenantId}__{user} when tenantId is set, otherwise user / scope.userId. namespace is ignored.

recall calls the user peer's dialectic chat() and injects the answer as the system prompt; Honcho exposes no LLM tools.

Version History

  • 05280a5 Current 2026-07-30 23:52

Same Skill Collection

.claude/skills/gap-analysis/SKILL.md
packages/ai-code-mode/skills/ai-code-mode/SKILL.md
packages/ai-mcp/skills/ai-mcp/SKILL.md
packages/ai-memory/skills/tanstack-ai-memory-hindsight/SKILL.md
packages/ai-memory/skills/tanstack-ai-memory-in-memory/SKILL.md
packages/ai-memory/skills/tanstack-ai-memory-mem0/SKILL.md
packages/ai-memory/skills/tanstack-ai-memory-redis/SKILL.md
packages/ai-memory/skills/tanstack-ai-memory/SKILL.md
packages/ai-persistence/skills/ai-persistence/build-cloudflare-adapter/SKILL.md
packages/ai-persistence/skills/ai-persistence/build-cloudflare-artifact-store/SKILL.md
packages/ai-persistence/skills/ai-persistence/build-custom-adapter/SKILL.md
packages/ai-persistence/skills/ai-persistence/build-drizzle-adapter/SKILL.md
packages/ai-persistence/skills/ai-persistence/build-prisma-adapter/SKILL.md
packages/ai-persistence/skills/ai-persistence/server/SKILL.md
packages/ai-persistence/skills/ai-persistence/SKILL.md
packages/ai-persistence/skills/ai-persistence/stores/SKILL.md
packages/ai/skills/ai-core/ag-ui-protocol/SKILL.md
packages/ai/skills/ai-core/chat-experience/SKILL.md
packages/ai/skills/ai-core/custom-backend-integration/SKILL.md
packages/ai/skills/ai-core/debug-logging/SKILL.md
packages/ai/skills/ai-core/locks/SKILL.md
packages/ai/skills/ai-core/middleware/SKILL.md
packages/ai/skills/ai-core/SKILL.md
packages/ai/skills/ai-core/tool-calling/SKILL.md
.claude/skills/triage-github/SKILL.md
packages/ai-sandbox/skills/ai-sandbox/SKILL.md
packages/ai/skills/ai-core/adapter-configuration/SKILL.md
packages/ai/skills/ai-core/client-persistence/SKILL.md
packages/ai/skills/ai-core/media-generation/SKILL.md
packages/ai/skills/ai-core/structured-outputs/SKILL.md

Metadata

Files
0
Version
2822885
Hash
71fc09e7
Indexed
2026-07-30 23:52

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 13:00
浙ICP备14020137号-1 $Гость$