honcho-integration
यह क्या करती है
यह स्किल डेवलपर्स को मौजूदा Python या TypeScript प्रोजेक्ट में Honcho software development kit जोड़ने का मार्गदर्शन देती है। यह बताती है कि participants और conversations कैसे सेट करें, और उनके बारे में सहेजी मेमोरी कैसे पढ़ें।
कब इस्तेमाल करें
- ✓जब आप मौजूदा Python ऐप में उपयोगकर्ता की स्थायी मेमोरी जोड़ना चाहते हैं।
- ✓जब आप SDK का इस्तेमाल करके TypeScript प्रोजेक्ट में Honcho जोड़ना चाहते हैं।
- ✓जब आपको चैट ऐप के लिए peers और sessions सेट करने हैं।
Skill का लिंक
https://github.com/plastic-labs/honcho/blob/main/skills/honcho-integration/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Python चैटबॉट में Honcho मेमोरी जोड़िए, ताकि वह हर उपयोगकर्ता को सत्रों के बीच याद रखे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह मूल विचार समझाती है। Peers participants हैं, sessions बातचीत हैं, और संदेश एक पृष्ठभूमि प्रक्रिया को देते हैं जो मेमोरी बनाती है। फिर असिस्टेंट इन विचारों को आपके कोड से जोड़ता है।
तकनीकी सामग्री (मूल 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 method के ज़रिए सादी भाषा में सवाल पूछ सकते हैं, और वह सहेजी मेमोरी पर आधारित जवाब देता है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
honcho-grok-bot
7.9kयह आपके Grok Bot को Honcho मेमोरी ठीक से इस्तेमाल करने में मदद करती है, उसकी पहचान और चैट सत्र उसी तरह नाम देकर जैसे उसी खाते के दूसरे Bots करते हैं।
honcho-memory
7.9kयह आपके एजेंट को जवाब देने से पहले Honcho मेमोरी देखकर और हर बातचीत के बाद उसे सहेजकर, चैट के पार आपको याद रखने देती है, ताकि वह समय के साथ आपकी पसंद सीखे।
honcho-setup
7.9kयह आपके एजेंट को Honcho मेमोरी से जुड़ने, साइन इन करने, मेमोरी वर्कस्पेस चुनने और कनेक्शन काम कर रहा है या नहीं जाँचने में मदद करती है।
honcho-memory
7.9kयह आपके एजेंट को काम शुरू करने से पहले आपके और आपके प्रोजेक्ट के बारे में सहेजी मेमोरी जाँचने देती है, और आगे के सत्रों के लिए उपयोगी निष्कर्ष सहेजती है।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।