Files
bot/skills/hanzo-search/SKILL.md
zeekay e5aac7b8a2 feat(skills): add complete Hanzo cloud service repertoire (20 new skills)
Full coverage of Hanzo infrastructure: MCP (260+ tools), CLI, LLM
Gateway, Chat, Network, Node, Web3, Consensus, ACI, REPL, Vector DB,
KV Store, PubSub, DocumentDB, Storage, Studio, Insights, Commerce,
Search, and Telemetry. Updated PaaS skill to use hanzo-tools-paas SDK.
2026-02-27 00:09:47 -08:00

2.5 KiB

name, description, metadata
name description metadata
hanzo-search AI-powered full-text search with Hanzo Search (Meilisearch). Sub-50ms queries, typo tolerance, faceting, filtering, and multi-language support.
bot
requires install
bins
python3
id kind package label
pip pip meilisearch Install Meilisearch Client (pip)

Hanzo Search — Full-Text Search

pip install meilisearch

Sub-50ms full-text search with typo tolerance, faceted filtering, sorting, and multi-language support. Built on Meilisearch.

Quick Start

import meilisearch

client = meilisearch.Client("http://localhost:7700", "master-key")

# Create index and add documents
index = client.index("products")
index.add_documents([
    {"id": 1, "title": "Hanzo Agent SDK", "category": "sdk", "price": 0},
    {"id": 2, "title": "Hanzo MCP Server", "category": "tools", "price": 0},
    {"id": 3, "title": "Hanzo Chat Pro", "category": "app", "price": 29},
])

# Search
results = index.search("agent")
for hit in results["hits"]:
    print(hit["title"])

Filtering & Faceting

# Configure filterable attributes
index.update_filterable_attributes(["category", "price"])
index.update_sortable_attributes(["price", "title"])

# Search with filters
results = index.search("hanzo", {
    "filter": "category = sdk AND price < 100",
    "sort": ["price:asc"],
    "limit": 20
})

# Faceted search
results = index.search("hanzo", {
    "facets": ["category"],
})
print(results["facetDistribution"])
# {"category": {"sdk": 5, "tools": 3, "app": 2}}

Typo Tolerance

# Searches for "hanzp" still find "hanzo"
results = index.search("hanzp")
# Returns: Hanzo Agent SDK, Hanzo MCP Server, etc.

Synonyms

index.update_synonyms({
    "ai": ["artificial intelligence", "ml", "machine learning"],
    "sdk": ["library", "package", "client"]
})

Multi-Language

# Chinese, Japanese, Korean, Hebrew, Thai support
index.add_documents([
    {"id": 4, "title": "Hanzo AI", "title_ja": "ハンゾーAI"}
])

Async Client

import meilisearch

# Tasks are async by default
task = index.add_documents(documents)
client.wait_for_task(task.task_uid)

Port

  • API: 7700

Environment Variables

MEILISEARCH_HOST=http://localhost:7700
MEILISEARCH_API_KEY=master-key