honcho-integration
Integrate Honcho memory and social cognition into existing Python or TypeScript codebases.
Skill by clawdsolana
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clawdsolana-honcho-integration
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
honcho-integration- Description
- Integrate Honcho memory and social cognition into existing Python or TypeScript codebases. Use when adding Honcho SDK, setting up peers, configuring sessions, implementing the dialectic chat endpoint for AI agents, or wiring Honcho into bot frameworks (nanobot, openclaw, picoclaw, etc).
- License
- MIT
- Allowed tools
- Read,, Glob,, Grep,, Bash(uv:*),, Bash(bun:*),, Bash(npm:*),, Edit,, Write,, WebFetch,, AskUserQuestion
- Instructions
- 550 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Pre-approves some shell commands
Agent Skills spec issues
- body: 550 lines (spec recommends under 500)
Files (5)
- SKILL.md
- bot-frameworks.md · references/
- client.py · references/bot-frameworks/nanobot/
- honcho_tool.py · references/bot-frameworks/nanobot/
- session.py · references/bot-frameworks/nanobot/
SKILL.md (first lines)
# 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. Observation settings (`observe_me`, `observe_others`) control which peers Honcho reasons about. Typically you want Honcho to model your users (`observe_me=True`) but not your AI assistant (`observe_me=False`). **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), `session.context()` (get formatted conversation history + representations), or both.
## 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 `{baseDir}/references/bot-frameworks.md` for framework-specific integration guidance and check `{baseDir}/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:
- 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" - "Combine approaches for different use cases"
#### Question Set 3 - Session Structure
Ask about conversation structure:
- header: "Sessions"
- question: "How should conversations map to Honcho sessions?"
- options based on their app (e.g., "One session per chat thread", "One session per user", "Multiple users per session (group chat)", "Custom session logic")
#### Question Set 4 - Specific Queries (if using pre-fetch pattern)
If they chose pre-fetch, ask what context matters:
- header: "Context"
- question: "What user context should be fetched for the AI?"
- multiSelect: true
- options: "Communication style", "Expertise level", "Goals/priorities", "Preferences", "Recent activity summary", "Custom queries"
### Phase 3: Implementation
Based on interview responses, implement the integration:
1. Install the SDK
2. Create Honcho client initialization
3. Set up peer creation for identified entities
4. Implement the chosen integration pattern(s)
5. Add message storage after exchanges
6. Update any existing conversation handlers
### Phase 4: Verification
- If the Honcho CLI is available, run `honcho doctor` to confirm connectivity before testing the integration code
- Use `honcho peer list` and `honcho peer chat` to verify peers exist and the dialectic endpoint works independently of the integration
- Ensure all message exchanges are stored to Honcho
- Verify AI peers have `observe_me=False` (unless user specifically wants AI observation)
- Check that the workspace ID is consistent across the codebase
- Confirm environment variable for API key is documented
---
## Before You Start
1. **Check the latest SDK versions** at <https://docs.honcho.dev/changelog/introduction>
- Python SDK: `honcho-ai`
- TypeScript SDK: `@honcho-ai/sdk`
2. **Get an API key** ask the user to get a Honcho API key from <https://app.honcho.dev> and add it to the environment.
3. **Verify with the CLI** (optional but recommended). If the user has the Honcho CLI installed (`pip install honcho-cli`), they can validate their setup before writing any integration code:
```bash
honcho init # persist API key + URL to ~/.honcho/config.json
honcho doctor # verify connectivity, config, workspace health
honcho peer chat # test the dialectic endpoint interactively
```
This is the fastest way to confirm the API key and URL are correct before debugging SDK code.
## Installation
### Python (use uv)
```bashFrom clawdsolana/OpenClawd, MIT.
More from clawdsolana/OpenClawd
- 0.512score
openrouter-images
clawdsolana
Generate images from text prompts and edit existing images using OpenRouter's image generation models.
SkillCFreshness: C★ 2Claude Code +9 - 0.512score
pay
clawdsolana
User-authorized paid HTTP/API access for agents through local Pay MCP and TouchID gated payments (x402 MPP HTTP 402) SERVICES: search web, scrape, enrich…
SkillCFreshness: C★ 2Claude Code +9 - 0.512score
openrouter-models
clawdsolana
Query OpenRouter for available AI models, pricing, capabilities, throughput, and provider performance.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
honcho-cli
clawdsolana
Inspect and debug Honcho workspaces via the `honcho` CLI.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
migrate-honcho-ts
clawdsolana
Migrates Honcho TypeScript SDK code from v1.6.0 to v2.1.1.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
openrouter-oauth
clawdsolana
Implement "Sign In with OpenRouter" using OAuth PKCE — framework-agnostic, no SDK or client registration required.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
crossmint-agentic-wallet
clawdsolana
Create non-custodial Solana wallets for AI agents with e-commerce, Jupiter swaps, faucet funding, and agent-to-agent payments
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
openrouter-agent-migration
clawdsolana
Migration guide from @openrouter/sdk to @openrouter/agent for callModel, tool(), stop conditions, and agent features.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
create-agent-tui
clawdsolana
Scaffolds a complete agent TUI in TypeScript using @openrouter/agent — like create-react-app for terminal agents.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
honcho-memory
plastic-labs
Gives AI agents persistent memory across conversations using Honcho.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
migrate-honcho
clawdsolana
Migrates Honcho Python SDK code from v1.6.0 to v2.1.1.
SkillCFreshness: C★ 2Claude Code +9 - 0.501score
competitive-analysis
clawdsolana
Perform competitive market analysis with comparisons and strategic recommendations.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 3
- Open issues
- 2
- Last commit (this folder)
- May 7, 2026 (5 months ago)
- Last release
- Apr 30, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/clawdsolana/OpenClawd
- Website
- solanaclawd.com/openclawd
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from clawdsolana
- 0.512score
openrouter-models
clawdsolana
Query OpenRouter for available AI models, pricing, capabilities, throughput, and provider performance.
SkillCFreshness: C★ 2Claude Code +9 - 0.512score
pay
clawdsolana
User-authorized paid HTTP/API access for agents through local Pay MCP and TouchID gated payments (x402 MPP HTTP 402) SERVICES: search web, scrape, enrich…
SkillCFreshness: C★ 2Claude Code +9 - 0.512score
openrouter-images
clawdsolana
Generate images from text prompts and edit existing images using OpenRouter's image generation models.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
openrouter-oauth
clawdsolana
Implement "Sign In with OpenRouter" using OAuth PKCE — framework-agnostic, no SDK or client registration required.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
honcho-cli
clawdsolana
Inspect and debug Honcho workspaces via the `honcho` CLI.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
migrate-honcho-ts
clawdsolana
Migrates Honcho TypeScript SDK code from v1.6.0 to v2.1.1.
SkillCFreshness: C★ 2Claude Code +9
Cite this page
honcho-integration skill. Agent Mart. https://agentmart.dev/skills/clawdsolana-honcho-integration (last updated 2026-10-24)