{"id":1478,"date":"2026-11-30T21:08:08","date_gmt":"2026-11-30T13:08:08","guid":{"rendered":"https:\/\/www.agidt.com\/?p=1478"},"modified":"2026-11-30T21:08:08","modified_gmt":"2026-11-30T13:08:08","slug":"ai-sdk","status":"publish","type":"post","link":"https:\/\/www.agidt.com\/?p=1478","title":{"rendered":"\u5f00\u6e90 TOP \u9879\u76ee_AI SDK"},"content":{"rendered":"<p>AI SDK \u662f Vercel \u51fa\u7684 TypeScript \u5de5\u5177\u5305\uff0c\u4e0d\u7ed1\u5b9a\u6a21\u578b\u5382\u5546\uff0c\u5e2e\u5f00\u53d1\u8005\u7528 Next.js\u3001React\u3001Svelte\u3001Vue\u3001Angular \u7b49\u524d\u7aef\u6846\u67b6\u642d\u5efa AI \u5e94\u7528\u4e0e\u667a\u80fd\u4f53\uff1a\u4e00\u5957\u7edf\u4e00 API \u5c31\u80fd\u8c03\u7528 OpenAI\u3001Anthropic\u3001Google \u7b49\u591a\u5bb6\u6a21\u578b\uff1b\u9ed8\u8ba4\u8d70 Vercel AI Gateway\uff0c\u5f00\u7bb1\u5373\u7528\uff0c\u4e5f\u80fd\u76f4\u63a5\u8fde\u5404\u5382\u5546\u7684 SDK\u3002<\/p>\n<p>\u5173\u952e\u6570\u636e\uff1a\u622a\u81f3 2026 \u5e74 11 \u6708 30 \u65e5\uff0cGitHub \u4e0a 28,290 \u9897\u661f\uff0c\u7528 TypeScript \u7f16\u5199\uff0c\u5f00\u6e90\u534f\u8bae Apache 2.0\u3002\u4eae\u70b9\u662f\u5b83\u628a\u201c\u751f\u6210\u6587\u672c\u3001\u751f\u6210\u7ed3\u6784\u5316\u6570\u636e\u3001\u8dd1\u5de5\u5177\u5faa\u73af\u667a\u80fd\u4f53\u201d\u90fd\u6536\u8fdb\u540c\u4e00\u4e2a\u5305\uff0c\u4e00\u6761 npm install ai \u5c31\u80fd\u88c5\u4e0a\uff1b\u8fd8\u7ed9 Claude Code\u3001Cursor \u8fd9\u7c7b\u7f16\u7801\u667a\u80fd\u4f53\u51c6\u5907\u4e86\u4e13\u7528\u7684 AI SDK skill\uff0c\u88c5\u8fdb\u4ed3\u5e93\u5c31\u80fd\u8ba9\u667a\u80fd\u4f53\u6309\u89c4\u8303\u8c03\u7528\u3002<\/p>\n<p>GitHub\uff1a<a  rel=\"nofollow noopener noreferrer\" href=\"https:\/\/github.com\/vercel\/ai\">https:\/\/github.com\/vercel\/ai<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AI SDK \u662f Vercel \u51fa\u7684 TypeScript \u5de5\u5177\u5305\uff0c\u4e0d\u7ed1\u5b9a\u6a21\u578b\u5382\u5546\uff0c\u5e2e\u5f00\u53d1\u8005\u7528 Next.js\u3001React\u3001Svelte\u3001Vue\u3001Angular \u7b49\u524d\u7aef\u6846\u67b6\u642d\u5efa AI \u5e94\u7528\u4e0e\u667a\u80fd\u4f53\uff1a\u4e00\u5957\u7edf\u4e00 API \u5c31\u80fd\u8c03\u7528 OpenAI\u3001&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1474,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"topic":[],"class_list":["post-1478","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-top-projects"],"_links":{"self":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/1478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1478"}],"version-history":[{"count":0,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/1478\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/media\/1474"}],"wp:attachment":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1478"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=1478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}