{"id":372,"date":"2026-09-28T23:59:24","date_gmt":"2026-09-28T15:59:24","guid":{"rendered":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/"},"modified":"2026-09-28T23:59:24","modified_gmt":"2026-09-28T15:59:24","slug":"yylx-io-supports-magpie-ai-agent-model-gateway","status":"publish","type":"post","link":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/","title":{"rendered":"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u4e2a\u4e2d\u8f6c\u7ad9\u8fde\u63a5 Codex\u3001Claude Code \u4e0e\u5168\u90e8\u6a21\u578b"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO \u73b0\u5df2\u6b63\u5f0f\u652f\u6301 Magpie\u3002Magpie \u5df2\u5185\u7f6e <code>yylx<\/code> provider preset\uff0c\u5e76\u63d0\u4f9b auto\u3001global \u548c cn \u533a\u57df\u9009\u9879\u3002\u7528\u6237\u53ea\u9700\u6dfb\u52a0\u4e00\u6b21 YYLX.IO API Key\uff0c\u5c31\u53ef\u4ee5\u5728 Codex\u3001Claude Code\u3001Gemini CLI\u3001OpenCode \u7b49\u4e0d\u540c AI Agent \u4e2d\u9009\u62e9 YYLX.IO \u63d0\u4f9b\u7684\u6a21\u578b\uff0c\u4e0d\u518d\u4e3a\u6bcf\u4e2a\u5de5\u5177\u5355\u72ec\u4fee\u6539 Base URL\u3001\u73af\u5883\u53d8\u91cf\u548c\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u5b98\u7f51\u4e5f\u5c06 YYLX.IO \u5217\u4e3a\u8d5e\u52a9\u65b9\uff0c\u5e76\u5c06\u5176\u63cf\u8ff0\u4e3a\u9762\u5411 Claude \u4e0e GPT\u3001\u9488\u5bf9 Claude Code \u4f18\u5316\u7684\u7edf\u4e00 API \u7f51\u5173\u3002\u5bf9\u4e8e\u540c\u65f6\u4f7f\u7528\u591a\u4e2a AI \u7f16\u7a0b\u5de5\u5177\u7684\u5f00\u53d1\u8005\uff0c\u8fd9\u6b21\u652f\u6301\u7684\u610f\u4e49\u4e0d\u53ea\u662f\u201c\u591a\u4e86\u4e00\u4e2a\u5ba2\u6237\u7aef\u201d\uff0c\u800c\u662f\u8ba9 YYLX.IO \u7684\u6a21\u578b\u7ebf\u8def\u53ef\u4ee5\u901a\u8fc7\u672c\u5730\u7edf\u4e00\u7f51\u5173\u5206\u53d1\u7ed9\u51e0\u4e4e\u6240\u6709\u5e38\u89c1 Agent\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Magpie \u662f\u4ec0\u4e48\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u662f\u4e00\u4e2a\u514d\u8d39\u3001\u5f00\u6e90\u3001MIT \u8bb8\u53ef\u7684\u672c\u5730\u6a21\u578b\u7f51\u5173\u548c\u6a21\u578b\u5207\u6362\u5de5\u5177\uff0c\u652f\u6301 macOS\u3001Windows \u548c Linux\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b83\u89e3\u51b3\u7684\u95ee\u9898\u5f88\u76f4\u63a5\uff1a\u4e0d\u540c Agent \u4f7f\u7528\u4e0d\u540c\u534f\u8bae\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Codex \u4e3b\u8981\u4f7f\u7528 OpenAI Responses API\uff1b<\/li>\n\n\n<li>Claude Code \u4f7f\u7528 Anthropic Messages API\uff1b<\/li>\n\n\n<li>Gemini CLI \u4f7f\u7528 Google Gemini API\uff1b<\/li>\n\n\n<li>OpenCode\u3001Pi\u3001Goose \u7b49\u5de5\u5177\u53c8\u53ef\u80fd\u4f7f\u7528 OpenAI Chat \u6216\u81ea\u5df1\u7684\u914d\u7f6e\u683c\u5f0f\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u5728\u672c\u673a\u542f\u52a8\u4e00\u4e2a\u4f4d\u4e8e <code>127.0.0.1:3425<\/code> \u7684\u5c0f\u578b\u7f51\u5173\uff0c\u80fd\u591f\u5728 OpenAI\u3001Anthropic \u548c Gemini \u534f\u8bae\u4e4b\u95f4\u53cc\u5411\u8f6c\u6362\uff0c\u4fdd\u7559\u6d41\u5f0f\u8f93\u51fa\u3001\u5de5\u5177\u8c03\u7528\u548c reasoning\u3002\u8fd9\u6837\uff0c\u539f\u672c\u53ea\u652f\u6301\u67d0\u4e00\u79cd\u534f\u8bae\u7684 Agent\uff0c\u4e5f\u80fd\u4f7f\u7528\u5176\u4ed6\u4f9b\u5e94\u5546\u6216\u4e2d\u8f6c\u7ad9\u63d0\u4f9b\u7684\u6a21\u578b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b80\u5355\u8bf4\uff0cMagpie \u628a\u201cAgent \u4f7f\u7528\u4ec0\u4e48\u534f\u8bae\u201d\u548c\u201c\u6a21\u578b\u6765\u81ea\u54ea\u4e2a\u5e73\u53f0\u201d\u62c6\u5f00\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">YYLX.IO \u652f\u6301 Magpie \u540e\u80fd\u505a\u4ec0\u4e48\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a5\u5165 YYLX.IO \u540e\uff0c\u4f60\u53ef\u4ee5\u5728 Magpie \u4e2d\u7edf\u4e00\u5b8c\u6210\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8ba9 Codex \u4f7f\u7528 YYLX.IO \u4e2d\u7684 Claude\u3001DeepSeek\u3001Kimi\u3001GLM\u3001Qwen \u6216\u5176\u4ed6\u517c\u5bb9\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u8ba9 Claude Code \u4f7f\u7528 YYLX.IO \u4e2d\u7684 GPT\u3001Gemini \u6216\u5176\u4ed6\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u4e3a Gemini CLI\u3001OpenCode\u3001Pi\u3001Goose\u3001Cursor CLI\u3001Copilot CLI \u7b49\u5de5\u5177\u7edf\u4e00\u9009\u62e9\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u5728\u4e0d\u540c Agent \u4e4b\u95f4\u590d\u7528\u540c\u4e00\u4e2a YYLX.IO Provider\uff1b<\/li>\n\n\n<li>\u67e5\u770b\u6bcf\u4e2a Agent\u3001\u6a21\u578b\u7684 tokens\u3001\u7f13\u5b58\u547d\u4e2d\u548c\u6210\u672c\uff1b<\/li>\n\n\n<li>\u4fdd\u5b58\u5de5\u4f5c\u3001\u4f4e\u6210\u672c\u3001\u4e13\u6ce8\u7b49\u914d\u7f6e\u65b9\u6848\uff0c\u4e00\u952e\u5207\u6362\u591a\u5957 Agent \u8bbe\u7f6e\uff1b<\/li>\n\n\n<li>\u5efa\u7acb\u6a21\u578b\u7ec4\uff0c\u5728\u7ebf\u8def\u9650\u6d41\u3001\u4f59\u989d\u4e0d\u8db3\u6216\u5931\u8d25\u65f6\u81ea\u52a8\u5207\u6362\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u524d\u6bcf\u4e2a\u5de5\u5177\u90fd\u8981\u5206\u522b\u914d\u7f6e Base URL\u3001API Key \u548c\u6a21\u578b\u540d\u3002\u73b0\u5728\u53ef\u4ee5\u5728 Magpie \u4e2d\u6dfb\u52a0\u4e00\u6b21 YYLX.IO\uff0c\u518d\u4ece\u6bcf\u4e2a Agent \u7684\u6a21\u578b\u5217\u8868\u4e2d\u9009\u62e9\u9700\u8981\u7684\u6a21\u578b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48 Magpie \u548c YYLX.IO \u5f88\u9002\u5408\u4e00\u8d77\u4f7f\u7528\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u8d1f\u8d23\u672c\u5730\u534f\u8bae\u8f6c\u6362\u3001Agent \u914d\u7f6e\u548c\u8def\u7531\uff0cYYLX.IO \u8d1f\u8d23\u6a21\u578b\u7ebf\u8def\u3001\u7edf\u4e00 API \u548c\u5b9e\u9645\u8c03\u7528\u3002\u4e24\u8005\u89e3\u51b3\u7684\u662f\u4e0d\u540c\u5c42\u7684\u95ee\u9898\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u7ec4\u4ef6<\/th><th>\u4e3b\u8981\u804c\u8d23<\/th><\/tr><\/thead><tbody><tr><td>Magpie<\/td><td>\u672c\u5730\u7f51\u5173\u3001\u534f\u8bae\u8f6c\u6362\u3001Agent \u914d\u7f6e\u3001\u6a21\u578b\u9009\u62e9\u548c\u667a\u80fd\u8def\u7531<\/td><\/tr><tr><td>YYLX.IO<\/td><td>Claude\u3001GPT \u7b49\u6a21\u578b\u5165\u53e3\u3001API Key\u3001\u7ebf\u8def\u4e0e\u8ba1\u8d39<\/td><\/tr><tr><td>Codex \/ Claude Code \u7b49 Agent<\/td><td>\u8bfb\u53d6\u9879\u76ee\u3001\u8c03\u7528\u5de5\u5177\u5e76\u5b8c\u6210\u5b9e\u9645\u4efb\u52a1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u5957\u7ec4\u5408\u7684\u4f18\u52bf\u662f\u914d\u7f6e\u66f4\u96c6\u4e2d\u3002\u6362\u6a21\u578b\u65f6\uff0c\u4e0d\u9700\u8981\u7814\u7a76\u6bcf\u4e2a Agent \u7684\u914d\u7f6e\u6587\u4ef6\uff1b\u5207\u6362\u7ebf\u8def\u65f6\uff0c\u4e5f\u4e0d\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u5de5\u5177\u3002Magpie \u4f1a\u53ea\u4fee\u6539 Agent \u914d\u7f6e\u91cc\u5fc5\u8981\u7684\u952e\uff0c\u5e76\u5c3d\u91cf\u4fdd\u7559\u6ce8\u91ca\u3001\u987a\u5e8f\u548c\u7f29\u8fdb\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">YYLX.IO \u5df2\u6210\u4e3a Magpie \u5185\u7f6e Provider<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u7684\u5b98\u65b9\u6587\u6863\u5df2\u7ecf\u5728 presets \u5217\u8868\u4e2d\u52a0\u5165 <code>yylx<\/code>\uff0c\u5e76\u6807\u6ce8 auto\u3001global\u3001cn \u533a\u57df\u3002\u8fd9\u610f\u5473\u7740\u7528\u6237\u4e0d\u9700\u8981\u624b\u52a8\u8f93\u5165\u548c\u8bb0\u5fc6\u6240\u6709\u517c\u5bb9\u7aef\u70b9\uff0c\u53ea\u9700\u5728 Add Provider \u4e2d\u9009\u62e9 YYLX\uff0c\u5e76\u586b\u5199\u81ea\u5df1\u7684 API Key\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e09\u4e2a\u533a\u57df\u9009\u9879\u53ef\u4ee5\u7406\u89e3\u4e3a\u4e0d\u540c\u7684\u63a5\u5165\u504f\u597d\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>auto<\/strong>\uff1a\u8ba9\u9884\u8bbe\u91c7\u7528\u9ed8\u8ba4\u6216\u81ea\u52a8\u9009\u62e9\u65b9\u5f0f\uff1b<\/li>\n\n\n<li><strong>global<\/strong>\uff1a\u9762\u5411\u5168\u7403\u7ebf\u8def\u7684\u63a5\u5165\u9009\u9879\uff1b<\/li>\n\n\n<li><strong>cn<\/strong>\uff1a\u9762\u5411\u4e2d\u56fd\u7f51\u7edc\u73af\u5883\u7684\u63a5\u5165\u9009\u9879\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5177\u4f53\u5730\u5740\u3001\u7ebf\u8def\u80fd\u529b\u548c\u53ef\u7528\u6a21\u578b\u4f1a\u968f\u5e73\u53f0\u66f4\u65b0\uff0c\u8bf7\u4ee5 Magpie \u5f53\u524d\u9884\u8bbe\u548c YYLX.IO \u540e\u53f0\u663e\u793a\u4e3a\u51c6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u5b89\u88c5 Magpie\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u63d0\u4f9b\u684c\u9762\u5e94\u7528\u3001TUI \u548c CLI\u3002macOS \u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u5e94\u7528\uff1b\u7ec8\u7aef\u5b89\u88c5\u65b9\u5f0f\u4e3a\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>curl -fsSL https:\/\/usemagpie.ai\/install.sh | sh<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7cfb\u7edf\u652f\u6301\u60c5\u51b5\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>macOS 11 \u6216\u66f4\u9ad8\u7248\u672c\uff0c\u652f\u6301 Apple Silicon \u548c Intel\uff1b<\/li>\n\n\n<li>Windows 10 \u6216\u66f4\u9ad8\u7248\u672c\uff0c\u652f\u6301 x64 \u4e0e ARM64\uff1b<\/li>\n\n\n<li>Linux \u9700\u8981 GTK 3 \u4e0e WebKitGTK 4.1\uff0c\u63d0\u4f9b x86-64 \u548c ARM64 \u7248\u672c\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u540e\u53ef\u4ee5\u6253\u5f00\u684c\u9762\u5e94\u7528\uff0c\u4e5f\u53ef\u4ee5\u8fd0\u884c <code>magpie tui<\/code> \u4f7f\u7528\u5b8c\u6574\u7ec8\u7aef\u754c\u9762\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u628a YYLX.IO \u6dfb\u52a0\u5230 Magpie\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a8\u8350\u6309\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u767b\u5f55 <a href=\"https:\/\/yylx.io\" target=\"_blank\" rel=\"noreferrer noopener\">YYLX.IO \u9c7c\u9c7c\u8fde\u7ebf<\/a>\uff0c\u521b\u5efa\u6216\u590d\u5236\u81ea\u5df1\u7684 API Key\u3002<\/li>\n\n\n<li>\u5b89\u88c5\u5e76\u6253\u5f00 Magpie\u3002<\/li>\n\n\n<li>\u8fdb\u5165 Providers \u9875\u9762\uff0c\u70b9\u51fb <code>\uff0b Add provider<\/code>\u3002<\/li>\n\n\n<li>\u641c\u7d22\u5e76\u9009\u62e9 YYLX preset\u3002<\/li>\n\n\n<li>\u6839\u636e\u9700\u8981\u9009\u62e9 auto\u3001global \u6216 cn \u533a\u57df\u3002<\/li>\n\n\n<li>\u7c98\u8d34 YYLX.IO API Key\uff0c\u4fdd\u5b58\u540e\u6267\u884c Test\u3002<\/li>\n\n\n<li>\u6253\u5f00 Agents \u9875\u9762\uff0c\u4e3a Codex\u3001Claude Code \u6216\u5176\u4ed6 Agent \u9009\u62e9 YYLX.IO \u4e2d\u7684\u6a21\u578b\u3002<\/li>\n\n\n<li>\u5173\u95ed\u65e7\u4f1a\u8bdd\u5e76\u542f\u52a8\u65b0\u4f1a\u8bdd\uff1b\u5207\u6362 Codex \u6a21\u578b\u540e\uff0c\u8fd8\u9700\u8981\u91cd\u65b0\u542f\u52a8 Codex \u5e94\u7528\u3002<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u4f1a\u8be2\u95ee YYLX.IO \u5f53\u524d\u63d0\u4f9b\u7684\u6a21\u578b\uff0c\u5e76\u628a\u53ef\u7528\u6a21\u578b\u653e\u8fdb\u9009\u62e9\u5668\u3002\u5982\u679c\u67d0\u4e2a\u65b0\u6a21\u578b\u5c1a\u672a\u51fa\u73b0\u5728\u5217\u8868\u4e2d\uff0c\u4e5f\u53ef\u4ee5\u624b\u52a8\u8f93\u5165\u5b9e\u9645\u6a21\u578b ID\uff1b\u6700\u7ec8\u6a21\u578b\u540d\u5e94\u4ee5 YYLX.IO \u540e\u53f0\u548c Magpie \u6d4b\u8bd5\u7ed3\u679c\u4e3a\u51c6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Magpie \u4f1a\u4fee\u6539\u54ea\u4e9b\u914d\u7f6e\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u4f60\u4e3a Agent \u9009\u62e9\u6a21\u578b\u65f6\uff0cMagpie \u4f1a\u5199\u5165\u5bf9\u5e94\u5de5\u5177\u81ea\u5df1\u7684\u914d\u7f6e\uff0c\u800c\u4e0d\u662f\u8981\u6c42\u4f60\u6c38\u4e45\u5bfc\u51fa\u4e00\u7ec4\u5168\u5c40\u73af\u5883\u53d8\u91cf\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Agent<\/th><th>Magpie \u4e3b\u8981\u5199\u5165\u5185\u5bb9<\/th><\/tr><\/thead><tbody><tr><td>Claude Code<\/td><td><code>~\/.claude\/settings.json<\/code> \u4e2d\u7684 Base URL\u3001\u8ba4\u8bc1 token \u548c\u6a21\u578b\u53d8\u91cf<\/td><\/tr><tr><td>Codex<\/td><td><code>~\/.codex\/config.toml<\/code> \u4e2d\u7684 Magpie provider \u548c\u6a21\u578b\u5217\u8868<\/td><\/tr><tr><td>OpenCode\u3001Pi\u3001Crush \u7b49<\/td><td>Magpie provider \u4e0e <code>magpie\/provider\/model<\/code> \u6a21\u578b\u540d<\/td><\/tr><tr><td>Gemini CLI<\/td><td>\u672c\u5730\u7f51\u5173\u5730\u5740\u3001API Key \u8ba4\u8bc1\u4e0e\u6a21\u578b\u914d\u7f6e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u7684\u4fee\u6539\u662f\u539f\u5b50\u5199\u5165\uff0c\u5e76\u5c3d\u91cf\u53ea\u6539\u5fc5\u8981\u5b57\u6bb5\u3002\u9009\u62e9 Agent \u81ea\u5e26\u6a21\u578b\u6216\u6267\u884c <code>magpie &lt;agent&gt; default<\/code>\uff0c\u53ef\u4ee5\u6062\u590d Magpie \u63a5\u7ba1\u524d\u7684\u914d\u7f6e\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u4e2a YYLX.IO Provider\uff0c\u8de8\u591a\u4e2a Agent \u4f7f\u7528<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u7684\u6a21\u578b\u547d\u540d\u683c\u5f0f\u4e3a <code>provider\/model<\/code>\u3002\u6dfb\u52a0 YYLX.IO \u540e\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u4e0d\u540c Agent \u4e2d\u770b\u5230\u76f8\u540c Provider \u7684\u6a21\u578b\uff0c\u518d\u6309\u4efb\u52a1\u9009\u62e9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Codex \u7528\u66f4\u9002\u5408\u771f\u5b9e\u4ee3\u7801\u5e93\u7684\u5f3a\u6a21\u578b\uff1b<\/li>\n\n\n<li>Claude Code \u7528 Claude \u517c\u5bb9\u7ebf\u8def\u6216\u5176\u4ed6\u7ecf\u534f\u8bae\u8f6c\u6362\u7684\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u5feb\u901f\u95ee\u7b54\u548c\u5b50 Agent \u4f7f\u7528\u4f4e\u6210\u672c\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u957f\u4e0a\u4e0b\u6587\u3001\u590d\u6742\u91cd\u6784\u4f7f\u7528\u66f4\u5f3a\u6a21\u578b\uff1b<\/li>\n\n\n<li>Gemini CLI \u6216 OpenCode \u6839\u636e\u56e2\u961f\u9700\u6c42\u9009\u62e9\u53e6\u4e00\u5957\u6a21\u578b\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u8d1f\u8d23\u628a Agent \u7684\u539f\u751f\u8bf7\u6c42\u7ffb\u8bd1\u6210 YYLX.IO \u652f\u6301\u7684\u534f\u8bae\uff0c\u518d\u628a\u6d41\u5f0f\u8f93\u51fa\u548c\u5de5\u5177\u8c03\u7528\u7ed3\u679c\u8f6c\u6362\u56de\u6765\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Routing Groups\uff1a\u9650\u6d41\u65f6\u81ea\u52a8\u5207\u6362<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u7684 Routing Groups \u53ef\u4ee5\u628a\u591a\u4e2a\u6a21\u578b\u3001\u7ebf\u8def\u6216\u8d26\u6237\u653e\u5728\u4e00\u4e2a <code>group\/&lt;id&gt;<\/code> \u540e\u9762\u3002\u4e3b\u8981\u8def\u7531\u6a21\u5f0f\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Smart<\/strong>\uff1a\u4f18\u5148\u4f7f\u7528\u5373\u5c06\u91cd\u7f6e\u4e14\u4ecd\u6709\u989d\u5ea6\u7684\u8d26\u6237\uff1b<\/li>\n\n\n<li><strong>In order<\/strong>\uff1a\u6309\u56fa\u5b9a\u987a\u5e8f\u4f7f\u7528\uff0c\u5931\u8d25\u540e\u5207\u5230\u4e0b\u4e00\u4e2a\uff1b<\/li>\n\n\n<li><strong>In turn<\/strong>\uff1a\u4e0d\u540c\u5bf9\u8bdd\u8f6e\u6362\u4f7f\u7528\u8d26\u6237\u6216\u6a21\u578b\uff1b<\/li>\n\n\n<li><strong>Least used<\/strong>\uff1a\u4f18\u5148\u4f7f\u7528\u5269\u4f59\u989d\u5ea6\u6700\u591a\u7684\u8d26\u6237\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u4e00\u4e2a\u7ebf\u8def\u4f59\u989d\u4e0d\u8db3\u3001\u89e6\u53d1 rate limit \u6216\u6682\u65f6\u5931\u8d25\u65f6\uff0cMagpie \u53ef\u4ee5\u8ba9\u5b83\u4f11\u606f\uff0c\u5e76\u5728 Agent \u6536\u5230\u9519\u8bef\u4e4b\u524d\u5c1d\u8bd5\u4e0b\u4e00\u4e2a\u53ef\u7528\u6210\u5458\u3002\u5bf9\u4e8e\u62e5\u6709\u591a\u4e2a YYLX.IO \u5206\u7ec4\u3001\u5176\u4ed6\u4f9b\u5e94\u5546 Key \u6216\u8ba2\u9605\u8d26\u6237\u7684\u7528\u6237\uff0c\u8fd9\u53ef\u4ee5\u51cf\u5c11\u5de5\u4f5c\u88ab\u5355\u4e00\u7ebf\u8def\u4e2d\u65ad\u7684\u6982\u7387\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9700\u8981\u6ce8\u610f\uff0c\u81ea\u52a8 fallback \u4e0d\u80fd\u4fdd\u8bc1\u6bcf\u4e2a\u6a21\u578b\u884c\u4e3a\u5b8c\u5168\u4e00\u81f4\u3002\u751f\u4ea7\u5de5\u4f5c\u6d41\u5e94\u6d4b\u8bd5\u4e0a\u4e0b\u6587\u957f\u5ea6\u3001\u5de5\u5177\u8c03\u7528\u3001reasoning\u3001\u8f93\u51fa\u683c\u5f0f\u548c\u8ba1\u8d39\u5dee\u5f02\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6309\u610f\u56fe\u81ea\u52a8\u9009\u62e9\u6a21\u578b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u8fd8\u652f\u6301 Intent Routing\u3002\u7528\u6237\u53ef\u4ee5\u5b9a\u4e49\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u201c\u5feb\u901f\u95ee\u9898\u201d\u53d1\u9001\u5230\u4f4e\u6210\u672c\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u201c\u7f16\u5199\u6216\u4fee\u590d\u6d4b\u8bd5\u201d\u53d1\u9001\u5230\u7f16\u7801\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u957f\u8f93\u5165\u53d1\u9001\u5230\u5927\u4e0a\u4e0b\u6587\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u5e26\u56fe\u7247\u7684\u4efb\u52a1\u53d1\u9001\u5230\u89c6\u89c9\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u9ad8 reasoning \u8bf7\u6c42\u53d1\u9001\u5230\u66f4\u5f3a\u6a21\u578b\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf\u4e2a\u65b0\u5bf9\u8bdd\u8f6e\u6b21\u5f00\u59cb\u65f6\uff0cMagpie \u53ef\u4ee5\u8ba9\u4e00\u4e2a\u5c0f\u578b\u5206\u7c7b\u6a21\u578b\u5224\u65ad\u7528\u6237\u610f\u56fe\uff0c\u518d\u9009\u62e9\u5408\u9002\u6a21\u578b\u3002\u5de5\u5177\u8c03\u7528\u4ea7\u751f\u7684\u540e\u7eed\u8f6e\u6b21\u4f1a\u4fdd\u6301\u5728\u540c\u4e00\u6a21\u578b\u4e0a\uff0c\u907f\u514d\u5728\u4e00\u8f6e\u4efb\u52a1\u4e2d\u9014\u5207\u6362\u5bfc\u81f4\u7f13\u5b58\u548c\u884c\u4e3a\u4e0d\u7a33\u5b9a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">YYLX.IO \u63d0\u4f9b\u591a\u79cd\u6a21\u578b\u5165\u53e3\uff0cMagpie \u8d1f\u8d23\u6309\u4efb\u52a1\u8def\u7531\uff0c\u4e24\u8005\u7ec4\u5408\u53ef\u4ee5\u8ba9\u201c\u6bcf\u4e2a\u4efb\u52a1\u90fd\u7528\u6700\u8d35\u6a21\u578b\u201d\u53d8\u6210\u201c\u4e0d\u540c\u4efb\u52a1\u4f7f\u7528\u5408\u9002\u6a21\u578b\u201d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">API Key \u548c\u9690\u79c1\u662f\u5426\u5b89\u5168\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magpie \u5728\u672c\u673a\u8fd0\u884c\u7f51\u5173\u3002\u5b98\u65b9\u6587\u6863\u8bf4\u660e\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Key \u5b58\u50a8\u5728 <code>~\/.config\/magpie\/providers.json<\/code>\uff1b<\/li>\n\n\n<li>\u6587\u4ef6\u4ec5\u5f53\u524d\u7528\u6237\u53ef\u8bfb\uff1b<\/li>\n\n\n<li>Magpie \u4e0d\u4f1a\u4ece shell \u73af\u5883\u53d8\u91cf\u4e2d\u81ea\u52a8\u8bfb\u53d6 Key\uff1b<\/li>\n\n\n<li>Agent \u53ea\u8fde\u63a5\u672c\u673a\u7f51\u5173\uff0c\u4e0d\u76f4\u63a5\u770b\u5230 Provider Key\uff1b<\/li>\n\n\n<li>\u5bfc\u5165\u94fe\u63a5\u4f7f\u7528 URL fragment\uff0c\u6d4f\u89c8\u5668\u4e0d\u4f1a\u628a fragment \u53d1\u9001\u5230 Magpie \u7f51\u7ad9\u670d\u52a1\u5668\uff1b<\/li>\n\n\n<li>\u6240\u6709\u5bfc\u5165\u64cd\u4f5c\u90fd\u9700\u8981\u7528\u6237\u786e\u8ba4\uff0c\u4e0d\u4f1a\u9759\u9ed8\u8986\u76d6\u73b0\u6709 Provider\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u8fc7\uff0c\u6a21\u578b\u8bf7\u6c42\u4ecd\u7136\u4f1a\u53d1\u9001\u5230\u5b9e\u9645\u63d0\u4f9b\u670d\u52a1\u7684\u7ebf\u8def\u3002\u4f7f\u7528 YYLX.IO \u6216\u5176\u4ed6 Provider \u524d\uff0c\u4ecd\u5e94\u6839\u636e\u9879\u76ee\u654f\u611f\u7a0b\u5ea6\u8bc4\u4f30\u6570\u636e\u7b56\u7565\uff0c\u4e0d\u8981\u628a\u751f\u4ea7\u5bc6\u94a5\u5199\u8fdb\u516c\u5f00\u94fe\u63a5\u3001README \u6216\u804a\u5929\u5185\u5bb9\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u54ea\u4e9b\u7528\u6237\u9002\u5408 YYLX.IO + Magpie\uff1f<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u540c\u65f6\u4f7f\u7528 Codex\u3001Claude Code\u3001Gemini CLI \u548c OpenCode\uff1b<\/li>\n\n\n<li>\u7ecf\u5e38\u5207\u6362 GPT\u3001Claude\u3001DeepSeek\u3001Kimi\u3001GLM\u3001Qwen \u7b49\u6a21\u578b\uff1b<\/li>\n\n\n<li>\u4e0d\u60f3\u91cd\u590d\u7ef4\u62a4\u591a\u4e2a Base URL \u548c\u914d\u7f6e\u6587\u4ef6\uff1b<\/li>\n\n\n<li>\u5e0c\u671b\u6839\u636e\u6210\u672c\u3001\u4efb\u52a1\u7c7b\u578b\u548c\u989d\u5ea6\u81ea\u52a8\u8def\u7531\uff1b<\/li>\n\n\n<li>\u9700\u8981\u5728\u67d0\u6761\u7ebf\u8def\u9650\u6d41\u65f6\u81ea\u52a8 fallback\uff1b<\/li>\n\n\n<li>\u60f3\u7edf\u4e00\u67e5\u770b\u4e0d\u540c Agent \u7684 tokens\u3001\u7f13\u5b58\u548c\u6210\u672c\uff1b<\/li>\n\n\n<li>\u56e2\u961f\u5e0c\u671b\u4fdd\u5b58\u5e76\u5feb\u901f\u5207\u6362\u591a\u5957\u6a21\u578b\u914d\u7f6e\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e38\u89c1\u95ee\u9898<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Magpie \u662f\u4e91\u7aef\u4e2d\u8f6c\u7ad9\u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u662f\u3002Magpie \u662f\u8fd0\u884c\u5728\u7528\u6237\u7535\u8111\u4e0a\u7684\u672c\u5730\u7f51\u5173\u548c\u914d\u7f6e\u5de5\u5177\uff1bYYLX.IO \u624d\u662f\u63d0\u4f9b\u6a21\u578b\u7ebf\u8def\u548c API \u7684\u670d\u52a1\u3002Magpie \u5c06 Agent \u8bf7\u6c42\u8f6c\u53d1\u5230\u7528\u6237\u9009\u62e9\u7684 Provider\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f7f\u7528 Magpie \u540e\u8fd8\u9700\u8981 YYLX.IO API Key \u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9700\u8981\u3002Magpie \u672c\u8eab\u4e0d\u8d60\u9001\u6a21\u578b\u989d\u5ea6\uff0c\u5b83\u8d1f\u8d23\u534f\u8bae\u8f6c\u6362\u4e0e\u8def\u7531\uff1b\u5b9e\u9645\u8c03\u7528\u4ecd\u7531 YYLX.IO \u8d26\u6237\u3001Key \u548c\u4f59\u989d\u627f\u62c5\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Magpie \u5fc5\u987b\u4fdd\u6301\u8fd0\u884c\u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c Agent \u4f7f\u7528\u7684\u662f\u7ecf Magpie \u8def\u7531\u7684\u6a21\u578b\uff0c\u672c\u5730\u7f51\u5173\u5fc5\u987b\u8fd0\u884c\u3002\u5173\u95ed\u7a97\u53e3\u540e\uff0c\u5b83\u53ef\u4ee5\u7ee7\u7eed\u5728\u83dc\u5355\u680f\u6216\u7cfb\u7edf\u6258\u76d8\u8fd0\u884c\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 <code>magpie serve<\/code> \u53ea\u542f\u52a8\u7f51\u5173\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u5207\u6362\u6a21\u578b\u540e\u6ca1\u6709\u751f\u6548\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c\u4e2d\u7684\u4f1a\u8bdd\u4f1a\u7ee7\u7eed\u4f7f\u7528\u542f\u52a8\u65f6\u7684\u6a21\u578b\u3002\u8bf7\u65b0\u5efa\u4f1a\u8bdd\uff1bCodex \u7528\u6237\u8fd8\u5e94\u91cd\u542f Codex \u5e94\u7528\uff0c\u56e0\u4e3a\u6a21\u578b\u5217\u8868\u5728\u542f\u52a8\u65f6\u52a0\u8f7d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">YYLX.IO \u5728 Magpie \u4e2d\u9700\u8981\u624b\u52a8\u586b\u5199 Base URL \u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u5e38\u4e0d\u9700\u8981\u3002Magpie \u5df2\u5185\u7f6e <code>yylx<\/code> preset\uff0c\u9009\u62e9\u533a\u57df\u5e76\u7c98\u8d34 API Key \u5373\u53ef\u3002\u5b9e\u9645\u754c\u9762\u548c\u7aef\u70b9\u4ee5\u5f53\u524d\u7248\u672c\u4e3a\u51c6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u603b\u7ed3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">YYLX.IO \u652f\u6301 Magpie \u540e\uff0c\u7528\u6237\u53ef\u4ee5\u628a\u4e00\u4e2a\u4e2d\u8f6c\u7ad9 Provider \u540c\u65f6\u7528\u4e8e Codex\u3001Claude Code\u3001Gemini CLI\u3001OpenCode \u7b49\u591a\u79cd AI Agent\u3002Magpie \u5728\u672c\u5730\u5b8c\u6210\u534f\u8bae\u8f6c\u6362\u3001\u914d\u7f6e\u5199\u5165\u3001\u6a21\u578b\u5207\u6362\u3001\u7528\u91cf\u7edf\u8ba1\u548c\u667a\u80fd\u8def\u7531\uff1bYYLX.IO \u5219\u63d0\u4f9b\u6a21\u578b\u3001\u7ebf\u8def\u548c\u7edf\u4e00 API\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u6b63\u5728\u4e3a\u591a\u4e2a AI \u7f16\u7a0b\u5de5\u5177\u91cd\u590d\u914d\u7f6e Base URL\u3001API Key \u548c\u6a21\u578b\u540d\uff0c\u73b0\u5728\u53ef\u4ee5\u5b89\u88c5 <a href=\"https:\/\/usemagpie.ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magpie<\/a>\uff0c\u518d\u5230 <a href=\"https:\/\/yylx.io\" target=\"_blank\" rel=\"noreferrer noopener\">YYLX.IO \u9c7c\u9c7c\u8fde\u7ebf<\/a> \u521b\u5efa Key\uff0c\u901a\u8fc7\u5185\u7f6e YYLX preset \u4e00\u6b21\u63a5\u5165\u3002\u6838\u5fc3\u76ee\u6807\u5f88\u7b80\u5355\uff1a\u4e00\u6b21\u914d\u7f6e\uff0c\u8ba9\u6bcf\u4e2a Agent \u90fd\u80fd\u9009\u62e9\u5408\u9002\u7684\u6a21\u578b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4fe1\u606f\u6765\u6e90<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/usemagpie.ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magpie \u5b98\u7f51<\/a><\/li>\n\n\n<li><a href=\"https:\/\/usemagpie.ai\/docs\/start\" target=\"_blank\" rel=\"noreferrer noopener\">Magpie \u5feb\u901f\u4e0a\u624b\u6587\u6863<\/a><\/li>\n\n\n<li><a href=\"https:\/\/usemagpie.ai\/docs\/import\" target=\"_blank\" rel=\"noreferrer noopener\">Magpie Provider \u4e0e\u5bfc\u5165\u6587\u6863<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>YYLX.IO \u5df2\u6210\u4e3a Magpie \u5185\u7f6e Provider\u3002\u4e00\u6b21\u6dfb\u52a0 API Key\uff0c\u5373\u53ef\u4e3a Codex\u3001Claude Code\u3001Gemini CLI\u3001OpenCode \u7b49 Agent \u7edf\u4e00\u9009\u62e9\u6a21\u578b\u3002<\/p>\n","protected":false},"author":2,"featured_media":370,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-372","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u7ad9\u8fde\u63a5\u6240\u6709 AI Agent<\/title>\n<meta name=\"description\" content=\"YYLX.IO \u5df2\u652f\u6301 Magpie \u5185\u7f6e Provider\u3002\u4e86\u89e3\u5982\u4f55\u4e00\u6b21\u914d\u7f6e Codex\u3001Claude Code\u3001Gemini CLI \u7b49 Agent\uff0c\u5e76\u4f7f\u7528\u6a21\u578b\u8def\u7531\u4e0e\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u7ad9\u8fde\u63a5\u6240\u6709 AI Agent\" \/>\n<meta property=\"og:description\" content=\"YYLX.IO \u5df2\u652f\u6301 Magpie \u5185\u7f6e Provider\u3002\u4e86\u89e3\u5982\u4f55\u4e00\u6b21\u914d\u7f6e Codex\u3001Claude Code\u3001Gemini CLI \u7b49 Agent\uff0c\u5e76\u4f7f\u7528\u6a21\u578b\u8def\u7531\u4e0e\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/\" \/>\n<meta property=\"og:site_name\" content=\"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-28T15:59:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/09\/yylx-supports-magpie-cn.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t<meta property=\"og:image:height\" content=\"941\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Yu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yu\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/\"},\"author\":{\"name\":\"Yu\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#\\\/schema\\\/person\\\/2cde4f7a47af39013dd042fb25ba1afd\"},\"headline\":\"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u4e2a\u4e2d\u8f6c\u7ad9\u8fde\u63a5 Codex\u3001Claude Code \u4e0e\u5168\u90e8\u6a21\u578b\",\"datePublished\":\"2026-09-28T15:59:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/\"},\"wordCount\":394,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/yylx-supports-magpie-cn.png\",\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/\",\"name\":\"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u7ad9\u8fde\u63a5\u6240\u6709 AI Agent\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/yylx-supports-magpie-cn.png\",\"datePublished\":\"2026-09-28T15:59:24+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#\\\/schema\\\/person\\\/2cde4f7a47af39013dd042fb25ba1afd\"},\"description\":\"YYLX.IO \u5df2\u652f\u6301 Magpie \u5185\u7f6e Provider\u3002\u4e86\u89e3\u5982\u4f55\u4e00\u6b21\u914d\u7f6e Codex\u3001Claude Code\u3001Gemini CLI \u7b49 Agent\uff0c\u5e76\u4f7f\u7528\u6a21\u578b\u8def\u7531\u4e0e\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#primaryimage\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/yylx-supports-magpie-cn.png\",\"contentUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/yylx-supports-magpie-cn.png\",\"width\":1672,\"height\":941,\"caption\":\"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u6b21\u914d\u7f6e\uff0c\u8de8 Agent \u4f7f\u7528\u5168\u90e8\u6a21\u578b\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/09\\\/28\\\/yylx-io-supports-magpie-ai-agent-model-gateway\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/yylx.io/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u4e2a\u4e2d\u8f6c\u7ad9\u8fde\u63a5 Codex\u3001Claude Code \u4e0e\u5168\u90e8\u6a21\u578b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#website\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/\",\"name\":\"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2\",\"description\":\"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9 \u535a\u5ba2\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/yylx.io/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#\\\/schema\\\/person\\\/2cde4f7a47af39013dd042fb25ba1afd\",\"name\":\"Yu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1790730573\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1790730573\",\"contentUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1790730573\",\"caption\":\"Yu\"},\"url\":\"https:\\\/\\\/yylx.io/blog\\\/author\\\/yu\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u7ad9\u8fde\u63a5\u6240\u6709 AI Agent","description":"YYLX.IO \u5df2\u652f\u6301 Magpie \u5185\u7f6e Provider\u3002\u4e86\u89e3\u5982\u4f55\u4e00\u6b21\u914d\u7f6e Codex\u3001Claude Code\u3001Gemini CLI \u7b49 Agent\uff0c\u5e76\u4f7f\u7528\u6a21\u578b\u8def\u7531\u4e0e\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/","og_locale":"zh_CN","og_type":"article","og_title":"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u7ad9\u8fde\u63a5\u6240\u6709 AI Agent","og_description":"YYLX.IO \u5df2\u652f\u6301 Magpie \u5185\u7f6e Provider\u3002\u4e86\u89e3\u5982\u4f55\u4e00\u6b21\u914d\u7f6e Codex\u3001Claude Code\u3001Gemini CLI \u7b49 Agent\uff0c\u5e76\u4f7f\u7528\u6a21\u578b\u8def\u7531\u4e0e\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u3002","og_url":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/","og_site_name":"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2","article_published_time":"2026-09-28T15:59:24+00:00","og_image":[{"width":1672,"height":941,"url":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/09\/yylx-supports-magpie-cn.png","type":"image\/png"}],"author":"Yu","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"Yu","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#article","isPartOf":{"@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/"},"author":{"name":"Yu","@id":"https:\/\/yylx.io\/blog\/#\/schema\/person\/2cde4f7a47af39013dd042fb25ba1afd"},"headline":"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u4e2a\u4e2d\u8f6c\u7ad9\u8fde\u63a5 Codex\u3001Claude Code \u4e0e\u5168\u90e8\u6a21\u578b","datePublished":"2026-09-28T15:59:24+00:00","mainEntityOfPage":{"@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/"},"wordCount":394,"commentCount":0,"image":{"@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#primaryimage"},"thumbnailUrl":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/09\/yylx-supports-magpie-cn.png","inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/","url":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/","name":"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u7ad9\u8fde\u63a5\u6240\u6709 AI Agent","isPartOf":{"@id":"https:\/\/yylx.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#primaryimage"},"image":{"@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#primaryimage"},"thumbnailUrl":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/09\/yylx-supports-magpie-cn.png","datePublished":"2026-09-28T15:59:24+00:00","author":{"@id":"https:\/\/yylx.io\/blog\/#\/schema\/person\/2cde4f7a47af39013dd042fb25ba1afd"},"description":"YYLX.IO \u5df2\u652f\u6301 Magpie \u5185\u7f6e Provider\u3002\u4e86\u89e3\u5982\u4f55\u4e00\u6b21\u914d\u7f6e Codex\u3001Claude Code\u3001Gemini CLI \u7b49 Agent\uff0c\u5e76\u4f7f\u7528\u6a21\u578b\u8def\u7531\u4e0e\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u3002","breadcrumb":{"@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#primaryimage","url":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/09\/yylx-supports-magpie-cn.png","contentUrl":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/09\/yylx-supports-magpie-cn.png","width":1672,"height":941,"caption":"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u6b21\u914d\u7f6e\uff0c\u8de8 Agent \u4f7f\u7528\u5168\u90e8\u6a21\u578b"},{"@type":"BreadcrumbList","@id":"https:\/\/yylx.io\/blog\/2026\/09\/28\/yylx-io-supports-magpie-ai-agent-model-gateway\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/yylx.io\/blog\/"},{"@type":"ListItem","position":2,"name":"YYLX.IO \u5df2\u652f\u6301 Magpie\uff1a\u4e00\u4e2a\u4e2d\u8f6c\u7ad9\u8fde\u63a5 Codex\u3001Claude Code \u4e0e\u5168\u90e8\u6a21\u578b"}]},{"@type":"WebSite","@id":"https:\/\/yylx.io\/blog\/#website","url":"https:\/\/yylx.io\/blog\/","name":"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2","description":"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9 \u535a\u5ba2","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/yylx.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/yylx.io\/blog\/#\/schema\/person\/2cde4f7a47af39013dd042fb25ba1afd","name":"Yu","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/yylx.io\/blog\/wp-content\/litespeed\/avatar\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1790730573","url":"https:\/\/yylx.io\/blog\/wp-content\/litespeed\/avatar\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1790730573","contentUrl":"https:\/\/yylx.io\/blog\/wp-content\/litespeed\/avatar\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1790730573","caption":"Yu"},"url":"https:\/\/yylx.io\/blog\/author\/yu\/"}]}},"_links":{"self":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/posts\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":0,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/media\/370"}],"wp:attachment":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}