본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)7.9k · #12749

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/plastic-labs/honcho/blob/main/skills/honcho-integration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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:

  1. Language & Framework: Is this Python or TypeScript? What frameworks are used (FastAPI, Express, Next.js, etc.)?
  2. Existing AI/LLM code: Search for existing LLM integrations (OpenAI, Anthropic, LangChain, etc.)
  3. Entity structure: Identify users, agents, bots, or other entities that interact
  4. Session/conversation handling: How does the app currently manage conversations?
  5. Message flow: Where are messages sent/received? What's the request/response cycle?

Use Glob and Grep to find:

  • **/*.py or **/*.ts files 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.md for framework-specific integration guidance and check references/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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬