mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Cloud's APIKeyPrefixes admits pk- and sk- only (auth_identity.go, 4b030b77). The lsp tool still told the user to set an hk- key, which cloud resolves to no principal — following the message produced a key that could never authenticate. The message is now a single NO_KEY beside the resolver that mints it, exported from hanzo_tools.core, so a second tool reporting it cannot spell it differently. Resolution order is untouched: HANZO_API_KEY, then ~/.hanzo/config.json .apiKey, then the CLI's IAM session. vector_index names the split cloud actually draws: pk- publishable for read, sk- secret for write. Co-authored-by: Hanzo Dev <[email protected]>
hanzo-tools-net
Network tools for Hanzo AI MCP (HIP-0300).
Tools
fetch— the web, one door per verb:search— query → [url, title, snippet]web_read— url → clean markdownresearch— question → cited answer + sources (search + read + synthesize)fetch/download/crawl/head/request/open
vision— image (+ prompt) → text answer
Installation
pip install hanzo-tools-net
Usage
from hanzo_tools.net import TOOLS, register_tools
# Register with MCP server
register_tools(mcp_server)
Part of hanzo-tools
This package is part of the modular hanzo-tools ecosystem.