Skip to content

feat(honcho): prompt for local JWT during self-hosted setup#30180

Open
haran2001 wants to merge 1 commit into
NousResearch:mainfrom
haran2001:feat/honcho-local-jwt
Open

feat(honcho): prompt for local JWT during self-hosted setup#30180
haran2001 wants to merge 1 commit into
NousResearch:mainfrom
haran2001:feat/honcho-local-jwt

Conversation

@haran2001

Copy link
Copy Markdown
Contributor

Summary

  • Adds a local JWT / bearer token prompt to the self-hosted (local) branch of hermes honcho setup. Users running Honcho with AUTH_USE_AUTH=true and an AUTH_JWT_SECRET can now paste their server-signed JWT through the wizard instead of disabling auth entirely (the previous workaround called out by the issue).
  • The local token is stored under the host block (hosts.<host>.apiKey in honcho.json), not the top-level apiKey field. get_honcho_client already treats a host-block apiKey on a localhost/127.0.0.1 base URL as an explicit local-auth opt-in (_host_has_key path), so the SDK call now sends the JWT as the bearer token instead of the "local" placeholder. Cloud/hybrid switching is unaffected (top-level apiKey is left alone).
  • Blank input keeps the existing local no-auth behaviour, so existing self-hosted deployments without AUTH_USE_AUTH keep working unchanged.
  • Adds a Self-Hosted Honcho with Authentication subsection to the user-guide Honcho docs.

Test Plan

  • python -m pytest tests/honcho_plugin/test_cli.py -q -o 'addopts='
    • Covers two new cases: local setup with a JWT writes to hosts.<host>.apiKey (and leaves the cloud apiKey untouched); blank JWT on a fresh local config leaves both apiKey slots unset.

Closes #29885

@daimon-nous daimon-nous Bot added type/feature New feature or request comp/plugins Plugin system and bundled plugins tool/memory Memory tool and memory providers area/auth Authentication, OAuth, credential pools P3 Low — cosmetic, nice to have labels May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/auth Authentication, OAuth, credential pools comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have tool/memory Memory tool and memory providers type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Honcho local host support - JWT support

1 participant