Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コス...
Search
satoh-y-0323
July 14, 2026
Technology
1.5k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コスト最適化
Claude Code で動くマルチエージェントの個人OSS C3
タスクごとにどのモデルを使うか自体を学習させる というアプローチ
satoh-y-0323
July 14, 2026
More Decks by satoh-y-0323
See All by satoh-y-0323
Issue の起票者に、 聞いてはいけない質問がある タスク自走ハーネスの“質問の宛先”設計
satohy0323
3
870
Other Decks in Technology
See All in Technology
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
120
AIネイティブ企業への変革。パーソルキャリアが挑む「データメッシュ×ガバナンス」のアーキテクチャ戦略
techtekt
PRO
0
120
AI駆動開発における開発環境のセキュリティの考え方
yamahiro
0
200
How to Design Configuration for Rails Applications
willnet
1
1.1k
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
7
5.2k
企画を Software Factory-ready にする——開発が高速になったとき、PdMの仕事はどう変わったか
yachibit
1
120
Refining Active Record
shugo
0
190
トークン化預金DCJPYの取り組みと活用ユースケース
finengine
0
210
LLM-as-a-Judgeは本当に信頼できるのか――評価器を評価する話
taka_aki
2
1k
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
380
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
310
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
170
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Building Adaptive Systems
keathley
44
3.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Ruling the World: When Life Gets Gamed
codingconduct
0
410
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
59k
Unsuck your backbone
ammeep
672
58k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Balancing Empowerment & Direction
lara
6
1.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Transcript
タスクの複雑さでモデルを選ぶ Thompson Sampling で動かす“ トークン/ コスト最適化” @satoh_y_0323 / 個人OSS C3
(Claude Code Conductor)
モデル選び、結局“ 勘” になっていませんか 「簡単そうだから安いモデルでいいか」は 毎回人間が判断 判断基準が 言語化されていない ので引き継げない 「本当にそのモデルで精度は足りていたか」は 検証されないまま
トークン節約術 Night - TECH BATON - 2
C3 の tier-routing :3 段階で“ 選ぶ理由” を作る 複雑度を推定 ▶ Thompson
Sampling で学習 ▶ 拮抗時は安い方(cost-aware ) 人の勘ではなく、過去の承認/ 否認の実績でモデルを選ぶ トークン節約術 Night - TECH BATON - 3
実際に溜まったデータ(自分のOSS 開発ログ) c3 tier stats で複雑度×Tier 別に 成功率・トークン・実コスト が見える ※個人開発ログの実測値(収集期30
試行を卒業済み・履歴には failure もそのまま残る) トークン節約術 Night - TECH BATON - 4
推奨止まり→ 適用したら、次の問題が見えた これまで 「実行時に変更不可」 と 思い込み 推奨を表示するだけ → 誰も従わない ➜
検証→ 即実装 呼び出し時の明示指定 で 切り替え可能と判明 その日に適用まで実装 → 推奨が実際に効く ➜ 適用で見えた罠 安いモデルが一度失敗 すると二度と選ばれな い デッドロックが発覚 → 失敗の定義を再設計 トークン節約術 Night - TECH BATON - 5
持ち帰り(ツールが何でも真似できる) モデル選びは 言語化して検証できる状態 にする 「簡単/ 複雑」の判定と「選んだ結果」を 両方記録する(記録は消さず、集計ル ールだけ変える) 失敗に数えるのは 客観的な事象だけ(テスト不合格・スタック)
拮抗したら 安い方を選ぶ、というルールだけでも十分効く 最適化は 適用して初めて次の問題が見える ── 測る→ 適用→ また測る トークン節約術 Night - TECH BATON - 6
今日のひとこと モデル選びを“ 勘” から、 “ 実データに基づく学習” に。 C3 ─ pip
install claude-code-conductor / @satoh_y_0323 / つまずき報告がいちばんあ りがたいです 7