{"id":1112,"date":"2026-09-08T20:02:17","date_gmt":"2026-09-08T11:02:17","guid":{"rendered":"https:\/\/stratos-research.com\/?p=1112"},"modified":"2026-09-08T20:02:17","modified_gmt":"2026-09-08T11:02:17","slug":"node-js%e3%81%a7%e4%bd%9c%e3%82%8b%e3%82%a8%e3%83%bc%e3%82%b8%e3%82%a7%e3%83%b3%e3%83%88%e5%9e%8b%e3%83%84%e3%83%bc%e3%83%ab%e4%bd%bf%e7%94%a8%e3%83%9c%e3%83%83%e3%83%88%e3%81%aemvp%e6%a7%8b%e7%af%89","status":"publish","type":"post","link":"https:\/\/stratos-research.com\/?p=1112","title":{"rendered":"Node.js\u3067\u4f5c\u308b\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u578b\u30c4\u30fc\u30eb\u4f7f\u7528\u30dc\u30c3\u30c8\u306eMVP\u69cb\u7bc9\u624b\u9806"},"content":{"rendered":"<p>ChatGPT \u306e\u3088\u3046\u306b\u5bfe\u8a71\u3057\u306a\u304c\u3089\u5b9f\u969b\u306e\u51e6\u7406\u3092\u884c\u3048\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4f5c\u308a\u305f\u3044\u3068\u8003\u3048\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\u3002\u672c\u7a3f\u3067\u306f\u3001Node.js \u3068 OpenRouter \u3092\u5229\u7528\u3057\u3066\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u5929\u6c17\u60c5\u5831\uff08\u90fd\u5e02\u3054\u3068\u306e\u5929\u5019\u30fb\u6c17\u6e29\u30fb\u6e7f\u5ea6\uff09\u3092\u53d6\u5f97\u3067\u304d\u308b\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u300cMausam AI\u300d\u306e\u6700\u5c0f\u5b9f\u88c5\uff08MVP\uff09\u306e\u4f5c\u308a\u65b9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30c4\u30fc\u30eb\u4f7f\u7528\u3068\u306f<\/h2>\n<p>\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09\u306f\u5b66\u7fd2\u6642\u70b9\u307e\u3067\u306e\u9759\u7684\u77e5\u8b58\u3057\u304b\u6301\u3061\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u300c\u73fe\u5728\u306e\u30e0\u30f3\u30d0\u30a4\u306e\u5929\u6c17\u306f\uff1f\u300d\u3068\u5c0b\u306d\u3066\u3082\u3001\u6700\u65b0\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u305a\u3001\u67b6\u7a7a\u306e\u56de\u7b54\u3084\u8b1d\u7f6a\u3057\u304b\u8fd4\u305b\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u300c\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u300d\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5c0e\u5165\u3057\u3001LLM \u306b\u5916\u90e8\u30c4\u30fc\u30eb\uff08\u4f8b\uff1a<code>get_mausam<\/code>\uff09\u3092\u547c\u3073\u51fa\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u30e9\u30a4\u30d6\u30c7\u30fc\u30bf\u3092\u4f1a\u8a71\u306b\u7d44\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<h2>\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30f3\u30d7\u30c8\u3068\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30ed\u30b8\u30c3\u30af<\/h2>\n<p>\u672c\u30dc\u30c3\u30c8\u306e\u6838\u3068\u306a\u308b\u30ed\u30b8\u30c3\u30af\u306f <code>helper.js<\/code> \u306b\u3042\u308a\u3001LLM \u306b\u5bfe\u3057\u3066\u300cSTART \u2192 PLAN \u2192 TOOL \u2192 OUTPUT\u300d\u3068\u3044\u3046\u69cb\u9020\u5316\u3055\u308c\u305f\u601d\u8003\u30eb\u30fc\u30d7\u3092\u5f37\u5236\u3057\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30f3\u30d7\u30c8\u3067 JSON \u5f62\u5f0f\u306e\u5fdc\u7b54\u3092\u8981\u6c42\u3057\u3001\u30c4\u30fc\u30eb\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u5834\u5408\u306f\u6b21\u306e\u3088\u3046\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u51fa\u529b\u3055\u305b\u307e\u3059\u3002<\/p>\n<pre>{\"step\":\"TOOL\",\"toolname\":\"get_mausam\",\"input\":\"Mumbai\"}<\/pre>\n<p>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306f\u3053\u306e JSON \u3092\u9010\u6b21\u89e3\u6790\u3057\u3001\u30c4\u30fc\u30eb\u547c\u3073\u51fa\u3057\u3092\u4ee3\u884c\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u7121\u9650\u30eb\u30fc\u30d7\u3084\u8aa4\u52d5\u4f5c\u3092\u9632\u6b62\u3059\u308b\u305f\u3081\u306b\u6700\u5927\u30a4\u30c6\u30ec\u30fc\u30b7\u30e7\u30f3\u6570\u306e\u30c1\u30a7\u30c3\u30af\u3068\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30c4\u30fc\u30eb\uff1a\u5929\u6c17\u30c7\u30fc\u30bf\u53d6\u5f97<\/h2>\n<p>LLM \u304c <code>get_mausam<\/code> \u3092\u547c\u3073\u51fa\u3059\u3068\u3001JavaScript \u306e <code>fetch<\/code> \u95a2\u6570\u3067 <a href=\"https:\/\/wttr.in\">wttr.in<\/a> \u3078\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u5411\u3051\u5929\u6c17\u30b5\u30fc\u30d3\u30b9\u304b\u3089\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u5929\u6c17\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<h2>\u5805\u7262\u306a API \u547c\u3073\u51fa\u3057<\/h2>\n<p>OpenRouter \u306e API \u30ad\u30fc\u304c\u67af\u6e07\u3057\u305f\u5834\u5408\u306b\u5099\u3048\u3066\u3001\u4e00\u6b21\u30ad\u30fc\u3067\u5931\u6557\u3057\u305f\u969b\u306b\u81ea\u52d5\u7684\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30ad\u30fc\u3078\u5207\u308a\u66ff\u3048\u308b\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u6a5f\u69cb\u3092 <code>try\/catch<\/code> \u3067\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Express \u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3068\u30c1\u30e3\u30c3\u30c8 UI<\/h2>\n<p>\u5168\u4f53\u306e\u30ed\u30b8\u30c3\u30af\u306f\u30b7\u30f3\u30d7\u30eb\u306a Express \u30b5\u30fc\u30d0\u30fc\uff08<code>app.js<\/code>\uff09\u306b\u7d71\u5408\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8907\u6570\u30e6\u30fc\u30b6\u30fc\u304c\u540c\u6642\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u30bb\u30c3\u30b7\u30e7\u30f3 ID \u3092\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\uff08<code>index.ejs<\/code>\uff09\u3067\u751f\u6210\u3057\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30de\u30c3\u30d7\u306b\u4fdd\u5b58\u3057\u3066\u72b6\u614b\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306f\u6697\u8272\u7cfb UI \u3092\u63a1\u7528\u3057\u30011 \u79d2\u3054\u3068\u306b <code>GET \/messages?sessionId=\u2026<\/code> \u3092\u30dd\u30fc\u30ea\u30f3\u30b0\u3057\u3066 AI \u306e\u601d\u8003\u904e\u7a0b\u3068\u6700\u7d42\u56de\u7b54\u3092\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u8868\u793a\u3057\u307e\u3059\u3002\u9014\u4e2d\u306e\u300c\u601d\u8003\u300d\u30b9\u30c6\u30c3\u30d7\u306f\u8996\u899a\u7684\u306b\u533a\u5225\u3067\u304d\u308b\u3088\u3046\u30b9\u30bf\u30a4\u30eb\u4ed8\u3051\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u5927\u898f\u6a21\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u5c0e\u5165\u305b\u305a\u3068\u3082\u3001JSON \u30b9\u30ad\u30fc\u30de\u3068\u5358\u7d14\u306a\u30eb\u30fc\u30d7\u5236\u5fa1\u3060\u3051\u3067 LLM \u306b\u5916\u90e8\u4e16\u754c\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u4e0e\u3048\u308b\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002\u672c\u7a3f\u306e\u624b\u9806\u3092\u53c2\u8003\u306b\u3001\u72ec\u81ea\u306e\u30c4\u30fc\u30eb\u4f7f\u7528\u30dc\u30c3\u30c8\u958b\u767a\u306b\u6311\u6226\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"source-link\">\u5143\u8a18\u4e8b: <a href=\"https:\/\/dev.to\/ankit_halder_7840b622b962\/building-an-mvp-ai-weather-agent-with-nodejs-and-openrouter-49eg\" rel=\"noopener noreferrer\">https:\/\/dev.to\/ankit_halder_7840b622b962\/building-an-mvp-ai-weather-agent-with-nodejs-and-openrouter-49eg<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ChatGPT \u306e\u3088\u3046\u306b\u5bfe\u8a71\u3057\u306a\u304c\u3089\u5b9f\u969b\u306e\u51e6 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1113,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_spp_pexels_query":"","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[2],"tags":[],"class_list":["post-1112","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/stratos-research.com\/wp-content\/uploads\/2026\/09\/painted-1111-FvaeZ2.webp","_links":{"self":[{"href":"https:\/\/stratos-research.com\/index.php?rest_route=\/wp\/v2\/posts\/1112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stratos-research.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stratos-research.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stratos-research.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/stratos-research.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1112"}],"version-history":[{"count":0,"href":"https:\/\/stratos-research.com\/index.php?rest_route=\/wp\/v2\/posts\/1112\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stratos-research.com\/index.php?rest_route=\/wp\/v2\/media\/1113"}],"wp:attachment":[{"href":"https:\/\/stratos-research.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stratos-research.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stratos-research.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}