{"id":533,"date":"2025-01-10T14:33:30","date_gmt":"2025-01-10T14:33:30","guid":{"rendered":"https:\/\/smolagents.org\/?p=533"},"modified":"2025-01-10T14:33:31","modified_gmt":"2025-01-10T14:33:31","slug":"smolagents-simplifying-ai-agent-development","status":"publish","type":"post","link":"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/","title":{"rendered":"smolagents-AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u958b\u767a\u306e\u7c21\u7d20\u5316"},"content":{"rendered":"<p>\u6025\u901f\u306b\u9032\u5316\u3059\u308b\u4eba\u5de5\u77e5\u80fd\u306e\u4e16\u754c\u306b\u304a\u3044\u3066\u3001AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u30bf\u30b9\u30af\u306e\u81ea\u52d5\u5316\u3001\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u306e\u5411\u4e0a\u3001\u305d\u3057\u3066\u69d8\u3005\u306a\u696d\u754c\u306b\u304a\u3051\u308b\u30a4\u30ce\u30d9\u30fc\u30b7\u30e7\u30f3\u306e\u63a8\u9032\u306b\u4e0d\u53ef\u6b20\u306a\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5805\u7262\u306aAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u958b\u767a\u306b\u306f\u3001\u8907\u96d1\u306a\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3001\u8907\u96d1\u306a\u8a2d\u5b9a\u3001\u967a\u3057\u3044\u5b66\u7fd2\u66f2\u7dda\u304c\u4f34\u3046\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002\u5c0e\u5165 <strong>smolagents<\/strong>Hugging Face\u30c1\u30fc\u30e0\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u305f\u30df\u30cb\u30de\u30eb\u306aAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09\u306e\u30d1\u30ef\u30fc\u3092\u6d3b\u7528\u3057\u306a\u304c\u3089AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u4f5c\u6210\u3092\u7c21\u7d20\u5316\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\u30c8\u30b0\u30eb\u76ee\u6b21\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">\u30c8\u30b0\u30eb<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#What_is_smolagents\" title=\"smolagents\u3068\u306f\uff1f\">smolagents\u3068\u306f\uff1f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#Key_Features_of_smolagents\" title=\"smolagents\u306e\u4e3b\u306a\u7279\u5fb4\">smolagents\u306e\u4e3b\u306a\u7279\u5fb4<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#1_Simplicity_and_Ease_of_Use\" title=\"1.\u30b7\u30f3\u30d7\u30eb\u3055\u3068\u4f7f\u3044\u3084\u3059\u3055\">1.\u30b7\u30f3\u30d7\u30eb\u3055\u3068\u4f7f\u3044\u3084\u3059\u3055<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#2_Support_for_Code_Agents\" title=\"2.\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8\">2.\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#3_Wide_Compatibility_with_Large_Language_Models\" title=\"3.\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u3068\u306e\u5e45\u5e83\u3044\u4e92\u63db\u6027\">3.\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u3068\u306e\u5e45\u5e83\u3044\u4e92\u63db\u6027<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#4_Deep_Integration_with_Hugging_Face_Hub\" title=\"4.\u30cf\u30ae\u30f3\u30b0\u30fb\u30d5\u30a7\u30a4\u30b9\u30fb\u30cf\u30d6\u3068\u306e\u6df1\u3044\u7d71\u5408\">4.\u30cf\u30ae\u30f3\u30b0\u30fb\u30d5\u30a7\u30a4\u30b9\u30fb\u30cf\u30d6\u3068\u306e\u6df1\u3044\u7d71\u5408<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#5_Support_for_Traditional_Tool-Calling_Agents\" title=\"5.\u5f93\u6765\u306e\u30c4\u30fc\u30eb\u30fb\u30b3\u30fc\u30eb\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8\">5.\u5f93\u6765\u306e\u30c4\u30fc\u30eb\u30fb\u30b3\u30fc\u30eb\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#Advantages_of_Using_smolagents\" title=\"smolagent\u3092\u4f7f\u7528\u3059\u308b\u5229\u70b9\">smolagent\u3092\u4f7f\u7528\u3059\u308b\u5229\u70b9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#Getting_Started_with_smolagents\" title=\"smolagent\u5165\u9580\">smolagent\u5165\u9580<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/smolagents.org\/ja\/smolagents-simplifying-ai-agent-development\/#Conclusion\" title=\"\u7d50\u8ad6\">\u7d50\u8ad6<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_smolagents\"><\/span><strong>smolagents\u3068\u306f\uff1f<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><strong>smolagents<\/strong> \u306f\u3001\u958b\u767a\u8005\u304c\u6700\u5c0f\u9650\u306e\u30b3\u30fc\u30c9\u3067\u5f37\u529b\u306a\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4f5c\u6210\u3067\u304d\u308b\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u8efd\u91cfAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u30b3\u30a2\u306e\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u306f\u7d041,000\u884c\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002 <code>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8.py<\/code>smolagents\u306f\u3001\u4e0d\u5fc5\u8981\u306a\u62bd\u8c61\u5316\u3092\u6e1b\u3089\u3057\u3001\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u3001\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u304f\u3057\u307e\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u3055\u3068\u52b9\u7387\u6027\u3092\u91cd\u8996\u3059\u308b\u3053\u3068\u3067\u3001smolagents\u306fLLM\u304c\u5b9f\u4e16\u754c\u306e\u30bf\u30b9\u30af\u3084\u30c7\u30fc\u30bf\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u3084\u308a\u53d6\u308a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Key_Features_of_smolagents\"><\/span><strong>smolagents\u306e\u4e3b\u306a\u7279\u5fb4<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Simplicity_and_Ease_of_Use\"><\/span><strong>1.\u30b7\u30f3\u30d7\u30eb\u3055\u3068\u4f7f\u3044\u3084\u3059\u3055<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30df\u30cb\u30de\u30eb\u30c7\u30b6\u30a4\u30f3<\/strong>:smolagents\u306f\u3001\u30af\u30ea\u30fc\u30f3\u3067\u7c21\u6f54\u306a\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3092\u512a\u5148\u3057\u3001\u958b\u767a\u8005\u304c\u8907\u96d1\u3055\u306b\u60a9\u307e\u3055\u308c\u308b\u3053\u3068\u306a\u304f\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u7406\u89e3\u3057\u3001\u6d3b\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30af\u30a4\u30c3\u30af\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/strong>:\u958b\u767a\u8005\u306f\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u5b9a\u7fa9\u3057\u3001\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092\u63d0\u4f9b\u3057\u3001\u3059\u3050\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u624b\u306e\u8fbc\u3093\u3060\u8a2d\u5b9a\u3084\u5927\u898f\u6a21\u306a\u5b9a\u578b\u30b3\u30fc\u30c9\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li><strong>\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9<\/strong>:\u76f4\u611f\u7684\u306a\u30c7\u30b6\u30a4\u30f3\u306b\u3088\u308a\u3001\u521d\u5fc3\u8005\u3067\u3082\u7d4c\u9a13\u8c4a\u5bcc\u306a\u958b\u767a\u8005\u3067\u3082\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u52b9\u679c\u7684\u306b\u6d3b\u7528\u3067\u304d\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Support_for_Code_Agents\"><\/span><strong>2.\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30b3\u30fc\u30c9\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30fb\u30d5\u30a9\u30fc\u30ab\u30b9<\/strong>:JSON\u3084\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30d6\u3068\u3057\u3066\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u751f\u6210\u3059\u308b\u5f93\u6765\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3068\u306f\u7570\u306a\u308a\u3001smolagents\u306f\u4ee5\u4e0b\u306e\u70b9\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u3044\u307e\u3059\u3002\u00a0<strong>\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8<\/strong>.\u3053\u308c\u3089\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u3001LLM\u306e\u30b3\u30fc\u30c9\u751f\u6210\u30fb\u89e3\u91c8\u6a5f\u80fd\u3092\u6d3b\u7528\u3057\u3066\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306bPython\u30b3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\u3092\u8a18\u8ff0\u30fb\u5b9f\u884c\u3059\u308b\u3002<\/li>\n\n\n\n<li><strong>\u52b9\u7387\u306e\u5411\u4e0a<\/strong>:\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u52b9\u7387\u3068\u7cbe\u5ea6\u3092\u9ad8\u3081\u3001\u30b9\u30c6\u30c3\u30d7\u3068LLM\u30b3\u30fc\u30eb\u3092\u7d0430%\u524a\u6e1b\u3057\u307e\u3059\u3002\u8907\u96d1\u306a\u30bf\u30b9\u30af\u3084\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u306e\u51e6\u7406\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u5b89\u5168\u306a\u5b9f\u884c<\/strong>:\u5b89\u5168\u6027\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u3001smolagents\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9\u74b0\u5883\u3067\u306e\u30b3\u30fc\u30c9\u5b9f\u884c\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u00a0<strong>E2B<\/strong>\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u306b\u5b89\u5168\u3067\u9694\u96e2\u3055\u308c\u305f\u74b0\u5883\u3092\u63d0\u4f9b\u3059\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Wide_Compatibility_with_Large_Language_Models\"><\/span><strong>3.\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u3068\u306e\u5e45\u5e83\u3044\u4e92\u63db\u6027<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u67d4\u8edf\u306a\u30e2\u30c7\u30eb\u7d71\u5408<\/strong>:smolagents\u306f\u3001Transformers\u3092\u4ecb\u3057\u3066Hugging Face Hub\u3067\u30db\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u30e2\u30c7\u30eb\u3084\u3001LiteLLM\u7d71\u5408\u3092\u4ecb\u3057\u3066OpenAI\u3084Anthropic\u306a\u3069\u306e\u30e2\u30c7\u30eb\u3092\u542b\u3080\u3001\u3042\u3089\u3086\u308bLLM\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u7d71\u5408\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30e2\u30c7\u30eb\u306e\u9078\u629e<\/strong>:\u958b\u767a\u8005\u306f\u3001\u4e92\u63db\u6027\u306e\u554f\u984c\u3092\u5fc3\u914d\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30cb\u30fc\u30ba\u306b\u6700\u3082\u9069\u3057\u305fLLM\u3092\u67d4\u8edf\u306b\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u5c06\u6765\u3092\u898b\u636e\u3048\u305f\u30c7\u30b6\u30a4\u30f3<\/strong>:\u65b0\u3057\u3044\u30e2\u30c7\u30eb\u304c\u767b\u5834\u3059\u308c\u3070\u3001smolagent\u306f\u305d\u308c\u3092\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u958b\u767a\u8005\u306f\u5e38\u306b\u6700\u5148\u7aef\u306e\u6280\u8853\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Deep_Integration_with_Hugging_Face_Hub\"><\/span><strong>4.\u30cf\u30ae\u30f3\u30b0\u30fb\u30d5\u30a7\u30a4\u30b9\u30fb\u30cf\u30d6\u3068\u306e\u6df1\u3044\u7d71\u5408<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30c4\u30fc\u30eb\u5171\u6709<\/strong>:smolagents\u306f\u3001\u958b\u767a\u8005\u304cHugging Face Hub\u304b\u3089\u76f4\u63a5\u30c4\u30fc\u30eb\u3092\u5171\u6709\u3057\u3001\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3057\u3001\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3092\u80b2\u6210\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u6210\u9577<\/strong>:\u3053\u306e\u7d71\u5408\u306b\u3088\u308a\u3001smolagents\u3067\u5229\u7528\u53ef\u80fd\u306a\u6a5f\u80fd\u3084\u30c4\u30fc\u30eb\u306e\u7d99\u7d9a\u7684\u306a\u62e1\u5f35\u304c\u4fc3\u9032\u3055\u308c\u3001\u6642\u9593\u306e\u7d4c\u904e\u3068\u3068\u3082\u306b\u6a5f\u80fd\u304c\u5f37\u5316\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u53c2\u52a0<\/strong>:\u958b\u767a\u8005\u306f\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306b\u8ca2\u732e\u3057\u3001\u6d1e\u5bdf\u3092\u5171\u6709\u3057\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u958b\u767a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u5354\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Support_for_Traditional_Tool-Calling_Agents\"><\/span><strong>5.\u5f93\u6765\u306e\u30c4\u30fc\u30eb\u30fb\u30b3\u30fc\u30eb\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6c4e\u7528\u6027<\/strong>:\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u52a0\u3048\u3001smolagents\u306f\u5f93\u6765\u306e\u00a0<strong>\u30c4\u30fc\u30eb\u547c\u3073\u51fa\u3057\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8<\/strong>\u00a0\u3053\u3053\u3067\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u306fJSON\u307e\u305f\u306f\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30c3\u30af\u3068\u3057\u3066\u751f\u6210\u3055\u308c\u308b\u3002<\/li>\n\n\n\n<li><strong>\u5177\u4f53\u7684\u306a\u4f7f\u7528\u4f8b<\/strong>:\u3053\u306e\u67d4\u8edf\u6027\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7279\u5b9a\u306e\u8981\u4ef6\u306b\u57fa\u3065\u3044\u3066\u9069\u5207\u306a\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Advantages_of_Using_smolagents\"><\/span><strong>smolagent\u3092\u4f7f\u7528\u3059\u308b\u5229\u70b9<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u306e\u5411\u4e0a<\/strong>:\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u3001\u95a2\u6570\u306e\u5165\u308c\u5b50\u3068\u518d\u5229\u7528\u3092\u5bb9\u6613\u306b\u3057\u3001\u8907\u96d1\u306a\u30ed\u30b8\u30c3\u30af\u306e\u8868\u73fe\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u52b9\u7387\u7684\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u51e6\u7406<\/strong>:\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7ba1\u7406\u3068\u53d7\u3051\u6e21\u3057\u306f\u3001JSON\u69cb\u9020\u4f53\u306b\u6bd4\u3079\u3066\u30b3\u30fc\u30c9\u4e0a\u3067\u3088\u308a\u7c21\u5358\u3067\u3059\u3002<\/li>\n\n\n\n<li><strong>\u7121\u5236\u9650\u306e\u67d4\u8edf\u6027<\/strong>:\u30b3\u30fc\u30c9\u306f\u3042\u3089\u3086\u308b\u8a08\u7b97\u64cd\u4f5c\u3092\u8868\u3059\u3053\u3068\u304c\u3067\u304d\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u80fd\u529b\u306b\u7121\u9650\u306e\u53ef\u80fd\u6027\u3092\u4e0e\u3048\u308b\u3002<\/li>\n\n\n\n<li><strong>\u8c4a\u5bcc\u306a\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u306e\u6d3b\u7528<\/strong>:LLM\u306f\u81a8\u5927\u306a\u91cf\u306e\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u8a13\u7df4\u3092\u53d7\u3051\u3066\u304a\u308a\u3001\u30b3\u30fc\u30c9\u30fb\u30b9\u30cb\u30da\u30c3\u30c8\u306e\u751f\u6210\u3068\u7406\u89e3\u306b\u9577\u3051\u3066\u3044\u308b\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Getting_Started_with_smolagents\"><\/span><strong>smolagent\u5165\u9580<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/p>\n\n\n\n<p>smolagents\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3060\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u30d0\u30c3\u30b7\u30e5\u590d\u5236<code>pip install smolagents\n<\/code><\/pre>\n\n\n\n<p><strong>\u57fa\u672c\u7684\u306a\u4f7f\u7528\u4f8b<\/strong><\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001smolagent\u3092\u4f7f\u3063\u3066\u7c21\u5358\u306a\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u30d1\u30a4\u30bd\u30f3\u590d\u5236<code>from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel\n\n# \u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3068\u30e2\u30c7\u30eb\u3067\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u521d\u671f\u5316\u3059\u308b\nagent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())\n\n# \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\nagent.run(\"How many seconds would it take a cheetah at top speed to run across the Golden Gate Bridge?\")\n<\/code><\/pre>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u51fa\u529b<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vbnet\u590d\u5236<code>\u30b4\u30fc\u30eb\u30c7\u30f3\u30b2\u30fc\u30c8\u30d6\u30ea\u30c3\u30b8\u306e\u9577\u3055\u306f\u7d041.7\u30de\u30a4\u30eb\u3002\n\u30c1\u30fc\u30bf\u30fc\u306e\u6700\u9ad8\u901f\u5ea6\u306f\u6642\u901f\u7d0460\uff5e70\u30de\u30a4\u30eb\u3002\n\n\u307e\u305a\u3001\u6a4b\u306e\u9577\u3055\u3092\u30de\u30a4\u30eb\u306b\u63db\u7b97\u3059\u308b\uff1a\n1.7\u30de\u30a4\u30eb\uff1d1.7\u30de\u30a4\u30eb\n\n\u6642\u9593\u3092\u8a08\u7b97\u3059\u308b\uff1a\n\u6642\u9593 = \u8ddd\u96e2 \/ \u901f\u5ea6\n\n\u30c1\u30fc\u30bf\u30fc\u306e\u30b9\u30d4\u30fc\u30c9\u3092\u6642\u901f70\u30de\u30a4\u30eb\u3068\u3059\u308b\u3068\n\u6642\u9593\uff1d1.7\u30de\u30a4\u30eb\u00f7\u6642\u901f70\u30de\u30a4\u30eb\u22520.0243\u6642\u9593\n\n\u6642\u9593\u3092\u79d2\u306b\u5909\u63db\u3059\u308b\uff1a\n0.0243\u6642\u9593 * 3600\u79d2\/\u6642 \u2252 87.5\u79d2\n\n\u3064\u307e\u308a\u3001\u30c1\u30fc\u30bf\u30fc\u304c\u30b4\u30fc\u30eb\u30c7\u30f3\u30b2\u30fc\u30c8\u30d6\u30ea\u30c3\u30b8\u3092\u30c8\u30c3\u30d7\u30b9\u30d4\u30fc\u30c9\u3067\u99c6\u3051\u629c\u3051\u308b\u306e\u306b\u304b\u304b\u308b\u6642\u9593\u306f\u7d0487.5\u79d2\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>\u7d50\u8ad6<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>smolagents\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u30d1\u30ef\u30d5\u30eb\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u304cAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u9769\u547d\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002\u30b3\u30fc\u30c9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u91cd\u8996\u3001\u5e45\u5e83\u3044\u30e2\u30c7\u30eb\u306e\u4e92\u63db\u6027\u3001Hugging Face\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u6df1\u3044\u7d71\u5408\u306b\u3088\u308a\u3001AI\u958b\u767a\u306e\u305f\u3081\u306e\u8cb4\u91cd\u306a\u30c4\u30fc\u30eb\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3042\u306a\u305f\u304c\u7d4c\u9a13\u8c4a\u5bcc\u306aAI\u306e\u5c02\u9580\u5bb6\u3067\u3042\u308d\u3046\u3068\u3001\u3053\u306e\u5206\u91ce\u306e\u521d\u5fc3\u8005\u3067\u3042\u308d\u3046\u3068\u3001smolagents\u306f\u30a4\u30f3\u30c6\u30ea\u30b8\u30a7\u30f3\u30c8\u306a\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u52b9\u7387\u7684\u306b\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u6025\u901f\u306b\u9032\u5316\u3059\u308b\u4eba\u5de5\u77e5\u80fd\u306e\u4e16\u754c\u306b\u304a\u3044\u3066\u3001AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u30bf\u30b9\u30af\u306e\u81ea\u52d5\u5316\u3001\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306e\u5411\u4e0a\u3001\u305d\u3057\u3066\u69d8\u3005\u306a\u696d\u754c\u306b\u304a\u3051\u308b\u30a4\u30ce\u30d9\u30fc\u30b7\u30e7\u30f3\u306e\u63a8\u9032\u306b\u4e0d\u53ef\u6b20\u306a\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5805\u7262\u306aAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u958b\u767a\u306b\u306f\u3001\u8907\u96d1\u306a\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3001\u8907\u96d1\u306a\u8a2d\u5b9a\u3001\u305d\u3057\u3066\u967a\u3057\u3044\u5b66\u7fd2\u66f2\u7dda\u304c\u3057\u3070\u3057\u3070\u4f34\u3044\u307e\u3059\u3002Hugging Face\u30c1\u30fc\u30e0\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u305f\u6700\u5c0f\u9650\u306eAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3001smolagents\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-533","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/posts\/533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/comments?post=533"}],"version-history":[{"count":1,"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/posts\/533\/revisions"}],"predecessor-version":[{"id":534,"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/posts\/533\/revisions\/534"}],"wp:attachment":[{"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/media?parent=533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/categories?post=533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smolagents.org\/ja\/wp-json\/wp\/v2\/tags?post=533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}