honcho-integration
Qué hace
Esta skill guía a desarrolladores que añaden el kit de desarrollo de software de Honcho a un proyecto de Python o TypeScript ya existente. Explica cómo configurar participantes, conversaciones y la lectura de la memoria guardada sobre ellos.
Cuándo usarla
- ✓Cuando quieres añadir memoria persistente de usuario a una app de Python ya existente.
- ✓Cuando quieres añadir Honcho a un proyecto de TypeScript que usa el SDK.
- ✓Cuando necesitas configurar participantes y sesiones para una app de chat.
Link de la skill
https://github.com/plastic-labs/honcho/blob/main/skills/honcho-integration/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Añade memoria de Honcho a mi chatbot de Python para que recuerde a cada usuario entre sesiones.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Explica las ideas centrales. Los participantes son las personas que intervienen, las sesiones son las conversaciones, y los mensajes alimentan un proceso en segundo plano que construye la memoria. Luego el asistente conecta estas ideas con tu código.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Honcho Integration Guide
What is Honcho
Honcho is an open source memory library for building stateful agents. It works with any model, framework, or architecture. You send Honcho the messages from your conversations, and custom reasoning models process them in the background — extracting premises, drawing conclusions, and building rich representations of each participant over time. Your agent can then query those representations on-demand ("What does this user care about?", "How technical is this person?") and get grounded, reasoned answers.
The key mental model: Peers are any participant — human or AI. Both are represented the same way. observe_me is a peer-level flag (PeerConfig) controlling whether Honcho forms a representation of that peer; typically you want Honcho to model your users (observe_me=True) but not anything with deterministic behavior (observe_me=False). observe_others is a separate per-peer SessionPeerConfig setting that controls whether that peer forms representations of the other participants in a session. Sessions scope conversations between peers. Messages are the raw data you feed in — Honcho reasons about them asynchronously and stores the results as the peer's representation. No messages means no reasoning means no memory.
Your agent accesses this memory through peer.chat(query) (ask a natural language question, get a reasoned answer — a few seconds of live reasoning) or session.context() (near-instant read of formatted history + representation). Prefer context() for per-turn grounding; use chat() when you need a reasoned answer.
Reference map
Follow the workflow below. Read a reference file only when you reach the step that needs it:
| When you're… | Read |
|---|---|
| Writing the client/peer/session setup (init, peers, sessions, add messages) | references/core-patterns.md |
Wiring how the AI reads context (tool call, pre-fetch, context(), streaming) |
references/agent-patterns.md |
| Integrating into a bot framework (nanobot, openclaw, picoclaw, …) | references/bot-frameworks.md + references/bot-frameworks/<framework>/ |
Integration Workflow
Follow these phases in order:
Phase 1: Codebase Exploration
Before asking the user anything, explore the codebase to understand:
- Language & Framework: Is this Python or TypeScript? What frameworks are used (FastAPI, Express, Next.js, etc.)?
- Existing AI/LLM code: Search for existing LLM integrations (OpenAI, Anthropic, LangChain, etc.)
- Entity structure: Identify users, agents, bots, or other entities that interact
- Session/conversation handling: How does the app currently manage conversations?
- Message flow: Where are messages sent/received? What's the request/response cycle?
Use Glob and Grep to find:
**/*.pyor**/*.tsfiles with "openai", "anthropic", "llm", "chat", "message"- User/session models or types
- API routes handling chat or conversation endpoints
Bot framework detected? If the codebase is built around an agent loop, tool registry, session manager, and message bus (e.g., nanobot, openclaw, picoclaw), read
references/bot-frameworks.mdfor framework-specific integration guidance and checkreferences/bot-frameworks/<framework>/for concrete reference implementations.
Phase 2: Interview (REQUIRED)
After exploring the codebase, use the AskUserQuestion tool to clarify integration requirements. Ask these questions (adapt based on what you learned in Phase 1):
Question Set 1 - Entities & Peers
Ask about which entities should be Honcho peers:
- header: "Peers"
- question: "Which entities should Honcho track and build representations for?"
- options based on what you found (e.g., "End users only", "Users + AI assistant", "Users + multiple AI agents", "All participants including third-party services")
- Include a follow-up if they have multiple AI agents: should any AI peers be observed?
Question Set 2 - Integration Pattern
Ask how they want to use Honcho context (see references/agent-patterns.md for the implementation of each):
- header: "Pattern"
- question: "How should your AI access Honcho's user context?"
- options:
- "Tool call (Recommended)" - "Agent queries Honcho on-demand via function calling"
- "Pre-fetch" - "Fetch user context before each LLM call with predefined queries"
- "context()" - "Include conversation history and representations in prompt"
- "Multiple patterns" -
Preguntas frecuentes
¿Qué es Honcho?
Es una biblioteca de memoria de código abierto para crear agentes de IA con estado, y funciona con cualquier modelo o framework.
¿Se forma memoria sin mensajes?
No. Honcho solo razona sobre los mensajes que envías, así que sin mensajes no hay memoria.
¿Cómo le pregunto a Honcho sobre un usuario?
Puedes hacer preguntas en lenguaje natural mediante su método de chat, y devuelve respuestas basadas en la memoria guardada.
Detalles
Descripción original del autor
Integrate Honcho memory into existing Python or TypeScript codebases. Use when adding Honcho SDK, setting up peers, configuring sessions, and accessing Honcho's representation.
repo: plastic-labs/honcho
Popularidad
- Estrellas en GitHub
- 7,9 mil
- Posición en el ranking
- #12749
- Licencia
- AGPL-3.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
honcho-grok-bot
7,9 milAyuda a tu Grok Bot a usar la memoria de Honcho de forma coherente, nombrando su identidad y sus sesiones de chat igual que los demás Bots de la misma cuenta.
honcho-memory
7,9 milAyuda a tu agente a recordarte entre chats: consulta la memoria de Honcho antes de responder y guarda cada intercambio para aprender tus preferencias.
honcho-setup
7,9 milAyuda a tu agente a conectar la memoria de Honcho, iniciar sesión, elegir un espacio de memoria y comprobar que la conexión funciona.
honcho-memory
7,9 milAyuda a tu agente a revisar la memoria guardada sobre ti y tu proyecto antes de empezar un trabajo, y a guardar conclusiones útiles para sesiones posteriores.
Skills parecidas
api-connector-builder
280 milHace que tu agente cree nuevas conexiones de API siguiendo el patrón existente. Úsalo para añadir una integración más sin inventar otra forma de hacer las cosas.
api-design
280 milAyuda a tu agente a diseñar APIs REST según las buenas prácticas. Es útil para definir cómo se comunican las APIs, cómo se muestran los errores y cómo organizar los datos.
backend-patterns
280 milAyuda a tu agente con patrones de arquitectura del lado del servidor y optimización de bases de datos. Es útil para crear o revisar código que se ejecuta en el servidor.