honcho-integration
Что он делает
Этот скилл направляет разработчиков, которые добавляют набор SDK Honcho в существующий проект на Python или TypeScript. Он объясняет, как настроить участников, диалоги и чтение сохраненной о них памяти.
Когда использовать
- ✓Когда вы хотите добавить постоянную память о пользователе в существующее приложение на Python.
- ✓Когда вы хотите добавить Honcho в проект на TypeScript с использованием SDK.
- ✓Когда нужно настроить участников и сессии для чат-приложения.
Ссылка на скилл
https://github.com/plastic-labs/honcho/blob/main/skills/honcho-integration/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Добавь память Honcho в моего чат-бота на Python, чтобы он помнил каждого пользователя между сессиями.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл объясняет основные идеи: участники — это собеседники, сессии — это диалоги, а сообщения питают фоновый процесс, который строит память. Затем помощник связывает эти идеи с вашим кодом.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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" -
Частые вопросы
Что такое Honcho?
Это библиотека памяти с открытым кодом для создания ИИ-агентов с состоянием, которая работает с любой моделью и любым фреймворком.
Формируется ли память без сообщений?
Нет. Honcho анализирует только сообщения, которые вы отправили, поэтому без сообщений памяти не будет.
Как спросить Honcho о пользователе?
Вы можете задавать вопросы на естественном языке через его метод чата, и он отвечает, опираясь на сохраненную память.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 7.9k
- Место в рейтинге
- #12749
- Лицензия
- AGPL-3.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
honcho-grok-bot
7.9kПомогает вашему Grok Bot стабильно использовать память Honcho, называя свою личность и чат-сессии так же, как другие боты на том же аккаунте.
honcho-memory
7.9kПомогает агенту помнить вас между чатами: он проверяет память Honcho перед ответом и сохраняет каждый обмен после него, поэтому со временем узнает ваши предпочтения.
honcho-setup
7.9kПомогает агенту подключиться к памяти Honcho, войти в аккаунт, выбрать рабочее пространство памяти и проверить, что подключение работает.
honcho-memory
7.9kПомогает агенту проверить сохраненную память о вас и вашем проекте перед началом работы и сохранять полезные выводы для будущих сессий.
Похожие скиллы
api-connector-builder
280kАгент создаёт новые подключения к API по существующему шаблону. Используйте, когда нужна ещё одна интеграция без нового способа делать то же самое.
api-design
280kПомогает агенту проектировать REST API по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.