Plugins
Hanzo Chat plugin system — built-in plugins, ChatGPT plugins, and custom plugin development.
Plugins
Hanzo Chat supports a plugin system that extends model capabilities with external tools and APIs. Plugins run server-side and are available to all conversations.
Built-in Plugins
Web Search
Search the web from within conversations:
# Enable Google Search plugin
GOOGLE_API_KEY=your-api-key
GOOGLE_CSE_ID=your-cse-idStable Diffusion
Generate images from text prompts:
# Enable Stable Diffusion
SD_WEBUI_URL=http://localhost:7860Wolfram Alpha
Mathematical computation and data analysis:
WOLFRAM_APP_ID=your-app-idAzure AI Search
Enterprise search over indexed documents:
AZURE_AI_SEARCH_SERVICE_ENDPOINT=https://your-service.search.windows.net
AZURE_AI_SEARCH_INDEX_NAME=your-index
AZURE_AI_SEARCH_API_KEY=your-keyChatGPT Plugins
Hanzo Chat is compatible with OpenAI's ChatGPT plugin format. Any plugin that exposes an OpenAPI spec can be loaded:
- Go to Plugin Store in Chat
- Enter the plugin's manifest URL (e.g.,
https://example.com/.well-known/ai-plugin.json) - The plugin is loaded and available for use
MCP Tools (Recommended)
For new integrations, we recommend using MCP (Model Context Protocol) tools instead of legacy plugins. MCP provides a standardized interface with 260+ available tools.
# chat.yaml
mcpServers:
filesystem:
command: npx
args: ["@hanzo/mcp-filesystem"]
web:
command: npx
args: ["@hanzo/mcp-web"]
github:
command: npx
args: ["@hanzo/mcp-github"]
env:
GITHUB_TOKEN: "${GITHUB_TOKEN}"Custom Plugin Development
Build your own plugins using the OpenAPI specification:
Create a manifest
{
"schema_version": "v1",
"name_for_human": "My Plugin",
"name_for_model": "my_plugin",
"description_for_human": "Does something useful",
"description_for_model": "Call this plugin to do something useful",
"auth": { "type": "none" },
"api": {
"type": "openapi",
"url": "https://my-plugin.example.com/openapi.yaml"
}
}Implement the API
Your API should match the OpenAPI spec. The model will call your endpoints based on the spec description.
Register in Chat
Add the manifest URL in Plugin Store or configure in chat.yaml.
How is this guide?
Last updated on