🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@honcho-ai/openclaw

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@honcho-ai/openclaw

Honcho AI-native memory integration for OpenClaw

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Honcho Memory Plugin for OpenClaw

AI-native memory with dialectic reasoning for OpenClaw. Uses Honcho's peer paradigm to build and maintain separate models of the user and the agent — enabling context-aware conversations that improve over time. No local infrastructure required.

This plugin uses OpenClaw's slot system (kind: "memory") to replace the built-in memory plugins (memory-core, memory-lancedb). During installation, existing memory files are migrated to Honcho as conclusions, and workspace docs (SOUL.md, AGENTS.md, BOOTSTRAP.md) are synced from plugin templates.

Configuration

The only required value is your Honcho API key. Get one at honcho.dev.

Add it to OpenClaw's global env file:

echo "HONCHO_API_KEY=your_honcho_api_key_here" >> ~/.openclaw/.env

Install

openclaw plugins install @honcho-ai/openclaw

The install script automatically:

  • Migrates any existing memory to Honcho (if HONCHO_API_KEY is set)
  • Archives legacy memory files to archive/ (USER.md, MEMORY.md, AGENTS.md, BOOTSTRAP.md, SOUL.md, memory/ directory)
  • Syncs workspace docs (SOUL.md, AGENTS.md, BOOTSTRAP.md) from plugin templates

Important: Make sure any existing memory files are saved to version control before installing.

Restart the gateway after installing:

openclaw gateway restart

Start chatting and ask it questions to use its tools:

  • Chat in terminal: openclaw tui
  • Watch the logs: openclaw logs --follow

Workspace Path

The plugin needs to know where your OpenClaw workspace files are stored. By default, this is ~/.openclaw/workspace, but you can customize it.

Resolution order (first match wins):

  • WORKSPACE_ROOT environment variable
  • ~/.openclaw/openclaw.json config file (checks agent.workspace, agents.defaults.workspace, or agents.defaults.workspaceDir)
  • ~/.openclaw/workspace (if it exists)
  • Current working directory (fallback)

Option 1: Environment variable

echo "WORKSPACE_ROOT=/path/to/custom/workspace" >> ~/.openclaw/.env

Option 2: Config file

Add to ~/.openclaw/openclaw.json:

{
  "agent": {
    "workspace": "/path/to/custom/workspace"
  }
}

Honcho Options

KeyTypeDefaultDescription
workspaceIdstring"openclaw"Honcho workspace ID for memory isolation.
baseUrlstring"https://api.honcho.dev"API endpoint (for self-hosted instances).

Self-Hosted / Local Honcho

If you're running your own Honcho server locally or self-hosted, just point the plugin to your instance by setting the base URL:

echo "HONCHO_BASE_URL=http://localhost:8000" >> ~/.openclaw/.env

No other client-side changes are needed. The plugin will connect to your local server instead of the hosted API.

For setting up a local Honcho server, see the Honcho code.

How it works

Once installed, the plugin works automatically:

  • Message Observation — After every AI turn, the conversation is persisted to Honcho. Both user and agent messages are observed, allowing Honcho to build and refine its models.
  • Tool-Based Context Access — The AI can query Honcho mid-conversation using tools like honcho_recall, honcho_search, and honcho_analyze to retrieve relevant context about the user.
  • Dual Peer Model — Honcho maintains separate representations: one for the user (preferences, facts, communication style) and one for the agent (personality, learned behaviors).

Honcho handles all reasoning and synthesis in the cloud.

Workspace Files

The plugin manages markdown files in your workspace:

FileContents
SOUL.mdAgent profile — OpenClaw's self-model and personality.
AGENTS.mdAgent capabilities and tool descriptions.
BOOTSTRAP.mdInitial context and instructions for the agent.
IDENTITY.mdStatic agent identity (unchanged by Honcho).

Important: Legacy files (USER.md, MEMORY.md, memory/ directory) are migrated to Honcho and archived to archive/ during installation. Commit them to version control before installing.

AI Tools

The plugin provides both data retrieval tools (cheap, fast, raw data) and Q&A tools (LLM-powered, direct answers).

Data Retrieval Tools

ToolDescription
honcho_sessionRetrieve conversation history and summaries from the current session. Supports semantic search.
honcho_profileGet the user's peer card — a curated list of their most important facts.
honcho_searchSemantic vector search over stored observations. Returns raw memories ranked by relevance.
honcho_contextRetrieve Honcho's full representation — a broad view of observations about the user.

Q&A Tools

ToolDescription
honcho_recallAsk a simple factual question (e.g., "What's their name?"). Minimal LLM reasoning.
honcho_analyzeAsk a complex question requiring synthesis (e.g., "Describe their communication style"). Medium reasoning.

CLI Commands

openclaw honcho status                          # Show connection status and representation sizes
openclaw honcho ask <question>                  # Query Honcho about the user
openclaw honcho search <query> [-k N] [-d D]    # Semantic search over memory (topK, maxDistance)

Development

See CONTRIBUTING.md for development setup, building from source, and contribution guidelines.

FAQs

Package last updated on 02 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts