{"id":83619,"date":"2026-05-01T08:00:00","date_gmt":"2026-04-30T23:00:00","guid":{"rendered":"https:\/\/www.creationline.com\/tech-blog\/?p=83619"},"modified":"2026-04-30T18:36:53","modified_gmt":"2026-04-30T09:36:53","slug":"strands%e3%81%a7%e7%b0%a1%e5%8d%98%e3%81%aa%e7%94%9f%e6%88%90ai%e3%83%81%e3%83%a3%e3%83%83%e3%83%88%e3%83%9c%e3%83%83%e3%83%88%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-strands-ai-llm","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619","title":{"rendered":"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f <a href=\"https:\/\/www.langchain.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">LangChain<\/a>, <a href=\"https:\/\/www.langchain.com\/langgraph\" target=\"_blank\" rel=\"noreferrer noopener\">LangGraph<\/a> \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.creationline.com\/tech-blog\/80508\" target=\"_blank\" rel=\"noreferrer noopener\">\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3067MCP (Model Context Protocl)\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.creationline.com\/tech-blog\/76708\" target=\"_blank\" rel=\"noreferrer noopener\">LangGraph\u306eTool calling\u3067OpenAI API\u306eFunction calling\u3092\u8a66\u3057\u3066\u307f\u3088\u3046<\/a><\/li>\n\n\n\n<li>etc\u2026<\/li>\n<\/ul>\n\n\n\n<p>LangGraph\u306f\u975e\u5e38\u306b\u67d4\u8edf\u3067\u3059\u304c\u300c\u30b0\u30e9\u30d5\u3092\u69cb\u7bc9\u3059\u308b\u300d\u3068\u3044\u3046\u6982\u5ff5\u306e\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u9ad8\u304f\u3001\u5148\u65e5\u306e\u8a18\u4e8b\u300c<a href=\"https:\/\/www.creationline.com\/tech-blog\/83529\" target=\"_blank\" rel=\"noreferrer noopener\">Google ADK\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f<\/a>\u300d\u306e\u3088\u3046\u306bAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u6307\u5411\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u7528\u3044\u3089\u308c\u308b\u3053\u3068\u3082\u5897\u3048\u3066\u304d\u305f\u3088\u3046\u306b\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u672c\u7a3f\u3067\u306f\u751f\u6210AI (<a href=\"https:\/\/gemini.google\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Gemini<\/a>)\u3092\u5229\u7528\u3057\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3092S3\u4e92\u63db\u30b9\u30c8\u30ec\u30fc\u30b8 (<a href=\"https:\/\/github.com\/seaweedfs\/seaweedfs\" target=\"_blank\" rel=\"noreferrer noopener\">SeaweedFS<\/a>) \u306b\u4fdd\u5b58\u3059\u308b\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u3001LangGraph\u3068\u3001Amazon Web Services (AWS)\u304c\u63d0\u4f9b\u3059\u308bAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u4f5c\u6210\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308b <a href=\"https:\/\/strandsagents.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Strands Agents<\/a> \u306e\u4e21\u65b9\u3067\u4f5c\u6210\u3057\u3001\u305d\u306e\u69cb\u9020\u7684\u306a\u9055\u3044\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306e\u57fa\u672c\u4ed5\u69d8<\/h2>\n\n\n\n<p>\u4f5c\u6210\u3059\u308b\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306e\u4ed5\u69d8\u306f\u6b21\u306e\u901a\u308a\u3001<a href=\"https:\/\/www.creationline.com\/tech-blog\/83529\" target=\"_blank\" rel=\"noreferrer noopener\">\u5148\u65e5\u306e\u8a18\u4e8b<\/a>\u3068\u307b\u307c\u540c\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7c21\u6613\u306a\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3068\u3059\u308b<\/li>\n\n\n\n<li>\u30e6\u30fc\u30b6\u306e\u5165\u529b\u3092\u751f\u6210AI (Google Gemini)\u306b\u6e21\u3057\u3066\u3001\u56de\u7b54\u3092\u8868\u793a\u3059\u308b<\/li>\n\n\n\n<li>\u4f1a\u8a71\u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u4fdd\u5b58\u3057\u3001\u4f1a\u8a71\u3092\u7d99\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\n<ul class=\"wp-block-list\">\n<li>\u30dc\u30c3\u30c8\u8d77\u52d5\u6642\u3001\u4f1a\u8a71\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7279\u5b9a\u3059\u308bID\u3092UUID\u3067\u751f\u6210\u3059\u308b<\/li>\n\n\n\n<li>\u30e6\u30fc\u30b6\u304cUUID\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u305d\u306e\u4f1a\u8a71\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5207\u308a\u66ff\u3048\u308b<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30e6\u30fc\u30b6\u304c <code>quit<\/code>, <code>exit<\/code>, <code>q<\/code> \u3092\u5165\u529b\u3059\u308b\u3068\u3001\u30dc\u30c3\u30c8\u3092\u7d42\u4e86\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3068\u3066\u3082\u5358\u7d14\u3067\u3059\u304c\u3001\u4e00\u554f\u4e00\u7b54\u3067\u8a18\u61b6\u3092\u306a\u304f\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u4f1a\u8a71\u304c\u7d99\u7d9a\u3067\u304d\u308b\u4ed5\u7d44\u307f\u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">LangGraph\u306b\u3088\u308b\u5b9f\u88c5<\/h3>\n\n\n\n<p>\u307e\u305a\u306fLangGraph\u306b\u3088\u308b\u5b9f\u88c5\u3067\u3059\u3002<a href=\"https:\/\/www.creationline.com\/tech-blog\/83529\" target=\"_blank\" rel=\"noreferrer noopener\">\u5148\u65e5\u306e\u8a18\u4e8b<\/a>\u3068\u540c\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">from typing import Annotated\nfrom typing_extensions import TypedDict\nfrom langgraph.graph import StateGraph, START, END\nfrom langgraph.graph.message import add_messages\nfrom langchain_core.messages import BaseMessage, AIMessage\nfrom langchain_google_genai import ChatGoogleGenerativeAI\nfrom psycopg import Connection\nfrom langgraph.checkpoint.postgres import PostgresSaver\n\nfrom yaspin import yaspin\n\nimport uuid\nimport re\n\nimport os\nfrom dotenv import load_dotenv\nload_dotenv()\n\n# os.getenv(\"GOOGLE_API_KEY\")\nllm = ChatGoogleGenerativeAI(\n         model = os.getenv(\"GOOGLE_MODEL_NAME\", \"gemini-3-flash-preview\"),\n         temperature = 0.95,\n         max_output_tokens = 1024,\n      )\n\nclass State(TypedDict):\n    messages: Annotated[list, add_messages]\n\ndef chatbot(state: State):\n    with yaspin(text=\"Processing\", color=\"yellow\") as spinner:\n        res = llm.invoke(state[\"messages\"])\n        spinner.ok(\"&#x2705; \")\n    return {\"messages\": res}\n\ngraph_builder = StateGraph(State)\ngraph_builder.add_node(\"chatbot\", chatbot)\ngraph_builder.set_entry_point(\"chatbot\")\ngraph_builder.set_finish_point(\"chatbot\")\n\nthread_id = str(uuid.uuid4())\nUUID_RE = re.compile(r'^[\\da-f]{8}-([\\da-f]{4}-){3}[\\da-f]{12}$', re.IGNORECASE)\n\ndef stream_graph_updates(user_input: str, thread_id: str):\n    db_uri = os.getenv(\"DB_URI\")\n    with PostgresSaver.from_conn_string(db_uri) as checkpointer:\n        checkpointer.setup()\n        graph = graph_builder.compile(checkpointer=checkpointer)\n\n        events = graph.stream(\n            {\"messages\": [(\"user\", user_input)]},\n            {\"configurable\": {\"thread_id\": thread_id}},\n            stream_mode=\"values\"\n        )\n        for event in events:\n            message = event[\"messages\"][-1]\n            if type(message) == AIMessage:\n                print(message.content)\n\nwhile True:\n    try:\n        print(\"\\nThread ID: \" + thread_id)\n        user_input = input(\"User: \")\n        if user_input.lower() in [\"quit\", \"exit\", \"q\"]:\n            print(\"Goodbye!\")\n            break\n        elif bool(UUID_RE.match(user_input)):\n            thread_id = user_input\n        else:\n            stream_graph_updates(user_input, thread_id)\n    except Exception as e:\n        print(f\"error: {e}\")\n        break<\/pre>\n\n\n\n<p><code>State<\/code> \u30af\u30e9\u30b9\u306b\u3088\u308b\u72b6\u614b\u7ba1\u7406\u3067\u30e1\u30c3\u30bb\u30fc\u30b8\u5c65\u6b74\u3092\u81ea\u52d5\u8ffd\u52a0\u3001 <code>StateGraph<\/code> \u306b\u3088\u308b <code>chatbot<\/code> \u30ce\u30fc\u30c9\u306e\u8ffd\u52a0\u3001\u958b\u59cb\u30fb\u7d42\u4e86\u30ce\u30fc\u30c9\u306e\u8ffd\u52a0\u306b\u3088\u308b\u30b0\u30e9\u30d5\u306e\u69cb\u7bc9\u3001\u3068\u3044\u3063\u305f\u70b9\u304c\u7279\u5fb4\u3067\u3059\u3002\u307e\u305f\u3001PostgreSQL\u3078\u306e\u4fdd\u5b58\u306f\u300c\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u300d\u3068\u3044\u3046\u6982\u5ff5\u3067\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u307e\u3056\u306a\u307e\u51e6\u7406\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u6761\u4ef6\u5206\u5c90\u304c\u3067\u304d\u308b\u3001\u3068\u3044\u3046\u306e\u306f\u308f\u304b\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u3088\u3046\u306a\u5358\u7d14\u306a\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u306f\u300c\u304a\u7d04\u675f\u300d\u3084\u300c\u304a\u307e\u3058\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u5c11\u3057\u308f\u304b\u308a\u3065\u3089\u3044\u3001\u300c\u5927\u306f\u5c0f\u3092\u517c\u306d\u308b\u300d\u3068\u3044\u3063\u3066\u3082\u3061\u3087\u3063\u3068\u3068\u3063\u3064\u304d\u3065\u3089\u3044\u3001\u3068\u3044\u3046\u611f\u60f3\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Strands\u306b\u3088\u308b\u5b9f\u88c5<\/h2>\n\n\n\n<p>\u6b21\u306bLangGraph\u306b\u3088\u308b\u5b9f\u88c5\u3092Strands\u3067\u518d\u5b9f\u88c5\u3057\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">from strands import Agent\nfrom strands.models.gemini import GeminiModel\nfrom strands.session import S3SessionManager\n\nfrom botocore.config import Config as BotocoreConfig\n\nfrom yaspin import yaspin\n\nimport asyncio\nimport uuid\nimport re\n\nimport os\nfrom dotenv import load_dotenv\nload_dotenv()\n\nmodel = GeminiModel(\n         model_id = os.getenv(\"GOOGLE_MODEL_NAME\", \"gemini-3-flash-preview\"),\n         params = {\n             \"temperature\": 0.95,\n             \"max_output_tokens\": 1024,\n         },\n      )\n\nSYSTEM_PROMPT = \"\u3042\u306a\u305f\u306f\u89aa\u5207\u306a\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306e\u8cea\u554f\u306b\u4e01\u5be7\u306b\u7b54\u3048\u3066\u304f\u3060\u3055\u3044\u3002\"\nS3_BUCKET = os.getenv(\"S3_BUCKET\", \"agent-sessions\")\nS3_PREFIX = os.getenv(\"S3_PREFIX\", \"\")\nAWS_REGION = os.getenv(\"AWS_REGION\", \"us-east-1\")\n\nboto_client_config = BotocoreConfig(s3={\"addressing_style\": \"path\"})\n\nthread_id = str(uuid.uuid4())\nUUID_RE = re.compile(r'^[\\da-f]{8}-([\\da-f]{4}-){3}[\\da-f]{12}$', re.IGNORECASE)\n\nasync def stream_runner_updates(user_input: str, thread_id: str):\n    session_manager = S3SessionManager(\n        session_id=thread_id,\n        bucket=S3_BUCKET,\n        prefix=S3_PREFIX,\n        region_name=AWS_REGION,\n        boto_client_config=boto_client_config,\n    )\n\n    agent = Agent(\n        model=model,\n        system_prompt=SYSTEM_PROMPT,\n        session_manager=session_manager,\n        callback_handler=None,\n    )\n\n    with yaspin(text=\"Processing\", color=\"yellow\") as spinner:\n        result = await agent.invoke_async(user_input)\n        spinner.ok(\"&#x2705; \")\n\n    print(result.message[\"content\"][0].get(\"text\", \"\"))\n\nwhile True:\n    try:\n        print(\"\\nThread ID: \" + thread_id)\n        user_input = input(\"User: \")\n        if user_input.lower() in [\"quit\", \"exit\", \"q\"]:\n            print(\"Goodbye!\")\n            break\n        elif bool(UUID_RE.match(user_input)):\n            thread_id = user_input\n        else:\n            asyncio.run(stream_runner_updates(user_input, thread_id))\n    except Exception as e:\n        print(f\"error: {e}\")\n        break<\/pre>\n\n\n\n<p>\u3067\u304d\u308b\u9650\u308aLangGraph\u3067\u306e\u5b9f\u88c5\u3068\u69cb\u9020\u304c\u5909\u308f\u3089\u306a\u3044\u3088\u3046\u306b\u3001Strands\u3067\u518d\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Strands\u3067\u306f\u300c\u30e2\u30c7\u30eb\u300d\u300c\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u300d\u300c\u30bb\u30c3\u30b7\u30e7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u300d\u3068\u3044\u30463\u3064\u306e\u8981\u7d20\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/strandsagents.com\/docs\/user-guide\/concepts\/model-providers\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u30e2\u30c7\u30eb<\/a>: \u30a2\u30d7\u30ea\u306e\u300c\u982d\u8133\u300d\u306b\u76f8\u5f53\u3002<\/li>\n\n\n\n<li><a href=\"https:\/\/strandsagents.com\/docs\/user-guide\/concepts\/agents\/agent-loop\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8<\/a>: \u30a2\u30d7\u30ea\u306e\u300c\u624b\u8db3\u300d\u306b\u76f8\u5f53\u3002<\/li>\n\n\n\n<li><a href=\"https:\/\/strandsagents.com\/docs\/user-guide\/concepts\/agents\/session-management\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u30bb\u30c3\u30b7\u30e7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3<\/a>: \u30e6\u30fc\u30b6\u3068\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u3084\u308a\u3068\u308a\u3092\u8a18\u9332\u3059\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u30b0\u30e9\u30d5\u306e\u72b6\u614b\u9077\u79fb\u3092\u624b\u7d9a\u304d\u306b\u69cb\u7bc9\u3059\u308bLangGraph\u306b\u5bfe\u3057\u3001Strands\u306f\u300c\u30e2\u30c7\u30eb\u300d\u300c\u30bb\u30c3\u30b7\u30e7\u30f3\u300d\u3068\u3044\u3063\u305f\u90e8\u54c1\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u8a2d\u8a08\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ed\u30b8\u30c3\u30af\u306e\u6d41\u308c\u306b\u7e1b\u3089\u308c\u305a\u3001\u5fc5\u8981\u306a\u6a5f\u80fd\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u5dee\u3057\u66ff\u3048\u308b\u3060\u3051\u3067\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u69cb\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u304a\u3001Strands\u306e<a href=\"https:\/\/strandsagents.com\/docs\/user-guide\/concepts\/agents\/session-management\/#built-in-session-managers\" target=\"_blank\" rel=\"noreferrer noopener\">\u7d44\u307f\u8fbc\u307f\u30bb\u30c3\u30b7\u30e7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3<\/a>\u306f\u30012026\u5e744\u6708\u73fe\u5728\u3001\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3068<a href=\"https:\/\/aws.amazon.com\/jp\/s3\/\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon S3<\/a>\u30d0\u30b1\u30c3\u30c8\u306e\u307f\u306e\u5bfe\u5fdc\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u672c\u7a3f\u3067\u306f\u30ed\u30fc\u30ab\u30eb\u3067\u5b9f\u884c\u3067\u304d\u308bS3\u4e92\u63db\u30b9\u30c8\u30ec\u30fc\u30b8\u3068\u3057\u3066<a href=\"https:\/\/github.com\/seaweedfs\/seaweedfs\" target=\"_blank\" rel=\"noreferrer noopener\">SeaweedFS<\/a>\u3092\u63a1\u7528\u3057\u307e\u3057\u305f\u3002\u30c6\u30b9\u30c8\u7528\u306e<a href=\"https:\/\/docs.docker.com\/compose\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker Compose<\/a>\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">services:\n  weedmini:\n    container_name: weedmini\n    image: chrislusf\/seaweedfs:4.22@sha256:dc40601b7a598dbaa0312e4aadf1cc239de2ed6a177babd2f181a6d766a20dd6\n    command:\n      - server\n      - -s3\n    restart: always\n    ports:\n      - \"8333:8333\"\n    environment:\n      AWS_ACCESS_KEY_ID: admin\n      AWS_SECRET_ACCESS_KEY: secret \n    volumes:\n      - weed-data:\/data\n\nvolumes:\n  weed-data:<\/pre>\n\n\n\n<p><strong>\u3068\u3066\u3082\u7c21\u5358\u306a\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u672c\u756a\u74b0\u5883\u3067\u306f\u5229\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/strong><\/p>\n\n\n\n<p>\u3053\u308c\u3067 seaweedfs \u3092\u8d77\u52d5\u3057\u3001\u6b21\u306e\u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">AWS_ENDPOINT_URL_S3=http:\/\/localhost:8333\nAWS_ACCESS_KEY_ID=admin\nAWS_SECRET_ACCESS_KEY=secret\nAWS_REGION=us-east-1\nS3_BUCKET=agent-sessions<\/pre>\n\n\n\n<p>\u305d\u3057\u3066\u30d0\u30b1\u30c3\u30c8\u306e\u4f5c\u6210\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">aws --endpoint-url \"$AWS_ENDPOINT_URL_S3\" s3 mb s3:\/\/\"$S3_BUCKET\"<\/pre>\n\n\n\n<p>\u3053\u308c\u3067\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u8d77\u52d5\u3059\u308c\u3070\u3001seaweedfs\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u8a18\u9332\u3057\u3066\u4f1a\u8a71\u304c\u7d99\u7d9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u300c\u95a2\u5fc3\u306e\u5206\u96e2\u300d\u3092\u610f\u8b58\u3057\u3066\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3057\u305f\u30b3\u30fc\u30c9\u304c\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">from strands import Agent\nfrom strands.models.gemini import GeminiModel\nfrom strands.session import S3SessionManager\n\nfrom botocore.config import Config as BotocoreConfig\n\nfrom yaspin import yaspin\n\nimport asyncio\nimport uuid\nimport re\n\nimport os\nfrom dotenv import load_dotenv\nload_dotenv()\n\nSYSTEM_PROMPT = \"\u3042\u306a\u305f\u306f\u89aa\u5207\u306a\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306e\u8cea\u554f\u306b\u4e01\u5be7\u306b\u7b54\u3048\u3066\u304f\u3060\u3055\u3044\u3002\"\nS3_BUCKET = os.getenv(\"S3_BUCKET\", \"agent-sessions\")\nS3_PREFIX = os.getenv(\"S3_PREFIX\", \"\")\nAWS_REGION = os.getenv(\"AWS_REGION\", \"us-east-1\")\n\nUUID_RE = re.compile(r'^[\\da-f]{8}-([\\da-f]{4}-){3}[\\da-f]{12}$', re.IGNORECASE)\n\ndef build_model() -> GeminiModel:\n    return GeminiModel(\n        model_id=os.getenv(\"GOOGLE_MODEL_NAME\", \"gemini-3-flash-preview\"),\n        params={\n            \"temperature\": 0.95,\n            \"max_output_tokens\": 1024,\n        },\n    )\n\ndef build_agent(model: GeminiModel, session_id: str) -> Agent:\n    boto_client_config = BotocoreConfig(s3={\"addressing_style\": \"path\"})\n    session_manager = S3SessionManager(\n        session_id=session_id,\n        bucket=S3_BUCKET,\n        prefix=S3_PREFIX,\n        region_name=AWS_REGION,\n        boto_client_config=boto_client_config,\n    )\n    return Agent(\n        model=model,\n        system_prompt=SYSTEM_PROMPT,\n        session_manager=session_manager,\n        callback_handler=None,\n    )\n\nasync def chat(agent: Agent, user_input: str) -> None:\n    with yaspin(text=\"Processing\", color=\"yellow\") as spinner:\n        result = await agent.invoke_async(user_input)\n        spinner.ok(\"&#x2705; \")\n    print(result.message[\"content\"][0].get(\"text\", \"\"))\n\nasync def main() -> None:\n    model = build_model()\n    session_id = str(uuid.uuid4())\n    agent = build_agent(model, session_id)\n\n    while True:\n        try:\n            print(\"\\nThread ID: \" + session_id)\n            user_input = await asyncio.to_thread(input, \"User: \")\n            if user_input.lower() in [\"quit\", \"exit\", \"q\"]:\n                print(\"Goodbye!\")\n                break\n            if UUID_RE.match(user_input):\n                session_id = user_input\n                agent = build_agent(model, session_id)\n                continue\n            await chat(agent, user_input)\n        except Exception as e:\n            print(f\"error: {e}\")\n            break\n\nif __name__ == \"__main__\":\n    asyncio.run(main())<\/pre>\n\n\n\n<p>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u69cb\u7bc9\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u3001\u30c1\u30e3\u30c3\u30c8\u306e\u5b9f\u884c\u30ed\u30b8\u30c3\u30af\u3092\u30e1\u30bd\u30c3\u30c9\u3054\u3068\u306b\u5207\u308a\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"340\" src=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-chatbot-1024x340.png\" alt=\"\" class=\"wp-image-83620\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-chatbot-1024x340.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-chatbot-360x120.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-chatbot-768x255.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-chatbot-1536x511.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-chatbot.png 1730w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u672c\u7a3f\u3067\u306f\u3001\u3053\u308c\u307e\u3067\u3088\u304f\u5229\u7528\u3057\u3066\u3044\u305fLangGraph\u3067\u306e\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306e\u30b3\u30fc\u30c9\u3092\u3001Strands\u3067\u518d\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u3069\u306e\u3088\u3046\u306a\u9055\u3044\u304c\u3042\u308b\u304b\u3092\u898b\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>LangGraph\u3067\u306e\u300c\u30b0\u30e9\u30d5\u3092\u3069\u306e\u3088\u3046\u306b\u5236\u5fa1\u3059\u308b\u304b\u300d\u3068\u3044\u3046\u4f4e\u30ec\u30a4\u30e4\u30fc\u306a\u5b9f\u88c5\u306e\u60a9\u307f\u304b\u3089\u89e3\u653e\u3055\u308c\u3001Strands\u3067\u306f\u300c\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u3069\u306e\u3088\u3046\u306a\u5f79\u5272\u3092\u4e0e\u3048\u308b\u304b\u300d\u3068\u3044\u3046\u672c\u8cea\u7684\u306a\u8a2d\u8a08\u306b\u96c6\u4e2d\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002LangGraph\u304c\u6301\u3064\u67d4\u8edf\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6027\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u30b7\u30f3\u30d7\u30eb\u306a\u30b1\u30fc\u30b9\u3067\u306f\u3001Strands\u306e\u307b\u3046\u304c\u30b3\u30fc\u30c9\u306e\u898b\u901a\u3057\u304c\u3088\u304f\u3001\u76f4\u611f\u7684\u3067\u3042\u308a\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3082\u9ad8\u304f\u306a\u308b\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u6570\u591a\u304f\u5b58\u5728\u3059\u308b\u306e\u3067\u3001\u4eca\u5f8c\u3082\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\u3067\u306f\u305d\u308c\u305e\u308c\u78ba\u8a8d\u3057\u3066\u7d39\u4ecb\u3057\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f LangChain, LangGraph \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a LangGraph\u306f\u975e\u5e38\u306b\u67d4\u8edf\u3067\u3059\u304c\u300c\u30b0\u30e9\u30d5\u3092\u69cb\u7bc9\u3059\u308b\u300d\u3068\u3044\u3046\u6982\u5ff5\u306e\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u9ad8\u304f\u3001\u5148\u65e5\u306e [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":83626,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[779,98,31,208,1004,323],"tags":[],"class_list":["post-83619","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-aws","category-higuchi","category-gcp","category-llm","category-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"AI, AWS, d-higuchi, GCP, LLM, Python |\u306f\u3058\u3081\u306b \u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f LangChain, LangGraph \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"AI, AWS, d-higuchi, GCP, LLM, Python |\u306f\u3058\u3081\u306b \u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f LangChain, LangGraph \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-30T23:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-agents.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"235\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini\",\"datePublished\":\"2026-04-30T23:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619\"},\"wordCount\":74,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/strands-agents.png\",\"articleSection\":[\"AI\",\"AWS\",\"d-higuchi\",\"GCP\",\"LLM\",\"Python\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619\",\"name\":\"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/strands-agents.png\",\"datePublished\":\"2026-04-30T23:00:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"AI, AWS, d-higuchi, GCP, LLM, Python |\u306f\u3058\u3081\u306b \u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f LangChain, LangGraph \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/strands-agents.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/strands-agents.png\",\"width\":800,\"height\":235},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/83619#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ChatGPT\uff06AI\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AI\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"AI, AWS, d-higuchi, GCP, LLM, Python |\u306f\u3058\u3081\u306b \u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f LangChain, LangGraph \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a","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:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619","og_locale":"ja_JP","og_type":"article","og_title":"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"AI, AWS, d-higuchi, GCP, LLM, Python |\u306f\u3058\u3081\u306b \u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f LangChain, LangGraph \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a","og_url":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2026-04-30T23:00:00+00:00","og_image":[{"width":800,"height":235,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-agents.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini","datePublished":"2026-04-30T23:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619"},"wordCount":74,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-agents.png","articleSection":["AI","AWS","d-higuchi","GCP","LLM","Python"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619","url":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619","name":"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-agents.png","datePublished":"2026-04-30T23:00:00+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"AI, AWS, d-higuchi, GCP, LLM, Python |\u306f\u3058\u3081\u306b \u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u95a2\u3059\u308b\u3053\u308c\u307e\u3067\u306e\u8a18\u4e8b\u3067\u306f LangChain, LangGraph \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4f8b\uff1a","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-agents.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/04\/strands-agents.png","width":800,"height":235},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/83619#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"ChatGPT\uff06AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai"},{"@type":"ListItem","position":3,"name":"AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai"},{"@type":"ListItem","position":4,"name":"Strands\u3067\u7c21\u5358\u306a\u751f\u6210AI\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u307f\u305f #strands #ai #llm #gemini"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/83619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=83619"}],"version-history":[{"count":2,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/83619\/revisions"}],"predecessor-version":[{"id":83628,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/83619\/revisions\/83628"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/83626"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=83619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=83619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=83619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}