honcho-integration
하는 일
이 스킬은 기존 Python이나 TypeScript 프로젝트에 Honcho SDK를 추가하려는 개발자를 안내합니다. 참여자와 대화를 설정하는 방법, 그리고 그들에 대해 저장된 메모리를 읽는 방법을 설명합니다.
사용하는 경우
- ✓기존 Python 앱에 사용자별 지속 메모리를 추가하고 싶을 때.
- ✓SDK를 사용하는 TypeScript 프로젝트에 Honcho를 추가하고 싶을 때.
- ✓채팅 앱을 위해 peer와 session을 설정해야 하는 경우.
스킬 링크
https://github.com/plastic-labs/honcho/blob/main/skills/honcho-integration/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 Python 챗봇에 Honcho 메모리를 추가해서 세션 사이에도 각 사용자를 기억하게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
핵심 개념을 설명합니다. peer는 참여자, session은 대화이며, 메시지는 메모리를 쌓는 백그라운드 과정에 전달됩니다. 그다음 어시스턴트가 이 개념을 여러분의 코드에 연결합니다.
기술 내용 (원본 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란 무엇인가요?
상태를 가진 AI 에이전트를 만들기 위한 오픈 소스 메모리 라이브러리이며, 어떤 모델이나 프레임워크와도 함께 쓸 수 있습니다.
메시지가 없으면 메모리가 생기나요?
아니요. Honcho는 보내진 메시지만 추론하므로 메시지가 없으면 메모리도 없습니다.
Honcho에 사용자에 대해 어떻게 묻나요?
chat 메서드를 통해 일상 언어로 질문할 수 있으며, 답변은 저장된 메모리에 근거합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
honcho-grok-bot
7.9kGrok Bot이 같은 계정의 다른 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에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.