$30 off During Our Annual Pro Sale. View Details »

Coding Agent at Loft #2 ~ 効果的な組織導入と実践 ~

Avatar for Yuta Sato Yuta Sato
June 03, 2025
44

Coding Agent at Loft #2 ~ 効果的な組織導入と実践 ~

Avatar for Yuta Sato

Yuta Sato

June 03, 2025
Tweet

Transcript

  1. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 1 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Coding Agent at Loft #2 ~ 効果的な組織導入と実践 ~ Yuta Sato Amazon Web Services Japan. G.K.
  2. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 2 2 自己紹介 名前:佐藤 雄太(Sato Yuta) AWS スタートアップ担当 ソリューションアーキテクト 好きなAWSサービス: Amplify, Lambda等のServerlessサービス 好きなツール : Figma @yuupher LinkedIn: http://linkedin.com/in/yuta-sato-4b7337189
  3. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 3 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 今回のイベントについて
  4. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 4 スタートアップとAIコーディング Ø 個人レベルでは多くのエンジニアが既に活用 Ø 大多数のスタートアップが実際の開発現場に対して導入検証中か準備中 Ø 各社が個別に試行錯誤しているが組織的な導入には少しハードルがある
  5. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 5 組織導入における課題 Ø ツール選定 Ø コスト Ø セキュリティ・ガバナンス Ø 利用スキル・マインド
  6. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 6 過渡期だからこその知見共有 Ø 進化のスピードが非常に速く一部情報は半年後には陳腐化している可能性も あります Ø それでも多くの企業が導入に向けた試行錯誤をしている今、現在の経験を共 有する価値があると考えています
  7. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 7 共に学ぶ Ø 発表者だけじゃなく、参加者の方々の経験や心理的ハードルも含めて重要な 情報 Ø 懇親会で是非積極的な情報交換を
  8. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 8 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Coding Agent on AWS Yuta Sato Amazon Web Services Japan. G.K. #Session1
  9. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 9 Agenda Ø Amazon Bedrock Ø Amazon Q Developer Ø AWS MCP Servers Ø Coding Agentを作りたい方へ
  10. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 10 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Amazon Bedrock
  11. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 11 最先端の基盤モデルを単⼀ API で利⽤ モデルのカスタマイズ Retrieval Augmented Generation (RAG) マルチステップタスクのエージェント実⾏ セキュリティ・プライバシー・統制 基盤モデルと周辺ツール群で ⽣成 AI アプリケーションを構築 及びスケールする最も簡単な⽅法 Amazon Bedrockとは?
  12. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 12 AMAZON NOVA JAMBA CLAUDE COMMAND EMBED RERANK LLAMA LUMA RAY 2 ⻑コンテキスト の効果的な推論 と迅速な分析 ⾼品質な AI 画像 ⽣成及び AI 画像 編集 ⾼度な画像と ⾔語の推論 知識のようやく、 エキスパートエー ジェント、コード 補完 テキストと画像 からの⾼品質な 動画⽣成 ⼤規模企業向け ソフトウェアエ ンジニアリング AI STABLE DIFFUSION STABLE IMAGE MISTRAL MIXTRAL MALIBU POINT 低遅延の マルチモーダル AI エージェント、 RAG、 ⾼品質な画像・ ビデオ⽣成 Computer Use を 含む⾼度な推論 コーディング能⼒ マルチモーダル RAG と多⾔語知識 エージェント Amazon Bedrockは幅広いモデルを安全に利⽤可能 幅 広 い モ デ ル 選 択 肢 実装 選択 カスタマイズ セキュリティ と統制
  13. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 13 Amazon Bedrock どうしてAmazon Bedrockなのか? Claude APIを直接利用するのではなく、Amazon Bedrock (Claude)を利用するこ とで、セキュリティ、ガバナンス、コスト管理、運用管理に優位です。 【Amazon Bedrockの主な機能・特徴】 • 統合されたセキュリティ管理とコンプライアンス • AWSの既存のIAMポリシー、セキュリティ監査ツールとの統合が可能 • コンプライアンス要件(SOC、HIPAA、PCI DSSなど)への対応 • マルチモデル対応と容易な切り替え • Claude以外のモデルへの簡単なアクセス、モデル間の切り替えが容易 • 複数のモデルを組み合わせたアプリケーション開発が可能 • AWSサービスとの統合 • CloudWatchによるモニタリング • AWS Lambdaとの連携、AWS Step Functionsを使⽤したワークフロー構築 • コスト最適化と管理 • AWSの⼀括請求での管理、詳細な使⽤状況の分析と可視化 • 使⽤量ベースの料⾦体系 • 各種AWS包括契約によるコスト削減 • 運⽤管理の効率化 • APIバージョン管理の簡素化 • モデルのパフォーマンスモニタリング • スケーリングの⾃動化
  14. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 14 Amazon Bedrock Prompt Caching 対応モデルの推論リクエストAPIにてプロンプトのキャッシュと再利⽤を提供→ 最⼤で コスト効率が 90%、レイテンシは 85% の改善も 特徴・メリット • ⼀度トークン化されたプロンプト内の 部分をキャッシュし、再利⽤すること で繰り返し同じ内容の⼊⼒トークンが ⽣成される処理を効率化 • コストとレイテンシ改善に寄与 • (アプリケーションは、基盤モデ ルとの⼀連のチャットのために、 それまでの会話履歴を都度追加 して基盤モデル推論時にプロン プトとして送信する挙動) • キャッシュは常にAWSアカウント毎に 分離される Amazon Bedrock プロンプト アプリケーション Prompt Caching 指定ポイントまでの⼊⼒トークンキャッ シュを探索しHitすればキャッシュを利⽤ & 無ければ そのトークンをキャッシュ トークン キャッシュ ※キャッシュは 単なるテキスト ではなく、指定ポイントまでの基盤モデル内の計算状態が保持される
  15. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 15 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Amazon Q Developer
  16. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 16 テストと セキュリティ の確保 運⽤ 調査と計画 作成 メンテナンス とモダナイズ ソフトウェア開発ライフサイクルで 開発者はどこに時間を使っているか
  17. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 17 27% 開発者がイノベーション と変⾰に費やす時間 73% 開発者がアプリケーションの 運⽤と保守に費やす時間 コーディングに割く時間は1時間以下 中央値で⾒ると、開発者は 1⽇のうちコードを書く時間が1時間未満1 1 Software.com, “Global Code Time Report,” January 2022
  18. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 18 Amazon Q Developer ソフトウェア開発ライフサイクル(SDLC)全体にわたって、 開発者とIT専⾨家の迅速な構築を⽀援 精度の⾼いコーディング推奨事項を提供 エージェントは、機能の実装、コードのリファクタリング、 ソフトウェアのアップグレードなどを⾃律的に⽀援 Amazon QはAWSのエキスパートであり、AWS環境を最適化 に精通 最⾼⽔準のセキュリティ脆弱性スキャンと修復機能を提供 Amazon Q はセキュリィとプライバシーを念頭において構築されており、 企業は⽣成 AI をより簡単に安全に利⽤可能に
  19. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 19 AIコーディングツールの種類 IDE型 (+VS Code拡張型) • Amazon Q Developer for IDE • Cline • Roo Code • Cursor • Windsurf • Continue コンソール型 • Amazon Q Developer for CLI • Claude Code チャット型 • Devin • OpenHands ブラウザ型 • V0 • replit SCM型 • GitLab Duo with Amazon Q • CodeRabbit
  20. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 20 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Amazon Q Developer for command line (CLI) とは
  21. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 21 Amazon Q Developer for CLI 名前の通り CLI 上で Amazon Q Developer とやり取りができる • 自然言語からbashスクリプトへの変換 • コマンドの補完 • チャット
  22. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 22 コマンドの補完
  23. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 23 Q Chat q chat コマンドでコンソール上で動作 • AWSサービス全般に関する情報 • ローカルのコンテキストの解説
  24. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 24 AIエージェント機能が拡張 https://aws.amazon.com/jp/about-aws/whats-new/2025/03/amazon-q-developer-cli-agent-command-line/
  25. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 25 Q Chat: コーディングエージェント コーディングエージェントとして動作 • コマンドの実⾏ • ファイルの作成 • 実⾏結果の理解
  26. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 26 Amazon Q Developer for IDE による開発 Visual Studio Code (vscode) から コーディングエージェントとして 対話形式にて動作が可能 Yes/No形式で開発を進めていく
  27. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 27 AWS Builder IDで無料枠の利⽤が可能 最新の料⾦体系はウェブサイトにて確認してください https://aws.amazon.com/jp/q/developer/pricing/ 無料枠を超えるとスロットリングがかかります
  28. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 28 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. AWS MCP Servers
  29. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 29 Model Context Protocol (MCP) とは︖ ⼀⾔でいうと AI ⽤の USB-C ポート。AI エージェントと 様々な外部ツールやデータソースを接続し、利⽤するこ とができる。 例えば… ・AI が必要と判断したら適宜 Web 検索を⾏う ・Google Drive 内の資料や Notion の内容を確認 ・Slack や Github と連携してタスク管理や進捗報告 ・AWS の公式ドキュメントを参照しながら開発 https://norahsakal.com/blog/mcp-vs-api-model-context-protocol-explained/
  30. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 30 AWS MCP Servers • AWS Documentation • Amazon Bedrock Knowledge Bases Retrieval • AWS CDK • AWS Lambda (MCPでBridgeしてPrivateリソースへアクセス) • 自社用MCPの参考実装としても https://github.com/awslabs/mcp
  31. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 31 31 Amazon Q Developer CLI - MCP Server 対応 Amazon Q Developer CLI は MCP Server に対応 特徴: • 開発環境(IDE)かどうかを問わず、⼀般の ターミナルで動作し、ユーザーと対話 • 基盤モデルとして現在 Claude 3.7 Sonnet を利⽤し、その⾼い推論能⼒を活かして コーディングを含む様々なタスクを実⾏ • MCP Server 対応により、多様な 機能拡張とエージェント型のタスク実 ⾏を実現 • セッションは最⼤200Kトークン • 対応OS: • macOS • Windows (WSL利⽤) • Linux (Ubuntu 22, 24) q chatコマンドでの開始時に MCP設定ファイルを参照し MCP Serverを初期化/ロード
  32. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 32 32 { "mcpServers": { "awslabs.aws-documentation-mcp-server": { "command": "/Users/JohnDoe/.local/bin/uvx", "args": [ "awslabs.aws-documentation-mcp-server@latest" ], "env": { "SHELL": "/usr/bin/zsh", "FASTMCP_LOG_LEVEL": "ERROR" }, "autoApprove": [ "" ] } }, …(複数定義可)… } Q Developer CLI - MCP設定ファイル Q Developer CLI は 下表の設定ファイルを起動時に参照し、 (ファイルが配置されていれば) 定義された MCP Server を初期化 # MCP設定ファイル 配置場所 説明 1 $HOME/.aws/amazonq/mcp.json • 当該OSユーザーの 共通のMCP定義 2 $PWD/.amazonq/mcp.json • IDEワークスペースディレ クトリなどに配置する MCP定義 Amazon Q Developer CLI MCP設定ファイル (mcp.json) ※書式は Claude Desktop や Cline 等と共通 MCP設定ファイル 開始時に参照 実⾏ (q chat)
  33. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 33 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Coding Agentを作りたい方へ
  34. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 34 Bedrock Engineer • Electron製ソフトウェア開発エージェント • ファイル操作・Web検索・MCP等対応 • エージェントのカスタマイズ • Website Generator • Step Functions Generator • AWSアーキテクチャ Diagram Generator https://github.com/aws-samples/bedrock-engineer
  35. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 35 Remote SWE Agents • 完全自立型ソフトウェア開発AIエージェント • Slackから操作 • MCP対応 • サーバレスサービスを用いて利用時のみコスト発生 • セッション単位でEC2/EBSを利用するワーカー https://github.com/aws-samples/remote-swe-agents
  36. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 36 Thank you! © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.