Agents & OrchestrationSûr100100/100

Tanstack IA Memory Honcho (TanStack)

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.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs tanstack-ai-memory-honcho__tanstack-ai__packages-ai-memory-skills-5b0cb626f944
TanStack
TanStack/ai
Contenu à copier
---
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.
metadata:
  origin: TanStack
---

# 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

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

// Build per request from the server-validated session — never from req.body.
function memoryFor(session: { userId: string; threadId: string }) {
  const memory = honcho({ user: session.userId }) // baseURL defaults to HONCHO_URL

  return memoryMiddleware({
    adapter: memory,
    scope: { threadId: session.threadId, userId: session.userId },
  })
}
```

`@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.
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Tanstack IA Memory Honcho (TanStack)

`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`.

Comment utiliser Tanstack IA Memory Honcho (TanStack)

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Tanstack IA Memory Honcho (TanStack)

Dis simplement à ton agent quelque chose comme :

Applique le skill tanstack-ai-memory-honcho__tanstack-ai__packages-ai-memory-skills-5b0cb626f944 à cette tâche
Utilise tanstack-ai-memory-honcho__tanstack-ai__packages-ai-memory-skills-5b0cb626f944 pour améliorer cette implémentation
Passe en revue ce sujet avec tanstack-ai-memory-honcho__tanstack-ai__packages-ai-memory-skills-5b0cb626f944

Skills liés à Tanstack IA Memory Honcho (TanStack)