mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Adds a shared HanzoCloud client (core/cloud.py; lazy httpx, api.hanzo.ai /v1) and wires the cloud half of the hybrid tools: code gains cross-repo search/context/ask/index over the cloud index, vector gains a cloud-backed store plus an infinity-embedded local option, net gains a vision tool. Bumps hanzo-tools 0.3.2->0.3.3, -code 0.1.2->0.1.3, -net 0.1.2->0.1.3, -vector 0.2.0->0.2.1 and declares httpx where the cloud path is used. New tests cover the code/net cloud actions. import hanzo_tools.core is green.
hanzo-tools-vector
Vector search and embedding tools for Hanzo AI MCP.
Tools
index- Project indexing for semantic searchvector_index- Create and manage vector embeddingsvector_search- Semantic search across indexed content
Installation
pip install hanzo-tools-vector
# With embedding models
pip install hanzo-tools-vector[full]
Features
- Semantic code search
- Document embedding and retrieval
- Project-aware indexing
- Multiple embedding model support
Usage
from hanzo_tools.vector import TOOLS, VECTOR_AVAILABLE, register_tools
if VECTOR_AVAILABLE:
register_tools(mcp_server, permission_manager)
Part of hanzo-tools
This package is part of the modular hanzo-tools ecosystem.