[{"data":1,"prerenderedAt":1471,"buildId":1472},["ShallowReactive",2],{"\u002Fguide\u002Fefficiency":3,"\u002Fguide\u002Fefficiency-surround":1233,"navigation":1246},{"id":4,"title":5,"body":6,"description":1220,"extension":1221,"links":1222,"meta":1223,"navigation":1224,"path":1226,"seo":1227,"stem":1231,"__hash__":1232},"docs\u002F2.guide\u002Fefficiency.md","Smart & Efficient",{"type":7,"value":8,"toc":1199},"minimark",[9,14,27,30,34,37,113,196,205,207,211,218,314,319,519,525,527,531,538,604,608,654,658,704,710,712,716,722,800,809,811,815,861,867,869,873,880,937,943,945,949,1012,1014,1018,1022,1061,1065,1101,1112,1114,1118,1158,1160,1164,1195],[10,11,13],"h2",{"id":12},"cost-performance-by-design","Cost & Performance by Design",[15,16,17,18,22,23,26],"p",{},"Every architectural decision optimizes for ",[19,20,21],"strong",{},"token efficiency"," and ",[19,24,25],{},"execution speed",".",[28,29],"hr",{},[10,31,33],{"id":32},"model-routing-configurable","Model Routing (Configurable)",[15,35,36],{},"Two tiers match model strength to task complexity:",[38,39,40,59],"table",{},[41,42,43],"thead",{},[44,45,46,50,53,56],"tr",{},[47,48,49],"th",{},"Tier",[47,51,52],{},"Agents",[47,54,55],{},"Purpose",[47,57,58],{},"Recommended Models",[60,61,62,89],"tbody",{},[44,63,64,70,73,76],{},[65,66,67],"td",{},[19,68,69],{},"Premium",[65,71,72],{},"Planner, Debugger, Reviewer",[65,74,75],{},"Reasoning-heavy: planning, diagnosis, challenge, verification",[65,77,78,82,83,82,86],{},[79,80,81],"code",{},"gpt-5.6-sol",", ",[79,84,85],{},"claude-4",[79,87,88],{},"gemini-2.5-pro",[44,90,91,96,99,102],{},[65,92,93],{},[19,94,95],{},"Explore",[65,97,98],{},"Researcher, Implementer, Browser Tester, Mobile Tester, DevOps, Documentation, Skill Creator, Code Simplifier",[65,100,101],{},"Fast exploration & bounded execution",[65,103,104,82,107,82,110],{},[79,105,106],{},"gpt-5.6-luna",[79,108,109],{},"claude-3.5-haiku",[79,111,112],{},"gemini-2.5-flash",[114,115,120],"pre",{"className":116,"code":117,"language":118,"meta":119,"style":119},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# .gem-team.yaml\nmodel_routing:\n  enabled: true\n  tiers:\n    premium: \"gpt-5.6-sol (openai)\"\n    explore: \"gpt-5.6-luna (openai)\"\n","yaml","",[79,121,122,131,142,155,163,181],{"__ignoreMap":119},[123,124,127],"span",{"class":125,"line":126},"line",1,[123,128,130],{"class":129},"sHwdD","# .gem-team.yaml\n",[123,132,134,138],{"class":125,"line":133},2,[123,135,137],{"class":136},"swJcz","model_routing",[123,139,141],{"class":140},"sMK4o",":\n",[123,143,145,148,151],{"class":125,"line":144},3,[123,146,147],{"class":136},"  enabled",[123,149,150],{"class":140},":",[123,152,154],{"class":153},"sfNiH"," true\n",[123,156,158,161],{"class":125,"line":157},4,[123,159,160],{"class":136},"  tiers",[123,162,141],{"class":140},[123,164,166,169,171,174,178],{"class":125,"line":165},5,[123,167,168],{"class":136},"    premium",[123,170,150],{"class":140},[123,172,173],{"class":140}," \"",[123,175,177],{"class":176},"sfazB","gpt-5.6-sol (openai)",[123,179,180],{"class":140},"\"\n",[123,182,184,187,189,191,194],{"class":125,"line":183},6,[123,185,186],{"class":136},"    explore",[123,188,150],{"class":140},[123,190,173],{"class":140},[123,192,193],{"class":176},"gpt-5.6-luna (openai)",[123,195,180],{"class":140},[197,198,199],"blockquote",{},[15,200,201,204],{},[19,202,203],{},"Orchestrator not routed"," - Uses session default model. Enable in config to activate. This is the single biggest cost optimization for multi-agent workflows.",[28,206],{},[10,208,210],{"id":209},"scoped-handoffs-the-80-token-reduction","Scoped Handoffs (The 80% Token Reduction)",[15,212,213,214,217],{},"Each agent receives ",[19,215,216],{},"only what it needs"," - not full history.",[114,219,223],{"className":220,"code":221,"language":222,"meta":119,"style":119},"language-mermaid shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","flowchart LR\n    subgraph Traditional [Traditional AI Chat]\n        A1[Full History] --> B1[Agent]\n        B1 --> C1[Full History + Response] --> D1[Next Agent]\n    end\n\n    subgraph GemTeam [Gem Team Scoped Handoff]\n        A2[Plan Constant] --> B2[Task Handoff]\n        A3[Cluster Shared] --> B2\n        A4[Per-Task] --> B2\n        A5[Per-Attempt] --> B2\n        B2 --> C2[Agent]\n        C2 --> D2[Minimal Output + Artifact Paths]\n    end\n\n    style GemTeam fill:#e8f5e9\n","mermaid",[79,224,225,230,235,240,245,250,256,262,268,274,280,286,292,298,303,308],{"__ignoreMap":119},[123,226,227],{"class":125,"line":126},[123,228,229],{},"flowchart LR\n",[123,231,232],{"class":125,"line":133},[123,233,234],{},"    subgraph Traditional [Traditional AI Chat]\n",[123,236,237],{"class":125,"line":144},[123,238,239],{},"        A1[Full History] --> B1[Agent]\n",[123,241,242],{"class":125,"line":157},[123,243,244],{},"        B1 --> C1[Full History + Response] --> D1[Next Agent]\n",[123,246,247],{"class":125,"line":165},[123,248,249],{},"    end\n",[123,251,252],{"class":125,"line":183},[123,253,255],{"emptyLinePlaceholder":254},true,"\n",[123,257,259],{"class":125,"line":258},7,[123,260,261],{},"    subgraph GemTeam [Gem Team Scoped Handoff]\n",[123,263,265],{"class":125,"line":264},8,[123,266,267],{},"        A2[Plan Constant] --> B2[Task Handoff]\n",[123,269,271],{"class":125,"line":270},9,[123,272,273],{},"        A3[Cluster Shared] --> B2\n",[123,275,277],{"class":125,"line":276},10,[123,278,279],{},"        A4[Per-Task] --> B2\n",[123,281,283],{"class":125,"line":282},11,[123,284,285],{},"        A5[Per-Attempt] --> B2\n",[123,287,289],{"class":125,"line":288},12,[123,290,291],{},"        B2 --> C2[Agent]\n",[123,293,295],{"class":125,"line":294},13,[123,296,297],{},"        C2 --> D2[Minimal Output + Artifact Paths]\n",[123,299,301],{"class":125,"line":300},14,[123,302,249],{},[123,304,306],{"class":125,"line":305},15,[123,307,255],{"emptyLinePlaceholder":254},[123,309,311],{"class":125,"line":310},16,[123,312,313],{},"    style GemTeam fill:#e8f5e9\n",[315,316,318],"h3",{"id":317},"handoff-structure-cache-lifetime-order","Handoff Structure (Cache-Lifetime Order)",[114,320,322],{"className":116,"code":321,"language":118,"meta":119,"style":119},"# Plan-constant (same for ALL tasks in plan)\nplan_id: \"20261121-user-search-api\"\nconfig_snapshot: { ... }\n\n# Cluster-shared (same for tasks in same context_cluster)\ncontext_cluster: \"api-search\"\nshared_context: \"REST patterns...; Pagination: src\u002Futils\u002Fpagination.ts\"\n\n# Per-task (differs per task)\ntask_id: \"implement-search\"\ntask_definition:\n  objective: \"Implement GET \u002Fapi\u002Fusers\u002Fsearch\"\n  acceptance_criteria: [...]\n  handoff:\n    constraints: [...]\n    relevant_context:\n      - \"research-api-patterns: patterns=REST, pagination=src\u002Futils\u002Fpagination.ts\"\n\n# Per-attempt (only on retry)\nretries_used: 1\n",[79,323,324,329,343,360,364,369,383,397,401,406,420,427,441,457,464,477,484,497,502,508],{"__ignoreMap":119},[123,325,326],{"class":125,"line":126},[123,327,328],{"class":129},"# Plan-constant (same for ALL tasks in plan)\n",[123,330,331,334,336,338,341],{"class":125,"line":133},[123,332,333],{"class":136},"plan_id",[123,335,150],{"class":140},[123,337,173],{"class":140},[123,339,340],{"class":176},"20261121-user-search-api",[123,342,180],{"class":140},[123,344,345,348,350,353,357],{"class":125,"line":144},[123,346,347],{"class":136},"config_snapshot",[123,349,150],{"class":140},[123,351,352],{"class":140}," {",[123,354,356],{"class":355},"sbssI"," ...",[123,358,359],{"class":140}," }\n",[123,361,362],{"class":125,"line":157},[123,363,255],{"emptyLinePlaceholder":254},[123,365,366],{"class":125,"line":165},[123,367,368],{"class":129},"# Cluster-shared (same for tasks in same context_cluster)\n",[123,370,371,374,376,378,381],{"class":125,"line":183},[123,372,373],{"class":136},"context_cluster",[123,375,150],{"class":140},[123,377,173],{"class":140},[123,379,380],{"class":176},"api-search",[123,382,180],{"class":140},[123,384,385,388,390,392,395],{"class":125,"line":258},[123,386,387],{"class":136},"shared_context",[123,389,150],{"class":140},[123,391,173],{"class":140},[123,393,394],{"class":176},"REST patterns...; Pagination: src\u002Futils\u002Fpagination.ts",[123,396,180],{"class":140},[123,398,399],{"class":125,"line":264},[123,400,255],{"emptyLinePlaceholder":254},[123,402,403],{"class":125,"line":270},[123,404,405],{"class":129},"# Per-task (differs per task)\n",[123,407,408,411,413,415,418],{"class":125,"line":276},[123,409,410],{"class":136},"task_id",[123,412,150],{"class":140},[123,414,173],{"class":140},[123,416,417],{"class":176},"implement-search",[123,419,180],{"class":140},[123,421,422,425],{"class":125,"line":282},[123,423,424],{"class":136},"task_definition",[123,426,141],{"class":140},[123,428,429,432,434,436,439],{"class":125,"line":288},[123,430,431],{"class":136},"  objective",[123,433,150],{"class":140},[123,435,173],{"class":140},[123,437,438],{"class":176},"Implement GET \u002Fapi\u002Fusers\u002Fsearch",[123,440,180],{"class":140},[123,442,443,446,448,451,454],{"class":125,"line":294},[123,444,445],{"class":136},"  acceptance_criteria",[123,447,150],{"class":140},[123,449,450],{"class":140}," [",[123,452,453],{"class":355},"...",[123,455,456],{"class":140},"]\n",[123,458,459,462],{"class":125,"line":300},[123,460,461],{"class":136},"  handoff",[123,463,141],{"class":140},[123,465,466,469,471,473,475],{"class":125,"line":305},[123,467,468],{"class":136},"    constraints",[123,470,150],{"class":140},[123,472,450],{"class":140},[123,474,453],{"class":355},[123,476,456],{"class":140},[123,478,479,482],{"class":125,"line":310},[123,480,481],{"class":136},"    relevant_context",[123,483,141],{"class":140},[123,485,487,490,492,495],{"class":125,"line":486},17,[123,488,489],{"class":140},"      -",[123,491,173],{"class":140},[123,493,494],{"class":176},"research-api-patterns: patterns=REST, pagination=src\u002Futils\u002Fpagination.ts",[123,496,180],{"class":140},[123,498,500],{"class":125,"line":499},18,[123,501,255],{"emptyLinePlaceholder":254},[123,503,505],{"class":125,"line":504},19,[123,506,507],{"class":129},"# Per-attempt (only on retry)\n",[123,509,511,514,516],{"class":125,"line":510},20,[123,512,513],{"class":136},"retries_used",[123,515,150],{"class":140},[123,517,518],{"class":355}," 1\n",[15,520,521,524],{},[19,522,523],{},"Result",": ~80% token reduction vs full history re-send.",[28,526],{},[10,528,530],{"id":529},"cache-optimization","Cache Optimization",[15,532,533,534,537],{},"LLM providers cache ",[19,535,536],{},"exact prompt prefixes",". Gem Team maximizes hits:",[38,539,540,550],{},[41,541,542],{},[44,543,544,547],{},[47,545,546],{},"Technique",[47,548,549],{},"How It Works",[60,551,552,562,574,584,594],{},[44,553,554,559],{},[65,555,556],{},[19,557,558],{},"Stable system prompts",[65,560,561],{},"Agent definitions don't change between tasks",[44,563,564,569],{},[65,565,566],{},[19,567,568],{},"Consistent handoff shape",[65,570,571,573],{},[79,572,424],{}," structure identical across waves",[44,575,576,581],{},[65,577,578],{},[19,579,580],{},"Cache-lifetime field order",[65,582,583],{},"Retries diverge only in payload tail",[44,585,586,591],{},[65,587,588],{},[19,589,590],{},"Cluster-contiguous scheduling",[65,592,593],{},"Shared-context tasks run back-to-back",[44,595,596,601],{},[65,597,598],{},[19,599,600],{},"Minimal churn",[65,602,603],{},"Only new evidence appends; previous waves referenced",[315,605,607],{"id":606},"observed-cache-performance-deepseek-v41-flash","Observed Cache Performance (DeepSeek V4.1 Flash)",[38,609,610,620],{},[41,611,612],{},[44,613,614,617],{},[47,615,616],{},"Metric",[47,618,619],{},"Value",[60,621,622,630,638,646],{},[44,623,624,627],{},[65,625,626],{},"Tokens processed",[65,628,629],{},"82.8M+ across 666 runs",[44,631,632,635],{},[65,633,634],{},"Avg context\u002Frun",[65,636,637],{},"~124K tokens",[44,639,640,643],{},[65,641,642],{},"Typical API call",[65,644,645],{},"Sub-$0.001 (100K+ input, mostly cached)",[44,647,648,651],{},[65,649,650],{},"Typical latency",[65,652,653],{},"2-5s for 100K-190K input",[315,655,657],{"id":656},"cost-at-scale","Cost at Scale",[38,659,660,670],{},[41,661,662],{},[44,663,664,667],{},[47,665,666],{},"Cache State",[47,668,669],{},"Cost per 150K Call",[60,671,672,680,688,696],{},[44,673,674,677],{},[65,675,676],{},"100% miss",[65,678,679],{},"$0.0225",[44,681,682,685],{},[65,683,684],{},"95% cached",[65,686,687],{},"~$0.00153",[44,689,690,693],{},[65,691,692],{},"99% cached",[65,694,695],{},"~$0.00067",[44,697,698,701],{},[65,699,700],{},"100% hit",[65,702,703],{},"$0.00045",[15,705,706,709],{},[19,707,708],{},"30x cost difference"," between miss and hit - that's what makes sub-penny runs possible.",[28,711],{},[10,713,715],{"id":714},"evidence-by-reference","Evidence by Reference",[15,717,718,721],{},[19,719,720],{},"Logs, traces, screenshots, reports stay in task artifacts"," - handoffs return paths.",[114,723,725],{"className":116,"code":724,"language":118,"meta":119,"style":119},"# Agent output (minimal)\nstatus: \"completed\"\nhandoff:\n  implemented_files:\n    - \"src\u002Fapi\u002Fusers\u002Fsearch.ts\"\n  test_results_path: \"wave-3\u002Fimplement-search\u002Fartifacts\u002Ftest-results.xml\"\n  api_contract_path: \"wave-3\u002Fimplement-search\u002Fartifacts\u002Fapi-contract.json\"\n",[79,726,727,732,746,753,760,772,786],{"__ignoreMap":119},[123,728,729],{"class":125,"line":126},[123,730,731],{"class":129},"# Agent output (minimal)\n",[123,733,734,737,739,741,744],{"class":125,"line":133},[123,735,736],{"class":136},"status",[123,738,150],{"class":140},[123,740,173],{"class":140},[123,742,743],{"class":176},"completed",[123,745,180],{"class":140},[123,747,748,751],{"class":125,"line":144},[123,749,750],{"class":136},"handoff",[123,752,141],{"class":140},[123,754,755,758],{"class":125,"line":157},[123,756,757],{"class":136},"  implemented_files",[123,759,141],{"class":140},[123,761,762,765,767,770],{"class":125,"line":165},[123,763,764],{"class":140},"    -",[123,766,173],{"class":140},[123,768,769],{"class":176},"src\u002Fapi\u002Fusers\u002Fsearch.ts",[123,771,180],{"class":140},[123,773,774,777,779,781,784],{"class":125,"line":183},[123,775,776],{"class":136},"  test_results_path",[123,778,150],{"class":140},[123,780,173],{"class":140},[123,782,783],{"class":176},"wave-3\u002Fimplement-search\u002Fartifacts\u002Ftest-results.xml",[123,785,180],{"class":140},[123,787,788,791,793,795,798],{"class":125,"line":258},[123,789,790],{"class":136},"  api_contract_path",[123,792,150],{"class":140},[123,794,173],{"class":140},[123,796,797],{"class":176},"wave-3\u002Fimplement-search\u002Fartifacts\u002Fapi-contract.json",[123,799,180],{"class":140},[15,801,802,805,806,808],{},[19,803,804],{},"Exception",": ",[79,807,387],{}," findings (consumed by ≥2 tasks) inlined once per cluster.",[28,810],{},[10,812,814],{"id":813},"proportional-architecture-yagnikiss","Proportional Architecture (YAGNI\u002FKISS)",[38,816,817,827],{},[41,818,819],{},[44,820,821,824],{},[47,822,823],{},"Decision",[47,825,826],{},"Principle",[60,828,829,837,845,853],{},[44,830,831,834],{},[65,832,833],{},"Agent set",[65,835,836],{},"Smallest that satisfies criteria",[44,838,839,842],{},[65,840,841],{},"Wave sequence",[65,843,844],{},"Minimum ordered barriers",[44,846,847,850],{},[65,848,849],{},"Validation path",[65,851,852],{},"Least review that covers risk",[44,854,855,858],{},[65,856,857],{},"Context",[65,859,860],{},"Bounded to objective",[15,862,863,866],{},[19,864,865],{},"Fewer agents = less context multiplied"," = lower cost, faster execution.",[28,868],{},[10,870,872],{"id":871},"conditional-learning","Conditional Learning",[15,874,875,876,879],{},"Only ",[19,877,878],{},"stable, reusable, high-confidence"," findings promoted:",[38,881,882,892],{},[41,883,884],{},[44,885,886,889],{},[47,887,888],{},"Promotion Criteria",[47,890,891],{},"Threshold",[60,893,894,902,910,921,929],{},[44,895,896,899],{},[65,897,898],{},"Final success",[65,900,901],{},"All waves complete",[44,903,904,907],{},[65,905,906],{},"Confidence",[65,908,909],{},"≥ 0.95",[44,911,912,915],{},[65,913,914],{},"Stability",[65,916,917,920],{},[79,918,919],{},"stable: true"," (not task-specific)",[44,922,923,926],{},[65,924,925],{},"Reusability",[65,927,928],{},"Applies beyond this task",[44,930,931,934],{},[65,932,933],{},"Non-duplication",[65,935,936],{},"Not already in memory",[15,938,939,942],{},[19,940,941],{},"30-day TTL"," prevents stale accumulation.",[28,944],{},[10,946,948],{"id":947},"quick-wins-checklist","Quick Wins Checklist",[950,951,954,971,981,990,996,1006],"ul",{"className":952},[953],"contains-task-list",[955,956,959,963,964,967,968],"li",{"className":957},[958],"task-list-item",[960,961],"input",{"disabled":254,"type":962},"checkbox"," Enable ",[79,965,966],{},"model_routing.enabled: true"," in ",[79,969,970],{},".gem-team.yaml",[955,972,974,976,977,980],{"className":973},[958],[960,975],{"disabled":254,"type":962}," Use project-scoped installs (commit ",[79,978,979],{},"apm.lock.yaml",")",[955,982,984,986,987,980],{"className":983},[958],[960,985],{"disabled":254,"type":962}," Pin versions for reproducible cache (",[79,988,989],{},"gem-team-v\u003Cversion>",[955,991,993,995],{"className":992},[958],[960,994],{"disabled":254,"type":962}," Write specific acceptance criteria (enables fast path)",[955,997,999,1001,1002,1005],{"className":998},[958],[960,1000],{"disabled":254,"type":962}," Avoid ",[79,1003,1004],{},"discuss"," intent for executable work (triggers full plan)",[955,1007,1009,1011],{"className":1008},[958],[960,1010],{"disabled":254,"type":962}," Reuse plan IDs for continued work (preserves cache)",[28,1013],{},[10,1015,1017],{"id":1016},"concrete-cost-scenarios","Concrete Cost Scenarios",[315,1019,1021],{"id":1020},"scenario-medium-feature-with-5-tasks","Scenario: MEDIUM feature with 5 tasks",[38,1023,1024,1037],{},[41,1025,1026],{},[44,1027,1028,1031,1034],{},[47,1029,1030],{},"Approach",[47,1032,1033],{},"Tokens Sent",[47,1035,1036],{},"Approx Cost",[60,1038,1039,1050],{},[44,1040,1041,1044,1047],{},[65,1042,1043],{},"Direct chat (5 tasks, full history each)",[65,1045,1046],{},"~750K",[65,1048,1049],{},"~$0.11",[44,1051,1052,1055,1058],{},[65,1053,1054],{},"Gem Team (scoped handoffs, 95% cached)",[65,1056,1057],{},"~240K",[65,1059,1060],{},"~$0.003",[315,1062,1064],{"id":1063},"scenario-high-feature-with-8-tasks","Scenario: HIGH feature with 8 tasks",[38,1066,1067,1077],{},[41,1068,1069],{},[44,1070,1071,1073,1075],{},[47,1072,1030],{},[47,1074,1033],{},[47,1076,1036],{},[60,1078,1079,1090],{},[44,1080,1081,1084,1087],{},[65,1082,1083],{},"Direct chat (8 tasks, full history each)",[65,1085,1086],{},"~1.2M",[65,1088,1089],{},"~$0.18",[44,1091,1092,1095,1098],{},[65,1093,1094],{},"Gem Team (scoped handoffs, 99% cached)",[65,1096,1097],{},"~320K",[65,1099,1100],{},"~$0.001",[15,1102,1103,1106,1107,1111],{},[19,1104,1105],{},"Rule of thumb",": Gem Team cost scales with ",[1108,1109,1110],"em",{},"new work",", not total conversation history.",[28,1113],{},[10,1115,1117],{"id":1116},"checklist-verify-your-cache-hits","Checklist: Verify Your Cache Hits",[950,1119,1121,1127,1133,1139,1149],{"className":1120},[953],[955,1122,1124,1126],{"className":1123},[958],[960,1125],{"disabled":254,"type":962}," Plan-constant fields come first in every delegation payload",[955,1128,1130,1132],{"className":1129},[958],[960,1131],{"disabled":254,"type":962}," Cluster-contiguous scheduling used for shared-context tasks",[955,1134,1136,1138],{"className":1135},[958],[960,1137],{"disabled":254,"type":962}," No per-task fields before stable fields (prefix corruption)",[955,1140,1142,1144,1145,1148],{"className":1141},[958],[960,1143],{"disabled":254,"type":962}," Resumed plans load from ",[79,1146,1147],{},"plan.yaml",", not reconstructed from conversation",[955,1150,1152,1154,1155,1157],{"className":1151},[958],[960,1153],{"disabled":254,"type":962}," ",[79,1156,387],{}," inlined once per cluster, not per task",[28,1159],{},[10,1161,1163],{"id":1162},"related-pages","Related Pages",[950,1165,1166,1174,1181,1188],{},[955,1167,1168,1173],{},[1169,1170,1172],"a",{"href":1171},"\u002Fconfiguration\u002Fmodel-routing","Model Routing Config"," - Tier configuration",[955,1175,1176,1180],{},[1169,1177,1179],{"href":1178},"\u002Fguide\u002Fworkflow-execute","Workflow: Execute"," - Where handoffs are constructed",[955,1182,1183,1187],{},[1169,1184,1186],{"href":1185},"\u002Fgetting-started\u002Fconcepts","Core Concepts"," - Memory tiers and handoffs",[955,1189,1190,1194],{},[1169,1191,1193],{"href":1192},"\u002Fguide\u002Foptimizations","Optimizations"," - Deep dive on cost principles",[1196,1197,1198],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":119,"searchDepth":126,"depth":133,"links":1200},[1201,1202,1203,1206,1210,1211,1212,1213,1214,1218,1219],{"id":12,"depth":133,"text":13},{"id":32,"depth":133,"text":33},{"id":209,"depth":133,"text":210,"children":1204},[1205],{"id":317,"depth":144,"text":318},{"id":529,"depth":133,"text":530,"children":1207},[1208,1209],{"id":606,"depth":144,"text":607},{"id":656,"depth":144,"text":657},{"id":714,"depth":133,"text":715},{"id":813,"depth":133,"text":814},{"id":871,"depth":133,"text":872},{"id":947,"depth":133,"text":948},{"id":1016,"depth":133,"text":1017,"children":1215},[1216,1217],{"id":1020,"depth":144,"text":1021},{"id":1063,"depth":144,"text":1064},{"id":1116,"depth":133,"text":1117},{"id":1162,"depth":133,"text":1163},"Model routing, scoped handoffs, cache optimization, and proportional architecture.","md",null,{},{"icon":1225},"i-lucide-zap","\u002Fguide\u002Fefficiency",{"title":1228,"description":1229,"ogTitle":1228,"ogDescription":1230},"Efficiency - Gem Team","Cost-aware routing, scoped handoffs, cache optimization, and progressive context for efficient agent execution.","Cost-aware routing, scoped handoffs, and cache optimization.","2.guide\u002Fefficiency","6Pw1IhurEwOBCJs2nwienk0_B6jE5djTVLsMtveIwSM",[1234,1240],{"title":1235,"path":1236,"stem":1237,"description":1238,"icon":1239,"children":-1},"Works With Your Tools","\u002Fguide\u002Fcompatibility","2.guide\u002Fcompatibility","One workflow across Copilot, Claude, Cursor, Codex, Gemini, Windsurf, and OpenCode.","i-lucide-blocks",{"title":1241,"path":1242,"stem":1243,"description":1244,"icon":1245,"children":-1},"Failure Handling","\u002Fguide\u002Ffailure-handling","2.guide\u002Ffailure-handling","How Gem Team classifies failures and routes them to the correct handler - no blind retries.","i-lucide-alert-triangle",[1247,1271,1333,1410,1442],{"title":1248,"path":1249,"stem":1250,"children":1251,"icon":1253},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[1252,1254,1257,1262,1267],{"title":1248,"path":1249,"stem":1250,"icon":1253},"i-lucide-rocket",{"title":1186,"path":1185,"stem":1255,"icon":1256},"1.getting-started\u002Fconcepts","i-lucide-brain",{"title":1258,"path":1259,"stem":1260,"icon":1261},"First Steps Walkthrough","\u002Fgetting-started\u002Ffirst-steps","1.getting-started\u002Ffirst-steps","i-lucide-footprints",{"title":1263,"path":1264,"stem":1265,"icon":1266},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002Finstallation","i-lucide-download",{"title":1268,"path":1269,"stem":1270,"icon":1253},"Quick Start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002Fquick-start",{"title":1272,"path":1273,"stem":1274,"children":1275,"page":1332},"Guide","\u002Fguide","2.guide",[1276,1279,1284,1286,1287,1288,1289,1294,1299,1303,1308,1313,1318,1323,1327],{"title":1186,"path":1277,"stem":1278,"icon":1256},"\u002Fguide\u002Fcore-concepts","2.guide\u002F2.core-concepts",{"title":1280,"path":1281,"stem":1282,"icon":1283},"Comparison","\u002Fguide\u002Fcomparison","2.guide\u002F4.comparison","i-lucide-scale",{"title":1193,"path":1192,"stem":1285,"icon":1225},"2.guide\u002F5.optimizations",{"title":1235,"path":1236,"stem":1237,"icon":1239},{"title":5,"path":1226,"stem":1231,"icon":1225},{"title":1241,"path":1242,"stem":1243,"icon":1245},{"title":1290,"path":1291,"stem":1292,"icon":1293},"Overview","\u002Fguide\u002Ffeatures","2.guide\u002Ffeatures","i-lucide-sparkles",{"title":1295,"path":1296,"stem":1297,"icon":1298},"Phase 0 - Init & Clarify","\u002Fguide\u002Finit-clarify","2.guide\u002Finit-clarify","i-lucide-search",{"title":1300,"path":1301,"stem":1302,"icon":1256},"Learns & Improves","\u002Fguide\u002Flearning","2.guide\u002Flearning",{"title":1304,"path":1305,"stem":1306,"icon":1307},"Phase 2 - Plan","\u002Fguide\u002Fplan","2.guide\u002Fplan","i-lucide-clipboard-list",{"title":1309,"path":1310,"stem":1311,"icon":1312},"Quality by Default","\u002Fguide\u002Fquality","2.guide\u002Fquality","i-lucide-shield-check",{"title":1314,"path":1315,"stem":1316,"icon":1317},"Phase 1 - Route","\u002Fguide\u002Froute","2.guide\u002Froute","i-lucide-git-branch",{"title":1319,"path":1320,"stem":1321,"icon":1322},"Workflow","\u002Fguide\u002Fworkflow","2.guide\u002Fworkflow","i-lucide-workflow",{"title":1324,"path":1178,"stem":1325,"icon":1326},"Phase 3 - Execute","2.guide\u002Fworkflow-execute","i-lucide-play-circle",{"title":1328,"path":1329,"stem":1330,"icon":1331},"Phase 4 - Output","\u002Fguide\u002Fworkflow-output","2.guide\u002Fworkflow-output","i-lucide-check-circle",false,{"title":52,"path":1334,"stem":1335,"children":1336,"icon":1339},"\u002Fagents","3.agents\u002F1.index",[1337,1340,1345,1350,1355,1360,1365,1370,1375,1380,1385,1389,1393,1397,1401,1406],{"title":1338,"path":1334,"stem":1335,"icon":1339},"Agent Team","i-lucide-bot",{"title":1341,"path":1342,"stem":1343,"icon":1344},"Browser Tester","\u002Fagents\u002Fbrowser-tester","3.agents\u002Fbrowser-tester","i-lucide-monitor",{"title":1346,"path":1347,"stem":1348,"icon":1349},"Code Simplifier","\u002Fagents\u002Fcode-simplifier","3.agents\u002Fcode-simplifier","i-lucide-scissors",{"title":1351,"path":1352,"stem":1353,"icon":1354},"Debugger","\u002Fagents\u002Fdebugger","3.agents\u002Fdebugger","i-lucide-bug",{"title":1356,"path":1357,"stem":1358,"icon":1359},"DevOps","\u002Fagents\u002Fdevops","3.agents\u002Fdevops","i-lucide-server",{"title":1361,"path":1362,"stem":1363,"icon":1364},"Documentation","\u002Fagents\u002Fdocumentation","3.agents\u002Fdocumentation","i-lucide-book-open",{"title":1366,"path":1367,"stem":1368,"icon":1369},"Implementer","\u002Fagents\u002Fimplementer","3.agents\u002Fimplementer","i-lucide-code",{"title":1371,"path":1372,"stem":1373,"icon":1374},"Mobile Tester","\u002Fagents\u002Fmobile-tester","3.agents\u002Fmobile-tester","i-lucide-smartphone",{"title":1376,"path":1377,"stem":1378,"icon":1379},"Model Routing","\u002Fagents\u002Fmodel-routing","3.agents\u002Fmodel-routing","i-lucide-cpu",{"title":1381,"path":1382,"stem":1383,"icon":1384},"Orchestrator","\u002Fagents\u002Forchestrator","3.agents\u002Forchestrator","i-lucide-command",{"title":1386,"path":1387,"stem":1388,"icon":1307},"Planner","\u002Fagents\u002Fplanner","3.agents\u002Fplanner",{"title":1390,"path":1391,"stem":1392,"icon":1298},"Researcher","\u002Fagents\u002Fresearcher","3.agents\u002Fresearcher",{"title":1394,"path":1395,"stem":1396,"icon":1312},"Reviewer","\u002Fagents\u002Freviewer","3.agents\u002Freviewer",{"title":1398,"path":1399,"stem":1400,"icon":1317},"Reviewer Routing","\u002Fagents\u002Freviewer-routing","3.agents\u002Freviewer-routing",{"title":1402,"path":1403,"stem":1404,"icon":1405},"Skill Creator","\u002Fagents\u002Fskill-creator","3.agents\u002Fskill-creator","i-lucide-package",{"title":1407,"path":1408,"stem":1409,"icon":1405},"Packaged Skills","\u002Fagents\u002Fskills","3.agents\u002Fskills",{"title":1411,"path":1412,"stem":1413,"children":1414,"icon":1416},"Configuration","\u002Fconfiguration","4.configuration\u002F1.index",[1415,1417,1421,1426,1429,1433,1437],{"title":1411,"path":1412,"stem":1413,"icon":1416},"i-lucide-settings",{"title":1418,"path":1419,"stem":1420,"icon":1359},"DevOps Configuration","\u002Fconfiguration\u002Fdevops","4.configuration\u002Fdevops",{"title":1422,"path":1423,"stem":1424,"icon":1425},"Configuration Examples","\u002Fconfiguration\u002Fexamples","4.configuration\u002Fexamples","i-lucide-file-code",{"title":1427,"path":1171,"stem":1428,"icon":1379},"Model Routing Configuration","4.configuration\u002Fmodel-routing",{"title":1430,"path":1431,"stem":1432,"icon":1384},"Orchestrator Configuration","\u002Fconfiguration\u002Forchestrator","4.configuration\u002Forchestrator",{"title":1434,"path":1435,"stem":1436,"icon":1312},"Quality Configuration","\u002Fconfiguration\u002Fquality","4.configuration\u002Fquality",{"title":1438,"path":1439,"stem":1440,"icon":1441},"Testing Configuration","\u002Fconfiguration\u002Ftesting","4.configuration\u002Ftesting","i-lucide-test-tube",{"title":1443,"path":1444,"stem":1445,"children":1446,"icon":1364},"Resources","\u002Fresources","5.resources\u002F1.index",[1447,1448,1453,1458,1462,1466],{"title":1443,"path":1444,"stem":1445,"icon":1364},{"title":1449,"path":1450,"stem":1451,"icon":1452},"Contributing","\u002Fresources\u002Fcontributing","5.resources\u002F2.contributing","i-lucide-git-pull-request",{"title":1454,"path":1455,"stem":1456,"icon":1457},"Production Best Practices","\u002Fresources\u002Foperational-notes","5.resources\u002F3.operational-notes","i-lucide-shield",{"title":1459,"path":1460,"stem":1461,"icon":1369},"Local Development","\u002Fresources\u002Flocal-development","5.resources\u002F4.local-development",{"title":1463,"path":1464,"stem":1465,"icon":1239},"Compatible Tools","\u002Fresources\u002Fcompatible-tools","5.resources\u002F5.compatible-tools",{"title":1467,"path":1468,"stem":1469,"icon":1470},"Research & Benchmarks","\u002Fresources\u002Fresearch","5.resources\u002Fresearch","i-lucide-file-text",1796221226142,"b8d4f334-6b7e-4495-b303-be3e7dacd83e"]