HZD Developer Platform - Consensus API | AI Consensus Integration
DEVELOPER PLATFORM

Integrate AI Consensus Into Your Apps

Open Consensus API, Debate API, Trust Score API, Agent API — add multi-model AI consensus to your app with just a few lines of code.

CORE APIs

Four APIs Covering All AI Consensus Scenarios

Every API is production-proven with stable SLA guarantees.

🎯
Consensus API

Get multi-model consensus conclusions on the same question, returning consensus index, decision signals, and risk alerts.

Multi-model consensus aggregation
Consensus index calculation
Decision signal output
Confidence assessment
POST /v1/consensus
⚔️
Debate API

Trigger multi-model structured debate, getting debate process, viewpoint comparison, and divergence analysis.

Multi-model debate trigger
Viewpoint comparison analysis
Divergence point identification
Debate process replay
POST /v1/debate
🛡️
Trust Score API

Get trust scores for content, data, and models, providing credibility reference for decision-making.

Content trust score
Data source credibility
Model reliability assessment
Risk level annotation
GET /v1/trust-score
🤖
Agent API

Create and manage AI Agents, giving Agents multi-model consensus decision-making capabilities.

Agent creation & management
Consensus decision integration
Workflow orchestration
Multi-agent collaboration
POST /v1/agent
QUICK START

A Few Lines of Code to Access AI Consensus

Supports Python, JavaScript, Go, Java and other mainstream languages.

import hzd

client = hzd.Client(api_key="your_api_key")

# Get multi-model consensus
response = client.consensus.create(
    question="What's the impact of Fed rate decision on tech stocks?",
    models=["gpt-4o", "claude", "deepseek", "gemini"],
    layers=["analysis", "debate", "verification"]
)

print(f"Consensus Index: {response.consensus_index}")
print(f"Decision Signal: {response.signal}")
print(f"Model Agreement: {response.agreement_ratio}")
DEV TOOLS

SDKs & Developer Tools

Official SDKs, CLI tools, Playground — accelerate your development.

🐍

Python SDK

Official Python SDK, supporting sync and async calls.

pip install hzd-sdk
📦

Node.js SDK

Official Node.js SDK, with TypeScript support.

npm install hzd-sdk
🔧

CLI Tool

Command-line tool for quick API testing and debugging.

npm install -g hzd-cli
🎮

Playground

Online Playground — test APIs without writing code.

Open Playground →
USE CASES

How Developers Use the API

From finance apps to content platforms, AI consensus API empowers various applications.

💹

Finance Research Apps

Integrate Consensus API to provide investors with multi-model consensus market analysis and investment advice.

📰

News Content Platforms

Integrate Trust Score API to annotate content credibility, helping users identify misinformation.

🤖

AI Agent Platforms

Integrate Agent API to give Agents multi-model consensus decision-making, improving task completion quality.

🎓

Education & Research Tools

Integrate Debate API to provide students with multi-model viewpoint comparison, cultivating critical thinking.

Start Building AI Consensus Apps

Register a developer account, get free API quota, and start developing now.