Protocol v1.0 协议 v1.0

Define AI Capabilities
with One Protocol
用一个协议
定义 AI 能力

MxJSON unifies API definitions, prompts, workflows, and UI rendering into a single JSON protocol. Package and distribute AI capabilities like container images. MxJSON 将 API 定义、提示词、工作流、UI 渲染统一为 JSON 协议。像容器镜像一样封装和分发 AI 能力。

100×
Faster delivery交付效率
6
Core capabilities核心能力
Possibilities无限可能
contract-review.mxjson
{
  "$mxjson": "1.0",
  "meta": {
    "name": "Contract Review",
    "description": "AI-powered contract analysis"
  },
  "input": {
    "document": { "type": "file", "accept": ".pdf,.docx" }
  },
  "ai": {
    "provider": "openai",
    "model": "gpt-4o",
    "prompt": "Analyze contract risks..."
  },
  "output": {
    "risks": "array",
    "score": "number",
    "summary": "string"
  }
}

Six Dimensions of Standardization六个维度的标准化

One JSON protocol that covers everything from API generation to UI rendering.一个 JSON 协议,覆盖从 API 生成到 UI 渲染的全流程。

API GenerationAPI 生成

Auto-generate endpoints, documentation, and deployment logic from protocol definitions.从协议定义自动生成接口、文档和部署逻辑。

💬

Prompt Templates提示词模板

Standardized prompts with variable injection and template management.支持变量注入的标准化提示词模板管理。

🔗

Workflow Engine流程引擎

Serial, parallel, and branching logic with human-in-the-loop support.支持串行、并行、分支逻辑,内置人机协作。

📦

Distribution一键分发

Deploy across platforms like container images. Cloud or on-premise.像容器镜像一样跨平台部署,支持云端或私有化。

🎨

Auto UI自动 UI

Render interactive interfaces directly from protocol definitions.根据协议定义自动渲染交互界面。

📊

Structured Output结构化输出

Enforce structured JSON responses from LLMs for deterministic results.强制大模型返回结构化 JSON,确保输出确定性。

Why MxJSON为什么选择 MxJSON

🔄

Full Portability完全可移植

No vendor lock-in. Move AI assets between clouds like container images.无厂商锁定。AI 资产像容器镜像一样跨云迁移。

🛡️

Enterprise Ready企业级

Human-in-the-loop controls and comprehensive audit logs for compliance.人机协作控制和完整审计日志,满足合规要求。

100× Faster百倍效率

Protocol-driven development. Write JSON, deliver complete AI solutions.协议驱动开发。写 JSON 即交付完整 AI 方案。

How It Works工作原理

01

Define定义

Write .mxjson file编写 .mxjson 文件

02

Configure配置

Set models & variables设置模型和变量

03

Execute执行

Runtime invokes AIRuntime 调用 AI

04

Deliver交付

Auto-generate UI自动生成 UI

Technical Stack技术栈

  • Extension协议后缀 .mxjson
  • Frontend前端 Vue3 + TypeScript + Element Plus
  • Backend后端 ThinkPHP 8 + MySQL
  • AI ProvidersAI 接入 OpenAI / Claude / Qwen / ERNIE
  • Cloud云服务 Alibaba Cloud ECS / OSS / RDS
Application应用层
Vue3 Dynamic Renderer
Protocol协议层
.mxjson Standard
Engine引擎层
MxJSON Runtime Parser
AI LayerAI 层
Multi-Model Adapter

Industry Applications行业应用

⚖️

Legal法务

Contract review, risk assessment, compliance checking.合同审核、风险评估、合规检查。

🏥

Healthcare医疗

Triage, records processing, decision support.智能分诊、病历处理、决策辅助。

🏛️

Government政务

Citizen service, policy consultation, workflow automation.市民服务、政策咨询、流程自动化。

📊

Finance金融

Report generation, market analysis, document processing.报告生成、市场分析、文档处理。

🏭

Manufacturing制造

Quality control, predictive maintenance, supply chain.质量控制、预测维护、供应链。

📚

Education教育

Personalized learning, auto grading, content generation.个性化学习、自动批改、内容生成。