Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fa8f0b1
feat(examples): add Honcho memory skill for Zo Computer (#495)
LubaKaper Apr 6, 2026
95c72d7
docs: add Zo Computer integration page (#504)
ajspig Apr 7, 2026
ff116b0
Self-hosting docs overhaul: single-provider default, restructured con…
erosika Apr 8, 2026
5b6bd59
Tighten Transaction Scopes (#525)
VVoruganti Apr 8, 2026
317b4a6
v3.0.6 Release Candidate (#550)
VVoruganti Apr 10, 2026
58f9abb
docs: add paperclip integration docs (#549)
adavyas Apr 10, 2026
9524358
fix(docker): remove api-specific healthcheck from shared image (#530)
b-mackenzie-alexander Apr 16, 2026
9676526
docs: update Paperclip integration guide (#572)
adavyas Apr 17, 2026
b65d03d
Refactor clients.py to add modern features and more flexible configur…
VVoruganti Apr 20, 2026
3dbf0e6
feat: adding honcho-cli package (#424)
ajspig Apr 20, 2026
51497f1
feat(mcp): read HONCHO_API_URL env var to support self-hosted Honcho …
colangelo Apr 20, 2026
2c50791
fix: add namespace, model, and provider to langfuse metadata so we ca…
Rajat-Ahuja1997 Apr 20, 2026
1c3e3f8
fix: embed() sends string input instead of array, breaking OpenAI-com…
qxxaa Apr 20, 2026
7fae16b
handle turbopuffer server errors (#561)
Rajat-Ahuja1997 Apr 20, 2026
ca1dc85
cli docs (#589)
ajspig Apr 21, 2026
ae05ab5
fix: moving cli skill (#591)
ajspig Apr 21, 2026
7d1ce9c
fix: remove hardcoded stop_sequences override from Deriver model conf…
qxxaa Apr 23, 2026
b389627
docs: adding opencode (#596)
ajspig Apr 23, 2026
5f9cb3f
fix(surprisal): use correct filter format for level observations (#581)
Sanjays2402 Apr 23, 2026
f351db6
fix: rm stop sequence from tests (#607)
Rajat-Ahuja1997 Apr 23, 2026
07e7a99
docs: add opencode docs (#606)
adavyas Apr 23, 2026
a3e8000
docs: add Windows opencode install instructions (#611)
adavyas Apr 24, 2026
6d59118
Merge branch 'main' into upstream-sync
claude Apr 24, 2026
4a17a21
fix(tests): annotate dict generics in batched-add_messages test
claude Apr 24, 2026
989e513
fix(static): resolve basedpyright warnings that fail CI
claude Apr 24, 2026
2accbbe
Merge pull request #3 from offendingcommit/claude/resolve-pr-conflict…
offendingcommit Apr 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 117 additions & 0 deletions .claude/skills/honcho-cli/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
---
name: honcho-cli
description: 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.
allowed-tools: Bash(honcho:*), Bash(jq:*), Read, Grep
---

# Honcho CLI

`honcho` wraps the Honcho Python SDK with agent-friendly defaults: JSON output, structured errors, input validation. Use it to inspect workspace state, debug peer memory, and diagnose the dialectic.

## Output & config

- **TTY**: human-readable tables (default when interactive)
- **Piped / `--json`**: JSON — collection commands emit arrays, single-resource commands emit objects
- **Exit codes**: `0` success · `1` client error (bad input, not found) · `2` server error · `3` auth error
- **Config**: `~/.honcho/config.json` (shared with other Honcho tools). The CLI owns `apiKey` and `environmentUrl` at the top level; run `honcho init` to confirm or set them. Per-command scope (workspace / peer / session) is via `-w` / `-p` / `-s` flags or `HONCHO_*` env vars.

## Command groups

- `honcho config` — CLI configuration
- `honcho workspace` — inspect, delete, search
- `honcho peer` — inspect, card, chat, search
- `honcho session` — inspect, messages, context, summaries
- `honcho message` — list and get
- `honcho conclusion` — list, search, create, delete

## Rules

- Always pass `--json` when processing output programmatically.
- Run `honcho peer inspect` before `honcho peer chat` to understand context.
- Use `honcho session context` to see exactly what an agent receives.
- Never run `honcho workspace delete` without `honcho workspace inspect` first.
- 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 --json
```

### 2. Find the peer

```bash
honcho peer list --json
honcho peer inspect <peer_id> --json
```

### 3. 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> --json
```

### 4. 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> --json
```

### 5. Search across workspace

```bash
honcho workspace search "query" --json
honcho peer search <peer_id> "query" --json
```

## Debugging 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> --json
```

### Session 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 --json
```

### Dialectic 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
```
14 changes: 14 additions & 0 deletions .claude/skills/honcho-integration/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ Based on interview responses, implement the integration:

### 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
Expand All @@ -106,6 +108,16 @@ Based on interview responses, implement the integration:

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)
Expand Down Expand Up @@ -524,6 +536,8 @@ When integrating Honcho into an existing codebase:
- [ ] Pre-fetch pattern for simpler integrations
- [ ] context() for conversation history
- [ ] Store messages after each exchange to build user models
- [ ] (Optional) Run `honcho doctor` to verify connectivity before testing integration code
- [ ] (Optional) Use `honcho peer chat` to test dialectic queries independently

## Common Mistakes to Avoid

Expand Down
Loading
Loading