honcho-cli
Original:🇺🇸 English
Translated
Inspect and debug Honcho workspaces via the `honcho` CLI. Use when investigating peer representations, memory state, session context, queue status, or dialectic quality — any task that requires introspection of a Honcho deployment.
12installs
Sourceplastic-labs/honcho
Added on
NPX Install
npx skill4agent add plastic-labs/honcho honcho-cliTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Honcho CLI
honchoOutput & config
- TTY: human-readable tables (default when interactive)
- Piped / : JSON — collection commands emit arrays, single-resource commands emit objects
--json - Exit codes: success ·
0client error (bad input, not found) ·1server error ·2auth error3 - Config: (shared with other Honcho tools). The CLI owns
~/.honcho/config.jsonandapiKeyat the top level; runenvironmentUrlto confirm or set them. Per-command scope (workspace / peer / session) is viahoncho init/-w/-pflags or-senv vars.HONCHO_*
Command groups
- — CLI configuration
honcho config - — inspect, delete, search
honcho workspace - — inspect, card, chat, search
honcho peer - — inspect, messages, context, summaries
honcho session - — list and get
honcho message - — list, search, create, delete
honcho conclusion
Rules
- Always pass when processing output programmatically.
--json - Run before
honcho peer inspectto understand context.honcho peer chat - Use to see exactly what an agent receives.
honcho session context - Never run without
honcho workspace deletefirst.honcho workspace inspect - Check queue status when derivation seems stalled.
- Compare peer card with conclusions to understand memory state.
Inspection tour
When orienting to a Honcho deployment, walk outside-in:
1. Understand the workspace
bash
honcho workspace inspect --json2. Find the peer
bash
honcho peer list --json
honcho peer inspect <peer_id> --json3. Check peer's memory
bash
honcho peer card <peer_id> --json
honcho conclusion list --observer <peer_id> --json
honcho conclusion search "topic" --observer <peer_id> --json4. Debug a session
bash
honcho session inspect <session_id> --json
honcho message list <session_id> --last 20 --json
honcho session context <session_id> --json
honcho session summaries <session_id> --json5. Search across workspace
bash
honcho workspace search "query" --json
honcho peer search <peer_id> "query" --jsonDebugging playbook
Peer not learning?
bash
# Is observation enabled?
honcho peer inspect <peer_id> --json | jq '.configuration'
# Is the deriver queue processing messages?
honcho workspace queue-status --json
# What conclusions exist?
honcho conclusion list --observer <peer_id> --json
honcho conclusion search "expected topic" --observer <peer_id> --jsonSession context looks wrong?
bash
# Raw context an agent would receive
honcho session context <session_id> --json
# Summaries feeding the context
honcho session summaries <session_id> --json
# Recent message history
honcho message list <session_id> --last 50 --jsonDialectic giving bad answers?
bash
# What the peer card says
honcho peer card <peer_id> --json
# Conclusions on the specific topic
honcho conclusion search "topic" --observer <peer_id> --json
# Exercise the dialectic directly
honcho peer chat <peer_id> "what do you know about X?" --json