{"protocolVersion": "0.3.0", "name": "IHUI AI Service", "description": "IHUI AI 平台的 A2A 任务面:接收 JSON 任务(目标 + 输入),在服务端以 agent 循环执行并可跨服务派发到已注册 agent 的 endpoint,客户端轮询状态与结果。安全:全部任务端点要求凭据(IHUI JWT 或内网 X-IHUI-Principal),并按任务归属隔离(非管理员只能读自己创建的任务)。skills[] 逐项对应服务端已注册且对该调用方可放行的能力,未实现的能力不会出现在清单中。", "url": "https://www.aizhs.top/api/a2a/tasks", "preferredTransport": "HTTP+JSON", "version": "0.0.0", "provider": {"organization": "IHUI AI (智汇AI)", "url": "https://aizhs.top"}, "capabilities": {"streaming": false, "pushNotifications": false, "stateTransitionHistory": false, "extensions": [{"uri": "urn:ihui:a2a:native-task-api:v1", "required": true, "description": "IHUI 原生 REST 任务面(报文非 A2A 标准 JSON-RPC/HTTP+JSON 转码):POST /api/a2a/tasks 建单,请求体 {name, description, input, assigned_agent_id},响应任务对象 {id, name, agent_id, input, status, result, error, created_at, updated_at};轮询 GET /api/a2a/tasks/{taskId}/status;取结果 GET /api/a2a/tasks/{taskId}/result。任务按调用者(principal.sub)归属,非管理员读取他人任务返回 403。"}]}, "defaultInputModes": ["application/json"], "defaultOutputModes": ["application/json"], "skills": [{"id": "agents:call", "name": "Agents Call", "description": "执行 Agent 推理(不落业务表,只产运行记录)", "tags": ["agents:call", "agent", "compute", "high", "dispatch_subagent"]}, {"id": "audio:write", "name": "Audio Write", "description": "TTS/ASR/声纹注册", "tags": ["audio:write", "multimodal", "compute", "medium", "audio_transcription", "music_generation", "token6688_cancel_task", "token6688_upload_file", "token6688_voice_clone", "voice_tts"]}, {"id": "billing:read", "name": "Billing Read", "description": "自身余额/账单读取", "tags": ["billing:read", "developer", "scoped-read", "medium", "token6688_balance", "token6688_model_info"]}, {"id": "chat:write", "name": "Chat Write", "description": "对话补全/视觉/MoA(直接产生模型费用)", "tags": ["chat:write", "chat", "compute", "high", "proactive_suggestion", "vision_analyze"]}, {"id": "codebase:read", "name": "Codebase Read", "description": "代码库语义检索(索引内容属调用者)", "tags": ["codebase:read", "codebase", "scoped-read", "medium", "analyze_code", "generate_test", "index_codebase", "search_codebase"]}, {"id": "edu:read", "name": "Edu Read", "description": "教育内容与题库读取", "tags": ["edu:read", "platform", "scoped-read", "low", "edu_list_arrears", "edu_list_fee_reminders", "edu_list_payment_records", "edu_list_refunds", "edu_list_students", "edu_list_tuition_fees", "edu_my_bills", "edu_payment_summary"]}, {"id": "edu:write", "name": "Edu Write", "description": "教育内容维护", "tags": ["edu:write", "platform", "scoped-write", "medium", "edu_approve_refund", "edu_create_payment_record", "edu_create_refund", "edu_reject_refund", "edu_send_fee_reminder", "edu_send_fee_reminder_batch"]}, {"id": "files:read", "name": "Files Read", "description": "读取自有文件元数据与内容", "tags": ["files:read", "file", "scoped-read", "medium", "document_tables", "extract_document_assets", "file_search", "list_files", "parse_document", "read_file", "summarize_artifacts"]}, {"id": "files:write", "name": "Files Write", "description": "上传/删除自有文件", "tags": ["files:write", "file", "scoped-write", "high", "file_edit", "resolve_conflict", "write_file"]}, {"id": "images:write", "name": "Images Write", "description": "文生图/编辑/修复/风格迁移", "tags": ["images:write", "multimodal", "compute", "medium", "generate_chart", "image_edit", "image_generation"]}, {"id": "knowledge:read", "name": "Knowledge Read", "description": "自有知识库检索/RAG", "tags": ["knowledge:read", "knowledge", "scoped-read", "medium", "knowledge_lookup"]}, {"id": "memory:read", "name": "Memory Read", "description": "记忆召回(用户长期记忆属敏感数据,需显式授予)", "tags": ["memory:read", "memory", "scoped-read", "high", "context_recall"]}, {"id": "search:web", "name": "Search Web", "description": "联网搜索与整站爬取(资源密集)", "tags": ["search:web", "web", "compute", "medium", "crawl_site", "map_site", "search_web", "web_search"]}, {"id": "tools:read", "name": "Tools Read", "description": "工具/资源/提示词清单", "tags": ["tools:read", "tool", "compute", "low", "get_tool_schema"]}, {"id": "videos:write", "name": "Videos Write", "description": "视频生成/编排", "tags": ["videos:write", "multimodal", "compute", "medium", "video_generation"]}, {"id": "web:fetch", "name": "Web Fetch", "description": "URL 抓取(SSRF 面,必须过出口白名单)", "tags": ["web:fetch", "web", "compute", "high", "extract_web", "fetch_readable", "fetch_url", "screenshot_url"]}], "securitySchemes": {"bearerAuth": {"type": "http", "scheme": "bearer", "bearerFormat": "JWT", "description": "IHUI access token(HS256 JWT,由 apps/api 签发,与 ai-service 共享 JWT_SECRET)。放在 Authorization: Bearer <token>。"}, "ihuiInternalPrincipal": {"type": "apiKey", "in": "header", "name": "X-IHUI-Principal", "description": "内网可信主体头:v1.<base64url(json)>.<HMAC-SHA256 hex>,仅服务间调用(apps/api → ai-service)可用;API key 不能直连本服务。"}}, "security": [{"bearerAuth": []}, {"ihuiInternalPrincipal": []}]}