content large_stringlengths 3 20.5k | url large_stringlengths 54 193 | branch large_stringclasses 4 values | source large_stringclasses 42 values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
# Thinking Levels (/think directives) ## What it does - Inline directive in any inbound body: `/t `, `/think:`, or `/thinking `. - Levels (aliases): `off | minimal | low | medium | high | xhigh` (GPT-5.2 + Codex models only) - minimal → “think” - low → “think hard” - medium → “think harder” - high → “ultrathink” (max budget) - xhigh → “ultrathink+” (GPT-5.2 + Codex models only) - `highest`, `max` map to `high`. - Provider notes: - Z.AI (`zai/\*`) only supports binary thinking (`on`/`off`). Any non-`off` level is treated as `on` (mapped to `low`). ## Resolution order 1. Inline directive on the message (applies only to that message). 2. Session override (set by sending a directive-only message). 3. Global default (`agents.defaults.thinkingDefault` in config). 4. Fallback: low for reasoning-capable models; off otherwise. ## Setting a session default - Send a message that is \*\*only\*\* the directive (whitespace allowed), e.g. `/think:medium` or `/t high`. - That sticks for the current session (per-sender by default); cleared by `/think:off` or session idle reset. - Confirmation reply is sent (`Thinking level set to high.` / `Thinking disabled.`). If the level is invalid (e.g. `/thinking big`), the command is rejected with a hint and the session state is left unchanged. - Send `/think` (or `/think:`) with no argument to see the current thinking level. ## Application by agent - \*\*Embedded Pi\*\*: the resolved level is passed to the in-process Pi agent runtime. ## Verbose directives (/verbose or /v) - Levels: `on` (minimal) | `full` | `off` (default). - Directive-only message toggles session verbose and replies `Verbose logging enabled.` / `Verbose logging disabled.`; invalid levels return a hint without changing state. - `/verbose off` stores an explicit session override; clear it via the Sessions UI by choosing `inherit`. - Inline directive affects only that message; session/global defaults apply otherwise. - Send `/verbose` (or `/verbose:`) with no argument to see the current verbose level. - When verbose is on, agents that emit structured tool results (Pi, other JSON agents) send each tool call back as its own metadata-only message, prefixed with ` : ` when available (path/command). These tool summaries are sent as soon as each tool starts (separate bubbles), not as streaming deltas. - When verbose is `full`, tool outputs are also forwarded after completion (separate bubble, truncated to a safe length). If you toggle `/verbose on|full|off` while a run is in-flight, subsequent tool bubbles honor the new setting. ## Reasoning visibility (/reasoning) - Levels: `on|off|stream`. - Directive-only message toggles whether thinking blocks are shown in replies. - When enabled, reasoning is sent as a \*\*separate message\*\* prefixed with `Reasoning:`. - `stream` (Telegram only): streams reasoning into the Telegram draft bubble while the reply is generating, then sends the final answer without reasoning. - Alias: `/reason`. - Send `/reasoning` (or `/reasoning:`) with no argument to see the current reasoning level. ## Related - Elevated mode docs live in [Elevated mode](/tools/elevated). ## Heartbeats - Heartbeat probe body is the configured heartbeat prompt (default: `Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT\_OK.`). Inline directives in a heartbeat message apply as usual (but avoid changing session defaults from heartbeats). - Heartbeat delivery defaults to the final payload only. To also send the separate `Reasoning:` message (when available), set `agents.defaults.heartbeat.includeReasoning: true` or per-agent `agents.list[].heartbeat.includeReasoning: true`. ## Web chat UI - The web chat thinking selector mirrors the session's stored level from the inbound session store/config when the page loads. - Picking another level applies only to the next message (`thinkingOnce`); | https://github.com/openclaw/openclaw/blob/main//docs/tools/thinking.md | main | opebclaw | [
-0.03529828041791916,
-0.013968579471111298,
-0.043626271188259125,
0.010647371411323547,
0.0414377823472023,
-0.11417977511882782,
0.04520925134420395,
0.10683728754520416,
-0.04811180382966995,
-0.008267099037766457,
-0.010124148800969124,
0.04406438022851944,
0.05683738738298416,
0.011992890387773514,
0.07076618820428848,
-0.003896848065778613,
0.0716436505317688,
-0.003325749421492219,
-0.05218743905425072,
-0.004983433987945318,
0.06733497232198715,
0.03795439004898071,
0.07809759676456451,
0.014589112251996994,
-0.014595218934118748,
-0.03011629544198513,
-0.05981317535042763,
0.010242609307169914,
0.06668509542942047,
0.016723647713661194,
0.005943614989519119,
0.0917421504855156,
-0.04192158579826355,
0.0436481311917305,
0.021973369643092155,
0.12075535207986832,
-0.018209414556622505,
-0.022743109613656998,
-0.0463569276034832,
-0.04945851489901543,
0.021610183641314507,
0.013278272934257984,
-0.08691229671239853,
-0.003997104708105326,
-0.023051107302308083,
-0.011560619808733463,
0.0006215586909092963,
-0.044110361486673355,
-0.17674502730369568,
-0.014875411987304688,
-0.11613889783620834,
-0.06327594071626663,
-0.039247967302799225,
0.03898509591817856,
0.06380744278430939,
0.07728103548288345,
-0.05279693007469177,
0.002788322977721691,
0.030031494796276093,
-0.05148695409297943,
-0.08918771892786026,
-0.010304203256964684,
-0.07439054548740387,
-0.04654306918382645,
0.03571539372205734,
0.046683765947818756,
-0.02078505977988243,
0.03068220615386963,
-0.04765749350190163,
0.011188208125531673,
0.00040026888018473983,
-0.039530932903289795,
-0.06189330294728279,
-0.06925973296165466,
-0.010105717927217484,
-0.01108706183731556,
0.023198699578642845,
-0.005409677512943745,
-0.02710997499525547,
-0.08654289692640305,
-0.0068398104049265385,
-0.007527115289121866,
0.06398528814315796,
0.021424971520900726,
0.021824009716510773,
-0.009485173970460892,
0.030170058831572533,
0.024060796946287155,
0.04375126212835312,
0.03656814992427826,
0.04085386544466019,
-0.028724653646349907,
-0.00018654153973329812,
0.09020289033651352,
0.004447643645107746,
0.003689390840008855,
0.01409551315009594,
-0.05561106279492378,
-0.060190677642822266,
0.07192455232143402,
0.017286472022533417,
0.03432079777121544,
0.05631423741579056,
-0.02032090164721012,
-0.08585702627897263,
-0.05154593288898468,
0.029272520914673805,
0.06236469745635986,
-0.07693785429000854,
0.003086657961830497,
-0.046233709901571274,
-0.05646093562245369,
0.02217714861035347,
-0.11235436052083969,
-0.04733383655548096,
0.05765945464372635,
0.02092766761779785,
0.0778951346874237,
0.0015145301586017013,
-0.011190692894160748,
-0.027127699926495552,
0.01664445921778679,
0.046769604086875916,
-0.01839633099734783,
0.061693836003541946,
0.018720457330346107,
-0.06512697041034698,
5.271199522415304e-34,
0.07094597071409225,
0.02757803164422512,
-0.048821937292814255,
0.018078723922371864,
0.07659991085529327,
0.11856676638126373,
-0.0027571639511734247,
-0.011723490431904793,
-0.059944577515125275,
0.07700890302658081,
0.04832426458597183,
0.03943300619721413,
-0.04252950847148895,
0.04240819811820984,
0.02991938591003418,
-0.048439741134643555,
-0.024148911237716675,
0.03559651970863342,
-0.060246653854846954,
0.04256170988082886,
0.05249293893575668,
0.04495576024055481,
-0.0438421331346035,
-0.059458378702402115,
0.015560383908450603,
0.09001298993825912,
-0.011986210010945797,
-0.0824410691857338,
-0.036849282681941986,
0.026947785168886185,
-0.05733835697174072,
-0.0176100954413414,
-0.040943507105112076,
0.06290418654680252,
0.008123936131596565,
0.05864083394408226,
-0.040701400488615036,
-0.03187775984406471,
-0.003140073735266924,
-0.08030810952186584,
0.022035876289010048,
0.01626455783843994,
0.047382745891809464,
-0.019738011062145233,
-0.010065583512187004,
0.012468564324080944,
0.010931486263871193,
0.02383560501039028,
0.014856703579425812,
-0.012917670421302319,
0.00949298869818449,
0.004846957512199879,
-0.0282125361263752,
0.02015017345547676,
-0.062234584242105484,
-0.018492691218852997,
-0.04612848907709122,
0.08118102699518204,
0.07151342183351517,
0.006328545045107603,
0.02852685935795307,
-0.06559953093528748,
-0.021130118519067764,
0.036662496626377106,
0.007732875645160675,
0.05465312302112579,
-0.16721504926681519,
-0.03335598483681679,
0.08506888151168823,
0.07142511755228043,
-0.057574208825826645,
0.036294735968112946,
0.032825108617544174,
0.05461331084370613,
0.016419490799307823,
-0.08460212498903275,
-0.0536830760538578,
-0.05900941789150238,
0.04045413061976433,
-0.02434988133609295,
-0.05867721512913704,
0.023081790655851364,
-0.014599096029996872,
0.03810640051960945,
0.039552222937345505,
-0.05443396046757698,
-0.03116259165108204,
0.002758001210168004,
-0.03604789078235626,
-0.059024181216955185,
-0.099817655980587,
-0.10525193065404892,
0.06491902470588684,
-0.0973929688334465,
-0.08846262097358704,
-1.5300507221726483e-33,
0.054705485701560974,
0.000865254201926291,
0.00589001877233386,
0.10279570519924164,
-0.010822615586221218,
-0.07048153132200241,
0.040720291435718536,
-0.04015504941344261,
0.05209556594491005,
-0.006872969679534435,
0.040079034864902496,
0.03431126847863197,
0.0478750541806221,
-0.016435544937849045,
0.08093609660863876,
-0.08190232515335083,
-0.08533893525600433,
-0.10523762553930283,
0.04767318814992905,
0.003993568941950798,
0.028376523405313492,
-0.05192079767584801,
-0.049260884523391724,
0.08122000098228455,
0.04621174558997154,
0.002200981369242072,
-0.009839704260230064,
0.052296191453933716,
0.04581489786505699,
-0.02192879468202591,
-0.033005211502313614,
0.007051114924252033,
-0.08497896045446396,
-0.05054865777492523,
-0.039555080235004425,
0.00492123793810606,
-0.029337609186768532,
0.09792128205299377,
-0.10224820673465729,
0.06398210674524307,
0.06449127942323685,
-0.04552258923649788,
-0.03650465980172157,
0.017386391758918762,
-0.035229284316301346,
0.054081857204437256,
-0.04627527296543121,
-0.004407115746289492,
0.002687704050913453,
-0.000949940993450582,
-0.005954253487288952,
0.011414586566388607,
-0.023316487669944763,
0.02648712880909443,
-0.012026877142488956,
-0.03266216069459915,
-0.006945047061890364,
0.020027723163366318,
-0.07021135091781616,
-0.030326299369335175,
0.0894090086221695,
-0.03466898202896118,
0.03037075884640217,
-0.016852401196956635,
-0.0037388205528259277,
-0.06520713120698929,
-0.02904452569782734,
-0.042302925139665604,
0.08533469587564468,
0.02739168517291546,
-0.05799843743443489,
-0.06857182085514069,
-0.021609438583254814,
-0.012356573715806007,
0.025439785793423653,
0.0005965922027826309,
0.028798585757613182,
-0.053815700113773346,
0.08734913170337677,
-0.055513035506010056,
0.01765727438032627,
0.03294162452220917,
0.012370157055556774,
0.043506279587745667,
0.021274220198392868,
-0.04545021057128906,
-0.052012164145708084,
0.12665104866027832,
0.028417326509952545,
-0.006346608977764845,
-0.042391326278448105,
0.05151691660284996,
0.0654372051358223,
0.07818799465894699,
-0.1332048773765564,
-5.3947253775277204e-8,
-0.04613790288567543,
-0.0757402703166008,
-0.0027121317107230425,
0.07715611904859543,
0.009708331897854805,
-0.00914696417748928,
0.04965674504637718,
0.0041982573457062244,
0.01009412668645382,
0.022734735161066055,
0.062159642577171326,
-0.02629653550684452,
-0.03622317686676979,
-0.0737173780798912,
0.05290517210960388,
0.02186502330005169,
0.018162574619054794,
0.028664128854870796,
-0.08500612527132034,
-0.0327339768409729,
-0.054508309811353683,
0.05680755153298378,
-0.013693355023860931,
0.030099255964159966,
-0.001100499415770173,
-0.04589121416211128,
-0.018237821757793427,
0.03452267497777939,
-0.016145257279276848,
0.06924374401569366,
0.061928488314151764,
0.01820983737707138,
0.052781056612730026,
0.028422020375728607,
-0.03610340505838394,
0.027538789436221123,
-0.03555959090590477,
0.07307715713977814,
0.03807933256030083,
-0.033281221985816956,
0.03931010887026787,
-0.07259426265954971,
0.03082866407930851,
0.00788448378443718,
0.024322934448719025,
-0.05612074211239815,
-0.04395201429724693,
-0.09011102467775345,
0.09132561832666397,
0.10045471787452698,
-0.02508421055972576,
0.15346717834472656,
-0.01773887313902378,
0.020614193752408028,
0.025266297161579132,
0.05862748622894287,
0.009549790993332863,
-0.00478451419621706,
-0.06762516498565674,
-0.021192185580730438,
0.063228078186512,
-0.01180354505777359,
0.0003897247079294175,
-0.00838957168161869
] | 0.037378 |
also send the separate `Reasoning:` message (when available), set `agents.defaults.heartbeat.includeReasoning: true` or per-agent `agents.list[].heartbeat.includeReasoning: true`. ## Web chat UI - The web chat thinking selector mirrors the session's stored level from the inbound session store/config when the page loads. - Picking another level applies only to the next message (`thinkingOnce`); after sending, the selector snaps back to the stored session level. - To change the session default, send a `/think:` directive (as before); the selector will reflect it after the next reload. | https://github.com/openclaw/openclaw/blob/main//docs/tools/thinking.md | main | opebclaw | [
-0.02058328315615654,
0.0011314913863316178,
0.009097003377974033,
0.017724277451634407,
0.0018164162756875157,
-0.04329809546470642,
0.07765117287635803,
-0.04076894372701645,
0.05732237547636032,
-0.03673569858074188,
0.010036773979663849,
-0.036188118159770966,
-0.040951404720544815,
0.026937449350953102,
0.12966513633728027,
0.02580183558166027,
0.08838772028684616,
-0.10428430140018463,
-0.0025320504792034626,
0.012602055445313454,
0.01967129111289978,
0.03034823201596737,
0.016547853127121925,
-0.0030667283572256565,
-0.06348653137683868,
-0.02757953479886055,
-0.014938903972506523,
-0.027253946289420128,
0.026134444400668144,
-0.0072062062099576,
0.10753370076417923,
0.03755619376897812,
-0.044465407729148865,
0.002361815655604005,
-0.042002081871032715,
0.061161741614341736,
-0.016104210168123245,
0.024643154814839363,
0.02741839922964573,
0.029526468366384506,
-0.0315580740571022,
-0.04633034020662308,
-0.08961161971092224,
0.028782373294234276,
-0.007537756580859423,
-0.02336556278169155,
-0.0713215097784996,
0.035077325999736786,
-0.058199167251586914,
0.012957812286913395,
-0.0819181427359581,
-0.039222534745931625,
0.030818156898021698,
0.0732380598783493,
0.018120039254426956,
0.11009562015533447,
0.010591952130198479,
0.099065862596035,
0.03319477289915085,
-0.025725655257701874,
-0.07120756804943085,
-0.05737338960170746,
0.04156237840652466,
-0.03154371678829193,
-0.005071490071713924,
0.02190343290567398,
-0.02438860386610031,
-0.014109625481069088,
0.030498376116156578,
-0.004952516872435808,
0.06589167565107346,
-0.056866396218538284,
0.048046354204416275,
-0.1267091929912567,
0.02242378704249859,
0.01861792989075184,
-0.020214660093188286,
-0.0612797811627388,
-0.005891950335353613,
0.004430814646184444,
-0.070769764482975,
-0.04685948044061661,
-0.019726166501641273,
-0.02505509927868843,
0.013105622492730618,
0.0204181931912899,
-0.02902129851281643,
-0.05286748334765434,
-0.0343310609459877,
0.0154741695150733,
-0.009308083914220333,
-0.11176455020904541,
-0.008762451820075512,
0.09351413697004318,
-0.0027990497183054686,
0.12136866897344589,
-0.06786353886127472,
0.02430254966020584,
0.0028220133390277624,
0.01643879897892475,
0.036694690585136414,
0.0029409327544271946,
-0.028231628239154816,
0.03546520695090294,
-0.031354039907455444,
-0.09236375987529755,
0.0071109142154455185,
0.03854154422879219,
0.016127249225974083,
-0.04964520037174225,
-0.023091066628694534,
0.032830171287059784,
0.08722683787345886,
0.09107916057109833,
0.01583143137395382,
0.07197126746177673,
0.09694860875606537,
0.08756866306066513,
0.00858302228152752,
0.030948590487241745,
0.07091150432825089,
-0.0717652291059494,
0.05422517657279968,
-0.042163122445344925,
0.10116465389728546,
-0.005890594329684973,
0.034336481243371964,
1.1302726010097993e-34,
0.04899649694561958,
-0.03963166102766991,
-0.018794475123286247,
-0.0005153800011612475,
0.0541720911860466,
-0.027345675975084305,
-0.0074983458034694195,
-0.02422080934047699,
-0.031003179028630257,
0.0073555451817810535,
0.00892083253711462,
0.05176134034991264,
0.027063973248004913,
0.011623616330325603,
-0.06635555624961853,
-0.06351066380739212,
-0.14016138017177582,
0.041984349489212036,
0.08858118951320648,
-0.06299684196710587,
-0.041764967143535614,
0.01998596452176571,
-0.004253482911735773,
-0.0005399365909397602,
-0.04289591312408447,
0.09660754352807999,
0.01158167328685522,
-0.012870999984443188,
-0.03509931638836861,
0.009921212680637836,
0.0252021886408329,
0.041814614087343216,
-0.030167417600750923,
0.043509844690561295,
-0.0058004166930913925,
0.036286115646362305,
-0.0213485024869442,
0.053182732313871384,
-0.049419328570365906,
-0.05219517648220062,
0.04668080434203148,
0.005729541182518005,
0.027809305116534233,
-0.027917146682739258,
-0.060505688190460205,
-0.08882561326026917,
-0.0829969197511673,
0.026825839653611183,
0.04850095137953758,
-0.058793794363737106,
-0.029428701847791672,
-0.008598468266427517,
0.10850213468074799,
0.011095413938164711,
0.0013096511829644442,
-0.07363559305667877,
-0.02907046675682068,
0.06590107828378677,
0.001701412838883698,
-0.0020051156170666218,
0.010663931258022785,
-0.04503612592816353,
-0.014087953604757786,
-0.00913870707154274,
0.07754959911108017,
0.05786049738526344,
-0.10363651812076569,
-0.054724887013435364,
-0.012573044747114182,
-0.04660101234912872,
0.010497625917196274,
0.07092327624559402,
0.0423702672123909,
0.005563824437558651,
-0.059043049812316895,
-0.0472930446267128,
-0.09815825521945953,
0.06880498677492142,
-0.008220176212489605,
-0.05216328054666519,
0.029194742441177368,
0.040854524821043015,
-0.09964090585708618,
0.08577870577573776,
0.09680099040269852,
-0.07988359034061432,
-0.05725876986980438,
-0.10222101956605911,
-0.06830963492393494,
0.09501156210899353,
-0.07419080287218094,
0.04112555459141731,
0.06814923137426376,
0.015201093629002571,
-0.024457406252622604,
-6.0693918698698115e-34,
-0.004415704868733883,
0.02457965537905693,
-0.06326917558908463,
0.05807376280426979,
0.04201529547572136,
-0.007324287202209234,
0.0577663853764534,
0.023820897564291954,
0.02715213969349861,
-0.024017713963985443,
0.03700637444853783,
0.00396003108471632,
-0.01681525446474552,
0.07853096723556519,
-0.026528365910053253,
0.029138676822185516,
-0.058096744120121,
-0.12272068113088608,
-0.001868665567599237,
-0.039507970213890076,
0.07219959795475006,
-0.038177698850631714,
-0.07208198308944702,
0.03729640319943428,
0.061406295746564865,
-0.005336483009159565,
0.008006350137293339,
0.03794452175498009,
0.03617027774453163,
-0.11588689684867859,
-0.017062516883015633,
-0.0036039052065461874,
-0.07044664025306702,
0.03577530384063721,
0.04898039996623993,
-0.02417953684926033,
0.02034226432442665,
0.11327915638685226,
-0.03381058946251869,
0.06894905865192413,
0.07110357284545898,
-0.0011694433633238077,
-0.07665939629077911,
0.017571665346622467,
-0.007362539414316416,
0.04272494465112686,
-0.05747900903224945,
0.0374978668987751,
-0.07158060371875763,
0.07360632717609406,
-0.009853933937847614,
-0.029414383694529533,
-0.0028254983481019735,
-0.015303629450500011,
-0.008193807676434517,
0.07140039652585983,
0.022126270458102226,
-0.0006363361608237028,
0.0026396256871521473,
-0.047961436212062836,
0.03938274458050728,
-0.044534213840961456,
0.023831844329833984,
-0.045722298324108124,
0.008341768756508827,
-0.020440377295017242,
-0.026584289968013763,
0.09480414539575577,
0.08135507255792618,
-0.03021164797246456,
0.001723016146570444,
-0.020113332197070122,
-0.014961235225200653,
-0.01311568170785904,
0.08249688148498535,
-0.0382116325199604,
-0.003942802082747221,
-0.13690584897994995,
0.007258370518684387,
-0.03728184476494789,
-0.056579139083623886,
0.01750047691166401,
-0.005673110019415617,
-0.062251750379800797,
0.047336723655462265,
0.06633049249649048,
-0.01931149512529373,
0.07331901788711548,
0.032200053334236145,
-0.012572171166539192,
-0.02369878441095352,
0.03274626284837723,
-0.0021178910974413157,
-0.011236830614507198,
-0.08245684206485748,
-4.062610869937089e-8,
-0.1089048981666565,
-0.09533445537090302,
0.045489996671676636,
0.04885239526629448,
0.06286274641752243,
-0.007066086400300264,
0.06025945022702217,
-0.0066235545091331005,
-0.05988163501024246,
-0.001996102277189493,
0.06021485850214958,
-0.004101150669157505,
0.05806848779320717,
-0.05573359876871109,
0.016370538622140884,
-0.06246895343065262,
-0.0526941753923893,
-0.039863426238298416,
-0.01550235878676176,
-0.0994839146733284,
0.06997424364089966,
-0.0012473976239562035,
0.012456373311579227,
0.12389039993286133,
0.03365026041865349,
-0.027935704216361046,
-0.014165308326482773,
0.01277219969779253,
-0.0910751149058342,
0.013854563236236572,
-0.04906696826219559,
0.007790864910930395,
0.059837181121110916,
-0.034506723284721375,
-0.034446023404598236,
-0.007473168428987265,
-0.04985726624727249,
-0.0492517352104187,
0.01652471162378788,
-0.00928348395973444,
0.04248249903321266,
-0.08181198686361313,
-0.03686794266104698,
-0.006025717593729496,
0.036665551364421844,
-0.07490671426057816,
-0.018276317045092583,
0.035142652690410614,
0.1020234003663063,
0.051013994961977005,
-0.05040933936834335,
0.043342817574739456,
0.03303872048854828,
-0.0037919359747320414,
0.08096232265233994,
-0.027019204571843147,
0.06874734908342361,
0.004434999078512192,
0.012407835572957993,
0.013721593655645847,
0.07002615183591843,
0.05882905796170235,
-0.02752920798957348,
-0.04763389751315117
] | 0.078009 |
# LLM Task `llm-task` is an \*\*optional plugin tool\*\* that runs a JSON-only LLM task and returns structured output (optionally validated against JSON Schema). This is ideal for workflow engines like Lobster: you can add a single LLM step without writing custom OpenClaw code for each workflow. ## Enable the plugin 1. Enable the plugin: ```json { "plugins": { "entries": { "llm-task": { "enabled": true } } } } ``` 2. Allowlist the tool (it is registered with `optional: true`): ```json { "agents": { "list": [ { "id": "main", "tools": { "allow": ["llm-task"] } } ] } } ``` ## Config (optional) ```json { "plugins": { "entries": { "llm-task": { "enabled": true, "config": { "defaultProvider": "openai-codex", "defaultModel": "gpt-5.2", "defaultAuthProfileId": "main", "allowedModels": ["openai-codex/gpt-5.2"], "maxTokens": 800, "timeoutMs": 30000 } } } } } ``` `allowedModels` is an allowlist of `provider/model` strings. If set, any request outside the list is rejected. ## Tool parameters - `prompt` (string, required) - `input` (any, optional) - `schema` (object, optional JSON Schema) - `provider` (string, optional) - `model` (string, optional) - `authProfileId` (string, optional) - `temperature` (number, optional) - `maxTokens` (number, optional) - `timeoutMs` (number, optional) ## Output Returns `details.json` containing the parsed JSON (and validates against `schema` when provided). ## Example: Lobster workflow step ```lobster openclaw.invoke --tool llm-task --action json --args-json '{ "prompt": "Given the input email, return intent and draft.", "input": { "subject": "Hello", "body": "Can you help?" }, "schema": { "type": "object", "properties": { "intent": { "type": "string" }, "draft": { "type": "string" } }, "required": ["intent", "draft"], "additionalProperties": false } }' ``` ## Safety notes - The tool is \*\*JSON-only\*\* and instructs the model to output only JSON (no code fences, no commentary). - No tools are exposed to the model for this run. - Treat output as untrusted unless you validate with `schema`. - Put approvals before any side-effecting step (send, post, exec). | https://github.com/openclaw/openclaw/blob/main//docs/tools/llm-task.md | main | opebclaw | [
-0.04796583950519562,
0.008175555616617203,
-0.04957837983965874,
0.013608990237116814,
0.022719182074069977,
-0.02591908909380436,
-0.08115062862634659,
-0.016336096450686455,
-0.0031935276929289103,
-0.03375616669654846,
-0.00755035225301981,
-0.04857788234949112,
0.01748240739107132,
0.058344464749097824,
0.10511764883995056,
0.1365390419960022,
0.05500169098377228,
-0.019947972148656845,
-0.04917781427502632,
-0.11930850148200989,
0.07590135931968689,
0.054427310824394226,
0.0006666476838290691,
-0.004131473135203123,
-0.08491414040327072,
-0.007240660954266787,
-0.020926067605614662,
0.029045158997178078,
-0.03378336876630783,
0.03174426406621933,
0.044726379215717316,
0.020355507731437683,
-0.054394349455833435,
0.053417421877384186,
0.07236412167549133,
0.06023784354329109,
-0.015023010782897472,
-0.03240623697638512,
0.00639102328568697,
-0.030260032042860985,
0.03548206016421318,
0.03867781162261963,
-0.033571332693099976,
-0.10735003650188446,
-0.035785336047410965,
-0.08884519338607788,
-0.022087331861257553,
-0.1280539482831955,
-0.10123453289270401,
0.06570077687501907,
-0.042213667184114456,
-0.050614193081855774,
-0.019600672647356987,
-0.0354841947555542,
0.018441038206219673,
0.012223510071635246,
-0.04708279296755791,
-0.033072616904973984,
-0.03937486186623573,
-0.096817746758461,
0.05459435656666756,
-0.09083951264619827,
-0.03628988936543465,
-0.008392143994569778,
-0.08748573064804077,
-0.003386871423572302,
-0.06314120441675186,
0.011580009944736958,
-0.03891471400856972,
-0.03966553509235382,
0.03432295843958855,
-0.07110252231359482,
-0.04285360127687454,
-0.04963935166597366,
-0.025076013058423996,
-0.03278468921780586,
0.030729353427886963,
0.0015744768315926194,
-0.010910523124039173,
-0.0428587943315506,
-0.038738153874874115,
-0.02298949658870697,
-0.0731651559472084,
0.07408983260393143,
-0.02706177532672882,
0.12026786804199219,
-0.03673860803246498,
0.024387534707784653,
0.05891440436244011,
0.019916055724024773,
-0.02556806057691574,
-0.13120917975902557,
-0.02165953814983368,
-0.03948761522769928,
0.09051742404699326,
-0.012900741770863533,
0.019100189208984375,
-0.03892955556511879,
-0.06058211252093315,
0.06674245744943619,
-0.016147881746292114,
-0.02512545697391033,
0.059163156896829605,
-0.006889173295348883,
0.015267702750861645,
0.03354896977543831,
-0.009656362235546112,
0.035534217953681946,
-0.04236115515232086,
0.033833615481853485,
0.043115440756082535,
0.060917533934116364,
0.1133660152554512,
-0.0023565429728478193,
-0.01963670551776886,
0.002044753869995475,
0.03523183986544609,
0.018655650317668915,
0.028583422303199768,
0.08495920151472092,
0.09142869710922241,
0.03069358319044113,
0.029248153790831566,
0.03711289167404175,
0.04887387529015541,
0.0022440890315920115,
-0.005121339112520218,
5.298069853907163e-33,
0.14365115761756897,
-0.050627049058675766,
0.03644927218556404,
-0.017930936068296432,
0.13767550885677338,
-0.019666748121380806,
0.07797355949878693,
0.07301118969917297,
-0.01354182418435812,
0.03710303083062172,
-0.047899000346660614,
0.074210986495018,
-0.056750085204839706,
0.031996238976716995,
-0.06806908547878265,
-0.037127535790205,
-0.005053057800978422,
-0.012184572406113148,
0.04207995906472206,
0.0164203979074955,
0.0057655819691717625,
-0.04631705582141876,
-0.01700301468372345,
0.004662597086280584,
-0.0051966141909360886,
0.034529123455286026,
0.032091058790683746,
0.010198679752647877,
0.0001089152428903617,
0.028490660712122917,
0.004249341785907745,
0.01751137152314186,
0.028150754049420357,
0.04948833957314491,
-0.04809485748410225,
0.05619839206337929,
-0.10691031813621521,
-0.015124859288334846,
0.03487134724855423,
-0.07683023065328598,
0.055683333426713943,
0.013063741847872734,
-0.05076058954000473,
-0.05741914361715317,
-0.07000834494829178,
-0.0698198452591896,
-0.028896408155560493,
0.04997885972261429,
0.06505544483661652,
-0.022437971085309982,
0.062229223549366,
0.020069675520062447,
-0.008096915669739246,
-0.041040293872356415,
0.03383393585681915,
-0.07571283727884293,
-0.018916653469204903,
0.05199467018246651,
0.022623028606176376,
0.009592602029442787,
-0.06626542657613754,
0.04165522754192352,
-0.028354426845908165,
0.10598839819431305,
0.09355833381414413,
0.014267448335886002,
-0.07247545570135117,
0.07546131312847137,
0.016051776707172394,
-0.030569173395633698,
0.010699935257434845,
0.0471530444920063,
-0.010127982124686241,
-0.011477791704237461,
0.006865267176181078,
-0.0890803337097168,
0.08706328272819519,
-0.06131378561258316,
0.014520362950861454,
-0.02308628335595131,
0.036765873432159424,
0.00611498998478055,
-0.05185152217745781,
0.03153609484434128,
0.015808874741196632,
0.059878282248973846,
-0.046362049877643585,
-0.024822261184453964,
0.0011112142819911242,
0.024560997262597084,
-0.0460209846496582,
-0.023003192618489265,
-0.044754382222890854,
0.06109941378235817,
-0.016518609598279,
-6.411158679012234e-33,
-0.006373249460011721,
-0.019311893731355667,
0.0038998606614768505,
0.05822756886482239,
0.053742337971925735,
-0.08738529682159424,
0.028483251109719276,
-0.04350067302584648,
0.03133796155452728,
0.028989529237151146,
-0.03567468374967575,
-0.049114007502794266,
-0.014528069645166397,
-0.06880373507738113,
0.07028425484895706,
-0.06159891188144684,
-0.08370476961135864,
-0.046758055686950684,
0.034183111041784286,
0.025764496996998787,
-0.01666652224957943,
0.07327202707529068,
0.026045843958854675,
0.014042571187019348,
0.014575358480215073,
-0.03146868199110031,
-0.014261568896472454,
-0.027465328574180603,
-0.03754999116063118,
0.011608563363552094,
0.04325450584292412,
-0.021839426830410957,
-0.0387236624956131,
0.0038880330976098776,
-0.017345240339636803,
-0.00034114107256755233,
-0.024043001234531403,
0.15762130916118622,
0.04410892352461815,
0.029324084520339966,
0.01435699313879013,
-0.004232995677739382,
-0.01739915832877159,
0.0904933363199234,
-0.016216890886425972,
0.04435909539461136,
0.001955521758645773,
-0.02932511456310749,
-0.0040677385404706,
-0.06820246577262878,
-0.031002357602119446,
0.024644073098897934,
-0.05000664293766022,
-0.009067590348422527,
0.03445117920637131,
-0.013525103218853474,
0.04532642662525177,
-0.12053948640823364,
-0.04399425536394119,
-0.0654526874423027,
-0.05165457725524902,
-0.03609292209148407,
0.02530902996659279,
0.028046829625964165,
0.070153146982193,
-0.046974726021289825,
-0.08615986257791519,
0.007728314958512783,
-0.058400146663188934,
-0.029725374653935432,
-0.009731004014611244,
-0.049567367881536484,
0.001510921400040388,
-0.031810324639081955,
0.07824133336544037,
-0.10433906316757202,
-0.03455638140439987,
-0.06813807040452957,
0.05361802875995636,
0.02258133888244629,
-0.02195589430630207,
-0.01088603027164936,
0.014300771988928318,
0.018110455945134163,
-0.002811804646626115,
-0.04307860881090164,
0.03188624605536461,
0.09775900095701218,
-0.00013758325076196343,
0.09664347767829895,
0.0010408894158899784,
0.031651515513658524,
0.0004352561372797936,
-0.04316633939743042,
0.008424412459135056,
-5.2300947572803125e-8,
-0.08126417547464371,
-0.09656090289354324,
-0.099219411611557,
0.009709985926747322,
-0.04392293095588684,
-0.043203871697187424,
0.01484107319265604,
0.11571668833494186,
0.059166304767131805,
-0.020643869414925575,
0.15043193101882935,
0.053393784910440445,
-0.10719774663448334,
0.0008559162961319089,
-0.004556003026664257,
0.028196843340992928,
-0.00630515580996871,
0.054896533489227295,
0.0037556805182248354,
-0.01840679533779621,
0.03628836199641228,
0.0037927483208477497,
0.050689127296209335,
-0.028847087174654007,
0.029987022280693054,
-0.02582099474966526,
-0.06728880852460861,
0.03897123411297798,
-0.01883678138256073,
0.07857494056224823,
-0.02016095258295536,
-0.0634949579834938,
0.0160482469946146,
0.06467082351446152,
-0.030550332739949226,
-0.05382973700761795,
0.019868938252329826,
0.007026834413409233,
0.034293923527002335,
-0.05429304391145706,
0.0454656220972538,
0.04378213360905647,
-0.10303092002868652,
0.035484690219163895,
-0.06907681375741959,
-0.020926421508193016,
-0.05203351378440857,
-0.02618255279958248,
0.005573579575866461,
-0.017738839611411095,
-0.053029611706733704,
0.03042631410062313,
0.08873870223760605,
0.036178458482027054,
-0.01469673402607441,
0.0851629227399826,
0.11376707255840302,
-0.05641242489218712,
0.048848021775484085,
0.015734625980257988,
0.06324539333581924,
0.03428857401013374,
0.03918371722102165,
-0.00237939041107893
] | 0.063464 |
# Browser (openclaw-managed) OpenClaw can run a \*\*dedicated Chrome/Brave/Edge/Chromium profile\*\* that the agent controls. It is isolated from your personal browser and is managed through a small local control service inside the Gateway (loopback only). Beginner view: - Think of it as a \*\*separate, agent-only browser\*\*. - The `openclaw` profile does \*\*not\*\* touch your personal browser profile. - The agent can \*\*open tabs, read pages, click, and type\*\* in a safe lane. - The default `chrome` profile uses the \*\*system default Chromium browser\*\* via the extension relay; switch to `openclaw` for the isolated managed browser. ## What you get - A separate browser profile named \*\*openclaw\*\* (orange accent by default). - Deterministic tab control (list/open/focus/close). - Agent actions (click/type/drag/select), snapshots, screenshots, PDFs. - Optional multi-profile support (`openclaw`, `work`, `remote`, ...). This browser is \*\*not\*\* your daily driver. It is a safe, isolated surface for agent automation and verification. ## Quick start ```bash openclaw browser --browser-profile openclaw status openclaw browser --browser-profile openclaw start openclaw browser --browser-profile openclaw open https://example.com openclaw browser --browser-profile openclaw snapshot ``` If you get “Browser disabled”, enable it in config (see below) and restart the Gateway. ## Profiles: `openclaw` vs `chrome` - `openclaw`: managed, isolated browser (no extension required). - `chrome`: extension relay to your \*\*system browser\*\* (requires the OpenClaw extension to be attached to a tab). Set `browser.defaultProfile: "openclaw"` if you want managed mode by default. ## Configuration Browser settings live in `~/.openclaw/openclaw.json`. ```json5 { browser: { enabled: true, // default: true // cdpUrl: "http://127.0.0.1:18792", // legacy single-profile override remoteCdpTimeoutMs: 1500, // remote CDP HTTP timeout (ms) remoteCdpHandshakeTimeoutMs: 3000, // remote CDP WebSocket handshake timeout (ms) defaultProfile: "chrome", color: "#FF4500", headless: false, noSandbox: false, attachOnly: false, executablePath: "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser", profiles: { openclaw: { cdpPort: 18800, color: "#FF4500" }, work: { cdpPort: 18801, color: "#0066CC" }, remote: { cdpUrl: "http://10.0.0.42:9222", color: "#00AA00" }, }, }, } ``` Notes: - The browser control service binds to loopback on a port derived from `gateway.port` (default: `18791`, which is gateway + 2). The relay uses the next port (`18792`). - If you override the Gateway port (`gateway.port` or `OPENCLAW\_GATEWAY\_PORT`), the derived browser ports shift to stay in the same “family”. - `cdpUrl` defaults to the relay port when unset. - `remoteCdpTimeoutMs` applies to remote (non-loopback) CDP reachability checks. - `remoteCdpHandshakeTimeoutMs` applies to remote CDP WebSocket reachability checks. - `attachOnly: true` means “never launch a local browser; only attach if it is already running.” - `color` + per-profile `color` tint the browser UI so you can see which profile is active. - Default profile is `chrome` (extension relay). Use `defaultProfile: "openclaw"` for the managed browser. - Auto-detect order: system default browser if Chromium-based; otherwise Chrome → Brave → Edge → Chromium → Chrome Canary. - Local `openclaw` profiles auto-assign `cdpPort`/`cdpUrl` — set those only for remote CDP. ## Use Brave (or another Chromium-based browser) If your \*\*system default\*\* browser is Chromium-based (Chrome/Brave/Edge/etc), OpenClaw uses it automatically. Set `browser.executablePath` to override auto-detection: CLI example: ```bash openclaw config set browser.executablePath "/usr/bin/google-chrome" ``` ```json5 // macOS { browser: { executablePath: "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser" } } // Windows { browser: { executablePath: "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe" } } // Linux { browser: { executablePath: "/usr/bin/brave-browser" } } ``` ## Local vs remote control - \*\*Local control (default):\*\* the Gateway starts the loopback control service and can launch a local browser. - \*\*Remote control (node host):\*\* run a node host on the machine that has the browser; the Gateway proxies browser actions to it. - \*\*Remote CDP:\*\* set `browser.profiles..cdpUrl` (or `browser.cdpUrl`) to attach to a remote Chromium-based browser. In this case, OpenClaw will not launch a local | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser.md | main | opebclaw | [
-0.039925917983055115,
-0.025859994813799858,
-0.06319379061460495,
0.06661418825387955,
0.04334545508027077,
-0.04666788876056671,
-0.03458629548549652,
0.034132398664951324,
-0.04365617409348488,
-0.08119421452283859,
0.03519957885146141,
-0.01305099856108427,
0.032880332320928574,
-0.05397608503699303,
0.06956584751605988,
0.12327930331230164,
0.05913645401597023,
-0.02596823312342167,
-0.0009222846711054444,
0.016703855246305466,
-0.04687095060944557,
-0.04841720312833786,
-0.01493789628148079,
-0.07558684796094894,
-0.12004929035902023,
0.019285501912236214,
-0.08047256618738174,
-0.039237283170223236,
0.011564116925001144,
-0.05393735691905022,
0.07923997193574905,
-0.04359022155404091,
-0.0442320890724659,
0.0053247143514454365,
0.030188502743840218,
-0.024060441181063652,
-0.08806343376636505,
-0.011918623000383377,
-0.05256873369216919,
0.0237452182918787,
0.035108041018247604,
0.02372823841869831,
-0.06961159408092499,
-0.014557668007910252,
-0.06981684267520905,
-0.0644538477063179,
-0.02182789519429207,
-0.028357358649373055,
-0.02410825341939926,
-0.01476633083075285,
-0.06843532621860504,
-0.018618609756231308,
-0.03240913152694702,
-0.05621981993317604,
-0.045576900243759155,
0.011219840496778488,
0.02655124105513096,
-0.07589654624462128,
0.05493266135454178,
0.026261040940880775,
0.007710306905210018,
-0.027882585301995277,
-0.00901865679770708,
0.048605963587760925,
-0.1046595573425293,
0.08235063403844833,
-0.06209703907370567,
-0.05878246948122978,
0.025631416589021683,
-0.08101075142621994,
-0.026686806231737137,
0.020529353991150856,
-0.04791950061917305,
-0.04210656136274338,
0.0010440369369462132,
-0.14840613305568695,
0.011108736507594585,
0.04126434400677681,
-0.06562694907188416,
-0.04395577311515808,
0.015295282937586308,
-0.049594443291425705,
-0.05256294831633568,
0.05025482177734375,
0.04574048891663551,
0.1005282923579216,
0.03990045562386513,
0.019245119765400887,
0.027124393731355667,
0.005852085538208485,
-0.022798510268330574,
-0.08099502325057983,
0.028220899403095245,
0.025953462347388268,
0.02724647708237171,
-0.020921481773257256,
0.03782368451356888,
-0.012311787344515324,
-0.05936986207962036,
0.05141259729862213,
0.048173148185014725,
-0.010894683189690113,
0.020349953323602676,
-0.007092209067195654,
-0.034072451293468475,
0.0726555734872818,
0.03141313046216965,
0.10290607064962387,
0.038988128304481506,
-0.02690538577735424,
0.005910802632570267,
-0.04260806739330292,
0.032727520912885666,
-0.017515145242214203,
-0.011474915780127048,
-0.03208756446838379,
-0.016927335411310196,
0.027903934940695763,
0.16310302913188934,
0.09526699036359787,
0.08913582563400269,
0.04798351973295212,
-0.026906853541731834,
-0.06716271489858627,
0.12821649014949799,
0.028571009635925293,
0.052108850330114365,
3.4609088347902105e-33,
0.07667604088783264,
-0.03387700393795967,
-0.06285647302865982,
-0.0034002792090177536,
0.11568211764097214,
0.02088981121778488,
0.045279283076524734,
-0.02208426408469677,
-0.03903423994779587,
0.016335448250174522,
0.07911690324544907,
0.058310117572546005,
-0.06964114308357239,
0.006885100621730089,
0.03428366407752037,
0.04245087876915932,
-0.05695852264761925,
0.042662229388952255,
0.07518038153648376,
-0.03709462285041809,
-0.018207760527729988,
0.01039887499064207,
-0.019490908831357956,
0.026590703055262566,
-0.01761525496840477,
0.045750658959150314,
-0.059375546872615814,
0.02426508255302906,
-0.021228289231657982,
0.0383155457675457,
0.013767332769930363,
0.007865426130592823,
-0.08800208568572998,
0.07407661527395248,
-0.06212828680872917,
0.06217815354466438,
-0.11860916018486023,
-0.04329131171107292,
-0.044850803911685944,
0.017508352175354958,
-0.05240876227617264,
-0.0288960300385952,
0.001487685483880341,
-0.03543794900178909,
-0.065902940928936,
-0.15798816084861755,
-0.04514913260936737,
0.03842632845044136,
0.02086472138762474,
0.028100714087486267,
-0.03457878530025482,
-0.051038652658462524,
0.03827942535281181,
0.007194984704256058,
-0.02965793013572693,
-0.01681462861597538,
-0.05832869932055473,
0.012653409503400326,
0.0006519528687931597,
0.006011240649968386,
0.015875546261668205,
0.0030958224087953568,
-0.05650043860077858,
0.06414958089590073,
-0.06363578140735626,
-0.04513229429721832,
0.04084225371479988,
0.08335507661104202,
-0.05042605847120285,
-0.05602790042757988,
-0.06074506789445877,
0.010874975472688675,
0.03231048583984375,
-0.013972299173474312,
-0.016850300133228302,
-0.051675133407115936,
-0.016079185530543327,
-0.016067571938037872,
0.054562099277973175,
-0.012518963776528835,
0.06023002415895462,
0.023547537624835968,
0.0023963304702192545,
0.004857124760746956,
-0.023196788504719734,
-0.014370339922606945,
-0.002325663575902581,
-0.04254833236336708,
0.026287183165550232,
0.08727770298719406,
-0.06094680353999138,
0.0034317895770072937,
-0.044388409703969955,
0.032922543585300446,
-0.036432404071092606,
-5.4564871868056515e-33,
-0.0754733756184578,
-0.009959746152162552,
-0.016672251746058464,
0.021725594997406006,
-0.0491153858602047,
0.0739402249455452,
0.04810148477554321,
-0.014865770936012268,
-0.03260898217558861,
-0.021776888519525528,
-0.016786139458417892,
0.12748079001903534,
0.057172197848558426,
-0.035337068140506744,
0.028411338105797768,
0.011847443878650665,
0.02052609995007515,
-0.0420028418302536,
-0.0883445143699646,
-0.03793865442276001,
-0.0369236096739769,
-0.018971281126141548,
-0.03706609457731247,
0.03715559095144272,
0.0786244347691536,
0.0038986196741461754,
0.00339301279745996,
0.01850680448114872,
0.0571930818259716,
-0.05711982026696205,
0.033561863005161285,
0.050283774733543396,
-0.007099060341715813,
-0.01602434739470482,
0.051413100212812424,
0.07247838377952576,
-0.051291581243276596,
0.05901288986206055,
0.03281721472740173,
0.01928926259279251,
-0.0030319674406200647,
-0.04001111537218094,
0.02240939810872078,
-0.005033260677009821,
0.06171218305826187,
0.13837727904319763,
-0.038223981857299805,
-0.05050931125879288,
-0.07299242913722992,
0.03593141958117485,
-0.0363161675632,
0.02135130949318409,
0.019490938633680344,
-0.02321692369878292,
0.007351819425821304,
0.04618840664625168,
0.03869989886879921,
-0.024552706629037857,
-0.01751985028386116,
-0.10711052268743515,
0.05059969425201416,
-0.061662707477808,
-0.08956809341907501,
0.1325581669807434,
-0.05126569792628288,
-0.009439481422305107,
-0.037974681705236435,
0.014636849984526634,
-0.06992202997207642,
-0.0179293192923069,
-0.0780915841460228,
-0.01088774111121893,
0.011189580895006657,
-0.07552650570869446,
0.044017694890499115,
-0.03228915482759476,
0.08033037930727005,
-0.07727445662021637,
-0.04197213053703308,
0.0013323553139343858,
0.059204231947660446,
0.03729492053389549,
0.03760817274451256,
-0.14153516292572021,
-0.0372975617647171,
-0.037332065403461456,
-0.051909126341342926,
0.05829470604658127,
0.052416399121284485,
0.0023319574538618326,
-0.059936486184597015,
0.07632389664649963,
-0.07491028308868408,
-0.027675500139594078,
0.016930125653743744,
-5.093966848335185e-8,
-0.019903669133782387,
-0.012359130196273327,
-0.024828067049384117,
0.01961633749306202,
-0.008409259840846062,
-0.033550798892974854,
0.00009092607797356322,
0.02154926210641861,
-0.018555378541350365,
0.028859954327344894,
0.09535326808691025,
-0.013616273179650307,
0.00034362776204943657,
0.056168995797634125,
-0.03162725642323494,
0.11362452059984207,
0.060531679540872574,
-0.01677732914686203,
0.07525695115327835,
-0.03345843032002449,
0.010838206857442856,
-0.03817117586731911,
0.0835220068693161,
0.07795727998018265,
-0.024650996550917625,
0.014518780633807182,
-0.030388394370675087,
-0.00907241553068161,
-0.018793441355228424,
0.07325668632984161,
-0.04885513707995415,
-0.005450455006211996,
-0.037801843136548996,
-0.0016565797850489616,
-0.09185288101434708,
0.07359835505485535,
0.00877461489289999,
-0.026935696601867676,
-0.008216881193220615,
-0.007026894483715296,
0.08707958459854126,
0.013173269107937813,
-0.04010699316859245,
-0.004807131830602884,
-0.028607716783881187,
0.030001820996403694,
-0.05264852195978165,
-0.022115284577012062,
0.08121530711650848,
-0.012878522276878357,
-0.05244947597384453,
-0.0295313261449337,
0.07428926974534988,
0.05647437274456024,
0.03791685774922371,
0.06490170210599899,
0.08910828083753586,
-0.0989128053188324,
-0.0009142591152340174,
0.013415534049272537,
-0.019248390570282936,
0.06886696815490723,
0.04405013844370842,
0.01604931801557541
] | 0.039445 |
launch a local browser. - \*\*Remote control (node host):\*\* run a node host on the machine that has the browser; the Gateway proxies browser actions to it. - \*\*Remote CDP:\*\* set `browser.profiles..cdpUrl` (or `browser.cdpUrl`) to attach to a remote Chromium-based browser. In this case, OpenClaw will not launch a local browser. Remote CDP URLs can include auth: - Query tokens (e.g., `https://provider.example?token=`) - HTTP Basic auth (e.g., `https://user:pass@provider.example`) OpenClaw preserves the auth when calling `/json/\*` endpoints and when connecting to the CDP WebSocket. Prefer environment variables or secrets managers for tokens instead of committing them to config files. ## Node browser proxy (zero-config default) If you run a \*\*node host\*\* on the machine that has your browser, OpenClaw can auto-route browser tool calls to that node without any extra browser config. This is the default path for remote gateways. Notes: - The node host exposes its local browser control server via a \*\*proxy command\*\*. - Profiles come from the node’s own `browser.profiles` config (same as local). - Disable if you don’t want it: - On the node: `nodeHost.browserProxy.enabled=false` - On the gateway: `gateway.nodes.browser.mode="off"` ## Browserless (hosted remote CDP) [Browserless](https://browserless.io) is a hosted Chromium service that exposes CDP endpoints over HTTPS. You can point a OpenClaw browser profile at a Browserless region endpoint and authenticate with your API key. Example: ```json5 { browser: { enabled: true, defaultProfile: "browserless", remoteCdpTimeoutMs: 2000, remoteCdpHandshakeTimeoutMs: 4000, profiles: { browserless: { cdpUrl: "https://production-sfo.browserless.io?token=", color: "#00AA00", }, }, }, } ``` Notes: - Replace `` with your real Browserless token. - Choose the region endpoint that matches your Browserless account (see their docs). ## Security Key ideas: - Browser control is loopback-only; access flows through the Gateway’s auth or node pairing. - Keep the Gateway and any node hosts on a private network (Tailscale); avoid public exposure. - Treat remote CDP URLs/tokens as secrets; prefer env vars or a secrets manager. Remote CDP tips: - Prefer HTTPS endpoints and short-lived tokens where possible. - Avoid embedding long-lived tokens directly in config files. ## Profiles (multi-browser) OpenClaw supports multiple named profiles (routing configs). Profiles can be: - \*\*openclaw-managed\*\*: a dedicated Chromium-based browser instance with its own user data directory + CDP port - \*\*remote\*\*: an explicit CDP URL (Chromium-based browser running elsewhere) - \*\*extension relay\*\*: your existing Chrome tab(s) via the local relay + Chrome extension Defaults: - The `openclaw` profile is auto-created if missing. - The `chrome` profile is built-in for the Chrome extension relay (points at `http://127.0.0.1:18792` by default). - Local CDP ports allocate from \*\*18800–18899\*\* by default. - Deleting a profile moves its local data directory to Trash. All control endpoints accept `?profile=`; the CLI uses `--browser-profile`. ## Chrome extension relay (use your existing Chrome) OpenClaw can also drive \*\*your existing Chrome tabs\*\* (no separate “openclaw” Chrome instance) via a local CDP relay + a Chrome extension. Full guide: [Chrome extension](/tools/chrome-extension) Flow: - The Gateway runs locally (same machine) or a node host runs on the browser machine. - A local \*\*relay server\*\* listens at a loopback `cdpUrl` (default: `http://127.0.0.1:18792`). - You click the \*\*OpenClaw Browser Relay\*\* extension icon on a tab to attach (it does not auto-attach). - The agent controls that tab via the normal `browser` tool, by selecting the right profile. If the Gateway runs elsewhere, run a node host on the browser machine so the Gateway can proxy browser actions. ### Sandboxed sessions If the agent session is sandboxed, the `browser` tool may default to `target="sandbox"` (sandbox browser). Chrome extension relay takeover requires host browser control, so either: - run the session unsandboxed, or - set `agents.defaults.sandbox.browser.allowHostControl: true` and use `target="host"` | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser.md | main | opebclaw | [
-0.003641284303739667,
0.005217121914029121,
-0.056906115263700485,
0.01535226870328188,
-0.0039250291883945465,
-0.07577789574861526,
-0.0823938176035881,
0.03943759202957153,
-0.028040239587426186,
-0.07391126453876495,
-0.013893520459532738,
-0.04695501923561096,
-0.006906293332576752,
0.01793111115694046,
0.09001916646957397,
0.12045593559741974,
0.06514576077461243,
0.007594141643494368,
0.08685547113418579,
0.045513998717069626,
-0.023140693083405495,
-0.08074689656496048,
-0.016273420304059982,
0.010695882141590118,
-0.068111352622509,
-0.052092839032411575,
0.004949804861098528,
-0.049299050122499466,
-0.0022656922228634357,
0.05109429731965065,
0.022923240438103676,
-0.08745228499174118,
-0.03276050463318825,
0.03676121309399605,
0.006357182282954454,
0.06072342395782471,
0.024312090128660202,
0.007008509244769812,
-0.1332312375307083,
0.017252657562494278,
0.09289968013763428,
0.04102656617760658,
-0.052923064678907394,
0.009659810923039913,
-0.05386750027537346,
-0.07848553359508514,
-0.028120256960392,
0.013595622964203358,
-0.07402089983224869,
-0.0035946269053965807,
-0.061004482209682465,
-0.00770222395658493,
-0.01677400805056095,
-0.007728592026978731,
-0.10646842420101166,
0.029050691053271294,
0.03234902769327164,
-0.010570893995463848,
0.15408648550510406,
-0.01661250740289688,
0.019975394010543823,
-0.05904623121023178,
0.0003811177739407867,
0.01980978064239025,
-0.1238497719168663,
-0.013676990754902363,
-0.07203999161720276,
-0.022566933184862137,
-0.04270801320672035,
0.003652275539934635,
0.020310619845986366,
0.03225497528910637,
-0.005358407739549875,
-0.016563622280955315,
-0.01327472273260355,
-0.024143630638718605,
0.01093299314379692,
-0.008763860911130905,
-0.05929230898618698,
-0.0277369674295187,
0.016806168481707573,
0.009829199872910976,
-0.07803469896316528,
0.04495248198509216,
0.024904653429985046,
0.161258265376091,
0.010015898384153843,
-0.005306613631546497,
0.009386124089360237,
0.041592035442590714,
-0.020936720073223114,
-0.0824136734008789,
-0.09394276887178421,
-0.08173070102930069,
0.006702574901282787,
-0.022802570834755898,
0.10117025673389435,
0.01269621029496193,
-0.026047727093100548,
0.01583852432668209,
0.05372365191578865,
0.005624024197459221,
-0.02719569019973278,
-0.03289369121193886,
-0.028359156101942062,
0.05736438184976578,
-0.001978401094675064,
0.09470520913600922,
0.08830089867115021,
0.07308493554592133,
-0.027011480182409286,
-0.027202514931559563,
0.017206061631441116,
-0.06381750851869583,
-0.059992022812366486,
0.005522483494132757,
-0.009865743108093739,
0.017249785363674164,
0.08055246621370316,
0.050249192863702774,
0.04462268576025963,
-0.0007410382968373597,
0.010899744927883148,
-0.014102832414209843,
0.13374745845794678,
0.014055894687771797,
0.07256151735782623,
3.6431839275645914e-33,
0.035189054906368256,
-0.03059360943734646,
-0.0015120233874768019,
0.014654552564024925,
0.10935209691524506,
-0.016684498637914658,
0.09971775859594345,
-0.039754945784807205,
-0.048497993499040604,
0.014603513292968273,
0.030714556574821472,
0.06126074492931366,
-0.014371851459145546,
-0.03973059728741646,
-0.023601233959197998,
0.11705762892961502,
-0.09800082445144653,
-0.03896978870034218,
0.13238249719142914,
0.002570927841588855,
-0.01752561517059803,
-0.04079388082027435,
0.002859974279999733,
0.07278519868850708,
-0.0402541421353817,
-0.05269797146320343,
-0.0824618712067604,
0.051303986459970474,
-0.017631880939006805,
0.025209663435816765,
0.08867952227592468,
0.027394916862249374,
-0.020787060260772705,
0.06158440187573433,
-0.02631407417356968,
0.007940016686916351,
-0.006840837653726339,
-0.042110055685043335,
-0.026874905452132225,
-0.037302665412425995,
-0.02133152261376381,
-0.013743141666054726,
-0.019665101543068886,
-0.04776545986533165,
-0.03336898609995842,
-0.13998617231845856,
-0.01629614643752575,
0.035674307495355606,
0.028177401050925255,
-0.005275697447359562,
-0.058726899325847626,
-0.055694762617349625,
0.0355818048119545,
-0.013905774801969528,
0.011017009615898132,
-0.038368355482816696,
-0.0275494996458292,
-0.02901562489569187,
-0.04739600419998169,
-0.06687067449092865,
0.003920246381312609,
0.034064844250679016,
-0.016307862475514412,
-0.019958550110459328,
-0.050813060253858566,
-0.016976427286863327,
0.03184790164232254,
0.10303375124931335,
-0.007118229754269123,
-0.03129470348358154,
-0.0017182260053232312,
0.050210338085889816,
-0.03146883472800255,
0.017812807112932205,
-0.04452623054385185,
-0.005108230281621218,
0.0221424400806427,
0.02770223654806614,
0.06000175699591637,
0.0428524874150753,
0.052565354853868484,
-0.02408011443912983,
-0.016935227438807487,
0.10273916274309158,
0.014550049789249897,
0.015597689896821976,
-0.0020406574476510286,
-0.008507590740919113,
-0.013141332194209099,
0.08231393992900848,
0.04946568235754967,
-0.02808246575295925,
-0.005508008413016796,
0.09706172347068787,
-0.03517268970608711,
-5.8261566502522445e-33,
-0.049282170832157135,
-0.0328146293759346,
0.061829231679439545,
0.025742992758750916,
-0.007637896109372377,
0.009113013744354248,
-0.06015276908874512,
-0.05376183241605759,
-0.0382235050201416,
-0.04779549688100815,
-0.028780251741409302,
0.05660353600978851,
-0.00018334055494051427,
-0.0067235673777759075,
-0.008403134532272816,
0.00609735120087862,
-0.010415591299533844,
0.008539695292711258,
-0.03197096660733223,
-0.03135019168257713,
-0.028730986639857292,
-0.027497464790940285,
0.005033542867749929,
0.04103851690888405,
0.08952923864126205,
0.018760288134217262,
0.026246342808008194,
-0.009261555969715118,
-0.02667205035686493,
-0.08997514843940735,
0.037921082228422165,
0.0507357232272625,
0.007149931509047747,
-0.020005695521831512,
0.03977862000465393,
0.04433119297027588,
-0.04795408621430397,
0.09968835115432739,
0.03346855565905571,
-0.03503745421767235,
0.031272608786821365,
-0.049826160073280334,
-0.05201840400695801,
0.03022485040128231,
0.03485585376620293,
0.08434702455997467,
-0.012354795821011066,
-0.02071262151002884,
-0.05997786670923233,
0.06078289449214935,
0.007002994883805513,
0.04642309620976448,
0.04498220607638359,
0.03758249431848526,
0.0008098619873635471,
0.053183309733867645,
0.032364338636398315,
-0.02473440021276474,
0.0439898855984211,
-0.09930005669593811,
0.00008393348980462179,
-0.09041058272123337,
-0.09335409104824066,
0.1397930383682251,
-0.0785493552684784,
-0.04084164649248123,
-0.03460804745554924,
0.08979067951440811,
-0.04346219450235367,
-0.02583879418671131,
-0.0655054822564125,
-0.005628951359540224,
0.02953353337943554,
-0.0485086627304554,
-0.013482848182320595,
-0.026193493977189064,
0.08093594759702682,
-0.07768288254737854,
-0.030599787831306458,
0.03727865591645241,
0.026716986671090126,
0.03406447917222977,
0.039405882358551025,
-0.09322074800729752,
-0.010614588856697083,
-0.0004173554480075836,
-0.039336223155260086,
0.0582503117620945,
0.02919786050915718,
0.10311181098222733,
-0.062528096139431,
0.11457982659339905,
-0.0508502796292305,
-0.043050166219472885,
0.030329925939440727,
-5.16274454298582e-8,
0.016252631321549416,
-0.022656923159956932,
-0.09592795372009277,
-0.014211462810635567,
-0.07507474720478058,
0.02412722073495388,
-0.02764084003865719,
-0.028959911316633224,
-0.06388768553733826,
0.0662260577082634,
0.07408168911933899,
0.06739436835050583,
0.0008112054783850908,
0.015803411602973938,
-0.07208207249641418,
0.031110944226384163,
0.07792700827121735,
-0.02275725081562996,
0.06219295412302017,
-0.020771514624357224,
-0.04988177493214607,
-0.040559593588113785,
0.06490892916917801,
0.10207214206457138,
-0.07574055343866348,
0.005226072855293751,
-0.04253796115517616,
-0.015734838321805,
-0.023039743304252625,
0.027675112709403038,
-0.09108970314264297,
-0.045183852314949036,
0.00804619025439024,
0.014019655995070934,
-0.051684632897377014,
0.03762967884540558,
-0.08283065259456635,
-0.053163766860961914,
-0.01681957021355629,
-0.03702494874596596,
0.07886019349098206,
0.0365670807659626,
-0.06253508478403091,
-0.04140771925449371,
-0.08469955623149872,
0.02486126497387886,
-0.049029044806957245,
0.024993328377604485,
0.07431693375110626,
0.027284448966383934,
-0.01348415482789278,
-0.07584618777036667,
-0.0261355172842741,
-0.013483894988894463,
0.029048122465610504,
0.024136368185281754,
0.00974337849766016,
-0.09010449796915054,
-0.013908428139984608,
-0.02503849007189274,
-0.0466703362762928,
0.01927732303738594,
0.05175847187638283,
-0.003342600539326668
] | -0.029408 |
browser machine so the Gateway can proxy browser actions. ### Sandboxed sessions If the agent session is sandboxed, the `browser` tool may default to `target="sandbox"` (sandbox browser). Chrome extension relay takeover requires host browser control, so either: - run the session unsandboxed, or - set `agents.defaults.sandbox.browser.allowHostControl: true` and use `target="host"` when calling the tool. ### Setup 1. Load the extension (dev/unpacked): ```bash openclaw browser extension install ``` - Chrome → `chrome://extensions` → enable “Developer mode” - “Load unpacked” → select the directory printed by `openclaw browser extension path` - Pin the extension, then click it on the tab you want to control (badge shows `ON`). 2. Use it: - CLI: `openclaw browser --browser-profile chrome tabs` - Agent tool: `browser` with `profile="chrome"` Optional: if you want a different name or relay port, create your own profile: ```bash openclaw browser create-profile \ --name my-chrome \ --driver extension \ --cdp-url http://127.0.0.1:18792 \ --color "#00AA00" ``` Notes: - This mode relies on Playwright-on-CDP for most operations (screenshots/snapshots/actions). - Detach by clicking the extension icon again. ## Isolation guarantees - \*\*Dedicated user data dir\*\*: never touches your personal browser profile. - \*\*Dedicated ports\*\*: avoids `9222` to prevent collisions with dev workflows. - \*\*Deterministic tab control\*\*: target tabs by `targetId`, not “last tab”. ## Browser selection When launching locally, OpenClaw picks the first available: 1. Chrome 2. Brave 3. Edge 4. Chromium 5. Chrome Canary You can override with `browser.executablePath`. Platforms: - macOS: checks `/Applications` and `~/Applications`. - Linux: looks for `google-chrome`, `brave`, `microsoft-edge`, `chromium`, etc. - Windows: checks common install locations. ## Control API (optional) For local integrations only, the Gateway exposes a small loopback HTTP API: - Status/start/stop: `GET /`, `POST /start`, `POST /stop` - Tabs: `GET /tabs`, `POST /tabs/open`, `POST /tabs/focus`, `DELETE /tabs/:targetId` - Snapshot/screenshot: `GET /snapshot`, `POST /screenshot` - Actions: `POST /navigate`, `POST /act` - Hooks: `POST /hooks/file-chooser`, `POST /hooks/dialog` - Downloads: `POST /download`, `POST /wait/download` - Debugging: `GET /console`, `POST /pdf` - Debugging: `GET /errors`, `GET /requests`, `POST /trace/start`, `POST /trace/stop`, `POST /highlight` - Network: `POST /response/body` - State: `GET /cookies`, `POST /cookies/set`, `POST /cookies/clear` - State: `GET /storage/:kind`, `POST /storage/:kind/set`, `POST /storage/:kind/clear` - Settings: `POST /set/offline`, `POST /set/headers`, `POST /set/credentials`, `POST /set/geolocation`, `POST /set/media`, `POST /set/timezone`, `POST /set/locale`, `POST /set/device` All endpoints accept `?profile=`. ### Playwright requirement Some features (navigate/act/AI snapshot/role snapshot, element screenshots, PDF) require Playwright. If Playwright isn’t installed, those endpoints return a clear 501 error. ARIA snapshots and basic screenshots still work for openclaw-managed Chrome. For the Chrome extension relay driver, ARIA snapshots and screenshots require Playwright. If you see `Playwright is not available in this gateway build`, install the full Playwright package (not `playwright-core`) and restart the gateway, or reinstall OpenClaw with browser support. #### Docker Playwright install If your Gateway runs in Docker, avoid `npx playwright` (npm override conflicts). Use the bundled CLI instead: ```bash docker compose run --rm openclaw-cli \ node /app/node\_modules/playwright-core/cli.js install chromium ``` To persist browser downloads, set `PLAYWRIGHT\_BROWSERS\_PATH` (for example, `/home/node/.cache/ms-playwright`) and make sure `/home/node` is persisted via `OPENCLAW\_HOME\_VOLUME` or a bind mount. See [Docker](/install/docker). ## How it works (internal) High-level flow: - A small \*\*control server\*\* accepts HTTP requests. - It connects to Chromium-based browsers (Chrome/Brave/Edge/Chromium) via \*\*CDP\*\*. - For advanced actions (click/type/snapshot/PDF), it uses \*\*Playwright\*\* on top of CDP. - When Playwright is missing, only non-Playwright operations are available. This design keeps the agent on a stable, deterministic interface while letting you swap local/remote browsers and profiles. ## CLI quick reference All commands accept `--browser-profile ` to target a specific profile. All commands also accept `--json` for machine-readable output (stable payloads). Basics: - `openclaw browser status` - `openclaw browser | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser.md | main | opebclaw | [
-0.01831316575407982,
-0.04288468882441521,
-0.01928507164120674,
0.020464271306991577,
0.023347562178969383,
-0.03162398561835289,
-0.03500952944159508,
-0.020535610616207123,
-0.02952602319419384,
-0.07059168815612793,
0.009563282132148743,
-0.013073406182229519,
0.04958069697022438,
0.003520167199894786,
0.11806575953960419,
0.13078990578651428,
0.07982034981250763,
-0.047593820840120316,
0.05571231245994568,
-0.04100731015205383,
0.017744585871696472,
-0.06181621178984642,
-0.02754683792591095,
-0.040643367916345596,
-0.12448461353778839,
-0.07987237721681595,
-0.07616619020700455,
-0.047646116465330124,
-0.019486920908093452,
-0.020460911095142365,
0.051652438938617706,
-0.04741585999727249,
-0.1246829479932785,
0.009878987446427345,
-0.004748656880110502,
-0.018117394298315048,
-0.05062057077884674,
0.01829921081662178,
-0.04742199927568436,
0.03323114290833473,
0.1249183863401413,
-0.0009340716642327607,
0.005462677218019962,
-0.07051432877779007,
-0.07287433743476868,
-0.0630994588136673,
0.018183765932917595,
-0.005040614400058985,
0.006701958831399679,
-0.0052851042710244656,
0.004147775936871767,
-0.02617604471743107,
0.011864636093378067,
0.01021568663418293,
-0.0030419686809182167,
0.05522088333964348,
-0.032555848360061646,
-0.0565645769238472,
0.08725550770759583,
0.015846021473407745,
-0.033777765929698944,
0.012395615689456463,
0.016293568536639214,
0.003571106819435954,
-0.12796692550182343,
0.007756514940410852,
-0.023307733237743378,
-0.028094584122300148,
-0.008533271960914135,
0.008896556682884693,
-0.010881949216127396,
0.019657379016280174,
-0.013188991695642471,
-0.016986466944217682,
0.011813133023679256,
-0.07014819234609604,
-0.04410726577043533,
0.05682867765426636,
-0.02157514914870262,
-0.055594999343156815,
-0.0005641648313030601,
-0.06858239322900772,
-0.06347573548555374,
0.08544899523258209,
0.026730425655841827,
0.10070127248764038,
0.01684013195335865,
0.009643295779824257,
0.053433600813150406,
0.02724853903055191,
-0.04692598059773445,
-0.09289742261171341,
-0.023031190037727356,
0.006258192006498575,
0.028853075578808784,
-0.039741192013025284,
-0.004121985286474228,
0.023478873074054718,
-0.05361351743340492,
0.055604998022317886,
0.03418494015932083,
0.016328567638993263,
-0.004962952807545662,
-0.012642232701182365,
0.012590676546096802,
0.016812993213534355,
0.008004722185432911,
0.09942293912172318,
0.08234153687953949,
0.03349469602108002,
0.00020649847283493727,
-0.020894061774015427,
0.07733745872974396,
-0.05799771472811699,
-0.030305661261081696,
0.07466588169336319,
0.03637025132775307,
0.038995493203401566,
0.07727986574172974,
0.04308399558067322,
0.10472678393125534,
0.017826421186327934,
-0.027120444923639297,
0.02828861027956009,
0.09715043008327484,
0.04696943238377571,
0.02811424806714058,
2.7734902076758988e-33,
0.0778210312128067,
-0.06454344093799591,
-0.06869909912347794,
0.02638253942131996,
0.1152331531047821,
0.03564048185944557,
0.09207835048437119,
-0.008998527191579342,
-0.03419400006532669,
0.04247928410768509,
0.026641709730029106,
0.03580644354224205,
-0.03782615438103676,
-0.03541376814246178,
-0.016720730811357498,
0.05296075716614723,
-0.06089641898870468,
0.004973434377461672,
0.07953839004039764,
-0.07544796913862228,
-0.035018835216760635,
-0.0061698188073933125,
-0.03316614031791687,
0.014247077517211437,
-0.034733448177576065,
-0.029362700879573822,
-0.09237420558929443,
-0.029020629823207855,
-0.02266213856637478,
0.058245882391929626,
0.057653650641441345,
-0.0023671176750212908,
-0.04377256706357002,
0.0608961321413517,
-0.07094552367925644,
0.015244795009493828,
-0.06064480543136597,
-0.048974018543958664,
-0.004873678088188171,
0.030158547684550285,
-0.0066424268297851086,
-0.061506278812885284,
-0.011451778933405876,
-0.06524123251438141,
-0.029298536479473114,
-0.13577008247375488,
-0.022618552669882774,
0.02689550444483757,
0.09734087437391281,
-0.007363266311585903,
0.012463260442018509,
-0.08381744474172592,
0.054918136447668076,
-0.026297064498066902,
0.01960378885269165,
-0.0438169427216053,
-0.09771965444087982,
0.06040901318192482,
-0.01842520385980606,
-0.0192723385989666,
-0.0029857938643544912,
-0.0030700694769620895,
-0.07521281391382217,
0.07027729600667953,
-0.011261464096605778,
-0.023958152160048485,
0.03212212771177292,
0.1005687266588211,
-0.07809480279684067,
-0.04632739722728729,
-0.06336989998817444,
0.01697106659412384,
-0.03974706307053566,
0.046587370336055756,
-0.06742609292268753,
-0.06504842638969421,
0.024088973179459572,
0.02176109328866005,
0.06755796819925308,
0.02408539317548275,
0.05851500853896141,
-0.027236243709921837,
0.03882565349340439,
0.007962924428284168,
-0.009856305085122585,
-0.013010318391025066,
0.05165635049343109,
-0.02905171923339367,
-0.0068476214073598385,
0.008946120738983154,
-0.03615909442305565,
0.06024007499217987,
0.002274823607876897,
0.08592603355646133,
-0.029857642948627472,
-4.4482197643572965e-33,
-0.0852712020277977,
0.02527308277785778,
-0.03623470664024353,
0.04917206987738609,
-0.04386826604604721,
0.04150896519422531,
0.0727129876613617,
-0.0688023567199707,
-0.0035897069610655308,
-0.002164439531043172,
-0.04108879342675209,
0.07855485379695892,
0.040920909494161606,
-0.06316851079463959,
0.0034345448948442936,
-0.036554139107465744,
-0.05521034821867943,
-0.0065970770083367825,
-0.03439786285161972,
-0.05688469111919403,
-0.05780862644314766,
0.04304826632142067,
0.02494540996849537,
0.013518879190087318,
0.056476790457963943,
-0.014887017197906971,
0.045540954917669296,
0.049475736916065216,
0.010119510814547539,
-0.01653817854821682,
-0.002696799114346504,
0.028667572885751724,
-0.024095619097352028,
0.028486218303442,
0.043874386698007584,
0.06189897283911705,
0.002308211289346218,
0.0935952439904213,
0.05057140812277794,
-0.0005011053872294724,
0.0034179207868874073,
-0.06061587482690811,
-0.023003604263067245,
0.05513191968202591,
0.010340669192373753,
0.10558061301708221,
-0.011515351943671703,
-0.03959307074546814,
-0.0007602312252856791,
0.07285482436418533,
-0.04029035568237305,
-0.007289300672709942,
0.0836268737912178,
0.014724033884704113,
0.0014938514214009047,
0.04586489126086235,
0.03482089191675186,
-0.011670367792248726,
0.018352705985307693,
-0.06773817539215088,
0.0023502155672758818,
-0.06755905598402023,
-0.03573374077677727,
0.06682843714952469,
-0.05725444108247757,
-0.01437289360910654,
-0.04327363893389702,
0.10589411854743958,
-0.01138931792229414,
-0.0193087887018919,
-0.07868620753288269,
-0.001645769109018147,
0.02032654732465744,
-0.027514196932315826,
0.019852032884955406,
-0.05354900658130646,
0.11934681981801987,
-0.04864636808633804,
-0.07615946233272552,
0.02160603553056717,
0.006410898175090551,
0.0017038318328559399,
0.02098092995584011,
-0.18921199440956116,
-0.021652840077877045,
0.0028253337368369102,
-0.01647297665476799,
0.11828649789094925,
0.0810188353061676,
0.02017698995769024,
-0.036477480083703995,
0.04232025519013405,
-0.048839569091796875,
-0.09482468664646149,
-0.023770662024617195,
-5.061778196591149e-8,
0.04047699272632599,
0.04173833504319191,
-0.05184275656938553,
0.017582807689905167,
0.00004216628076392226,
0.045305006206035614,
-0.013105231337249279,
-0.005906019825488329,
-0.05956357344985008,
0.0014817886985838413,
0.029941299930214882,
0.03949848189949989,
0.020429952070116997,
0.0165330171585083,
-0.028637826442718506,
0.02406805381178856,
-0.0269105713814497,
-0.017241064459085464,
0.02236221916973591,
-0.03732787445187569,
-0.05140753090381622,
-0.06634026765823364,
0.08847805112600327,
0.06719229370355606,
-0.05339754745364189,
-0.010720468126237392,
-0.07251636683940887,
-0.03197018802165985,
-0.042083989828825,
0.11136101186275482,
-0.107852041721344,
-0.027523882687091827,
-0.03875948116183281,
-0.028111271560192108,
-0.07284880429506302,
0.09856820851564407,
-0.05876130983233452,
-0.045652586966753006,
-0.021182779222726822,
-0.009183897636830807,
0.053732018917798996,
0.009322136640548706,
-0.02836218662559986,
-0.06171330809593201,
-0.0346035398542881,
0.022894740104675293,
-0.038798630237579346,
0.0211211945861578,
0.08238620311021805,
0.01960032619535923,
0.026719417423009872,
-0.020579921081662178,
0.09651059657335281,
0.03615148365497589,
0.02312026359140873,
0.06561155617237091,
0.03236297518014908,
-0.14680320024490356,
0.000524028844665736,
-0.021337788552045822,
-0.01727076806128025,
0.09047043323516846,
0.055488307029008865,
-0.004685299005359411
] | -0.00173 |
This design keeps the agent on a stable, deterministic interface while letting you swap local/remote browsers and profiles. ## CLI quick reference All commands accept `--browser-profile ` to target a specific profile. All commands also accept `--json` for machine-readable output (stable payloads). Basics: - `openclaw browser status` - `openclaw browser start` - `openclaw browser stop` - `openclaw browser tabs` - `openclaw browser tab` - `openclaw browser tab new` - `openclaw browser tab select 2` - `openclaw browser tab close 2` - `openclaw browser open https://example.com` - `openclaw browser focus abcd1234` - `openclaw browser close abcd1234` Inspection: - `openclaw browser screenshot` - `openclaw browser screenshot --full-page` - `openclaw browser screenshot --ref 12` - `openclaw browser screenshot --ref e12` - `openclaw browser snapshot` - `openclaw browser snapshot --format aria --limit 200` - `openclaw browser snapshot --interactive --compact --depth 6` - `openclaw browser snapshot --efficient` - `openclaw browser snapshot --labels` - `openclaw browser snapshot --selector "#main" --interactive` - `openclaw browser snapshot --frame "iframe#main" --interactive` - `openclaw browser console --level error` - `openclaw browser errors --clear` - `openclaw browser requests --filter api --clear` - `openclaw browser pdf` - `openclaw browser responsebody "\*\*/api" --max-chars 5000` Actions: - `openclaw browser navigate https://example.com` - `openclaw browser resize 1280 720` - `openclaw browser click 12 --double` - `openclaw browser click e12 --double` - `openclaw browser type 23 "hello" --submit` - `openclaw browser press Enter` - `openclaw browser hover 44` - `openclaw browser scrollintoview e12` - `openclaw browser drag 10 11` - `openclaw browser select 9 OptionA OptionB` - `openclaw browser download e12 /tmp/report.pdf` - `openclaw browser waitfordownload /tmp/report.pdf` - `openclaw browser upload /tmp/file.pdf` - `openclaw browser fill --fields '[{"ref":"1","type":"text","value":"Ada"}]'` - `openclaw browser dialog --accept` - `openclaw browser wait --text "Done"` - `openclaw browser wait "#main" --url "\*\*/dash" --load networkidle --fn "window.ready===true"` - `openclaw browser evaluate --fn '(el) => el.textContent' --ref 7` - `openclaw browser highlight e12` - `openclaw browser trace start` - `openclaw browser trace stop` State: - `openclaw browser cookies` - `openclaw browser cookies set session abc123 --url "https://example.com"` - `openclaw browser cookies clear` - `openclaw browser storage local get` - `openclaw browser storage local set theme dark` - `openclaw browser storage session clear` - `openclaw browser set offline on` - `openclaw browser set headers --json '{"X-Debug":"1"}'` - `openclaw browser set credentials user pass` - `openclaw browser set credentials --clear` - `openclaw browser set geo 37.7749 -122.4194 --origin "https://example.com"` - `openclaw browser set geo --clear` - `openclaw browser set media dark` - `openclaw browser set timezone America/New\_York` - `openclaw browser set locale en-US` - `openclaw browser set device "iPhone 14"` Notes: - `upload` and `dialog` are \*\*arming\*\* calls; run them before the click/press that triggers the chooser/dialog. - `upload` can also set file inputs directly via `--input-ref` or `--element`. - `snapshot`: - `--format ai` (default when Playwright is installed): returns an AI snapshot with numeric refs (`aria-ref=""`). - `--format aria`: returns the accessibility tree (no refs; inspection only). - `--efficient` (or `--mode efficient`): compact role snapshot preset (interactive + compact + depth + lower maxChars). - Config default (tool/CLI only): set `browser.snapshotDefaults.mode: "efficient"` to use efficient snapshots when the caller does not pass a mode (see [Gateway configuration](/gateway/configuration#browser-openclaw-managed-browser)). - Role snapshot options (`--interactive`, `--compact`, `--depth`, `--selector`) force a role-based snapshot with refs like `ref=e12`. - `--frame ""` scopes role snapshots to an iframe (pairs with role refs like `e12`). - `--interactive` outputs a flat, easy-to-pick list of interactive elements (best for driving actions). - `--labels` adds a viewport-only screenshot with overlayed ref labels (prints `MEDIA:<path>`). - `click`/`type`/etc require a `ref` from `snapshot` (either numeric `12` or role ref `e12`). CSS selectors are intentionally not supported for actions. | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser.md | main | opebclaw | [
-0.04929567500948906,
-0.0010533645981922746,
-0.04436863958835602,
-0.017424268648028374,
0.007781685795634985,
-0.07921025902032852,
0.01885826140642166,
-0.02154179848730564,
-0.07121118158102036,
-0.07322168350219727,
0.027095060795545578,
-0.024943051859736443,
0.05382084473967552,
0.007621063385158777,
0.07487107068300247,
0.08450739830732346,
0.05631187558174133,
-0.022800184786319733,
0.023231107741594315,
0.009718832559883595,
-0.023973746225237846,
0.013271740637719631,
-0.003098629415035248,
-0.08964016288518906,
-0.1696656495332718,
-0.016521120443940163,
-0.04700522869825363,
-0.030740849673748016,
0.02631782367825508,
-0.09614469856023788,
0.06865029782056808,
0.07010754197835922,
-0.05812728404998779,
0.013173605315387249,
0.006303615402430296,
0.02358752116560936,
-0.018298719078302383,
-0.02741163782775402,
-0.03159191831946373,
0.033795129507780075,
0.023113233968615532,
0.00023971758491825312,
-0.09219413995742798,
-0.026353590190410614,
-0.08702130615711212,
-0.1267606019973755,
-0.06758350133895874,
-0.09350745379924774,
-0.014980650506913662,
0.012211600318551064,
-0.09274955093860626,
-0.04135296493768692,
-0.05202881991863251,
-0.05596201494336128,
0.01382027193903923,
0.0066751777194440365,
-0.02996828779578209,
-0.007294561248272657,
0.04913530498743057,
0.020484741777181625,
0.017025789245963097,
0.03328264504671097,
-0.03341388329863548,
0.07835464924573898,
-0.0185123011469841,
0.0317717082798481,
-0.04443720728158951,
-0.09033245593309402,
-0.017504006624221802,
-0.04829913750290871,
-0.06389037519693375,
-0.02471276931464672,
-0.06905324757099152,
-0.04866500198841095,
-0.005562142934650183,
-0.10351260751485825,
0.013965575955808163,
0.03093183971941471,
-0.0710190013051033,
-0.07211606204509735,
-0.08640742301940918,
-0.09455742686986923,
-0.04623010382056236,
0.08822710067033768,
0.024397294968366623,
0.08150127530097961,
0.015403824858367443,
-0.05192772299051285,
0.049274977296590805,
0.03906795755028725,
0.001023376127704978,
-0.06193607673048973,
0.07108686864376068,
0.015371054410934448,
-0.01315612904727459,
0.0517389178276062,
0.030153362080454826,
0.012999676167964935,
-0.0413469597697258,
0.10065463185310364,
-0.023517021909356117,
-0.024427879601716995,
0.058396827429533005,
0.045239195227622986,
-0.037953369319438934,
0.02777561917901039,
0.014766773208975792,
0.05149676650762558,
-0.02413596771657467,
-0.021073879674077034,
0.014220158569514751,
-0.0032162375282496214,
0.003913808148354292,
-0.04924613609910011,
-0.03136003762483597,
0.018790345638990402,
0.010421250946819782,
0.06708170473575592,
0.1013338714838028,
0.06924786418676376,
0.12064416706562042,
0.055908169597387314,
-0.031384292989969254,
-0.008031359873712063,
0.09799375385046005,
0.028155308216810226,
0.04188070446252823,
6.503876530617311e-33,
0.10639336705207825,
-0.06769193708896637,
-0.06786378473043442,
0.0033649280667304993,
0.11209733039140701,
0.03004683554172516,
0.0472811795771122,
0.007106568664312363,
-0.07363399863243103,
0.0134073905646801,
0.12001041322946548,
0.06264841556549072,
-0.08129239082336426,
0.030666116625070572,
0.07897724211215973,
-0.008387885056436062,
0.012027454562485218,
0.06827953457832336,
0.07661689072847366,
-0.05879193916916847,
0.019675755873322487,
-0.007810431532561779,
-0.012313186191022396,
0.00937770213931799,
0.024953659623861313,
0.03650464490056038,
-0.012726755812764168,
0.039930105209350586,
-0.019540559500455856,
0.04467794671654701,
0.052731506526470184,
0.028010906651616096,
-0.07056092470884323,
0.0446045845746994,
-0.05881884694099426,
0.03888707607984543,
-0.09544316679239273,
-0.03517152741551399,
-0.005456325598061085,
-0.017141954973340034,
-0.032974764704704285,
-0.015030219219624996,
-0.026548925787210464,
-0.06337916105985641,
-0.018602170050144196,
-0.1531858891248703,
-0.035455960780382156,
0.024354076012969017,
0.016002511605620384,
0.019728034734725952,
-0.018473627045750618,
0.00043780842679552734,
0.022404449060559273,
0.010892214253544807,
-0.0446283221244812,
-0.037019647657871246,
-0.01748051308095455,
0.030952468514442444,
-0.00856262817978859,
0.05262139439582825,
0.00669268611818552,
0.07008743286132812,
-0.009409958496689796,
0.02814917080104351,
-0.010463083162903786,
-0.04119047895073891,
0.04970459267497063,
-0.0017887193243950605,
0.024559665471315384,
0.0005881356773898005,
-0.07007242739200592,
0.08097580820322037,
0.045737992972135544,
0.04996955767273903,
-0.01775529235601425,
-0.09947409480810165,
-0.04676736518740654,
-0.011896658688783646,
0.051171425729990005,
0.013566942885518074,
0.07533714175224304,
0.0791817456483841,
-0.05281936749815941,
0.027348442003130913,
0.00601781252771616,
-0.027699239552021027,
0.012037022970616817,
-0.03546138107776642,
-0.027901433408260345,
0.05967340245842934,
-0.028694109991192818,
-0.0115172378718853,
-0.005223635584115982,
-0.04222074896097183,
-0.035398535430431366,
-8.549131641240486e-33,
-0.01573198474943638,
-0.07393179833889008,
0.025499997660517693,
0.0298928190022707,
-0.07305343449115753,
-0.0005126926698721945,
0.06908006221055984,
-0.030458498746156693,
-0.04873227700591087,
0.021475212648510933,
-0.022267164662480354,
0.1106395348906517,
0.0018802298000082374,
-0.0399683378636837,
0.004803183488547802,
0.03313600644469261,
-0.07558663189411163,
-0.10120132565498352,
-0.03046456165611744,
-0.05367810279130936,
0.03061455860733986,
0.07890688627958298,
-0.024147866293787956,
0.08868653327226639,
0.03365898132324219,
-0.021106332540512085,
-0.012975800782442093,
0.01755254715681076,
0.02547740563750267,
-0.023753050714731216,
0.013769019395112991,
-0.015010630711913109,
-0.07407417893409729,
-0.002026454545557499,
0.01862156018614769,
0.002301999134942889,
-0.0683799460530281,
0.12017298489809036,
-0.006383782718330622,
0.03605419397354126,
0.03310646861791611,
-0.06314212083816528,
0.000205233198357746,
0.014881430193781853,
0.017885766923427582,
0.05688723549246788,
-0.012562518008053303,
-0.055592846125364304,
-0.06400243192911148,
-0.011212099343538284,
-0.007731425575911999,
0.05490296334028244,
0.047138359397649765,
-0.04828976094722748,
0.01283818855881691,
0.009011966176331043,
0.0012735259952023625,
-0.03892626613378525,
-0.023503582924604416,
-0.07768096774816513,
0.07352257519960403,
-0.0390944629907608,
-0.007804894354194403,
0.0979514867067337,
-0.026305219158530235,
-0.05275547876954079,
-0.07928995043039322,
0.004388739820569754,
-0.050832878798246384,
-0.07564423233270645,
0.00641469145193696,
-0.07782500982284546,
0.005355737637728453,
-0.09093727171421051,
0.013294387608766556,
-0.04957650601863861,
0.08284324407577515,
-0.08306751400232315,
0.0069926222786307335,
0.08354666829109192,
-0.03957892954349518,
0.07465860247612,
-0.008197573013603687,
-0.04800689220428467,
-0.048288460820913315,
-0.030476855114102364,
-0.04466550424695015,
0.09165296703577042,
0.051800984889268875,
-0.0033054128289222717,
-0.015580031089484692,
0.07244103401899338,
-0.028872894123196602,
-0.022496161982417107,
-0.03556329011917114,
-5.348862330833981e-8,
-0.05328334867954254,
-0.05550181120634079,
-0.06253842264413834,
0.09525420516729355,
-0.008263658732175827,
-0.033437490463256836,
-0.04211319610476494,
-0.015147778205573559,
-0.031298939138650894,
-0.039592862129211426,
0.10765422135591507,
0.06572221219539642,
-0.04413997009396553,
0.0582156628370285,
0.03525905683636665,
0.04895666614174843,
0.024499407038092613,
0.007552760187536478,
0.011382470838725567,
-0.0042609102092683315,
-0.007324839476495981,
-0.012836228124797344,
0.042754583060741425,
0.09555136412382126,
-0.051536962389945984,
-0.018317151814699173,
-0.03308132663369179,
0.0025237028021365404,
-0.026237398386001587,
0.08601027727127075,
-0.002476794645190239,
-0.01694893278181553,
0.017037076875567436,
-0.010836897417902946,
0.014658329077064991,
-0.003244484309107065,
-0.0827215239405632,
-0.025377394631505013,
0.01332696434110403,
-0.016656864434480667,
0.09707234799861908,
-0.04474372789263725,
-0.039880529046058655,
0.02249181643128395,
-0.0339212529361248,
0.025490209460258484,
-0.028391938656568527,
-0.031168872490525246,
0.03154108673334122,
-0.06821723282337189,
-0.03724980354309082,
-0.04393598437309265,
0.05592845380306244,
0.06742057204246521,
0.05002189427614212,
0.08126763999462128,
0.09627484530210495,
-0.10813883692026138,
0.08946356177330017,
0.024213207885622978,
0.00005821757440571673,
0.034574829041957855,
0.06893598288297653,
0.009604183956980705
] | 0.054941 |
like `e12`). - `--interactive` outputs a flat, easy-to-pick list of interactive elements (best for driving actions). - `--labels` adds a viewport-only screenshot with overlayed ref labels (prints `MEDIA:<path>`). - `click`/`type`/etc require a `ref` from `snapshot` (either numeric `12` or role ref `e12`). CSS selectors are intentionally not supported for actions. ## Snapshots and refs OpenClaw supports two “snapshot” styles: - \*\*AI snapshot (numeric refs)\*\*: `openclaw browser snapshot` (default; `--format ai`) - Output: a text snapshot that includes numeric refs. - Actions: `openclaw browser click 12`, `openclaw browser type 23 "hello"`. - Internally, the ref is resolved via Playwright’s `aria-ref`. - \*\*Role snapshot (role refs like `e12`)\*\*: `openclaw browser snapshot --interactive` (or `--compact`, `--depth`, `--selector`, `--frame`) - Output: a role-based list/tree with `[ref=e12]` (and optional `[nth=1]`). - Actions: `openclaw browser click e12`, `openclaw browser highlight e12`. - Internally, the ref is resolved via `getByRole(...)` (plus `nth()` for duplicates). - Add `--labels` to include a viewport screenshot with overlayed `e12` labels. Ref behavior: - Refs are \*\*not stable across navigations\*\*; if something fails, re-run `snapshot` and use a fresh ref. - If the role snapshot was taken with `--frame`, role refs are scoped to that iframe until the next role snapshot. ## Wait power-ups You can wait on more than just time/text: - Wait for URL (globs supported by Playwright): - `openclaw browser wait --url "\*\*/dash"` - Wait for load state: - `openclaw browser wait --load networkidle` - Wait for a JS predicate: - `openclaw browser wait --fn "window.ready===true"` - Wait for a selector to become visible: - `openclaw browser wait "#main"` These can be combined: ```bash openclaw browser wait "#main" \ --url "\*\*/dash" \ --load networkidle \ --fn "window.ready===true" \ --timeout-ms 15000 ``` ## Debug workflows When an action fails (e.g. “not visible”, “strict mode violation”, “covered”): 1. `openclaw browser snapshot --interactive` 2. Use `click <ref>` / `type <ref>` (prefer role refs in interactive mode) 3. If it still fails: `openclaw browser highlight <ref>` to see what Playwright is targeting 4. If the page behaves oddly: - `openclaw browser errors --clear` - `openclaw browser requests --filter api --clear` 5. For deep debugging: record a trace: - `openclaw browser trace start` - reproduce the issue - `openclaw browser trace stop` (prints `TRACE:<path>`) ## JSON output `--json` is for scripting and structured tooling. Examples: ```bash openclaw browser status --json openclaw browser snapshot --interactive --json openclaw browser requests --filter api --json openclaw browser cookies --json ``` Role snapshots in JSON include `refs` plus a small `stats` block (lines/chars/refs/interactive) so tools can reason about payload size and density. ## State and environment knobs These are useful for “make the site behave like X” workflows: - Cookies: `cookies`, `cookies set`, `cookies clear` - Storage: `storage local|session get|set|clear` - Offline: `set offline on|off` - Headers: `set headers --json '{"X-Debug":"1"}'` (or `--clear`) - HTTP basic auth: `set credentials user pass` (or `--clear`) - Geolocation: `set geo <lat> <lon> --origin "https://example.com"` (or `--clear`) - Media: `set media dark|light|no-preference|none` - Timezone / locale: `set timezone ...`, `set locale ...` - Device / viewport: - `set device "iPhone 14"` (Playwright device presets) - `set viewport 1280 720` ## Security & privacy - The openclaw browser profile may contain logged-in sessions; treat it as sensitive. - `browser act kind=evaluate` / `openclaw browser evaluate` and `wait --fn` execute arbitrary JavaScript in the page context. Prompt injection can steer this. Disable it with `browser.evaluateEnabled=false` if you do not need it. - For logins and anti-bot notes (X/Twitter, etc.), see [Browser login + X/Twitter posting](/tools/browser-login). - Keep the Gateway/node host private (loopback or tailnet-only). - Remote CDP endpoints are powerful; tunnel and protect them. ## | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser.md | main | opebclaw | [
-0.09195093810558319,
0.014111324213445187,
-0.042103737592697144,
0.02420179918408394,
0.07815776020288467,
0.0016087619587779045,
0.020098470151424408,
-0.018468797206878662,
0.0056290398351848125,
-0.05263177677989006,
-0.0018346688011661172,
-0.03946070745587349,
0.016644716262817383,
-0.014210687950253487,
0.07145185023546219,
0.03360819071531296,
0.002576446160674095,
-0.00925765186548233,
0.0007251602946780622,
0.0038122592959553003,
0.016477318480610847,
-0.056763552129268646,
0.06292221695184708,
-0.08521055430173874,
-0.0405307412147522,
-0.017087170854210854,
-0.06655709445476532,
0.033062614500522614,
0.01634404994547367,
-0.09813711047172546,
0.10058321803808212,
0.04526618495583534,
0.019066564738750458,
0.00032900364021770656,
-0.026866523548960686,
0.08977900445461273,
-0.0002260624460177496,
-0.018690668046474457,
-0.09482865035533905,
0.005365296266973019,
0.007185050752013922,
0.049135398119688034,
0.016889061778783798,
-0.029188543558120728,
-0.02636728808283806,
-0.07778574526309967,
-0.031197983771562576,
-0.08570157736539841,
-0.03763091564178467,
0.09121479094028473,
-0.14814791083335876,
-0.0760050117969513,
-0.04514693096280098,
-0.031732287257909775,
0.0676637515425682,
0.032851893454790115,
0.026723606511950493,
-0.05866852402687073,
0.05009221285581589,
-0.0008959887782111764,
0.0035406039096415043,
-0.029426928609609604,
-0.010048755444586277,
-0.005679422989487648,
-0.016526365652680397,
0.09587416052818298,
0.022611772641539574,
-0.06917664408683777,
-0.07999961078166962,
-0.04582614451646805,
-0.047751154750585556,
-0.0032543411944061518,
0.045297544449567795,
-0.04794668033719063,
-0.04732975363731384,
-0.06741974502801895,
0.014759758487343788,
0.051104411482810974,
-0.07511186599731445,
-0.024022936820983887,
-0.002793672261759639,
-0.08249187469482422,
-0.07508283853530884,
0.049992505460977554,
0.0314873568713665,
0.10694532841444016,
-0.011606701649725437,
-0.04844583198428154,
0.004276601132005453,
0.06046377867460251,
-0.012680872343480587,
-0.11056122928857803,
0.06172185763716698,
0.019513200968503952,
0.02038201317191124,
0.021441029384732246,
0.011982543393969536,
0.03936386480927467,
0.007915385998785496,
0.03272336721420288,
0.01161988452076912,
0.0321328230202198,
0.020982982590794563,
-0.07843221724033356,
-0.07188669592142105,
0.03897615522146225,
-0.01685573346912861,
0.049484651535749435,
-0.053921207785606384,
-0.011010007001459599,
0.03855936974287033,
-0.04254481568932533,
-0.042501356452703476,
-0.061190415173769,
0.03640638291835785,
-0.04450640827417374,
-0.05224119499325752,
-0.12113193422555923,
0.09956483542919159,
-0.011519275605678558,
0.10919464379549026,
0.14768235385417938,
-0.055845700204372406,
0.017368720844388008,
0.058468207716941833,
0.014195390045642853,
0.06970468163490295,
3.276002104037926e-33,
0.09335950762033463,
-0.039819326251745224,
-0.02411641739308834,
0.026308473199605942,
0.1357494294643402,
-0.006162894889712334,
-0.0020074290223419666,
0.013033761642873287,
-0.09689943492412567,
-0.01825891062617302,
0.06421048939228058,
0.060117121785879135,
-0.052100565284490585,
-0.012526937760412693,
0.008911742828786373,
0.029872817918658257,
-0.05392046272754669,
0.003763270564377308,
-0.002569789532572031,
-0.05578671395778656,
-0.05829455703496933,
0.015175990760326385,
-0.04509751871228218,
0.0008270714315585792,
-0.06607294082641602,
0.04867946729063988,
0.012625063769519329,
0.05822543427348137,
-0.03411814197897911,
0.0027668667025864124,
0.02220219559967518,
-0.026951748877763748,
-0.05194486305117607,
0.0288325734436512,
0.011041051708161831,
0.0029000062495470047,
-0.11879098415374756,
0.020327752456068993,
-0.004085681866854429,
0.02380027063190937,
-0.0493638701736927,
0.047735635191202164,
-0.05205292999744415,
0.005933508742600679,
-0.017140651121735573,
-0.1281924843788147,
-0.025138556957244873,
0.11081787198781967,
0.02752372995018959,
0.030255168676376343,
0.031370315700769424,
0.005384131334722042,
0.08584096282720566,
-0.08821690827608109,
-0.06582656502723694,
-0.0014636163832619786,
0.005605917889624834,
0.0314602330327034,
-0.026764051988720894,
0.018342239782214165,
0.027209509164094925,
0.03223534673452377,
0.01694241166114807,
0.0399339385330677,
-0.07310960441827774,
0.12238014489412308,
0.07542650401592255,
0.01822965033352375,
0.06395300477743149,
-0.005026655737310648,
-0.018197014927864075,
0.01692209392786026,
0.04515828937292099,
0.036992210894823074,
0.0013847341760993004,
-0.057199880480766296,
-0.07078924030065536,
-0.09158168733119965,
0.014051966369152069,
0.08472239226102829,
-0.04433499649167061,
0.00983189232647419,
-0.04719358682632446,
0.031747788190841675,
-0.0005035974318161607,
-0.09021350741386414,
-0.009387584403157234,
-0.05858682096004486,
0.028576964512467384,
0.0036515111569315195,
-0.06053256243467331,
-0.039075203239917755,
-0.04139406234025955,
-0.013307035900652409,
0.044877778738737106,
-5.308811668221771e-33,
0.05776764452457428,
0.02696523256599903,
-0.02004975825548172,
0.03366347402334213,
-0.07601319998502731,
0.03131227195262909,
0.09503472596406937,
0.025654077529907227,
0.028820481151342392,
-0.057432468980550766,
-0.030752096325159073,
0.0843440592288971,
0.014013946056365967,
-0.07661619782447815,
-0.01088936161249876,
-0.030659450218081474,
-0.08485386520624161,
-0.022068804129958153,
0.006522475741803646,
-0.02911500632762909,
0.046902697533369064,
-0.03808450698852539,
0.04634695127606392,
0.10828586667776108,
0.09410025179386139,
0.03220316767692566,
0.08577968180179596,
-0.02047945372760296,
0.07763949781656265,
-0.029843416064977646,
0.06507834792137146,
-0.027586771175265312,
0.002683874685317278,
0.01377867255359888,
-0.0032964798156172037,
-0.003095055464655161,
-0.018802903592586517,
-0.005014841444790363,
0.045808084309101105,
0.02211317978799343,
0.05105411633849144,
-0.05766528844833374,
-0.000906261382624507,
0.025598127394914627,
-0.026100022718310356,
0.10148825496435165,
-0.020845698192715645,
-0.003326857229694724,
-0.06764703243970871,
-0.014921247959136963,
0.01763712801039219,
0.0005612836102955043,
-0.03180542215704918,
0.009347747080028057,
0.05027775838971138,
-0.03777032718062401,
-0.02420899085700512,
-0.038562800735235214,
-0.001112161437049508,
-0.006005533505231142,
0.048474475741386414,
0.01506078615784645,
-0.08812044560909271,
-0.024446863681077957,
-0.03281836584210396,
-0.04248085245490074,
-0.09938368201255798,
-0.0703948438167572,
-0.11727890372276306,
-0.06478146463632584,
0.019005922600626945,
-0.0719028040766716,
0.02515946514904499,
-0.0924839973449707,
-0.06839688867330551,
-0.05387791991233826,
0.038091812282800674,
0.0337788462638855,
-0.015141415409743786,
0.03541788086295128,
0.015210111625492573,
0.023136913776397705,
0.038269467651844025,
0.009169261902570724,
-0.01638695038855076,
0.04850082844495773,
-0.050396546721458435,
0.07098608464002609,
0.05849863961338997,
-0.002110109431669116,
-0.06878187507390976,
0.11603901535272598,
0.037163130939006805,
0.049758899956941605,
-0.0226825512945652,
-5.493601307193785e-8,
-0.11058095842599869,
0.03514592722058296,
0.008452541194856167,
0.01307415496557951,
-0.07454106956720352,
-0.02973783202469349,
0.0003634423774201423,
0.03228895738720894,
-0.041780322790145874,
-0.0007881837082095444,
0.1213841512799263,
0.0009710929007269442,
-0.012285180389881134,
-0.04166613519191742,
-0.006494293920695782,
0.056251391768455505,
0.046948157250881195,
0.04258338361978531,
0.01335995551198721,
0.015349197201430798,
-0.0024443480651825666,
-0.05589998885989189,
0.04261687397956848,
0.010418185964226723,
-0.08855961263179779,
-0.011380977928638458,
-0.07221810519695282,
-0.019859086722135544,
0.04441368579864502,
0.01376170665025711,
-0.01571764051914215,
-0.009606285020709038,
0.042548637837171555,
-0.04243989288806915,
-0.062374744564294815,
-0.032124776393175125,
0.014477262273430824,
-0.010252927429974079,
0.04068775102496147,
0.0034277853555977345,
-0.01370803453028202,
-0.04838774353265762,
-0.08418885618448257,
-0.02102844975888729,
-0.05789817497134209,
0.019131945446133614,
-0.009924894198775291,
-0.012750271707773209,
-0.03332141414284706,
0.03687131032347679,
-0.00031010727980174124,
-0.0660959929227829,
-0.00022489955881610513,
0.08264794945716858,
0.04583492875099182,
0.06463609635829926,
0.0482962466776371,
-0.019016927108168602,
0.08683177083730698,
0.0898023396730423,
0.08394642174243927,
0.04498807713389397,
0.021014470607042313,
0.05437162145972252
] | 0.055713 |
context. Prompt injection can steer this. Disable it with `browser.evaluateEnabled=false` if you do not need it. - For logins and anti-bot notes (X/Twitter, etc.), see [Browser login + X/Twitter posting](/tools/browser-login). - Keep the Gateway/node host private (loopback or tailnet-only). - Remote CDP endpoints are powerful; tunnel and protect them. ## Troubleshooting For Linux-specific issues (especially snap Chromium), see [Browser troubleshooting](/tools/browser-linux-troubleshooting). ## Agent tools + how control works The agent gets \*\*one tool\*\* for browser automation: - `browser` — status/start/stop/tabs/open/focus/close/snapshot/screenshot/navigate/act How it maps: - `browser snapshot` returns a stable UI tree (AI or ARIA). - `browser act` uses the snapshot `ref` IDs to click/type/drag/select. - `browser screenshot` captures pixels (full page or element). - `browser` accepts: - `profile` to choose a named browser profile (openclaw, chrome, or remote CDP). - `target` (`sandbox` | `host` | `node`) to select where the browser lives. - In sandboxed sessions, `target: "host"` requires `agents.defaults.sandbox.browser.allowHostControl=true`. - If `target` is omitted: sandboxed sessions default to `sandbox`, non-sandbox sessions default to `host`. - If a browser-capable node is connected, the tool may auto-route to it unless you pin `target="host"` or `target="node"`. This keeps the agent deterministic and avoids brittle selectors. | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser.md | main | opebclaw | [
-0.014475380070507526,
0.02406209148466587,
-0.05001349747180939,
-0.015729229897260666,
0.05148753151297569,
-0.06670466810464859,
-0.0041822586208581924,
0.04634537175297737,
-0.01828131638467312,
-0.03779743239283562,
0.04401324689388275,
0.0031185843981802464,
0.06888416409492493,
-0.010241087526082993,
0.017989560961723328,
0.03048892505466938,
0.03548426181077957,
-0.04711347818374634,
0.10059512406587601,
0.023521527647972107,
-0.04897518828511238,
-0.0925777330994606,
0.02658126689493656,
0.040587473660707474,
-0.03658079728484154,
-0.009674294851720333,
-0.030395464971661568,
-0.08554519712924957,
0.014763779006898403,
-0.021585581824183464,
0.03436668962240219,
-0.00781274400651455,
-0.044173285365104675,
0.027756301686167717,
-0.029046213254332542,
0.04845922440290451,
-0.01577889174222946,
0.026730865240097046,
-0.026690715923905373,
-0.0008881776593625546,
0.006871800869703293,
-0.06477511674165726,
-0.05252528935670853,
0.01422059629112482,
-0.03512418270111084,
-0.04011770710349083,
-0.021063601598143578,
0.006899431813508272,
-0.004024992231279612,
0.04706939682364464,
-0.08278495073318481,
0.04490859434008598,
-0.003874605754390359,
0.02029811032116413,
-0.08952262252569199,
0.010366584174335003,
0.04849035292863846,
0.01052270457148552,
0.12299555540084839,
0.05428968742489815,
-0.06879829615354538,
0.014506988227367401,
0.04259422421455383,
0.052364617586135864,
0.0004765951889567077,
0.11828533560037613,
-0.03353251516819,
-0.04354492202401161,
0.04799973964691162,
-0.00585248414427042,
0.010446326807141304,
-0.00992454495280981,
-0.0391848050057888,
-0.05311791971325874,
-0.0074328272603452206,
-0.06400658190250397,
-0.06722790747880936,
0.004380786791443825,
-0.09528350085020065,
0.007957585155963898,
0.06573311239480972,
-0.02469945326447487,
-0.012231043539941311,
0.07065329700708389,
0.004950200207531452,
0.12177053093910217,
0.01751691848039627,
-0.009652849286794662,
0.03386611491441727,
0.03943967446684837,
-0.02242365851998329,
-0.08259768784046173,
0.02892272360622883,
0.02312900871038437,
0.06228754669427872,
0.04086334630846977,
-0.006642618216574192,
-0.04046985134482384,
-0.05208109691739082,
0.010507417842745781,
0.028098804876208305,
-0.04576485976576805,
-0.00997050292789936,
-0.06054838374257088,
0.02673693746328354,
0.03979397565126419,
0.03999548405408859,
-0.05984710156917572,
0.05017535388469696,
0.015789903700351715,
-0.01712273247539997,
0.010369659401476383,
-0.04839020594954491,
0.016712535172700882,
0.03235740587115288,
-0.016987958922982216,
0.09864512830972672,
0.07350918650627136,
0.050491493195295334,
0.018121831119060516,
0.13181735575199127,
0.03926161304116249,
-0.03290972486138344,
-0.04916078969836235,
0.16925035417079926,
-0.019799450412392616,
0.056067146360874176,
1.8059946231148225e-33,
0.08172886073589325,
0.006115608382970095,
-0.028465984389185905,
-0.005593296140432358,
0.04152810201048851,
0.015228386037051678,
0.08124455064535141,
-0.016895722597837448,
-0.021992431953549385,
-0.0352625735104084,
0.03276512026786804,
0.020003076642751694,
0.029121825471520424,
-0.0345706045627594,
0.038830552250146866,
0.038246314972639084,
-0.043192364275455475,
0.001995706232264638,
0.06949656456708908,
0.0006224969984032214,
0.008090628311038017,
-0.05344323441386223,
-0.029172809794545174,
0.058428943157196045,
0.018209224566817284,
0.025416681542992592,
-0.07803481817245483,
0.05607638135552406,
-0.009953160770237446,
0.02188071236014366,
-0.031805478036403656,
0.04833005741238594,
-0.06642628461122513,
0.07118505239486694,
-0.0008414685144089162,
-0.0575140081346035,
-0.030191471800208092,
-0.015115326270461082,
-0.046108972281217575,
-0.003263948718085885,
-0.07227205485105515,
-0.010546081699430943,
-0.051538944244384766,
-0.0846477523446083,
-0.02255905605852604,
-0.1417188197374344,
-0.0953708291053772,
0.008594414219260216,
0.008509072475135326,
-0.013428843580186367,
-0.02958623133599758,
-0.0031196866184473038,
0.06346771866083145,
-0.06227725371718407,
-0.05388200655579567,
-0.04326699301600456,
0.00898353848606348,
-0.04754197224974632,
-0.039090268313884735,
0.027908258140087128,
0.013914852403104305,
-0.0174565427005291,
0.0032672749366611242,
0.007780678104609251,
-0.02784857526421547,
-0.048989225178956985,
0.015583448112010956,
0.05389433354139328,
-0.00027130168746225536,
-0.030048275366425514,
-0.10789145529270172,
-0.024944618344306946,
-0.042481958866119385,
-0.027314340695738792,
-0.07071312516927719,
-0.11291731894016266,
-0.03037763200700283,
0.04074947163462639,
0.06241493299603462,
0.04503488540649414,
0.05371851474046707,
-0.04675601050257683,
0.001948071992956102,
0.002194111468270421,
0.048692114651203156,
-0.07577970623970032,
-0.05796883627772331,
-0.06104394048452377,
-0.051296599209308624,
0.04629470780491829,
-0.013723772950470448,
0.03837595134973526,
-0.06340054422616959,
0.07723187655210495,
-0.07917512208223343,
-4.277832592889575e-33,
-0.004361697006970644,
-0.0279168039560318,
-0.024688545614480972,
0.07381707429885864,
-0.08248335123062134,
0.03438030183315277,
0.07158828526735306,
0.03089894913136959,
0.0174423698335886,
-0.043466705828905106,
0.004048286471515894,
0.09201961010694504,
0.00369468261487782,
-0.02082168310880661,
-0.022067761048674583,
0.07609818875789642,
0.007101574447005987,
-0.07026863843202591,
-0.11389685422182083,
-0.08797857910394669,
-0.022994067519903183,
-0.018931251019239426,
-0.0035944811534136534,
0.07310077548027039,
0.04759030044078827,
0.00436384417116642,
0.007296059280633926,
0.010545289143919945,
0.05014505237340927,
-0.06097500026226044,
0.031768471002578735,
0.057036712765693665,
0.01846526563167572,
-0.030066734179854393,
0.07368127256631851,
0.010692108422517776,
0.009309915825724602,
0.11332084238529205,
0.01203521341085434,
0.018224554136395454,
0.12069953233003616,
-0.01891513541340828,
0.019085630774497986,
0.022714432328939438,
0.013370713219046593,
0.08502364158630371,
-0.039216164499521255,
0.012893266044557095,
-0.05320761725306511,
0.11123007535934448,
0.007251130882650614,
0.01159057766199112,
0.06294497847557068,
-0.023165034130215645,
-0.023096967488527298,
-0.06220224127173424,
-0.02150811068713665,
-0.05843309313058853,
0.03542746603488922,
-0.07087630033493042,
0.0681317150592804,
-0.024674994871020317,
-0.11844919621944427,
0.0928514376282692,
-0.01660405844449997,
-0.08461365103721619,
-0.08556687831878662,
0.05680559575557709,
-0.009847446344792843,
-0.03259142115712166,
0.06542983651161194,
-0.05714622512459755,
0.05870041996240616,
-0.019988160580396652,
0.04117066413164139,
-0.02818170003592968,
0.04408635199069977,
-0.10939449816942215,
-0.008324914611876011,
-0.020145555958151817,
0.06520534306764603,
0.0733274295926094,
-0.03425642102956772,
-0.03316934406757355,
-0.05983008071780205,
0.015598486177623272,
-0.07324136048555374,
0.0767064020037651,
0.04506981745362282,
0.013460032641887665,
-0.03660162538290024,
0.09555652737617493,
-0.05131492763757706,
-0.0014358451589941978,
0.06312454491853714,
-5.7505207706753936e-8,
0.017231006175279617,
-0.04719376936554909,
-0.015027748420834541,
0.018356526270508766,
0.014167306013405323,
0.019836237654089928,
-0.03388635441660881,
0.039674725383520126,
-0.0031157732009887695,
-0.0253338310867548,
0.0517389290034771,
0.006114537362009287,
-0.007992786355316639,
-0.014102000743150711,
-0.023852551355957985,
0.019234996289014816,
-0.007265967316925526,
0.009531240910291672,
-0.011982112191617489,
-0.04479655995965004,
-0.028286287561058998,
-0.11071420460939407,
-0.02259822003543377,
0.03928430378437042,
-0.0362778939306736,
-0.03870862349867821,
-0.006408769637346268,
-0.02195487543940544,
-0.056000716984272,
-0.0032972614280879498,
-0.12235315144062042,
-0.01923946663737297,
-0.03987795487046242,
0.005148830357939005,
-0.12011293321847916,
0.14042983949184418,
-0.0212995707988739,
-0.08211357891559601,
0.012986217625439167,
-0.040263582020998,
-0.002678955439478159,
0.044913407415151596,
-0.03471173718571663,
-0.08495447784662247,
-0.10238946974277496,
0.02621195837855339,
0.025506414473056793,
0.04288024455308914,
0.07413346320390701,
-0.010558169335126877,
-0.052487026900053024,
-0.010204726830124855,
0.04449867829680443,
0.10218919068574905,
0.042329587042331696,
-0.0062241326086223125,
0.088687002658844,
-0.12317826598882675,
0.09915126860141754,
0.027629809454083443,
0.03917627036571503,
0.0027500311844050884,
0.037694092839956284,
0.037970170378685
] | 0.096828 |
# Browser login + X/Twitter posting ## Manual login (recommended) When a site requires login, \*\*sign in manually\*\* in the \*\*host\*\* browser profile (the openclaw browser). Do \*\*not\*\* give the model your credentials. Automated logins often trigger anti‑bot defenses and can lock the account. Back to the main browser docs: [Browser](/tools/browser). ## Which Chrome profile is used? OpenClaw controls a \*\*dedicated Chrome profile\*\* (named `openclaw`, orange‑tinted UI). This is separate from your daily browser profile. Two easy ways to access it: 1. \*\*Ask the agent to open the browser\*\* and then log in yourself. 2. \*\*Open it via CLI\*\*: ```bash openclaw browser start openclaw browser open https://x.com ``` If you have multiple profiles, pass `--browser-profile ` (the default is `openclaw`). ## X/Twitter: recommended flow - \*\*Read/search/threads:\*\* use the \*\*bird\*\* CLI skill (no browser, stable). - Repo: https://github.com/steipete/bird - \*\*Post updates:\*\* use the \*\*host\*\* browser (manual login). ## Sandboxing + host browser access Sandboxed browser sessions are \*\*more likely\*\* to trigger bot detection. For X/Twitter (and other strict sites), prefer the \*\*host\*\* browser. If the agent is sandboxed, the browser tool defaults to the sandbox. To allow host control: ```json5 { agents: { defaults: { sandbox: { mode: "non-main", browser: { allowHostControl: true, }, }, }, }, } ``` Then target the host browser: ```bash openclaw browser open https://x.com --browser-profile openclaw --target host ``` Or disable sandboxing for the agent that posts updates. | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser-login.md | main | opebclaw | [
-0.06880058348178864,
-0.013522800989449024,
-0.07773739099502563,
-0.008335973136126995,
0.05392758175730705,
-0.08306838572025299,
0.004899388179183006,
0.04581509158015251,
-0.007688692305237055,
-0.07351803779602051,
0.034760743379592896,
-0.04256987199187279,
0.08068711310625076,
0.002178778173401952,
0.06111165136098862,
0.05776720866560936,
-0.0077894520945847034,
-0.03960346058011055,
0.021127870306372643,
-0.02870773710310459,
-0.02703656628727913,
-0.01355808600783348,
-0.025545720010995865,
0.010682789608836174,
-0.06405546516180038,
-0.042670708149671555,
-0.051022619009017944,
-0.027057720348238945,
-0.029174210503697395,
0.039993852376937866,
0.03036011941730976,
-0.03325207903981209,
-0.003934355452656746,
-0.0040830764919519424,
-0.01404441986232996,
-0.035275060683488846,
-0.06515167653560638,
0.021206693723797798,
-0.05340816080570221,
-0.0064420574344694614,
0.01460181549191475,
-0.09121580421924591,
-0.06113097816705704,
-0.01060557458549738,
-0.0749339684844017,
-0.04292383790016174,
0.026688257232308388,
-0.029750850051641464,
-0.060331277549266815,
0.02192351222038269,
-0.047584325075149536,
-0.0022914460860192776,
-0.01774359866976738,
-0.011506019160151482,
-0.08366895467042923,
0.023426808416843414,
0.054672811180353165,
-0.04503418505191803,
0.1034894809126854,
0.011754405684769154,
-0.007329445797950029,
0.019956553354859352,
0.00973895750939846,
0.06445494294166565,
-0.059785015881061554,
0.01621897518634796,
-0.11346769332885742,
0.00007445421942975372,
-0.010695935226976871,
0.030983462929725647,
-0.02995680272579193,
0.04212094843387604,
-0.0782422423362732,
-0.04432057589292526,
0.04459986463189125,
-0.08713437616825104,
0.05417654290795326,
-0.03545521944761276,
-0.004487814847379923,
0.04575982689857483,
-0.05320878326892853,
-0.02486490085721016,
-0.014122136868536472,
0.07335155457258224,
0.040315765887498856,
0.1095309928059578,
0.01719525456428528,
0.05822189152240753,
0.007911568507552147,
0.04853116720914841,
0.05908060818910599,
-0.025336068123579025,
0.03802758827805519,
-0.01126205176115036,
0.041045527905225754,
-0.0004274787788745016,
-0.0011487470474094152,
-0.009816535748541355,
-0.03604162111878395,
0.04775114730000496,
-0.020768191665410995,
-0.007994038052856922,
0.03148440271615982,
-0.005460911430418491,
-0.014004659838974476,
0.05995464324951172,
0.018317608162760735,
0.07175970822572708,
0.09329843521118164,
-0.014580183662474155,
0.018225708976387978,
-0.04081529378890991,
0.004322119522839785,
-0.00416517211124301,
0.04431680589914322,
0.02984796278178692,
-0.015039931982755661,
0.07487941533327103,
0.1470588892698288,
0.08098580688238144,
0.09641338139772415,
0.047676291316747665,
0.014790613204240799,
-0.03880452364683151,
0.15750962495803833,
0.06132558360695839,
0.044370755553245544,
6.137573389117885e-33,
0.106120765209198,
0.0376894511282444,
-0.045175544917583466,
-0.017596684396266937,
0.03211557865142822,
0.019794590771198273,
0.025037158280611038,
-0.011184840463101864,
-0.04051843658089638,
0.05475323274731636,
0.05817143991589546,
0.08189540356397629,
-0.04407195746898651,
0.020884081721305847,
0.03125312924385071,
0.03186189383268356,
-0.03667493537068367,
0.03540300577878952,
0.05384468287229538,
0.010597527958452702,
0.03319794684648514,
-0.007451108191162348,
0.027286702767014503,
0.04428387060761452,
-0.023247160017490387,
0.032129768282175064,
0.015564425848424435,
0.0005405150586739182,
-0.06729947775602341,
0.05226454138755798,
0.006294362712651491,
0.018532508984208107,
-0.06593017280101776,
0.04780972748994827,
0.042324330657720566,
0.002076605102047324,
-0.02447439171373844,
-0.017014862969517708,
-0.06908687949180603,
-0.04411473125219345,
-0.01875140890479088,
0.0008355689351446927,
-0.027734609320759773,
-0.07855831831693649,
-0.031181778758764267,
-0.07500088214874268,
-0.01964864321053028,
0.00038909970317035913,
0.051412660628557205,
-0.02289416827261448,
-0.02412223629653454,
-0.039093486964702606,
-0.017494753003120422,
-0.011265563778579235,
-0.05075734108686447,
0.015173294581472874,
-0.06742933392524719,
-0.0304439514875412,
0.02971225418150425,
-0.05814075469970703,
0.035621706396341324,
-0.006646312773227692,
0.014196477830410004,
-0.00795292854309082,
-0.04329647868871689,
-0.07684329897165298,
0.051999662071466446,
0.030551493167877197,
-0.03531116992235184,
0.022328099235892296,
-0.05408196896314621,
0.005799149163067341,
-0.0028451792895793915,
-0.03790232539176941,
-0.08188416063785553,
-0.051252707839012146,
0.02909582108259201,
0.022354768589138985,
0.01368834637105465,
0.05933469533920288,
0.11067045480012894,
-0.006785915233194828,
0.03671024367213249,
-0.020858312025666237,
-0.0029676419217139482,
-0.008686848916113377,
0.012907078489661217,
-0.014695354737341404,
-0.018287384882569313,
0.042074501514434814,
-0.04296109825372696,
-0.025199109688401222,
-0.052894387394189835,
0.026918690651655197,
-0.08503174036741257,
-7.671828615811135e-33,
-0.06071484833955765,
-0.04839527979493141,
0.029687751084566116,
-0.002792676677927375,
-0.036950502544641495,
-0.00033403985435143113,
-0.002705090446397662,
-0.014047638513147831,
0.0018227240070700645,
-0.051481012254953384,
0.0035772582050412893,
0.10155584663152695,
-0.031216954812407494,
-0.03408416360616684,
0.08244116604328156,
-0.002400996396318078,
-0.014916990883648396,
-0.025555020198225975,
-0.1523502618074417,
-0.0948137491941452,
-0.06829161942005157,
-0.0677139014005661,
-0.07901456207036972,
0.03778602555394173,
0.041161779314279556,
-0.02135801874101162,
0.01927229017019272,
0.02894189953804016,
0.0129143837839365,
-0.009905483573675156,
-0.017196964472532272,
0.0377720445394516,
-0.010957323014736176,
0.02495044656097889,
0.03440788388252258,
0.04405771568417549,
-0.03393302857875824,
0.06422311812639236,
0.05059400573372841,
-0.024471426382660866,
0.09753444790840149,
-0.03558508679270744,
0.006080630235373974,
-0.027584102004766464,
-0.04143161699175835,
0.13617143034934998,
-0.05351844057440758,
-0.05221933126449585,
-0.047020383179187775,
0.0907636433839798,
0.05971609801054001,
0.013524149544537067,
0.08338816463947296,
-0.07060916721820831,
-0.0035203942097723484,
-0.02495100349187851,
0.02292727120220661,
-0.07128104567527771,
-0.013581923209130764,
-0.09192752838134766,
-0.04509565234184265,
-0.04837028682231903,
-0.07195518910884857,
0.13131900131702423,
-0.06980960071086884,
-0.0863153338432312,
-0.06968383491039276,
0.027185220271348953,
-0.09550628066062927,
-0.043681953102350235,
0.010342760942876339,
-0.03791732341051102,
0.01419118233025074,
-0.07557179778814316,
0.02857210487127304,
-0.11332534998655319,
0.055688969790935516,
-0.049896545708179474,
-0.02777065709233284,
0.04339779540896416,
0.05751018971204758,
0.03850222006440163,
-0.012358158826828003,
-0.12339036911725998,
-0.029882965609431267,
-0.06687677651643753,
-0.03869200125336647,
0.1054011657834053,
0.0677996426820755,
-0.014390377327799797,
-0.016841484233736992,
0.12597553431987762,
-0.07079585641622543,
-0.03897852450609207,
0.017856905236840248,
-5.331790120521873e-8,
-0.011185542680323124,
-0.08132573217153549,
0.013729648664593697,
0.11345888674259186,
-0.012290455400943756,
0.045089609920978546,
0.006071615964174271,
0.005487948190420866,
-0.008715935051441193,
0.052787791937589645,
0.061248961836099625,
-0.012140901759266853,
-0.006620184518396854,
0.00971203576773405,
-0.06999756395816803,
0.05806657299399376,
-0.04838811233639717,
-0.07172449678182602,
0.04170376807451248,
-0.06276974081993103,
-0.06099528446793556,
-0.03860999643802643,
0.0378558412194252,
-0.011186234652996063,
-0.030923353508114815,
0.020297132432460785,
-0.0575413703918457,
0.03271569684147835,
-0.01866851933300495,
0.05809323117136955,
-0.087892085313797,
-0.011116049252450466,
-0.04806537181138992,
-0.07032821327447891,
-0.04882334545254707,
0.09836046397686005,
-0.05979914218187332,
-0.07033074647188187,
-0.015199831686913967,
-0.04681597650051117,
0.06527505815029144,
0.03289085999131203,
0.056803151965141296,
-0.0528821125626564,
-0.08825124800205231,
0.04965775087475777,
-0.038447074592113495,
0.016767237335443497,
0.06427185237407684,
-0.042418405413627625,
-0.051891401410102844,
0.015378843992948532,
0.08996497839689255,
0.10246019065380096,
0.022157689556479454,
0.07667200267314911,
0.10826318711042404,
-0.10609075427055359,
0.05176704376935959,
-0.008278456516563892,
0.013460374437272549,
0.02101505734026432,
0.037953414022922516,
-0.0019928079564124346
] | 0.037126 |
# Firecrawl OpenClaw can use \*\*Firecrawl\*\* as a fallback extractor for `web\_fetch`. It is a hosted content extraction service that supports bot circumvention and caching, which helps with JS-heavy sites or pages that block plain HTTP fetches. ## Get an API key 1. Create a Firecrawl account and generate an API key. 2. Store it in config or set `FIRECRAWL\_API\_KEY` in the gateway environment. ## Configure Firecrawl ```json5 { tools: { web: { fetch: { firecrawl: { apiKey: "FIRECRAWL\_API\_KEY\_HERE", baseUrl: "https://api.firecrawl.dev", onlyMainContent: true, maxAgeMs: 172800000, timeoutSeconds: 60, }, }, }, }, } ``` Notes: - `firecrawl.enabled` defaults to true when an API key is present. - `maxAgeMs` controls how old cached results can be (ms). Default is 2 days. ## Stealth / bot circumvention Firecrawl exposes a \*\*proxy mode\*\* parameter for bot circumvention (`basic`, `stealth`, or `auto`). OpenClaw always uses `proxy: "auto"` plus `storeInCache: true` for Firecrawl requests. If proxy is omitted, Firecrawl defaults to `auto`. `auto` retries with stealth proxies if a basic attempt fails, which may use more credits than basic-only scraping. ## How `web\_fetch` uses Firecrawl `web\_fetch` extraction order: 1. Readability (local) 2. Firecrawl (if configured) 3. Basic HTML cleanup (last fallback) See [Web tools](/tools/web) for the full web tool setup. | https://github.com/openclaw/openclaw/blob/main//docs/tools/firecrawl.md | main | opebclaw | [
-0.1347387135028839,
0.07068511098623276,
-0.04563167318701744,
0.07260574400424957,
0.03121989034116268,
-0.11112339049577713,
-0.10566454380750656,
-0.06521417945623398,
0.047027431428432465,
-0.03745521977543831,
-0.02179609425365925,
0.029316680505871773,
-0.018550768494606018,
-0.027789147570729256,
0.09915582835674286,
0.04648803174495697,
-0.0004879147745668888,
0.009261080995202065,
-0.04936094582080841,
-0.10430391877889633,
0.03369804844260216,
0.08113467693328857,
-0.015108480118215084,
-0.028809750452637672,
-0.05429564788937569,
-0.05133261904120445,
-0.07343980669975281,
-0.00749499024823308,
-0.005254241172224283,
0.013846554793417454,
0.08883637189865112,
-0.068326935172081,
-0.10703220218420029,
-0.0020886692218482494,
0.03813060373067856,
0.0029295787680894136,
-0.047367822378873825,
-0.01896393485367298,
0.10371221601963043,
0.033246319741010666,
0.07842660695314407,
0.040414657443761826,
-0.0561525784432888,
-0.0649988204240799,
-0.025229312479496002,
-0.07001874595880508,
-0.04888833686709404,
-0.06394949555397034,
-0.026090648025274277,
0.06065819784998894,
-0.08623365312814713,
0.00998403038829565,
-0.03322404995560646,
-0.06398177891969681,
0.002027215203270316,
-0.063446044921875,
0.02491147443652153,
0.006283549591898918,
0.006805086508393288,
-0.00581695232540369,
0.06018061190843582,
-0.11229287087917328,
-0.04239203408360481,
-0.013190388679504395,
-0.12679629027843475,
-0.01876680739223957,
-0.05044928193092346,
-0.06648444384336472,
0.061559658497571945,
-0.0621802844107151,
-0.01155084278434515,
-0.00549228023737669,
0.03971853852272034,
-0.045145902782678604,
-0.0037349543999880552,
-0.06000751256942749,
0.04357171803712845,
-0.01300530880689621,
-0.05194500461220741,
-0.004286504816263914,
-0.018159452825784683,
-0.07074128091335297,
-0.000047985438868636265,
0.1087837666273117,
-0.04018472880125046,
0.13647814095020294,
-0.011716693639755249,
0.03318638354539871,
0.03958113491535187,
0.033820174634456635,
-0.037611912935972214,
-0.09531369805335999,
0.02883150614798069,
0.015278968028724194,
-0.02695360966026783,
0.04417666420340538,
-0.0027676327154040337,
-0.06592664122581482,
-0.07811648398637772,
0.023490725085139275,
-0.017253944650292397,
-0.008969034068286419,
0.03064040280878544,
0.0008441682439297438,
0.01522733923047781,
0.006508974824100733,
-0.0027885979507118464,
0.1533852070569992,
0.004954710602760315,
-0.001012601307593286,
0.020468931645154953,
0.06337388604879379,
0.045990582555532455,
-0.05174410343170166,
-0.051977142691612244,
0.01587153598666191,
0.014329352416098118,
-0.06865644454956055,
0.03476174920797348,
0.047719746828079224,
0.13435271382331848,
0.06568693369626999,
0.031891755759716034,
0.043738242238759995,
0.08809851855039597,
0.023477571085095406,
0.07591397315263748,
8.550908841762136e-33,
0.03240101411938667,
0.018092097714543343,
-0.007171299308538437,
-0.04492932930588722,
0.04137579724192619,
-0.0391213521361351,
0.0903717577457428,
-0.004746225196868181,
-0.01721090078353882,
0.04921969026327133,
-0.01240047998726368,
0.05235472694039345,
-0.05460262671113014,
-0.04096319526433945,
-0.014601548202335835,
0.03707483410835266,
-0.027376418933272362,
-0.008611693978309631,
0.10728085041046143,
0.029178356751799583,
-0.005830245092511177,
-0.045454587787389755,
0.037885088473558426,
0.04406007379293442,
0.02767464891076088,
0.050741616636514664,
-0.039804328233003616,
0.06113753840327263,
-0.07697632908821106,
0.021462151780724525,
0.07127925008535385,
-0.021739717572927475,
-0.06019649654626846,
-0.04545866325497627,
0.05826051905751228,
-0.007344967219978571,
-0.03831406310200691,
-0.004754329565912485,
-0.07787537574768066,
-0.021200168877840042,
0.014959441497921944,
0.03985759988427162,
-0.10354020446538925,
-0.037448905408382416,
-0.05002991855144501,
-0.07665432244539261,
-0.09807606786489487,
-0.02079358696937561,
0.025073839351534843,
-0.012511033564805984,
-0.015175407752394676,
0.08246359974145889,
0.12313655763864517,
-0.03412146121263504,
0.013646487146615982,
-0.024023747071623802,
0.025563111528754234,
-0.035399895161390305,
0.04716891050338745,
0.014787638559937477,
0.006408077199012041,
-0.03973834961652756,
0.034102849662303925,
-0.0061643789522349834,
0.021049864590168,
-0.022303521633148193,
0.005760836880654097,
0.08553779125213623,
-0.015791384503245354,
-0.004140553530305624,
0.041643012315034866,
0.054143697023391724,
0.08350571244955063,
0.02689959481358528,
-0.0539625845849514,
-0.07319767028093338,
0.029156118631362915,
0.020308107137680054,
0.06091570109128952,
0.02096257545053959,
0.07502219080924988,
-0.07132357358932495,
-0.005257811397314072,
0.03249431401491165,
0.00785322766751051,
0.06918362528085709,
0.009755739010870457,
-0.06710904091596603,
0.06563378870487213,
0.08532068133354187,
-0.058366239070892334,
-0.0637265294790268,
-0.026726551353931427,
-0.016220221295952797,
-0.046166952699422836,
-8.173196058220041e-33,
-0.000348708126693964,
-0.06941235810518265,
-0.04128042981028557,
-0.008990374393761158,
-0.0630473718047142,
-0.04182741418480873,
0.016320303082466125,
-0.00327112409286201,
0.015149510465562344,
0.06450154632329941,
-0.009120010770857334,
0.0581989586353302,
0.036275748163461685,
-0.05991809070110321,
0.024349747225642204,
0.014869586564600468,
-0.04527308791875839,
-0.0650305524468422,
0.04622112959623337,
0.019448837265372276,
0.007839110679924488,
0.010208378545939922,
-0.0517236664891243,
0.011162085458636284,
-0.010763653554022312,
0.04067846015095711,
-0.02582562156021595,
0.01604462042450905,
-0.09252274036407471,
-0.07343248277902603,
-0.017685797065496445,
0.059365008026361465,
-0.019442707300186157,
-0.06977711617946625,
-0.014182907529175282,
-0.03283178061246872,
-0.032565247267484665,
0.14277128875255585,
0.017103565856814384,
0.0019990706350654364,
0.03525253385305405,
0.014516107738018036,
-0.04392097145318985,
0.003150257049128413,
0.011622551828622818,
0.03575342893600464,
-0.02430579997599125,
0.01343084778636694,
0.007618621923029423,
0.05237136781215668,
0.003848001826554537,
0.045650873333215714,
-0.0542912632226944,
0.005456683691591024,
0.006381732877343893,
-0.040595926344394684,
0.03219415992498398,
-0.0328240804374218,
0.01615201309323311,
-0.00991511344909668,
-0.0027889106422662735,
-0.13214801251888275,
-0.06359338015317917,
0.10902819782495499,
0.06464004516601562,
0.006482532247900963,
-0.013424480333924294,
0.035513587296009064,
-0.03371094912290573,
0.008361323736608028,
-0.059614017605781555,
-0.056267108768224716,
0.10338225960731506,
-0.014620471745729446,
0.06560209393501282,
-0.02047991007566452,
-0.013795635662972927,
-0.01603858545422554,
0.03857091814279556,
0.0753779485821724,
0.0012781741097569466,
0.05258193612098694,
0.0025889344979077578,
0.0075778961181640625,
0.07445832341909409,
-0.08410520106554031,
-0.09038452804088593,
0.08520649373531342,
0.03615991026163101,
0.0004395043069962412,
-0.009476536884903908,
0.008616833947598934,
-0.046073779463768005,
-0.022412342950701714,
0.030413558706641197,
-5.5059594217254926e-8,
-0.04167432337999344,
0.011134946718811989,
-0.0753641277551651,
0.06905306130647659,
-0.004084600135684013,
0.0272385086864233,
0.00758793018758297,
-0.0049664536491036415,
-0.024435998871922493,
-0.047267112880945206,
0.10685303062200546,
0.07027912139892578,
-0.0027766479179263115,
0.042865753173828125,
-0.07457545399665833,
0.03122427687048912,
-0.0015605996595695615,
-0.0033108352217823267,
0.055308010429143906,
-0.0950058177113533,
-0.035602398216724396,
-0.002589278621599078,
0.07636669278144836,
-0.040216948837041855,
0.04536346346139908,
-0.01662326790392399,
-0.03543875738978386,
0.00731246080249548,
0.0022978640627115965,
-0.0570245087146759,
-0.10752983391284943,
-0.04982207715511322,
0.04489995539188385,
-0.03554471582174301,
0.05809026211500168,
0.02458323910832405,
-0.04153655841946602,
-0.010079307481646538,
-0.06384874880313873,
0.044607099145650864,
0.07558081299066544,
0.06702645123004913,
-0.013974697329103947,
-0.026836303994059563,
-0.05968516319990158,
0.03339514508843422,
-0.01158683467656374,
0.03918715938925743,
0.0769958421587944,
0.009181191213428974,
-0.021535132080316544,
-0.08619418740272522,
0.06260543316602707,
0.03262326121330261,
-0.030597392469644547,
0.009629618376493454,
0.059339724481105804,
-0.05225333571434021,
0.006802011281251907,
0.044211652129888535,
0.08344240486621857,
0.008571488782763481,
0.002508328529074788,
-0.02758762054145336
] | 0.008909 |
# `openclaw agent` (direct agent runs) `openclaw agent` runs a single agent turn without needing an inbound chat message. By default it goes \*\*through the Gateway\*\*; add `--local` to force the embedded runtime on the current machine. ## Behavior - Required: `--message ` - Session selection: - `--to ` derives the session key (group/channel targets preserve isolation; direct chats collapse to `main`), \*\*or\*\* - `--session-id ` reuses an existing session by id, \*\*or\*\* - `--agent ` targets a configured agent directly (uses that agent's `main` session key) - Runs the same embedded agent runtime as normal inbound replies. - Thinking/verbose flags persist into the session store. - Output: - default: prints reply text (plus `MEDIA:` lines) - `--json`: prints structured payload + metadata - Optional delivery back to a channel with `--deliver` + `--channel` (target formats match `openclaw message --target`). - Use `--reply-channel`/`--reply-to`/`--reply-account` to override delivery without changing the session. If the Gateway is unreachable, the CLI \*\*falls back\*\* to the embedded local run. ## Examples ```bash openclaw agent --to +15555550123 --message "status update" openclaw agent --agent ops --message "Summarize logs" openclaw agent --session-id 1234 --message "Summarize inbox" --thinking medium openclaw agent --to +15555550123 --message "Trace logs" --verbose on --json openclaw agent --to +15555550123 --message "Summon reply" --deliver openclaw agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports" ``` ## Flags - `--local`: run locally (requires model provider API keys in your shell) - `--deliver`: send the reply to the chosen channel - `--channel`: delivery channel (`whatsapp|telegram|discord|googlechat|slack|signal|imessage`, default: `whatsapp`) - `--reply-to`: delivery target override - `--reply-channel`: delivery channel override - `--reply-account`: delivery account id override - `--thinking `: persist thinking level (GPT-5.2 + Codex models only) - `--verbose `: persist verbose level - `--timeout `: override agent timeout - `--json`: output structured JSON | https://github.com/openclaw/openclaw/blob/main//docs/tools/agent-send.md | main | opebclaw | [
-0.007826583459973335,
0.002431850414723158,
-0.06879166513681412,
0.03936183452606201,
0.014961590990424156,
-0.11542904376983643,
0.014056646265089512,
-0.027206744998693466,
0.03473625332117081,
-0.006308362819254398,
0.0035467762500047684,
-0.02222643420100212,
-0.002945489948615432,
0.019542498514056206,
0.13177305459976196,
0.08728134632110596,
0.13672125339508057,
-0.10366177558898926,
-0.027764778584241867,
0.006174750626087189,
0.018668973818421364,
0.05652298405766487,
0.012315893545746803,
-0.03522961959242821,
-0.09110008925199509,
-0.08254315704107285,
-0.031117193400859833,
0.006090917624533176,
-0.019431931897997856,
-0.027056608349084854,
0.04139714315533638,
0.08640848845243454,
-0.018948175013065338,
0.06708572059869766,
0.06655201315879822,
0.09156079590320587,
0.06032021343708038,
0.020450269803404808,
-0.02748763933777809,
0.014013308100402355,
0.05207131803035736,
-0.011116345413029194,
-0.06992118060588837,
0.007580803241580725,
-0.06097332760691643,
-0.06046450510621071,
-0.06886554509401321,
-0.021420294418931007,
-0.03642960637807846,
0.0012699036160483956,
-0.07375162839889526,
0.025516768917441368,
0.034078627824783325,
0.0849144384264946,
-0.009647753089666367,
0.0311295036226511,
-0.04924760386347771,
0.051388807594776154,
0.027233533561229706,
-0.007760972250252962,
-0.03300250321626663,
-0.02718586102128029,
-0.00022275627998169512,
0.014048786833882332,
-0.09297139942646027,
-0.012931169010698795,
-0.022103074938058853,
-0.0832405611872673,
-0.026592642068862915,
-0.05958286300301552,
-0.056853968650102615,
-0.05347572639584541,
-0.053079891949892044,
-0.06888570636510849,
0.0011788513511419296,
-0.022488659247756004,
0.03214520215988159,
-0.0019331383518874645,
-0.02242329530417919,
-0.06584611535072327,
-0.047689247876405716,
-0.03470426797866821,
-0.04626833274960518,
0.036036618053913116,
-0.041342802345752716,
0.05328722670674324,
0.003830058267340064,
0.04461374878883362,
0.034769780933856964,
0.08291629701852798,
-0.04627256840467453,
-0.08032932877540588,
0.024759473279118538,
0.04313267394900322,
0.04844319447875023,
0.028593650087714195,
0.006453522481024265,
0.013086934573948383,
-0.029356269165873528,
0.10143774002790451,
0.019316481426358223,
0.0312868170440197,
0.002458923729136586,
0.018131988123059273,
-0.07222780585289001,
-0.02160698175430298,
0.002446454716846347,
0.034949466586112976,
0.00025634653866291046,
-0.03584690019488335,
-0.014873393811285496,
-0.02042282000184059,
0.12881961464881897,
0.020258594304323196,
0.021107926964759827,
0.02043389528989792,
-0.003834737231954932,
0.025737809017300606,
0.0549369715154171,
0.007652739994227886,
0.08044759184122086,
-0.07744844257831573,
0.034289564937353134,
0.0478898324072361,
0.08537306636571884,
0.06954624503850937,
0.09468498826026917,
3.457537002713274e-33,
0.023657994344830513,
-0.04495733603835106,
-0.025148507207632065,
0.04338239133358002,
0.07676694542169571,
0.05961386486887932,
0.017569640651345253,
-0.0006159990443848073,
-0.068956159055233,
0.062013350427150726,
-0.027016863226890564,
0.042807687073946,
0.015778470784425735,
0.01078829262405634,
-0.01087250281125307,
0.029447069391608238,
-0.09285546094179153,
0.04957703500986099,
0.07016021013259888,
-0.003572124755010009,
-0.007459545973688364,
0.01554071344435215,
-0.0016075772000476718,
0.039697665721178055,
0.019721318036317825,
0.035263869911432266,
-0.020102592185139656,
-0.10976781696081161,
0.06082100048661232,
0.03500058501958847,
0.02114594727754593,
0.029839830473065376,
-0.028299851343035698,
0.0660741776227951,
-0.03472518548369408,
0.0063870744779706,
-0.11482484638690948,
-0.04195195436477661,
-0.04936831817030907,
-0.033706676214933395,
-0.01203903928399086,
0.03303360566496849,
-0.018422778695821762,
-0.07118485867977142,
-0.022252261638641357,
-0.15353836119174957,
-0.08985975384712219,
0.05701553076505661,
0.04987134039402008,
0.020600613206624985,
-0.01229929830878973,
0.06028969585895538,
0.06526344269514084,
0.010039743036031723,
-0.002849068259820342,
-0.0905112773180008,
0.004328763112425804,
-0.007194527890533209,
-0.006812996696680784,
0.021249203011393547,
-0.03577793762087822,
-0.010119802318513393,
-0.07622678577899933,
0.03291480615735054,
0.040600840002298355,
-0.014323464594781399,
-0.0066551100462675095,
0.05261465162038803,
-0.030870039016008377,
-0.03334924206137657,
-0.0384024940431118,
0.020641619339585304,
0.020854709669947624,
0.05507155880331993,
-0.09300079941749573,
-0.018095888197422028,
0.005671478807926178,
0.030710920691490173,
0.0650443434715271,
-0.026152871549129486,
0.04071634262800217,
0.044948820024728775,
-0.053296685218811035,
0.04021356627345085,
-0.005658946465700865,
0.0017604217864573002,
-0.04259044677019119,
-0.08811872452497482,
-0.007378413807600737,
0.10508421808481216,
-0.09997013211250305,
-0.010660404339432716,
-0.06498002260923386,
0.07121396064758301,
0.0004146285355091095,
-4.415365431935783e-33,
-0.024606311693787575,
0.004332744050770998,
-0.11766001582145691,
0.02088303118944168,
-0.04351475462317467,
0.0018829231848940253,
0.049331605434417725,
-0.0343940369784832,
-0.01861172541975975,
-0.045178573578596115,
-0.061575889587402344,
0.04996255040168762,
0.08670080453157425,
0.005601108074188232,
0.041954465210437775,
-0.06392684578895569,
-0.0097835473716259,
-0.05345873907208443,
-0.032740864902734756,
-0.006524677388370037,
0.04608821123838425,
0.026676183566451073,
-0.055043451488018036,
0.02663910761475563,
0.08158642053604126,
-0.012303492985665798,
0.02738211676478386,
0.0855628177523613,
-0.033582501113414764,
-0.06537539511919022,
0.06373267620801926,
0.024865413084626198,
-0.04213641956448555,
-0.009460195899009705,
0.003986850846558809,
-0.0023523052223026752,
0.017740067094564438,
0.06281677633523941,
-0.036217767745256424,
0.023127824068069458,
0.10715466737747192,
-0.0507483147084713,
-0.1477087289094925,
0.004905522335320711,
-0.0019043865613639355,
0.09034357964992523,
-0.09546525031328201,
-0.020426537841558456,
-0.09647148847579956,
0.05711513012647629,
-0.03923896327614784,
-0.008643824607133865,
0.04629689082503319,
-0.04026053845882416,
-0.026597248390316963,
0.007164132781326771,
0.04951425641775131,
0.024132508784532547,
-0.006433836184442043,
-0.08808203041553497,
0.06253917515277863,
-0.05689189210534096,
0.017178095877170563,
0.031217416748404503,
-0.014152595773339272,
-0.04594319686293602,
0.014963448978960514,
0.05060750991106033,
0.02331448346376419,
-0.013350309804081917,
0.04622988775372505,
-0.06180480122566223,
-0.027955930680036545,
0.007771026808768511,
0.0815754383802414,
0.06607680767774582,
-0.019114186987280846,
-0.1517726331949234,
-0.026351256296038628,
0.05012712627649307,
-0.0868062749505043,
0.022233018651604652,
0.013508307747542858,
0.022561747580766678,
0.04306495189666748,
0.004772581625729799,
-0.017481857910752296,
0.11235056072473526,
0.02570996806025505,
0.041625600308179855,
-0.012470634654164314,
0.033594533801078796,
-0.06616374850273132,
-0.0013917796313762665,
0.007513650692999363,
-5.495894583873451e-8,
-0.04142529144883156,
-0.0922546535730362,
-0.004206462763249874,
0.040633220225572586,
0.015589172020554543,
-0.00034533775760792196,
0.047172803431749344,
-0.02318452298641205,
-0.03853210434317589,
0.002797838766127825,
0.08375182002782822,
-0.02728036604821682,
-0.017613263800740242,
-0.03080115281045437,
0.032444559037685394,
0.07007313519716263,
-0.0116529306396842,
-0.08480561524629593,
-0.031117523089051247,
-0.08309613913297653,
-0.014154085889458656,
-0.030279388651251793,
0.007559073623269796,
0.08639548718929291,
-0.10787096619606018,
-0.05733952671289444,
0.013075597584247589,
0.03819526359438896,
-0.06832395493984222,
0.01520095020532608,
-0.040282171219587326,
0.005604255013167858,
0.04374414682388306,
-0.0202389657497406,
-0.08756018429994583,
0.06195240467786789,
-0.05939863249659538,
-0.01114929560571909,
0.015758205205202103,
-0.016486939042806625,
0.004521041177213192,
0.008565844036638737,
-0.050422247499227524,
-0.06633007526397705,
0.01763487607240677,
0.04729515314102173,
-0.10446292906999588,
-0.01709708385169506,
0.03112313710153103,
-0.00402830308303237,
-0.02382108010351658,
0.005386712029576302,
-0.02295835129916668,
0.10458654910326004,
0.06835749000310898,
0.01893644966185093,
0.05837211385369301,
-0.09323534369468689,
0.10595101118087769,
0.03959130868315697,
-0.03222072497010231,
0.057751286774873734,
0.02294803410768509,
-0.07361520826816559
] | 0.135848 |
# Sub-agents Sub-agents are background agent runs spawned from an existing agent run. They run in their own session (`agent::subagent:`) and, when finished, \*\*announce\*\* their result back to the requester chat channel. ## Slash command Use `/subagents` to inspect or control sub-agent runs for the \*\*current session\*\*: - `/subagents list` - `/subagents stop ` - `/subagents log [limit] [tools]` - `/subagents info ` - `/subagents send ` `/subagents info` shows run metadata (status, timestamps, session id, transcript path, cleanup). Primary goals: - Parallelize “research / long task / slow tool” work without blocking the main run. - Keep sub-agents isolated by default (session separation + optional sandboxing). - Keep the tool surface hard to misuse: sub-agents do \*\*not\*\* get session tools by default. - Avoid nested fan-out: sub-agents cannot spawn sub-agents. Cost note: each sub-agent has its \*\*own\*\* context and token usage. For heavy or repetitive tasks, set a cheaper model for sub-agents and keep your main agent on a higher-quality model. You can configure this via `agents.defaults.subagents.model` or per-agent overrides. ## Tool Use `sessions\_spawn`: - Starts a sub-agent run (`deliver: false`, global lane: `subagent`) - Then runs an announce step and posts the announce reply to the requester chat channel - Default model: inherits the caller unless you set `agents.defaults.subagents.model` (or per-agent `agents.list[].subagents.model`); an explicit `sessions\_spawn.model` still wins. - Default thinking: inherits the caller unless you set `agents.defaults.subagents.thinking` (or per-agent `agents.list[].subagents.thinking`); an explicit `sessions\_spawn.thinking` still wins. Tool params: - `task` (required) - `label?` (optional) - `agentId?` (optional; spawn under another agent id if allowed) - `model?` (optional; overrides the sub-agent model; invalid values are skipped and the sub-agent runs on the default model with a warning in the tool result) - `thinking?` (optional; overrides thinking level for the sub-agent run) - `runTimeoutSeconds?` (default `0`; when set, the sub-agent run is aborted after N seconds) - `cleanup?` (`delete|keep`, default `keep`) Allowlist: - `agents.list[].subagents.allowAgents`: list of agent ids that can be targeted via `agentId` (`["\*"]` to allow any). Default: only the requester agent. Discovery: - Use `agents\_list` to see which agent ids are currently allowed for `sessions\_spawn`. Auto-archive: - Sub-agent sessions are automatically archived after `agents.defaults.subagents.archiveAfterMinutes` (default: 60). - Archive uses `sessions.delete` and renames the transcript to `\*.deleted.` (same folder). - `cleanup: "delete"` archives immediately after announce (still keeps the transcript via rename). - Auto-archive is best-effort; pending timers are lost if the gateway restarts. - `runTimeoutSeconds` does \*\*not\*\* auto-archive; it only stops the run. The session remains until auto-archive. ## Authentication Sub-agent auth is resolved by \*\*agent id\*\*, not by session type: - The sub-agent session key is `agent::subagent:`. - The auth store is loaded from that agent’s `agentDir`. - The main agent’s auth profiles are merged in as a \*\*fallback\*\*; agent profiles override main profiles on conflicts. Note: the merge is additive, so main profiles are always available as fallbacks. Fully isolated auth per agent is not supported yet. ## Announce Sub-agents report back via an announce step: - The announce step runs inside the sub-agent session (not the requester session). - If the sub-agent replies exactly `ANNOUNCE\_SKIP`, nothing is posted. - Otherwise the announce reply is posted to the requester chat channel via a follow-up `agent` call (`deliver=true`). - Announce replies preserve thread/topic routing when available (Slack threads, Telegram topics, Matrix threads). - Announce messages are normalized to a stable template: - `Status:` derived from the run outcome (`success`, `error`, `timeout`, or `unknown`). - `Result:` the summary content from the announce step (or `(not available)` if missing). - `Notes:` error details and other useful context. - `Status` is not inferred from model output; it comes from runtime outcome | https://github.com/openclaw/openclaw/blob/main//docs/tools/subagents.md | main | opebclaw | [
-0.025724118575453758,
-0.05015572905540466,
-0.05355533957481384,
-0.00205474765971303,
0.01121434848755598,
-0.0745835155248642,
-0.02513200230896473,
-0.01608353666961193,
-0.001771971583366394,
0.03468475118279457,
-0.028296727687120438,
-0.057242076843976974,
-0.006399328354746103,
0.016400182619690895,
0.05663856118917465,
0.03850676491856575,
0.11098269373178482,
-0.03439652919769287,
-0.05657582730054855,
-0.11851094663143158,
0.04909180849790573,
0.026939556002616882,
0.02505318447947502,
-0.005322033539414406,
-0.09383416920900345,
-0.008330663666129112,
-0.06771504878997803,
-0.04936802759766579,
0.002621084451675415,
0.025612346827983856,
0.05499221757054329,
0.026802122592926025,
-0.002184892538934946,
0.031068656593561172,
0.09918088465929031,
0.07118794322013855,
-0.02404828369617462,
0.03279712423682213,
0.0806853249669075,
0.08710147440433502,
0.039642270654439926,
-0.08426827192306519,
-0.054452668875455856,
-0.03002437949180603,
-0.08860532939434052,
-0.03978865221142769,
-0.06951060891151428,
-0.028716735541820526,
0.012727043591439724,
0.007398166228085756,
-0.016286255791783333,
-0.053622305393218994,
0.03419111669063568,
0.08508269488811493,
0.0353364534676075,
0.023232759907841682,
-0.013909128494560719,
-0.026915809139609337,
0.02900247648358345,
-0.0400262288749218,
0.005521231330931187,
-0.010701077058911324,
-0.0197454821318388,
-0.03731231763958931,
-0.03211624547839165,
0.027280602604150772,
-0.04279831796884537,
-0.01165703684091568,
0.06189173460006714,
-0.027645546942949295,
-0.037928998470306396,
-0.013070079497992992,
-0.1011597141623497,
-0.035782717168331146,
-0.038928575813770294,
-0.007786592934280634,
0.01623881794512272,
-0.0011399961076676846,
0.022058729082345963,
-0.18333180248737335,
-0.027171306312084198,
-0.04373077675700188,
0.010442058555781841,
0.025234144181013107,
-0.07484486699104309,
-0.018124548718333244,
0.12022434175014496,
0.0035989058669656515,
0.0230462197214365,
-0.04585088789463043,
-0.008331908844411373,
-0.02656465582549572,
0.06382569670677185,
0.024603143334388733,
0.02302086353302002,
0.06191505119204521,
-0.05020955950021744,
-0.0007102701347321272,
0.03418417647480965,
0.09356971085071564,
0.00533246947452426,
-0.002864779671654105,
0.015073117800056934,
0.014964218251407146,
-0.06637661904096603,
-0.033180736005306244,
0.02365746535360813,
0.050373394042253494,
0.01099229697138071,
0.0021493586245924234,
-0.07926876842975616,
0.05553407222032547,
0.04045245051383972,
0.05055326223373413,
0.11670473217964172,
0.00931833777576685,
0.10235580801963806,
0.11008112877607346,
-0.03346710652112961,
0.06859827041625977,
0.11416047811508179,
-0.03665200620889664,
0.07613716274499893,
0.011981328018009663,
0.16100262105464935,
0.06887854635715485,
0.02211233787238598,
4.801653446767126e-33,
0.061473678797483444,
-0.007287345826625824,
-0.002940151374787092,
0.05896240472793579,
0.0506628081202507,
0.030066555365920067,
0.034804198890924454,
0.03115081414580345,
-0.050776608288288116,
0.04394559934735298,
-0.000446600082796067,
0.05884983018040657,
-0.04731733724474907,
-0.003613899927586317,
-0.012270680628716946,
-0.11334902793169022,
0.006913167890161276,
0.010798375122249126,
0.006033075507730246,
-0.017217783257365227,
0.023766987025737762,
-0.006446984596550465,
-0.015288627706468105,
0.09167085587978363,
0.048098258674144745,
-0.012519522570073605,
-0.05069076269865036,
-0.09062398970127106,
0.06000130623579025,
0.00363416550680995,
-0.031083106994628906,
0.06023331359028816,
-0.04422843083739281,
0.07069586217403412,
-0.10188648104667664,
0.00943661853671074,
-0.0667785257101059,
-0.053008921444416046,
-0.0049223098903894424,
0.004763241857290268,
-0.06092299520969391,
0.0023025611881166697,
0.04191861301660538,
-0.10727478563785553,
-0.012023542076349258,
-0.11371786147356033,
-0.08167310804128647,
-0.015335761941969395,
0.07703956216573715,
0.019986040890216827,
0.047802358865737915,
0.03586795553565025,
0.050448689609766006,
-0.032553836703300476,
0.008903468027710915,
-0.012077883817255497,
0.0025894169230014086,
-0.003975407220423222,
0.07565321028232574,
0.012512478977441788,
-0.016413595527410507,
-0.024104129523038864,
-0.02864149399101734,
0.06420935690402985,
-0.020412571728229523,
-0.01512402854859829,
0.0068787503987550735,
0.06402288377285004,
0.016255280002951622,
-0.007329002488404512,
-0.06512972712516785,
0.0426490493118763,
0.01365016121417284,
0.022357843816280365,
-0.08094698935747147,
-0.035653017461299896,
-0.004575386643409729,
-0.022095976397395134,
-0.03269137442111969,
-0.022631604224443436,
-0.04115371033549309,
0.015015005134046078,
-0.021543068811297417,
-0.007299951743334532,
0.010470406152307987,
-0.041591960936784744,
-0.05294734612107277,
-0.07008463144302368,
0.01674756407737732,
0.0470995157957077,
-0.13211959600448608,
-0.035066746175289154,
-0.06524720788002014,
0.0290901530534029,
0.009274362586438656,
-5.193367102711483e-33,
0.022245390340685844,
-0.03344518318772316,
-0.15177768468856812,
0.012150314636528492,
0.006604265887290239,
-0.040382128208875656,
-0.00000993909179669572,
-0.04495116323232651,
-0.03409658372402191,
0.04490923136472702,
-0.06220970302820206,
0.05712227150797844,
-0.01179610937833786,
-0.06775805354118347,
-0.032530441880226135,
-0.02884124405682087,
0.09533559530973434,
-0.06008780375123024,
-0.006144390907138586,
-0.04411683604121208,
-0.019836528226733208,
0.07938117533922195,
-0.06509913504123688,
-0.049482181668281555,
0.07795903086662292,
0.018673909828066826,
0.03405185416340828,
0.05361773073673248,
0.04199005290865898,
-0.04776395857334137,
0.00517661776393652,
0.011487177573144436,
-0.018252015113830566,
-0.03145589679479599,
0.03606138378381729,
0.027341168373823166,
-0.014974369667470455,
0.07631101459264755,
-0.01371931005269289,
-0.03776317834854126,
0.08889953792095184,
-0.05778918042778969,
-0.05914420634508133,
-0.032134540379047394,
0.0027422697748988867,
0.02719757705926895,
-0.037671513855457306,
-0.00704000610858202,
-0.09308359026908875,
0.06534291803836823,
-0.07582483440637589,
-0.05592431500554085,
-0.0232024397701025,
-0.020663665607571602,
-0.052522361278533936,
-0.006586550269275904,
0.016280777752399445,
0.033640921115875244,
-0.013494850136339664,
-0.040446676313877106,
0.03764310106635094,
0.02230086177587509,
-0.02465089224278927,
0.057686787098646164,
0.013741941191256046,
-0.035411905497312546,
-0.0390525683760643,
0.009061746299266815,
0.08096297830343246,
-0.005166506394743919,
0.04599359259009361,
-0.017616048455238342,
-0.013571581803262234,
0.03647628799080849,
0.07807353883981705,
-0.004638249985873699,
-0.040369756519794464,
-0.09451153874397278,
0.013361447490751743,
0.03329572081565857,
-0.10717441141605377,
0.06627067178487778,
-0.02372603490948677,
-0.030523046851158142,
-0.05728244408965111,
0.039561957120895386,
-0.022820882499217987,
0.1372971087694168,
0.025017186999320984,
-0.05807390809059143,
0.0008701434708200395,
-0.05576028302311897,
0.04804613068699837,
-0.005837070755660534,
-0.022613447159528732,
-5.153023963089254e-8,
0.05464740842580795,
-0.024951938539743423,
0.055608585476875305,
0.04848422855138779,
0.036567725241184235,
-0.012470351532101631,
-0.0312358308583498,
0.03614223748445511,
0.023806629702448845,
0.047606874257326126,
0.0789186879992485,
-0.07151716947555542,
0.015783924609422684,
0.007373111322522163,
0.050152458250522614,
-0.0023183354642242193,
0.03719329088926315,
-0.01093408651649952,
-0.05137467011809349,
-0.10299276560544968,
-0.060987938195466995,
-0.008092441596090794,
-0.015471653081476688,
0.06000528484582901,
-0.03873809427022934,
-0.024928241968154907,
-0.006432471796870232,
-0.002078054938465357,
-0.06977061182260513,
0.022129612043499947,
-0.010811052285134792,
0.05535557493567467,
0.005228732712566853,
0.01451084017753601,
0.035239528864622116,
0.07437431812286377,
-0.04044223576784134,
0.02164342626929283,
0.000755884509999305,
0.0040159947238862514,
0.006530933082103729,
-0.020492661744356155,
0.02076328545808792,
-0.043616607785224915,
0.09092305600643158,
-0.0067940508015453815,
-0.15252798795700073,
-0.01808115839958191,
0.10682249069213867,
-0.06560473144054413,
-0.05423765257000923,
0.02245081588625908,
0.002183244563639164,
0.13184966146945953,
0.05030158907175064,
0.043724916875362396,
0.02851443737745285,
-0.07178094983100891,
0.10570713132619858,
0.009089755825698376,
-0.02713252417743206,
0.0194561704993248,
-0.05452438443899155,
-0.05538129806518555
] | 0.153904 |
a stable template: - `Status:` derived from the run outcome (`success`, `error`, `timeout`, or `unknown`). - `Result:` the summary content from the announce step (or `(not available)` if missing). - `Notes:` error details and other useful context. - `Status` is not inferred from model output; it comes from runtime outcome signals. Announce payloads include a stats line at the end (even when wrapped): - Runtime (e.g., `runtime 5m12s`) - Token usage (input/output/total) - Estimated cost when model pricing is configured (`models.providers.\*.models[].cost`) - `sessionKey`, `sessionId`, and transcript path (so the main agent can fetch history via `sessions\_history` or inspect the file on disk) ## Tool Policy (sub-agent tools) By default, sub-agents get \*\*all tools except session tools\*\*: - `sessions\_list` - `sessions\_history` - `sessions\_send` - `sessions\_spawn` Override via config: ```json5 { agents: { defaults: { subagents: { maxConcurrent: 1, }, }, }, tools: { subagents: { tools: { // deny wins deny: ["gateway", "cron"], // if allow is set, it becomes allow-only (deny still wins) // allow: ["read", "exec", "process"] }, }, }, } ``` ## Concurrency Sub-agents use a dedicated in-process queue lane: - Lane name: `subagent` - Concurrency: `agents.defaults.subagents.maxConcurrent` (default `8`) ## Stopping - Sending `/stop` in the requester chat aborts the requester session and stops any active sub-agent runs spawned from it. ## Limitations - Sub-agent announce is \*\*best-effort\*\*. If the gateway restarts, pending “announce back” work is lost. - Sub-agents still share the same gateway process resources; treat `maxConcurrent` as a safety valve. - `sessions\_spawn` is always non-blocking: it returns `{ status: "accepted", runId, childSessionKey }` immediately. - Sub-agent context only injects `AGENTS.md` + `TOOLS.md` (no `SOUL.md`, `IDENTITY.md`, `USER.md`, `HEARTBEAT.md`, or `BOOTSTRAP.md`). | https://github.com/openclaw/openclaw/blob/main//docs/tools/subagents.md | main | opebclaw | [
-0.06129177659749985,
0.040548175573349,
-0.07441459596157074,
0.05911286175251007,
-0.00582963228225708,
0.0020413629245013,
-0.0052925655618309975,
0.07882922887802124,
-0.009807883761823177,
0.08231141418218613,
-0.008026727475225925,
-0.06480561941862106,
-0.007659933064132929,
-0.0037192965392023325,
0.02834581770002842,
0.028468729928135872,
0.09193171560764313,
-0.049960680305957794,
-0.05888881906867027,
-0.0701681599020958,
0.05971205607056618,
0.07218943536281586,
-0.015229892916977406,
0.06529952585697174,
-0.001303316093981266,
-0.05336031690239906,
-0.01567642018198967,
-0.0007517986814491451,
0.02950139343738556,
-0.007413292303681374,
-0.028571385890245438,
-0.008781098760664463,
-0.0081708375364542,
-0.008592956699430943,
0.12677523493766785,
0.02999764494597912,
0.006080280523747206,
-0.09402826428413391,
0.013617247343063354,
-0.01868041791021824,
0.09570622444152832,
-0.026173751801252365,
-0.10927930474281311,
-0.02379458211362362,
0.010013289749622345,
-0.060792867094278336,
-0.01870778203010559,
-0.0015452839434146881,
-0.055748261511325836,
0.022310078144073486,
-0.01247011125087738,
-0.01735406182706356,
0.0794621929526329,
-0.010370911099016666,
-0.03314518183469772,
0.024868357926607132,
-0.04730968922376633,
-0.03240717574954033,
-0.02924976497888565,
-0.02446785196661949,
-0.07113254815340042,
-0.042105887085199356,
-0.08633057028055191,
0.01752382144331932,
-0.032654039561748505,
0.05454615131020546,
-0.0276583693921566,
-0.022197918966412544,
0.03260587155818939,
-0.0033267540857195854,
-0.06125391274690628,
-0.02254735305905342,
-0.07570382952690125,
-0.10797730088233948,
-0.023984422907233238,
-0.025883957743644714,
0.10337411612272263,
0.05958622694015503,
-0.012935025617480278,
-0.12297303974628448,
-0.053410034626722336,
-0.0791725218296051,
0.0011001325910910964,
-0.003418168518692255,
0.0028007517103105783,
-0.033551525324583054,
0.08882840722799301,
0.017200520262122154,
0.09413469582796097,
-0.030523303896188736,
0.0037742271088063717,
-0.0029469169676303864,
0.0015962133184075356,
0.029208457097411156,
-0.01860109157860279,
0.09390939772129059,
0.00924572441726923,
0.006022130139172077,
0.01567717082798481,
0.11405602842569351,
-0.024423405528068542,
0.0174543634057045,
0.06233488768339157,
0.004202141892164946,
-0.024455083534121513,
-0.0034913327544927597,
-0.0029497279319912195,
0.05827903747558594,
0.024139508605003357,
0.03266097232699394,
0.003086012089625001,
0.024102434515953064,
0.001995626837015152,
0.009538746438920498,
0.09777183085680008,
-0.008829344063997269,
-0.03239261731505394,
0.03665108606219292,
-0.003573907306417823,
0.03647956624627113,
0.11309979856014252,
-0.007390765938907862,
0.017201468348503113,
0.02426855079829693,
0.045464564114809036,
0.031463947147130966,
-0.019743504002690315,
3.3518831112838857e-34,
0.03166297450661659,
-0.012669944204390049,
-0.030087890103459358,
0.07638538628816605,
0.0752393826842308,
0.11225004494190216,
0.015191537328064442,
-0.009367280639708042,
-0.0047014132142066956,
0.044098615646362305,
-0.07184495031833649,
0.07438784837722778,
-0.05748957768082619,
0.012952003628015518,
-0.027356503531336784,
-0.019108526408672333,
0.010261322371661663,
0.06690365076065063,
0.06673836708068848,
0.053916990756988525,
0.07913698256015778,
-0.06046012416481972,
-0.05395438149571419,
0.010054058395326138,
0.06434661149978638,
0.10313930362462997,
0.02097458392381668,
-0.051647432148456573,
-0.03380792215466499,
0.018006879836320877,
0.009542395360767841,
0.002843300113454461,
0.08618253469467163,
-0.0006468736683018506,
-0.02942826598882675,
-0.024199172854423523,
-0.05975012108683586,
-0.05470740795135498,
-0.003945855889469385,
-0.0526762418448925,
-0.03436196967959404,
-0.002422776073217392,
-0.05417335033416748,
-0.11088744550943375,
-0.13255441188812256,
-0.10625427961349487,
-0.01776186190545559,
-0.02402099035680294,
0.09414705634117126,
0.006408612709492445,
-0.013517861254513264,
0.025196535512804985,
0.01909489370882511,
-0.013931570574641228,
-0.017547164112329483,
-0.09187676757574081,
-0.004842190537601709,
0.021177323535084724,
0.05624360591173172,
0.020415514707565308,
-0.004320422653108835,
-0.023522397503256798,
-0.019865749403834343,
-0.050284698605537415,
-0.012506606988608837,
0.08743485063314438,
-0.0772707387804985,
0.0264777522534132,
0.03287828341126442,
-0.007697887718677521,
-0.0729343369603157,
0.07411786913871765,
0.03448621556162834,
0.033254243433475494,
0.025828855112195015,
-0.10267890244722366,
0.05701497569680214,
-0.049240048974752426,
0.03679617494344711,
0.03364479914307594,
0.0034064759965986013,
-0.034692469984292984,
-0.06623557955026627,
0.013090389780700207,
0.060542818158864975,
0.019176149740815163,
0.004809143953025341,
-0.025357641279697418,
-0.05618620291352272,
-0.0021731483284384012,
-0.0897071436047554,
-0.010055901482701302,
-0.07190155982971191,
0.018738361075520515,
-0.008057337254285812,
-4.360783923149242e-33,
0.01868353597819805,
0.010012260638177395,
-0.04050831496715546,
-0.005014208145439625,
-0.026776878163218498,
-0.04123620316386223,
-0.01430677343159914,
0.023564299568533897,
0.01667500101029873,
-0.04977729544043541,
-0.005438413005322218,
0.02908228151500225,
-0.0388246551156044,
-0.0032637319527566433,
-0.002964007668197155,
-0.02329995483160019,
-0.03355065733194351,
-0.1737293154001236,
0.0620618611574173,
-0.008995945565402508,
-0.08126113563776016,
0.04823747277259827,
-0.10809463262557983,
0.047380633652210236,
0.0026213007513433695,
-0.014104939065873623,
0.01314578764140606,
0.021624762564897537,
0.043549325317144394,
-0.04399034008383751,
0.01184186339378357,
0.00814890768378973,
-0.08653005212545395,
0.029606390744447708,
-0.04148181900382042,
0.01135486364364624,
0.0061188978143036366,
0.07898532599210739,
-0.0006221170187927783,
0.07262755930423737,
0.09831096231937408,
-0.05661334469914436,
-0.08128734678030014,
0.007163139525800943,
0.002114332979544997,
0.0028663044795393944,
-0.01413003820925951,
-0.011664210818707943,
-0.0011254140408709645,
-0.013128122314810753,
0.0005391884478740394,
-0.05221299082040787,
-0.06344917416572571,
0.06603476405143738,
-0.10583587735891342,
-0.03878241032361984,
-0.022904327139258385,
-0.04509828984737396,
-0.07732449471950531,
-0.060760997235774994,
-0.008512547239661217,
0.062138814479112625,
-0.02484137937426567,
0.01555616781115532,
-0.008684087544679642,
-0.029767636209726334,
-0.005383806303143501,
-0.05226404592394829,
0.07824628800153732,
-0.004302529618144035,
-0.003805815475061536,
-0.10955944657325745,
-0.03554585948586464,
0.008116118609905243,
0.04781651496887207,
0.032156120985746384,
-0.09727486222982407,
-0.11444829404354095,
0.0622064583003521,
0.04546251520514488,
-0.1004621684551239,
0.03512305021286011,
0.061177242547273636,
-0.039701834321022034,
-0.013214241713285446,
-0.021843234077095985,
0.030727917328476906,
0.1681661307811737,
-0.003874286776408553,
0.03884880617260933,
-0.0632939487695694,
-0.00864753220230341,
-0.03569212928414345,
0.08039815723896027,
-0.04527902603149414,
-6.517420558793674e-8,
-0.004878692794591188,
0.04533649981021881,
0.06194736063480377,
-0.011271045543253422,
0.0293999332934618,
0.013716134242713451,
0.06140933185815811,
-0.0013149600708857179,
-0.008083288557827473,
0.012663302011787891,
0.021707043051719666,
-0.030719563364982605,
-0.11342345923185349,
-0.005094113294035196,
-0.026967689394950867,
0.055784545838832855,
-0.05817827954888344,
0.04709326848387718,
-0.048518601804971695,
-0.14116784930229187,
-0.05255674198269844,
0.015454798936843872,
0.01578359492123127,
-0.025668200105428696,
0.011078952811658382,
-0.011699219234287739,
-0.03193374350667,
0.1139259934425354,
-0.02710246853530407,
0.03708631545305252,
-0.0052703386172652245,
0.05680194869637489,
0.07200613617897034,
0.007184150163084269,
0.002493668347597122,
0.03170793503522873,
-0.017729459330439568,
0.032455626875162125,
0.05813831835985184,
0.04020897299051285,
0.027598533779382706,
0.06557773053646088,
-0.03133611008524895,
0.01946190744638443,
0.04194324463605881,
0.024660250172019005,
-0.08062576502561569,
-0.051476068794727325,
0.05408613756299019,
-0.08830834925174713,
-0.0004503894306253642,
-0.0049558463506400585,
-0.0560528039932251,
0.12274651229381561,
-0.03769765794277191,
0.006146715022623539,
0.020835556089878082,
-0.06839942932128906,
0.05554879084229469,
-0.02882029302418232,
0.006328861694782972,
-0.10752955079078674,
-0.028287392109632492,
-0.03280770406126976
] | 0.118844 |
# Skills (OpenClaw) OpenClaw uses \*\*[AgentSkills](https://agentskills.io)-compatible\*\* skill folders to teach the agent how to use tools. Each skill is a directory containing a `SKILL.md` with YAML frontmatter and instructions. OpenClaw loads \*\*bundled skills\*\* plus optional local overrides, and filters them at load time based on environment, config, and binary presence. ## Locations and precedence Skills are loaded from \*\*three\*\* places: 1. \*\*Bundled skills\*\*: shipped with the install (npm package or OpenClaw.app) 2. \*\*Managed/local skills\*\*: `~/.openclaw/skills` 3. \*\*Workspace skills\*\*: `/skills` If a skill name conflicts, precedence is: `/skills` (highest) → `~/.openclaw/skills` → bundled skills (lowest) Additionally, you can configure extra skill folders (lowest precedence) via `skills.load.extraDirs` in `~/.openclaw/openclaw.json`. ## Per-agent vs shared skills In \*\*multi-agent\*\* setups, each agent has its own workspace. That means: - \*\*Per-agent skills\*\* live in `/skills` for that agent only. - \*\*Shared skills\*\* live in `~/.openclaw/skills` (managed/local) and are visible to \*\*all agents\*\* on the same machine. - \*\*Shared folders\*\* can also be added via `skills.load.extraDirs` (lowest precedence) if you want a common skills pack used by multiple agents. If the same skill name exists in more than one place, the usual precedence applies: workspace wins, then managed/local, then bundled. ## Plugins + skills Plugins can ship their own skills by listing `skills` directories in `openclaw.plugin.json` (paths relative to the plugin root). Plugin skills load when the plugin is enabled and participate in the normal skill precedence rules. You can gate them via `metadata.openclaw.requires.config` on the plugin’s config entry. See [Plugins](/plugin) for discovery/config and [Tools](/tools) for the tool surface those skills teach. ## ClawHub (install + sync) ClawHub is the public skills registry for OpenClaw. Browse at https://clawhub.com. Use it to discover, install, update, and back up skills. Full guide: [ClawHub](/tools/clawhub). Common flows: - Install a skill into your workspace: - `clawhub install ` - Update all installed skills: - `clawhub update --all` - Sync (scan + publish updates): - `clawhub sync --all` By default, `clawhub` installs into `./skills` under your current working directory (or falls back to the configured OpenClaw workspace). OpenClaw picks that up as `/skills` on the next session. ## Security notes - Treat third-party skills as \*\*untrusted code\*\*. Read them before enabling. - Prefer sandboxed runs for untrusted inputs and risky tools. See [Sandboxing](/gateway/sandboxing). - `skills.entries.\*.env` and `skills.entries.\*.apiKey` inject secrets into the \*\*host\*\* process for that agent turn (not the sandbox). Keep secrets out of prompts and logs. - For a broader threat model and checklists, see [Security](/gateway/security). ## Format (AgentSkills + Pi-compatible) `SKILL.md` must include at least: ```markdown --- name: nano-banana-pro description: Generate or edit images via Gemini 3 Pro Image --- ``` Notes: - We follow the AgentSkills spec for layout/intent. - The parser used by the embedded agent supports \*\*single-line\*\* frontmatter keys only. - `metadata` should be a \*\*single-line JSON object\*\*. - Use `{baseDir}` in instructions to reference the skill folder path. - Optional frontmatter keys: - `homepage` — URL surfaced as “Website” in the macOS Skills UI (also supported via `metadata.openclaw.homepage`). - `user-invocable` — `true|false` (default: `true`). When `true`, the skill is exposed as a user slash command. - `disable-model-invocation` — `true|false` (default: `false`). When `true`, the skill is excluded from the model prompt (still available via user invocation). - `command-dispatch` — `tool` (optional). When set to `tool`, the slash command bypasses the model and dispatches directly to a tool. - `command-tool` — tool name to invoke when `command-dispatch: tool` is set. - `command-arg-mode` — `raw` (default). For tool dispatch, forwards the raw args string to the tool (no core parsing). The tool is invoked with params: `{ command: "", commandName: "", skillName: "" }`. ## Gating (load-time filters) | https://github.com/openclaw/openclaw/blob/main//docs/tools/skills.md | main | opebclaw | [
-0.028856690973043442,
-0.03424028679728508,
-0.0762082114815712,
0.01632312685251236,
0.02747637964785099,
-0.06437443196773529,
-0.019731303676962852,
-0.07497701048851013,
-0.08825580775737762,
0.0018224817467853427,
0.02613079361617565,
0.004237111192196608,
0.027591807767748833,
0.0371386744081974,
0.059814080595970154,
0.1343814581632614,
-0.043765295296907425,
0.04741647467017174,
-0.035590674728155136,
-0.05485021695494652,
0.018911268562078476,
0.07878590375185013,
0.06458047032356262,
-0.08369137346744537,
-0.05258626863360405,
-0.011144592426717281,
-0.03303103521466255,
-0.02458767779171467,
-0.00730379531159997,
-0.04701416194438934,
0.07349339127540588,
0.04700619727373123,
0.037552740424871445,
0.05333089455962181,
0.06261438131332397,
0.09631583094596863,
-0.0007211819174699485,
-0.03150944411754608,
-0.07081449031829834,
0.011825664900243282,
0.0025707699824124575,
0.06028788909316063,
-0.021011125296354294,
-0.0634976476430893,
-0.09555721282958984,
-0.04697519540786743,
-0.03303435817360878,
-0.06250344961881638,
0.02433735877275467,
0.028085483238101006,
-0.11566832661628723,
-0.14988794922828674,
-0.02452949620783329,
-0.08790095150470734,
0.05751056596636772,
0.03789743408560753,
0.03210216388106346,
-0.055404916405677795,
-0.06109900400042534,
-0.06778725981712341,
0.039752501994371414,
-0.005608227103948593,
-0.09012789279222488,
-0.009065764024853706,
-0.04334919899702072,
0.013927828520536423,
-0.06561978161334991,
-0.027560075744986534,
-0.017390869557857513,
-0.05753350257873535,
-0.06214042007923126,
0.0028876240830868483,
-0.013508137315511703,
0.011393211781978607,
-0.0037595555186271667,
-0.03670293092727661,
0.02846207097172737,
0.024783426895737648,
-0.04282260313630104,
-0.1017913669347763,
-0.06834083050489426,
-0.03131239488720894,
-0.0027290808502584696,
0.020594477653503418,
0.0168397668749094,
0.08379239588975906,
-0.013522760011255741,
0.050948962569236755,
0.06629932671785355,
-0.00028642889810726047,
0.004186466336250305,
-0.10223843157291412,
0.022119464352726936,
-0.016004031524062157,
0.0301937498152256,
0.07057792693376541,
0.01397645939141512,
0.07482091337442398,
-0.07571859657764435,
0.05218185856938362,
-0.051055267453193665,
-0.12958867847919464,
0.012113246135413647,
0.008165240287780762,
-0.0349828377366066,
0.07711880654096603,
-0.005505675449967384,
0.06215135380625725,
-0.04116387292742729,
-0.038197170943021774,
-0.008380894549190998,
0.020011302083730698,
0.024918261915445328,
-0.051384761929512024,
-0.03812359645962715,
0.03086886741220951,
-0.03646140173077583,
0.02263992466032505,
0.0028014546260237694,
0.05696439743041992,
0.09783077985048294,
0.05018007010221481,
0.07695982605218887,
0.0004133531474508345,
0.0828523188829422,
0.0343036912381649,
0.001828384236432612,
3.8005499277030635e-33,
0.09141410142183304,
0.010180885903537273,
-0.038073718547821045,
0.04122473672032356,
0.1156887412071228,
-0.019864220172166824,
0.08731565624475479,
0.029012233018875122,
-0.0436723455786705,
0.053468041121959686,
-0.013316414318978786,
0.04937737435102463,
-0.08889636397361755,
-0.042650096118450165,
0.03336431086063385,
-0.0017504086717963219,
-0.021769165992736816,
0.0390968918800354,
0.03386369347572327,
-0.004303988069295883,
0.023257236927747726,
0.0046326336450874805,
-0.0705622062087059,
0.0725327804684639,
-0.0856071412563324,
0.053509052842855453,
0.033408209681510925,
-0.04076102375984192,
0.06167101487517357,
0.015588324517011642,
0.0826549082994461,
0.0170240830630064,
-0.054374612867832184,
0.07547944784164429,
-0.0167007427662611,
0.09907098114490509,
-0.08917868882417679,
-0.03702220320701599,
0.004997053649276495,
-0.000041855688323266804,
-0.0009812202770262957,
-0.0040435497649014,
0.014340978115797043,
0.009624539874494076,
-0.014343930408358574,
-0.1285642683506012,
0.010175902396440506,
0.041720155626535416,
0.07851212471723557,
0.0647369995713234,
0.015303458087146282,
0.005256391130387783,
0.09576248377561569,
-0.040524497628211975,
-0.001163512235507369,
0.013138245791196823,
-0.001229425542987883,
0.05210849642753601,
-0.024518661201000214,
0.038030561059713364,
0.017384255304932594,
-0.0006436927360482514,
-0.042447712272405624,
0.04488951712846756,
-0.035938721150159836,
-0.026444604620337486,
0.0936165526509285,
0.013312659226357937,
0.07885714620351791,
0.017320524901151657,
-0.043881822377443314,
0.0035633626393973827,
0.04999157786369324,
-0.004854242317378521,
-0.04052720218896866,
-0.0766042023897171,
0.0602446012198925,
-0.0509110726416111,
0.0030198937747627497,
-0.0617867037653923,
0.013149457052350044,
0.04340877756476402,
-0.06343172490596771,
0.0018772395560517907,
0.014477494172751904,
-0.02057248167693615,
0.0082921227440238,
-0.04459153860807419,
0.024200566112995148,
0.04668793827295303,
-0.002057339996099472,
-0.05841962248086929,
-0.11566955596208572,
0.006915246602147818,
0.0018520797602832317,
-4.022036205943014e-33,
0.03261355310678482,
-0.055008210241794586,
-0.02397928200662136,
0.013552246615290642,
0.011903068982064724,
-0.019312845543026924,
0.04698476195335388,
-0.07746357470750809,
-0.01895660161972046,
-0.052867285907268524,
0.00031707846210338175,
0.025168631225824356,
0.02583148516714573,
-0.08067815005779266,
0.053587138652801514,
-0.029270702973008156,
-0.12526752054691315,
-0.030331820249557495,
0.0009396231616847217,
-0.01786934584379196,
0.010785204358398914,
0.06183107942342758,
-0.008177928626537323,
0.047776322811841965,
0.08410909026861191,
-0.02416819892823696,
-0.02200888656079769,
0.008897785097360611,
0.023630617186427116,
0.03697609528899193,
0.05040518566966057,
-0.0014393815072253346,
-0.06319981813430786,
0.005554160103201866,
-0.05191512405872345,
0.007069014012813568,
-0.06690408289432526,
0.03012268617749214,
0.006609995849430561,
0.05680052936077118,
0.008092432282865047,
-0.0339876264333725,
-0.10242599248886108,
0.030271431431174278,
-0.05574891343712807,
0.030094364657998085,
-0.030517205595970154,
-0.00024594017304480076,
-0.05646529793739319,
-0.03735668584704399,
0.036033738404512405,
0.03737163916230202,
-0.04177061840891838,
-0.060914985835552216,
0.011284966953098774,
0.044389303773641586,
0.05843891203403473,
-0.07622972875833511,
0.015605919063091278,
-0.03870620205998421,
0.004579977132380009,
-0.001522031961940229,
-0.013835528865456581,
0.09039957076311111,
0.002920337952673435,
-0.04729370027780533,
-0.06029217317700386,
0.06713565438985825,
-0.07305123656988144,
-0.010715887881815434,
-0.06701162457466125,
-0.017720423638820648,
0.03505861759185791,
-0.10553286969661713,
0.02414138801395893,
-0.005396676249802113,
-0.01706453040242195,
0.021322092041373253,
-0.0008414111216552556,
0.04467625543475151,
-0.025036461651325226,
0.024032441899180412,
0.014787335880100727,
0.05595197156071663,
-0.01723591797053814,
0.07268112897872925,
0.019529463723301888,
0.12538473308086395,
0.026369262486696243,
0.0224719550460577,
-0.03628389537334442,
0.07373914867639542,
0.04686158522963524,
-0.03015955537557602,
-0.07475560158491135,
-4.893943383876831e-8,
-0.08701392263174057,
-0.012477953918278217,
-0.05434345453977585,
-0.037765245884656906,
0.010230368003249168,
0.032503142952919006,
-0.013251996599137783,
0.16349519789218903,
-0.03376404196023941,
0.09022250771522522,
0.13022108376026154,
0.05777066573500633,
-0.05069926008582115,
-0.05725735425949097,
-0.04503283277153969,
0.04540586099028587,
0.020487330853939056,
0.06682686507701874,
-0.03913410007953644,
-0.0672559142112732,
0.08502116799354553,
0.019881142303347588,
-0.006018339190632105,
0.10375531762838364,
-0.013088308274745941,
-0.03108551912009716,
-0.09731081128120422,
0.03263397142291069,
0.001560303382575512,
0.09678472578525543,
0.026888297870755196,
-0.09405414015054703,
0.04610035568475723,
-0.02516808547079563,
0.017083343118429184,
0.023526694625616074,
-0.021548282355070114,
0.0020764570217579603,
-0.021582307294011116,
0.02757825143635273,
0.02561189979314804,
-0.017422236502170563,
-0.040895722806453705,
0.0022416342981159687,
-0.009008235298097134,
-0.013481389731168747,
-0.058565374463796616,
-0.019919319078326225,
0.02325470559298992,
-0.01225015427917242,
-0.06394151598215103,
-0.015503013506531715,
-0.08489905297756195,
0.0486723929643631,
-0.029461126774549484,
0.07829155027866364,
0.07030551135540009,
-0.043930452316999435,
-0.0013816520804539323,
0.03546565771102905,
0.004398717079311609,
0.037509530782699585,
0.07182465493679047,
0.02073514275252819
] | 0.045017 |
tool. - `command-tool` — tool name to invoke when `command-dispatch: tool` is set. - `command-arg-mode` — `raw` (default). For tool dispatch, forwards the raw args string to the tool (no core parsing). The tool is invoked with params: `{ command: "", commandName: "", skillName: "" }`. ## Gating (load-time filters) OpenClaw \*\*filters skills at load time\*\* using `metadata` (single-line JSON): ```markdown --- name: nano-banana-pro description: Generate or edit images via Gemini 3 Pro Image metadata: { "openclaw": { "requires": { "bins": ["uv"], "env": ["GEMINI\_API\_KEY"], "config": ["browser.enabled"] }, "primaryEnv": "GEMINI\_API\_KEY", }, } --- ``` Fields under `metadata.openclaw`: - `always: true` — always include the skill (skip other gates). - `emoji` — optional emoji used by the macOS Skills UI. - `homepage` — optional URL shown as “Website” in the macOS Skills UI. - `os` — optional list of platforms (`darwin`, `linux`, `win32`). If set, the skill is only eligible on those OSes. - `requires.bins` — list; each must exist on `PATH`. - `requires.anyBins` — list; at least one must exist on `PATH`. - `requires.env` — list; env var must exist \*\*or\*\* be provided in config. - `requires.config` — list of `openclaw.json` paths that must be truthy. - `primaryEnv` — env var name associated with `skills.entries..apiKey`. - `install` — optional array of installer specs used by the macOS Skills UI (brew/node/go/uv/download). Note on sandboxing: - `requires.bins` is checked on the \*\*host\*\* at skill load time. - If an agent is sandboxed, the binary must also exist \*\*inside the container\*\*. Install it via `agents.defaults.sandbox.docker.setupCommand` (or a custom image). `setupCommand` runs once after the container is created. Package installs also require network egress, a writable root FS, and a root user in the sandbox. Example: the `summarize` skill (`skills/summarize/SKILL.md`) needs the `summarize` CLI in the sandbox container to run there. Installer example: ```markdown --- name: gemini description: Use Gemini CLI for coding assistance and Google search lookups. metadata: { "openclaw": { "emoji": "♊️", "requires": { "bins": ["gemini"] }, "install": [ { "id": "brew", "kind": "brew", "formula": "gemini-cli", "bins": ["gemini"], "label": "Install Gemini CLI (brew)", }, ], }, } --- ``` Notes: - If multiple installers are listed, the gateway picks a \*\*single\*\* preferred option (brew when available, otherwise node). - If all installers are `download`, OpenClaw lists each entry so you can see the available artifacts. - Installer specs can include `os: ["darwin"|"linux"|"win32"]` to filter options by platform. - Node installs honor `skills.install.nodeManager` in `openclaw.json` (default: npm; options: npm/pnpm/yarn/bun). This only affects \*\*skill installs\*\*; the Gateway runtime should still be Node (Bun is not recommended for WhatsApp/Telegram). - Go installs: if `go` is missing and `brew` is available, the gateway installs Go via Homebrew first and sets `GOBIN` to Homebrew’s `bin` when possible. - Download installs: `url` (required), `archive` (`tar.gz` | `tar.bz2` | `zip`), `extract` (default: auto when archive detected), `stripComponents`, `targetDir` (default: `~/.openclaw/tools/`). If no `metadata.openclaw` is present, the skill is always eligible (unless disabled in config or blocked by `skills.allowBundled` for bundled skills). ## Config overrides (`~/.openclaw/openclaw.json`) Bundled/managed skills can be toggled and supplied with env values: ```json5 { skills: { entries: { "nano-banana-pro": { enabled: true, apiKey: "GEMINI\_KEY\_HERE", env: { GEMINI\_API\_KEY: "GEMINI\_KEY\_HERE", }, config: { endpoint: "https://example.invalid", model: "nano-pro", }, }, peekaboo: { enabled: true }, sag: { enabled: false }, }, }, } ``` Note: if the skill name contains hyphens, quote the key (JSON5 allows quoted keys). Config keys match the \*\*skill name\*\* by default. If a skill defines `metadata.openclaw.skillKey`, use that key under `skills.entries`. Rules: - `enabled: false` disables the skill even if it’s bundled/installed. - `env`: injected \*\*only if\*\* the variable isn’t already set in the process. | https://github.com/openclaw/openclaw/blob/main//docs/tools/skills.md | main | opebclaw | [
-0.07072515040636063,
0.025736643001437187,
-0.05256558954715729,
0.09596142172813416,
0.0035621761344373226,
-0.1001298576593399,
0.0002894993231166154,
0.0017236535204574466,
-0.04118897393345833,
-0.01685204729437828,
-0.01837785542011261,
-0.07575975358486176,
0.015973947942256927,
-0.010221890173852444,
0.07837072014808655,
0.10713372379541397,
-0.02953420765697956,
-0.060425493866205215,
-0.012429595924913883,
-0.055741261690855026,
-0.0026167072355747223,
0.03689782693982124,
0.03376982361078262,
-0.04611539840698242,
-0.033483993262052536,
-0.015391327440738678,
-0.07087229937314987,
-0.0606842003762722,
-0.012693299911916256,
-0.029940824955701828,
0.09171079099178314,
0.007019379176199436,
-0.04042675718665123,
0.036379676312208176,
0.08050481230020523,
0.1403988003730774,
0.023741040378808975,
-0.019249411299824715,
-0.026325898244976997,
-0.04446065053343773,
0.044918857514858246,
0.01611097902059555,
-0.026209756731987,
-0.11512366682291031,
-0.05202292650938034,
-0.04797261953353882,
0.02165033109486103,
-0.11972923576831818,
0.002615181263536215,
0.04787980392575264,
-0.08673396706581116,
-0.10683467239141464,
-0.03697744011878967,
-0.08281388878822327,
0.05355026200413704,
0.08030333369970322,
-0.05787915736436844,
-0.03338480740785599,
0.05851350724697113,
-0.013852597214281559,
-0.044924478977918625,
0.021975621581077576,
-0.11600824445486069,
0.043188489973545074,
-0.026398032903671265,
0.012981467880308628,
-0.018228210508823395,
-0.08168230205774307,
-0.011188140138983727,
-0.050370074808597565,
-0.023934651166200638,
-0.00685575557872653,
-0.06371098011732101,
0.012457732111215591,
-0.0005765098030678928,
0.004067699424922466,
0.09236548095941544,
0.0494503490626812,
-0.01083805225789547,
-0.14262714982032776,
0.029246367514133453,
-0.04674052819609642,
-0.02294028550386429,
0.06131238862872124,
0.02274530939757824,
0.11148904263973236,
-0.045112717896699905,
-0.012217305600643158,
0.0902266874909401,
0.062272265553474426,
-0.015595628879964352,
-0.11909142881631851,
-0.049502573907375336,
0.030636243522167206,
-0.01656772755086422,
0.007674772758036852,
0.006232714746147394,
-0.014923113398253918,
-0.0737711489200592,
0.11641671508550644,
-0.02436961606144905,
-0.01904202252626419,
0.029202457517385483,
-0.011361828073859215,
0.03047809936106205,
0.06700063496828079,
0.021130163222551346,
0.03171956166625023,
-0.027251003310084343,
0.07094376534223557,
0.03626340255141258,
0.022416187450289726,
-0.036630626767873764,
-0.05651829019188881,
-0.003553173504769802,
0.03151124715805054,
-0.007131246849894524,
-0.04726596176624298,
0.04297779127955437,
0.018956521525979042,
0.11127873510122299,
0.05290968716144562,
-0.09859800338745117,
-0.018690314143896103,
0.006735003553330898,
0.04108623042702675,
0.08074849843978882,
3.288512302666552e-33,
0.12162360548973083,
-0.08113772422075272,
0.016442544758319855,
0.01869047060608864,
0.030675169080495834,
0.05533679947257042,
0.04858393222093582,
0.007035008165985346,
-0.059000641107559204,
0.03538507595658302,
0.010279983282089233,
-0.013535200618207455,
-0.10038714855909348,
0.048657093197107315,
-0.0018588972743600607,
0.031071603298187256,
-0.02739153988659382,
0.003003090852871537,
0.004885497968643904,
-0.016276145353913307,
-0.07022452354431152,
-0.018387120217084885,
-0.14929194748401642,
0.027960000559687614,
-0.055329836905002594,
0.04856427013874054,
0.03798937052488327,
-0.000024435224986518733,
0.013662136159837246,
0.017274394631385803,
0.04477574676275253,
0.00686438987031579,
0.008806421421468258,
0.10534391552209854,
-0.055612534284591675,
0.008055416867136955,
-0.05399328097701073,
0.020567556843161583,
-0.04182196781039238,
-0.0066459341906011105,
0.033962760120630264,
0.024082988500595093,
-0.07235636562108994,
-0.019728155806660652,
-0.06451984494924545,
-0.08787819743156433,
-0.021649017930030823,
0.06108597666025162,
0.014601100236177444,
0.0358663834631443,
-0.022176619619131088,
0.06875596195459366,
0.07763964682817459,
-0.025174451991915703,
0.024200331419706345,
-0.0196352768689394,
0.0019683788996189833,
0.02926582098007202,
0.033909380435943604,
-0.047611065208911896,
-0.015463940799236298,
0.0915500670671463,
0.021561691537499428,
0.07537679374217987,
0.055009596049785614,
0.07296644896268845,
0.09847521036863327,
0.0694531500339508,
0.0010200003162026405,
0.047559503465890884,
-0.06280065327882767,
0.0007922434015199542,
-0.00576339615508914,
-0.01112822163850069,
0.08149975538253784,
-0.0806935653090477,
0.03539808839559555,
-0.02770732156932354,
0.0007829405949451029,
0.03835398703813553,
-0.02763429470360279,
-0.030710889026522636,
0.01164205837994814,
0.02270060032606125,
0.04601026698946953,
0.00965135172009468,
0.029349451884627342,
-0.04955315962433815,
0.014984061010181904,
-0.04761727899312973,
0.0267746951431036,
-0.0045349434949457645,
-0.1012042760848999,
-0.015148302540183067,
-0.09822510927915573,
-4.218058705150262e-33,
0.07128924131393433,
0.03247509524226189,
-0.03189975395798683,
0.09204315394163132,
-0.03670591115951538,
-0.0796452984213829,
0.042299069464206696,
-0.019665297120809555,
-0.014694913290441036,
-0.007529166992753744,
-0.021537650376558304,
0.024058209732174873,
-0.07198560982942581,
-0.13640542328357697,
0.063105508685112,
-0.017471445724368095,
-0.12391266971826553,
-0.057744670659303665,
0.02241348661482334,
-0.02053321711719036,
-0.020366566255688667,
0.07450535148382187,
0.006950024049729109,
0.09395932406187057,
-0.0327097550034523,
-0.06774121522903442,
0.06037544831633568,
-0.0009506930946372449,
-0.010610840283334255,
-0.03725256398320198,
0.0027464209124445915,
0.07128143310546875,
-0.05459488555788994,
0.04532856121659279,
-0.02287939563393593,
-0.0052417246624827385,
0.0195392444729805,
0.13757897913455963,
0.01241537556052208,
0.03498039022088051,
0.011947104707360268,
0.047137822955846786,
-0.08619742095470428,
0.041719235479831696,
-0.028610317036509514,
0.05762498080730438,
0.016414297744631767,
-0.0049551911652088165,
-0.04537516087293625,
0.09122087806463242,
0.023322777822613716,
-0.03054954670369625,
-0.004412988666445017,
0.00596341909840703,
0.0032341687474399805,
-0.020216939970850945,
0.05595371499657631,
-0.08177445083856583,
-0.016170712187886238,
-0.003537337528541684,
0.004906177520751953,
-0.0737590417265892,
-0.01990433596074581,
-0.035684339702129364,
0.02889292687177658,
-0.011681932955980301,
-0.009849670343101025,
0.021706311032176018,
-0.05716714635491371,
0.012928079813718796,
0.009486936964094639,
-0.03798877075314522,
0.11386726051568985,
-0.05095665156841278,
0.0049480595625936985,
0.0009933261899277568,
0.01156274601817131,
-0.06355452537536621,
0.020850369706749916,
0.03835975006222725,
0.009624523110687733,
0.04101455956697464,
0.041184015572071075,
0.03606906160712242,
-0.04931171238422394,
0.06274578720331192,
-0.0688265785574913,
0.14816080033779144,
0.00469715753570199,
0.018535703420639038,
-0.010602944530546665,
0.018994536250829697,
0.04759474843740463,
0.064449243247509,
-0.020971177145838737,
-5.5307594948317274e-8,
0.002488810569047928,
0.008202488534152508,
-0.10135561972856522,
0.0013059580232948065,
-0.03289623185992241,
0.06356563419103622,
-0.007926279678940773,
0.02659361995756626,
-0.004914110992103815,
-0.04211357235908508,
0.08558439463376999,
0.04141788184642792,
-0.05928928405046463,
0.0019349652575328946,
-0.08042975515127182,
0.00835861824452877,
-0.009159802459180355,
0.09419295191764832,
-0.0170410368591547,
-0.03661549463868141,
0.0071743326261639595,
-0.007105418015271425,
-0.003335481509566307,
-0.005264744628220797,
0.0130679402500391,
-0.028488725423812866,
-0.10151220113039017,
0.05855805054306984,
-0.0433654859662056,
0.01730423979461193,
-0.0094446437433362,
0.0075990441255271435,
0.05556236580014229,
-0.03922012075781822,
-0.014347314834594727,
-0.025528278201818466,
-0.005645203869789839,
-0.04663984477519989,
0.017395084723830223,
-0.03475182130932808,
0.03558788448572159,
0.04599274322390556,
-0.047386884689331055,
-0.05584658309817314,
-0.09693581610918045,
-0.014561869204044342,
0.0237271748483181,
0.03847883641719818,
0.004178560804575682,
-0.012456262484192848,
0.003138388739898801,
-0.02358773909509182,
0.03712664917111397,
0.020376089960336685,
0.013508716598153114,
0.0035657293628901243,
0.07046005874872208,
-0.06061132624745369,
0.02389294095337391,
0.04009087383747101,
0.031873732805252075,
-0.05266489088535309,
0.01553802564740181,
0.017529787495732307
] | 0.040249 |
hyphens, quote the key (JSON5 allows quoted keys). Config keys match the \*\*skill name\*\* by default. If a skill defines `metadata.openclaw.skillKey`, use that key under `skills.entries`. Rules: - `enabled: false` disables the skill even if it’s bundled/installed. - `env`: injected \*\*only if\*\* the variable isn’t already set in the process. - `apiKey`: convenience for skills that declare `metadata.openclaw.primaryEnv`. - `config`: optional bag for custom per-skill fields; custom keys must live here. - `allowBundled`: optional allowlist for \*\*bundled\*\* skills only. If set, only bundled skills in the list are eligible (managed/workspace skills unaffected). ## Environment injection (per agent run) When an agent run starts, OpenClaw: 1. Reads skill metadata. 2. Applies any `skills.entries..env` or `skills.entries..apiKey` to `process.env`. 3. Builds the system prompt with \*\*eligible\*\* skills. 4. Restores the original environment after the run ends. This is \*\*scoped to the agent run\*\*, not a global shell environment. ## Session snapshot (performance) OpenClaw snapshots the eligible skills \*\*when a session starts\*\* and reuses that list for subsequent turns in the same session. Changes to skills or config take effect on the next new session. Skills can also refresh mid-session when the skills watcher is enabled or when a new eligible remote node appears (see below). Think of this as a \*\*hot reload\*\*: the refreshed list is picked up on the next agent turn. ## Remote macOS nodes (Linux gateway) If the Gateway is running on Linux but a \*\*macOS node\*\* is connected \*\*with `system.run` allowed\*\* (Exec approvals security not set to `deny`), OpenClaw can treat macOS-only skills as eligible when the required binaries are present on that node. The agent should execute those skills via the `nodes` tool (typically `nodes.run`). This relies on the node reporting its command support and on a bin probe via `system.run`. If the macOS node goes offline later, the skills remain visible; invocations may fail until the node reconnects. ## Skills watcher (auto-refresh) By default, OpenClaw watches skill folders and bumps the skills snapshot when `SKILL.md` files change. Configure this under `skills.load`: ```json5 { skills: { load: { watch: true, watchDebounceMs: 250, }, }, } ``` ## Token impact (skills list) When skills are eligible, OpenClaw injects a compact XML list of available skills into the system prompt (via `formatSkillsForPrompt` in `pi-coding-agent`). The cost is deterministic: - \*\*Base overhead (only when ≥1 skill):\*\* 195 characters. - \*\*Per skill:\*\* 97 characters + the length of the XML-escaped ``, ``, and `` values. Formula (characters): ``` total = 195 + Σ (97 + len(name\_escaped) + len(description\_escaped) + len(location\_escaped)) ``` Notes: - XML escaping expands `& < > " '` into entities (`&`, `<`, etc.), increasing length. - Token counts vary by model tokenizer. A rough OpenAI-style estimate is ~4 chars/token, so \*\*97 chars ≈ 24 tokens\*\* per skill plus your actual field lengths. ## Managed skills lifecycle OpenClaw ships a baseline set of skills as \*\*bundled skills\*\* as part of the install (npm package or OpenClaw.app). `~/.openclaw/skills` exists for local overrides (for example, pinning/patching a skill without changing the bundled copy). Workspace skills are user-owned and override both on name conflicts. ## Config reference See [Skills config](/tools/skills-config) for the full configuration schema. ## Looking for more skills? Browse https://clawhub.com. --- | https://github.com/openclaw/openclaw/blob/main//docs/tools/skills.md | main | opebclaw | [
-0.037110891193151474,
0.04272783547639847,
-0.07538852840662003,
0.056573208421468735,
0.0006161327473819256,
-0.05006149411201477,
0.019146516919136047,
-0.013354526832699776,
-0.08969374001026154,
-0.04845159128308296,
0.06451808661222458,
-0.018251558765769005,
0.048547111451625824,
0.027964411303400993,
0.06859287619590759,
0.09942333400249481,
-0.04059647023677826,
-0.029214128851890564,
-0.07507921755313873,
-0.05776349827647209,
0.04743754491209984,
0.05632176250219345,
0.03159037604928017,
-0.0674162432551384,
-0.04360726475715637,
-0.035256680101156235,
-0.050843264907598495,
0.05467112734913826,
-0.029072916135191917,
0.0025664300192147493,
0.02297680266201496,
0.06472248584032059,
-0.016976969316601753,
0.04273482412099838,
0.0928308442234993,
0.06197484955191612,
0.04451454058289528,
0.0036904634907841682,
-0.045368172228336334,
0.01552969217300415,
0.014178610406816006,
-0.03308458253741264,
-0.061217740178108215,
-0.03034467063844204,
-0.055553022772073746,
-0.018143780529499054,
-0.0013109215069562197,
-0.08248075097799301,
-0.029951347038149834,
0.061327047646045685,
-0.12838135659694672,
-0.048480577766895294,
-0.009735209867358208,
-0.08675848692655563,
0.02213241346180439,
0.03959781304001808,
-0.05811673402786255,
-0.009674794040620327,
-0.03763211518526077,
-0.08531034737825394,
0.037518467754125595,
0.006543873343616724,
-0.10027419030666351,
0.04012266546487808,
-0.10247769206762314,
0.017260249704122543,
-0.0828440934419632,
-0.07264675199985504,
-0.004795365035533905,
-0.05767139419913292,
-0.026184136047959328,
-0.012134548276662827,
-0.05346599593758583,
-0.03280822932720184,
0.02742421068251133,
-0.0160391665995121,
0.04215240105986595,
-0.012144158594310284,
0.020489437505602837,
-0.09941922128200531,
-0.06002580747008324,
-0.02119501307606697,
-0.05063720420002937,
0.029096046462655067,
-0.009697805158793926,
0.09794168919324875,
-0.02583390474319458,
-0.004063973668962717,
0.04707016795873642,
0.030186431482434273,
0.006286456249654293,
-0.17250172793865204,
0.052155960351228714,
-0.011556358076632023,
0.04134708642959595,
0.0959988608956337,
0.009896819479763508,
0.03738096356391907,
-0.11699911206960678,
0.08928195387125015,
-0.08431544899940491,
-0.15730592608451843,
-0.013703545555472374,
0.02934199757874012,
-0.03408275917172432,
0.044000957161188126,
0.05409689247608185,
0.05458582192659378,
-0.05274667218327522,
-0.026165984570980072,
0.02712513878941536,
0.0737774446606636,
0.03076300397515297,
-0.06347890943288803,
-0.02536199800670147,
0.10923989117145538,
-0.06908773630857468,
0.0034813513047993183,
0.04737091064453125,
0.09454359114170074,
0.06544367969036102,
0.010905589908361435,
0.02795880287885666,
0.007648847531527281,
0.06122298166155815,
0.01932518184185028,
0.016722632572054863,
4.0969427467392414e-33,
0.07698800414800644,
0.019567519426345825,
0.030249176546931267,
0.02645951509475708,
0.04088800400495529,
-0.014089472591876984,
0.06758437305688858,
-0.0026653779204934835,
-0.043876271694898605,
0.015555739402770996,
-0.01001369021832943,
0.04363546893000603,
-0.09495968371629715,
-0.0035074404440820217,
0.048200082033872604,
0.04296455532312393,
-0.026252616196870804,
0.04438124969601631,
0.054476071149110794,
0.01131418813019991,
0.058080293238162994,
0.018169594928622246,
-0.060501568019390106,
0.03579600900411606,
-0.07509198039770126,
0.023182371631264687,
-0.028425857424736023,
-0.04535912349820137,
0.007557649631053209,
0.0617251843214035,
0.05826561897993088,
-0.015565501525998116,
-0.017293604090809822,
0.053311605006456375,
0.0017785698873922229,
0.06537674367427826,
-0.045006416738033295,
-0.017725368961691856,
-0.019622966647148132,
-0.04599803313612938,
0.010120241902768612,
0.013267532922327518,
0.005592942237854004,
0.012170995585620403,
0.013855623081326485,
-0.07873525470495224,
0.019071077927947044,
0.055417731404304504,
-0.000102207537565846,
0.0768895149230957,
0.0012945948401466012,
0.05946832522749901,
0.09124712646007538,
-0.06857167184352875,
0.01442465465515852,
-0.004457904491573572,
0.009895779192447662,
0.08635945618152618,
-0.0013582281535491347,
0.03655298054218292,
-0.03141555190086365,
0.007710699457675219,
-0.030713068321347237,
0.058891378343105316,
0.024609675630927086,
-0.0014075711369514465,
0.0571722649037838,
0.012144864536821842,
0.03865193948149681,
-0.027183890342712402,
-0.041984401643276215,
0.004300668369978666,
-0.006176798138767481,
0.028367016464471817,
-0.043248243629932404,
-0.07167555391788483,
0.06754788011312485,
-0.07234755903482437,
0.026115471497178078,
-0.045296549797058105,
0.04468217492103577,
0.05779624357819557,
-0.08364468067884445,
0.0232489425688982,
-0.019757162779569626,
0.021915236487984657,
-0.007076181937009096,
-0.04793057590723038,
0.08250946551561356,
0.00037254628841765225,
0.032590631395578384,
-0.03250947967171669,
-0.09397213160991669,
-0.026739973574876785,
-0.063566654920578,
-5.160822439583014e-33,
0.021403269842267036,
-0.060708530247211456,
-0.01206075120717287,
0.028029296547174454,
0.014469719491899014,
0.01161620207130909,
0.046094585210084915,
-0.016416868194937706,
0.013989218510687351,
-0.07459095865488052,
0.03146367147564888,
0.013489543460309505,
0.006257210858166218,
-0.0873430073261261,
0.032820697873830795,
-0.02652900107204914,
-0.18257947266101837,
-0.006672992836683989,
0.04151911661028862,
0.039151567965745926,
-0.00785402487963438,
0.033234961330890656,
0.001265329192392528,
0.0974712073802948,
0.07637086510658264,
-0.04663807898759842,
-0.08651672303676605,
0.02749771997332573,
-0.008367304690182209,
0.04010859131813049,
0.035852935165166855,
0.042929116636514664,
-0.07862350344657898,
0.013660673052072525,
-0.07222946733236313,
-0.05841005593538284,
-0.08501832187175751,
0.02170739695429802,
0.0064905607141554356,
0.08053109049797058,
0.004782357253134251,
-0.05433136224746704,
-0.06222709268331528,
0.016612887382507324,
-0.04543030634522438,
0.04167550802230835,
0.004254723433405161,
-0.04305369779467583,
-0.01870635151863098,
-0.04625587910413742,
0.05591649189591408,
-0.012613659724593163,
-0.054773230105638504,
-0.038195714354515076,
0.020215759053826332,
0.036692991852760315,
0.05118308216333389,
-0.05403641611337662,
-0.01917421817779541,
-0.021683411672711372,
0.03720855340361595,
0.003829472465440631,
-0.01311817392706871,
0.11202143877744675,
0.02897065132856369,
-0.0817406103014946,
-0.07669365406036377,
0.06877484917640686,
-0.06208770349621773,
-0.0773347020149231,
-0.048932671546936035,
-0.08024711906909943,
0.01627040095627308,
-0.10720577836036682,
0.012047861702740192,
-0.030151506885886192,
-0.004538882058113813,
0.004519325215369463,
0.0033613659907132387,
0.08106410503387451,
-0.07162883132696152,
-0.03578741475939751,
0.010591577738523483,
0.06661822646856308,
0.028178628534078598,
0.028068358078598976,
0.03168821334838867,
0.08939166367053986,
0.00317174824886024,
0.07544534653425217,
-0.03297596797347069,
0.04349386319518089,
-0.025375915691256523,
0.03247964009642601,
0.00003873394234688021,
-5.331234476102509e-8,
-0.07991911470890045,
-0.004362921696156263,
-0.0844806507229805,
0.021321183070540428,
0.00619155541062355,
0.020004117861390114,
-0.0026130792684853077,
0.049989718943834305,
-0.0005052007036283612,
0.06160713732242584,
0.13426531851291656,
0.030821360647678375,
-0.05600753054022789,
-0.06511439383029938,
-0.06171901896595955,
0.07737062126398087,
-0.014450756832957268,
0.11507850140333176,
-0.033218640834093094,
-0.03067566454410553,
0.06266877055168152,
0.011679372750222683,
-0.019074568524956703,
0.012886738404631615,
0.01059374026954174,
-0.05264381691813469,
-0.07577630132436752,
0.044730376452207565,
0.031585924327373505,
0.10406140238046646,
0.0019649271853268147,
-0.07407853752374649,
0.07374230772256851,
-0.026743542402982712,
-0.02764682099223137,
0.0075215487740933895,
-0.004285235423594713,
0.019528768956661224,
0.014162577688694,
0.023886824026703835,
0.015778496861457825,
0.021821241825819016,
-0.08081504702568054,
-0.015011230483651161,
-0.05255648121237755,
0.020466845482587814,
-0.003960047382861376,
0.04785515367984772,
0.02255713753402233,
-0.007031881716102362,
-0.054267533123493195,
0.0012927725911140442,
-0.01086407620459795,
-0.008188700303435326,
-0.0052398815751075745,
0.11169831454753876,
0.07326029241085052,
-0.010605833493173122,
-0.015290728770196438,
-0.02944323606789112,
0.018147822469472885,
0.0032693303655833006,
0.04031912237405777,
0.002983096754178405
] | 0.024124 |
# Tools (OpenClaw) OpenClaw exposes \*\*first-class agent tools\*\* for browser, canvas, nodes, and cron. These replace the old `openclaw-\*` skills: the tools are typed, no shelling, and the agent should rely on them directly. ## Disabling tools You can globally allow/deny tools via `tools.allow` / `tools.deny` in `openclaw.json` (deny wins). This prevents disallowed tools from being sent to model providers. ```json5 { tools: { deny: ["browser"] }, } ``` Notes: - Matching is case-insensitive. - `\*` wildcards are supported (`"\*"` means all tools). - If `tools.allow` only references unknown or unloaded plugin tool names, OpenClaw logs a warning and ignores the allowlist so core tools stay available. ## Tool profiles (base allowlist) `tools.profile` sets a \*\*base tool allowlist\*\* before `tools.allow`/`tools.deny`. Per-agent override: `agents.list[].tools.profile`. Profiles: - `minimal`: `session\_status` only - `coding`: `group:fs`, `group:runtime`, `group:sessions`, `group:memory`, `image` - `messaging`: `group:messaging`, `sessions\_list`, `sessions\_history`, `sessions\_send`, `session\_status` - `full`: no restriction (same as unset) Example (messaging-only by default, allow Slack + Discord tools too): ```json5 { tools: { profile: "messaging", allow: ["slack", "discord"], }, } ``` Example (coding profile, but deny exec/process everywhere): ```json5 { tools: { profile: "coding", deny: ["group:runtime"], }, } ``` Example (global coding profile, messaging-only support agent): ```json5 { tools: { profile: "coding" }, agents: { list: [ { id: "support", tools: { profile: "messaging", allow: ["slack"] }, }, ], }, } ``` ## Provider-specific tool policy Use `tools.byProvider` to \*\*further restrict\*\* tools for specific providers (or a single `provider/model`) without changing your global defaults. Per-agent override: `agents.list[].tools.byProvider`. This is applied \*\*after\*\* the base tool profile and \*\*before\*\* allow/deny lists, so it can only narrow the tool set. Provider keys accept either `provider` (e.g. `google-antigravity`) or `provider/model` (e.g. `openai/gpt-5.2`). Example (keep global coding profile, but minimal tools for Google Antigravity): ```json5 { tools: { profile: "coding", byProvider: { "google-antigravity": { profile: "minimal" }, }, }, } ``` Example (provider/model-specific allowlist for a flaky endpoint): ```json5 { tools: { allow: ["group:fs", "group:runtime", "sessions\_list"], byProvider: { "openai/gpt-5.2": { allow: ["group:fs", "sessions\_list"] }, }, }, } ``` Example (agent-specific override for a single provider): ```json5 { agents: { list: [ { id: "support", tools: { byProvider: { "google-antigravity": { allow: ["message", "sessions\_list"] }, }, }, }, ], }, } ``` ## Tool groups (shorthands) Tool policies (global, agent, sandbox) support `group:\*` entries that expand to multiple tools. Use these in `tools.allow` / `tools.deny`. Available groups: - `group:runtime`: `exec`, `bash`, `process` - `group:fs`: `read`, `write`, `edit`, `apply\_patch` - `group:sessions`: `sessions\_list`, `sessions\_history`, `sessions\_send`, `sessions\_spawn`, `session\_status` - `group:memory`: `memory\_search`, `memory\_get` - `group:web`: `web\_search`, `web\_fetch` - `group:ui`: `browser`, `canvas` - `group:automation`: `cron`, `gateway` - `group:messaging`: `message` - `group:nodes`: `nodes` - `group:openclaw`: all built-in OpenClaw tools (excludes provider plugins) Example (allow only file tools + browser): ```json5 { tools: { allow: ["group:fs", "browser"], }, } ``` ## Plugins + tools Plugins can register \*\*additional tools\*\* (and CLI commands) beyond the core set. See [Plugins](/plugin) for install + config, and [Skills](/tools/skills) for how tool usage guidance is injected into prompts. Some plugins ship their own skills alongside tools (for example, the voice-call plugin). Optional plugin tools: - [Lobster](/tools/lobster): typed workflow runtime with resumable approvals (requires the Lobster CLI on the gateway host). - [LLM Task](/tools/llm-task): JSON-only LLM step for structured workflow output (optional schema validation). ## Tool inventory ### `apply\_patch` Apply structured patches across one or more files. Use for multi-hunk edits. Experimental: enable via `tools.exec.applyPatch.enabled` (OpenAI models only). ### `exec` Run shell commands in the workspace. Core parameters: - `command` (required) - `yieldMs` (auto-background after timeout, default 10000) - `background` (immediate background) - `timeout` (seconds; kills the process if exceeded, default 1800) - `elevated` (bool; run on host if | https://github.com/openclaw/openclaw/blob/main//docs/tools/index.md | main | opebclaw | [
-0.10198945552110672,
0.03162470832467079,
-0.05007842555642128,
0.049206338822841644,
0.042290523648262024,
-0.059512909501791,
-0.04488377645611763,
-0.05073162168264389,
-0.06837692111730576,
-0.019788075238466263,
0.03482915461063385,
-0.030564799904823303,
0.040968358516693115,
0.04989802837371826,
0.04462394118309021,
0.12729279696941376,
0.05537092313170433,
-0.019400371238589287,
0.020852157846093178,
-0.022525792941451073,
0.013996882364153862,
0.0509437657892704,
-0.032205499708652496,
-0.035915642976760864,
-0.08233094960451126,
-0.058278344571590424,
-0.0742330327630043,
-0.041743818670511246,
-0.024923747405409813,
-0.00031813481473363936,
-0.010195407085120678,
-0.01627235859632492,
-0.05926918238401413,
0.012807071208953857,
0.0982324630022049,
0.030827589333057404,
0.027386978268623352,
-0.04838365316390991,
-0.0369771271944046,
-0.023526988923549652,
0.03411517292261124,
0.04032730311155319,
-0.03955361992120743,
-0.1087595745921135,
-0.057653456926345825,
-0.12997952103614807,
-0.016433563083410263,
-0.10282943397760391,
-0.03702801093459129,
-0.011475891806185246,
-0.08224105089902878,
-0.06664034724235535,
-0.04065409302711487,
-0.07892782986164093,
0.03433424234390259,
-0.06107340008020401,
-0.002919793827459216,
-0.03594018146395683,
0.0642228052020073,
-0.00586668448522687,
0.02779732458293438,
-0.010388117283582687,
-0.09740526974201202,
0.02798233926296234,
-0.1203034445643425,
0.01554915215820074,
-0.053905848413705826,
-0.0188446007668972,
-0.05700812488794327,
0.019870784133672714,
-0.01931806467473507,
-0.010412408970296383,
-0.02037481591105461,
-0.05909359082579613,
0.09244529902935028,
-0.04615483060479164,
-0.00964493490755558,
0.008791405707597733,
-0.015490584075450897,
-0.12182838469743729,
-0.06789157539606094,
-0.0615798756480217,
0.00365171255543828,
0.04289153590798378,
-0.048241663724184036,
0.1771335005760193,
0.012714650481939316,
0.039469871670007706,
0.09778556227684021,
0.008456407114863396,
-0.011398504488170147,
-0.07661501318216324,
0.011992163024842739,
0.022967467084527016,
0.05088929831981659,
-0.019006483256816864,
0.0301271490752697,
-0.0006550727994181216,
-0.0850771963596344,
0.0874079167842865,
-0.030216587707400322,
-0.05611040070652962,
0.048030804842710495,
-0.02788993902504444,
-0.0029415939934551716,
0.07784269750118256,
-0.00431792251765728,
0.061546679586172104,
-0.028715815395116806,
0.024943716824054718,
0.009755261242389679,
0.03513333201408386,
0.03816988319158554,
-0.056362323462963104,
0.0010751154040917754,
-0.005008199717849493,
0.024390820413827896,
0.0028892974369227886,
0.02877446636557579,
0.04502386972308159,
0.11758478730916977,
0.09290185570716858,
0.042095083743333817,
-0.027091115713119507,
0.13000212609767914,
0.07483674585819244,
0.015409762971103191,
4.532661033706631e-33,
0.1101672425866127,
-0.03755699098110199,
-0.0394204705953598,
0.0362507663667202,
0.07554846256971359,
0.04288114979863167,
0.02889063023030758,
0.057359226047992706,
-0.05251342058181763,
0.0699659138917923,
0.015159307979047298,
0.11098826676607132,
-0.0707932636141777,
0.005177851300686598,
0.06648102402687073,
0.020592927932739258,
0.04310151934623718,
0.010585245676338673,
0.08128902316093445,
0.0005842506652697921,
-0.011995510198175907,
-0.06666135787963867,
-0.08368977904319763,
0.08428730815649033,
-0.05047815293073654,
0.03723052516579628,
-0.020498936995863914,
-0.0049680606462061405,
0.03229237347841263,
0.03816188871860504,
0.017267663031816483,
0.020620305091142654,
0.03429883345961571,
0.08990908414125443,
-0.01936476118862629,
0.06112286448478699,
-0.06430956721305847,
-0.0446789525449276,
0.01024661585688591,
-0.06381993740797043,
-0.020227110013365746,
-0.020284876227378845,
-0.10564259439706802,
-0.06417402625083923,
0.027518421411514282,
-0.12750403583049774,
-0.058533165603876114,
0.029632633551955223,
0.021594129502773285,
0.0024811679031699896,
-0.023787304759025574,
0.05577709525823593,
0.10272765904664993,
0.017187265679240227,
-0.018727080896496773,
-0.015952248126268387,
0.0007458209292963147,
0.05032787844538689,
0.05412955954670906,
0.004101194906979799,
0.03417883440852165,
0.019495608285069466,
0.004335144534707069,
0.016968538984656334,
0.015416229143738747,
-0.027041248977184296,
0.0367838516831398,
0.026683669537305832,
-0.03678667172789574,
0.01321684941649437,
-0.053675051778554916,
0.03666859120130539,
0.01735466904938221,
0.03552448749542236,
-0.02541431225836277,
-0.15754038095474243,
0.06614255160093307,
0.02585119754076004,
0.05447867885231972,
-0.035036321729421616,
0.03870387375354767,
0.01200840063393116,
0.0027214810252189636,
-0.018986165523529053,
-0.011035512201488018,
-0.022189652547240257,
-0.031118357554078102,
-0.004998608957976103,
0.029765969142317772,
0.016792403534054756,
-0.016053631901741028,
-0.022032784298062325,
-0.08854341506958008,
0.03122722916305065,
-0.03384040668606758,
-6.740599052353842e-33,
-0.00863441452383995,
-0.009266491048038006,
-0.004802689887583256,
0.00007454501610482112,
-0.03386661037802696,
-0.047608278691768646,
-0.009992234408855438,
-0.07914607971906662,
0.022019699215888977,
-0.10663649439811707,
0.04452654346823692,
0.041518837213516235,
0.05146540701389313,
-0.08759944885969162,
0.06171969696879387,
-0.03905991092324257,
-0.10779209434986115,
-0.09806164354085922,
-0.014028012752532959,
-0.009011729620397091,
-0.01049887202680111,
0.037510257214307785,
0.009029469452798367,
0.05501743406057358,
0.0033849028404802084,
-0.05402355268597603,
-0.06910623610019684,
-0.01020848099142313,
0.01188771240413189,
-0.0018447833135724068,
0.03872475400567055,
0.046406008303165436,
-0.042756229639053345,
-0.0350387804210186,
-0.017775699496269226,
0.0014828350394964218,
-0.033581871539354324,
0.11745517700910568,
0.011895169503986835,
0.0032635857351124287,
0.05575963854789734,
-0.020310040563344955,
-0.06177309900522232,
0.029813207685947418,
0.0048720864579081535,
0.06879643350839615,
0.009024069644510746,
-0.04907267168164253,
-0.028365077450871468,
-0.023266781121492386,
-0.007851134054362774,
0.022386478260159492,
0.057538487017154694,
-0.07821360230445862,
-0.009233230724930763,
0.024927234277129173,
0.07909683138132095,
-0.10754674673080444,
0.0028364763129502535,
-0.017697181552648544,
0.0508250892162323,
-0.04727860167622566,
-0.07290273904800415,
0.12283509969711304,
-0.002995214192196727,
-0.007245566695928574,
-0.06664711236953735,
0.04250520095229149,
-0.035151898860931396,
-0.022088458761572838,
-0.01346534863114357,
-0.0287308506667614,
0.03842291608452797,
-0.05836359038949013,
0.02936876378953457,
-0.054635610431432724,
-0.02613804303109646,
-0.04446845501661301,
-0.008748115040361881,
0.07041965425014496,
0.00826965644955635,
0.03581281378865242,
0.04299920052289963,
-0.03973614051938057,
-0.023953309282660484,
-0.025588106364011765,
-0.04680910333991051,
0.038624461740255356,
0.010678750462830067,
0.02219262346625328,
-0.04689059779047966,
0.023920102044939995,
-0.029109666123986244,
0.03478550165891647,
-0.024078622460365295,
-5.2800547933884445e-8,
-0.020127974450588226,
-0.017041128128767014,
-0.06723170727491379,
-0.011426277458667755,
-0.009257142432034016,
0.008132681250572205,
-0.01708906702697277,
0.03555934131145477,
-0.002230290789157152,
0.04650352895259857,
0.11272972822189331,
0.022113103419542313,
-0.0639512911438942,
0.010614420287311077,
-0.03292880952358246,
0.06121944636106491,
-0.021450059488415718,
-0.00005462050830828957,
-0.0033080533612519503,
-0.041838403791189194,
0.008938963524997234,
-0.021137768402695656,
0.041784193366765976,
0.03500386327505112,
-0.044369664043188095,
-0.06333819776773453,
-0.09986785799264908,
-0.003641546471044421,
-0.01482111494988203,
0.1259988248348236,
-0.048436760902404785,
-0.037549424916505814,
0.024962052702903748,
-0.01592128723859787,
-0.025506887584924698,
0.042801838368177414,
-0.028514791280031204,
0.003864079713821411,
0.003004523692652583,
0.002007200848311186,
0.06889298558235168,
0.03667207062244415,
-0.055859070271253586,
-0.04312858358025551,
-0.05835476145148277,
0.02052418887615204,
-0.0026091313920915127,
-0.014838293194770813,
0.0696750283241272,
-0.0023190861102193594,
-0.03737304359674454,
0.05627374351024628,
0.007580989971756935,
0.06859738379716873,
-0.020220614969730377,
0.07368665933609009,
0.11190403252840042,
-0.07483896613121033,
0.0075819226913154125,
0.03663663566112518,
-0.035973113030195236,
-0.03147325664758682,
0.12858572602272034,
0.03992901369929314
] | 0.07507 |
multi-hunk edits. Experimental: enable via `tools.exec.applyPatch.enabled` (OpenAI models only). ### `exec` Run shell commands in the workspace. Core parameters: - `command` (required) - `yieldMs` (auto-background after timeout, default 10000) - `background` (immediate background) - `timeout` (seconds; kills the process if exceeded, default 1800) - `elevated` (bool; run on host if elevated mode is enabled/allowed; only changes behavior when the agent is sandboxed) - `host` (`sandbox | gateway | node`) - `security` (`deny | allowlist | full`) - `ask` (`off | on-miss | always`) - `node` (node id/name for `host=node`) - Need a real TTY? Set `pty: true`. Notes: - Returns `status: "running"` with a `sessionId` when backgrounded. - Use `process` to poll/log/write/kill/clear background sessions. - If `process` is disallowed, `exec` runs synchronously and ignores `yieldMs`/`background`. - `elevated` is gated by `tools.elevated` plus any `agents.list[].tools.elevated` override (both must allow) and is an alias for `host=gateway` + `security=full`. - `elevated` only changes behavior when the agent is sandboxed (otherwise it’s a no-op). - `host=node` can target a macOS companion app or a headless node host (`openclaw node run`). - gateway/node approvals and allowlists: [Exec approvals](/tools/exec-approvals). ### `process` Manage background exec sessions. Core actions: - `list`, `poll`, `log`, `write`, `kill`, `clear`, `remove` Notes: - `poll` returns new output and exit status when complete. - `log` supports line-based `offset`/`limit` (omit `offset` to grab the last N lines). - `process` is scoped per agent; sessions from other agents are not visible. ### `web\_search` Search the web using Brave Search API. Core parameters: - `query` (required) - `count` (1–10; default from `tools.web.search.maxResults`) Notes: - Requires a Brave API key (recommended: `openclaw configure --section web`, or set `BRAVE\_API\_KEY`). - Enable via `tools.web.search.enabled`. - Responses are cached (default 15 min). - See [Web tools](/tools/web) for setup. ### `web\_fetch` Fetch and extract readable content from a URL (HTML → markdown/text). Core parameters: - `url` (required) - `extractMode` (`markdown` | `text`) - `maxChars` (truncate long pages) Notes: - Enable via `tools.web.fetch.enabled`. - `maxChars` is clamped by `tools.web.fetch.maxCharsCap` (default 50000). - Responses are cached (default 15 min). - For JS-heavy sites, prefer the browser tool. - See [Web tools](/tools/web) for setup. - See [Firecrawl](/tools/firecrawl) for the optional anti-bot fallback. ### `browser` Control the dedicated OpenClaw-managed browser. Core actions: - `status`, `start`, `stop`, `tabs`, `open`, `focus`, `close` - `snapshot` (aria/ai) - `screenshot` (returns image block + `MEDIA:`) - `act` (UI actions: click/type/press/hover/drag/select/fill/resize/wait/evaluate) - `navigate`, `console`, `pdf`, `upload`, `dialog` Profile management: - `profiles` — list all browser profiles with status - `create-profile` — create new profile with auto-allocated port (or `cdpUrl`) - `delete-profile` — stop browser, delete user data, remove from config (local only) - `reset-profile` — kill orphan process on profile's port (local only) Common parameters: - `profile` (optional; defaults to `browser.defaultProfile`) - `target` (`sandbox` | `host` | `node`) - `node` (optional; picks a specific node id/name) Notes: - Requires `browser.enabled=true` (default is `true`; set `false` to disable). - All actions accept optional `profile` parameter for multi-instance support. - When `profile` is omitted, uses `browser.defaultProfile` (defaults to "chrome"). - Profile names: lowercase alphanumeric + hyphens only (max 64 chars). - Port range: 18800-18899 (~100 profiles max). - Remote profiles are attach-only (no start/stop/reset). - If a browser-capable node is connected, the tool may auto-route to it (unless you pin `target`). - `snapshot` defaults to `ai` when Playwright is installed; use `aria` for the accessibility tree. - `snapshot` also supports role-snapshot options (`interactive`, `compact`, `depth`, `selector`) which return refs like `e12`. - `act` requires `ref` from `snapshot` (numeric `12` from AI snapshots, or `e12` from role snapshots); use `evaluate` for rare CSS selector needs. - Avoid `act` → `wait` by default; use it | https://github.com/openclaw/openclaw/blob/main//docs/tools/index.md | main | opebclaw | [
-0.013763216324150562,
-0.02679828554391861,
-0.09545502066612244,
0.04090055078268051,
0.05957282707095146,
-0.06884340941905975,
-0.03439522534608841,
0.03465723618865013,
-0.0277592521160841,
0.04086979851126671,
0.05734018236398697,
-0.009301471523940563,
0.03591664880514145,
0.0020617558620870113,
0.1015397161245346,
0.07649549841880798,
0.07236749678850174,
0.0177763719111681,
0.00695465411990881,
-0.04656284675002098,
0.013896273449063301,
0.03955403342843056,
0.061915185302495956,
-0.02660207264125347,
-0.10854831337928772,
-0.06439530104398727,
-0.03535548597574234,
-0.07694349437952042,
-0.012341858819127083,
-0.022560063749551773,
-0.004595656413584948,
0.013965725898742676,
-0.005337662063539028,
0.0013609577436000109,
0.06863295286893845,
0.094436414539814,
-0.0064247120171785355,
-0.028606761246919632,
-0.06713581830263138,
-0.031263723969459534,
0.10307689756155014,
-0.04547714442014694,
-0.0802401602268219,
-0.06259164959192276,
-0.014707982540130615,
-0.07577712833881378,
-0.01256094966083765,
-0.07723866403102875,
0.012492778711020947,
-0.06603361666202545,
-0.004434618167579174,
-0.0027524351608008146,
0.06944995373487473,
-0.022547854110598564,
0.010992680676281452,
0.04957137256860733,
0.003262715879827738,
0.016985485330224037,
0.07304883748292923,
-0.05232113227248192,
-0.02931104227900505,
0.001014568260870874,
-0.02631550095975399,
-0.007986233569681644,
0.01460056472569704,
0.05227144435048103,
-0.01951109990477562,
-0.059398774057626724,
0.07268408685922623,
-0.01624831184744835,
-0.011206284165382385,
0.03007880598306656,
-0.07303816080093384,
-0.07143384218215942,
-0.054821111261844635,
0.0040120515041053295,
0.009548358619213104,
-0.025262607261538506,
-0.08602320402860641,
-0.07049882411956787,
-0.02057209424674511,
-0.05865587294101715,
-0.021012866869568825,
-0.00023843198141548783,
-0.04174865782260895,
0.0976642519235611,
0.01786186173558235,
0.02680942788720131,
0.08548549562692642,
0.03394504636526108,
0.022174227982759476,
0.013321422040462494,
0.013683997094631195,
-0.04888288304209709,
0.04385419562458992,
0.013115833513438702,
-0.021863523870706558,
0.022403240203857422,
-0.12540630996227264,
0.07215616852045059,
0.01837713085114956,
-0.06581611186265945,
-0.06087205186486244,
0.046518296003341675,
0.01496219728142023,
-0.011788595467805862,
0.056404490023851395,
-0.012438859790563583,
-0.03610514476895332,
-0.024443138390779495,
-0.00014577119145542383,
-0.02671627700328827,
0.08014491945505142,
-0.004169555846601725,
0.039261799305677414,
0.06887253373861313,
0.04960933327674866,
0.02278440073132515,
0.03173088654875755,
0.055911947041749954,
0.12071460485458374,
0.01332477293908596,
-0.0082302400842309,
0.003451468190178275,
0.05723094940185547,
0.007508335169404745,
0.0701640173792839,
5.576768544227588e-33,
0.10650216788053513,
-0.0139625808224082,
-0.007938261143863201,
-0.004306631162762642,
0.16272638738155365,
0.010226953774690628,
0.0303265992552042,
-0.02201313152909279,
-0.008391771465539932,
0.016836661845445633,
-0.06770052015781403,
0.018449297174811363,
-0.02528926357626915,
-0.0016977069899439812,
0.0251468475908041,
-0.021540427580475807,
0.011248827911913395,
0.05136697739362717,
0.10049157589673996,
0.05139430984854698,
0.05918337404727936,
-0.0742332860827446,
-0.06331788003444672,
0.06687572598457336,
-0.04012274742126465,
0.02012629248201847,
-0.04812339320778847,
-0.02987360954284668,
0.07188592106103897,
0.024880774319171906,
-0.009584908373653889,
0.014609884470701218,
-0.0442710816860199,
0.05465029552578926,
-0.11393014341592789,
-0.03184551000595093,
-0.09771053493022919,
0.004974435083568096,
-0.027602585032582283,
-0.06476615369319916,
-0.041489943861961365,
0.050497300922870636,
-0.03576419875025749,
0.00262815342284739,
-0.025491826236248016,
-0.10852193087339401,
-0.08441253006458282,
0.06225684657692909,
0.006551857106387615,
0.08328984677791595,
0.008334977552294731,
-0.014654467813670635,
0.008135359734296799,
-0.054719340056180954,
-0.0012696313206106424,
-0.09430944174528122,
-0.0029617862310260534,
-0.021159980446100235,
0.03954770043492317,
0.06245611608028412,
-0.0021144787315279245,
-0.0179702527821064,
-0.04629326984286308,
0.05660953000187874,
-0.02431461773812771,
0.03239264339208603,
-0.030775269493460655,
0.008187731727957726,
0.036566633731126785,
0.011546330526471138,
-0.09675965458154678,
0.05507191643118858,
-0.010669116862118244,
0.025430550798773766,
-0.05235237255692482,
-0.07199165970087051,
0.015186884440481663,
-0.06613404303789139,
-0.05748167634010315,
0.0012387260794639587,
0.015995757654309273,
0.03408212214708328,
-0.03935980051755905,
0.004326359368860722,
0.05844654515385628,
0.007234679069370031,
-0.046962447464466095,
0.026696309447288513,
0.01582775078713894,
0.01885012350976467,
-0.006989733316004276,
-0.023879045620560646,
0.03808251768350601,
-0.03058803640305996,
-0.08686292171478271,
-5.1643445145316654e-33,
0.009937574155628681,
-0.007609114982187748,
-0.09168807417154312,
0.06381012499332428,
0.017702186480164528,
-0.04234487935900688,
-0.03783160820603371,
-0.008611524477601051,
-0.012834394350647926,
-0.02959279716014862,
0.009444674476981163,
0.009770674630999565,
0.08014992624521255,
-0.010733913630247116,
-0.04539010673761368,
-0.024732040241360664,
-0.021433964371681213,
-0.0031569921411573887,
-0.0641796663403511,
0.04263328015804291,
-0.06308451294898987,
0.03330056741833687,
-0.008982940576970577,
0.05558275431394577,
0.060939863324165344,
0.003231438808143139,
-0.05010850727558136,
0.03376304730772972,
-0.05018450692296028,
-0.03500179201364517,
-0.015277250669896603,
0.02068394050002098,
-0.11466074734926224,
0.09245611727237701,
0.002336337696760893,
0.04600634425878525,
0.015336685813963413,
0.12944796681404114,
-0.02071184664964676,
0.06334376335144043,
0.14000366628170013,
-0.03955622389912605,
-0.08438234776258469,
0.05331414192914963,
-0.08405563980340958,
0.07053419202566147,
-0.045337025076150894,
-0.003663733834400773,
-0.10570941120386124,
-0.027781426906585693,
-0.05180203914642334,
-0.018572911620140076,
0.07332871854305267,
0.016322853043675423,
-0.003129214746877551,
-0.0407642163336277,
0.06047942116856575,
0.008283703587949276,
-0.07215641438961029,
-0.01239860337227583,
0.11156342923641205,
-0.07574834674596786,
-0.03184061124920845,
0.09667366743087769,
-0.0018693680176511407,
-0.03858200088143349,
-0.03934038057923317,
0.10515324026346207,
-0.012350109405815601,
-0.046901967376470566,
0.014783612452447414,
-0.06591176986694336,
0.0027075083926320076,
0.08761180937290192,
0.0016281366115435958,
0.015806591138243675,
-0.030642583966255188,
-0.15759599208831787,
0.018181946128606796,
0.1080983430147171,
-0.1041710153222084,
0.00977826863527298,
-0.01168514508754015,
-0.011682126671075821,
-0.025844508782029152,
0.046049270778894424,
-0.034999359399080276,
0.11830759048461914,
0.08142227679491043,
0.06809111684560776,
-0.08940590173006058,
0.016097597777843475,
-0.01074820477515459,
0.04273601993918419,
0.007659043185412884,
-5.8164630445389776e-8,
0.017972689121961594,
-0.06644129008054733,
0.00501494063064456,
0.07190801948308945,
-0.04303910210728645,
0.0010850811377167702,
0.007385531440377235,
-0.024975303560495377,
0.02807411551475525,
-0.02264407090842724,
0.014342096634209156,
-0.018657304346561432,
-0.03158129006624222,
-0.02155015431344509,
0.02633051387965679,
0.08244917541742325,
0.0372948944568634,
0.07757199555635452,
-0.016577977687120438,
-0.09335813671350479,
-0.0615498386323452,
-0.001352883642539382,
-0.0033020596019923687,
0.03181406110525131,
-0.03327873721718788,
-0.01764126867055893,
0.04497252032160759,
0.02936997450888157,
-0.07290097326040268,
0.03497900813817978,
0.017532795667648315,
-0.0791981890797615,
0.015052687376737595,
0.004136236384510994,
-0.06501657515764236,
0.09241516143083572,
0.0012920943554490805,
0.000023447950297850184,
0.021265588700771332,
0.0026537994854152203,
-0.06258299201726913,
0.013320954516530037,
-0.08421719819307327,
-0.05215486139059067,
-0.013699156232178211,
0.01879745163023472,
-0.0265183225274086,
-0.009660263545811176,
0.05250603333115578,
-0.0365244597196579,
-0.019429432228207588,
0.0316988080739975,
0.022896530106663704,
0.09149504452943802,
0.059332892298698425,
0.02429768815636635,
0.07610945403575897,
-0.0864381417632103,
0.03210951015353203,
0.05526119843125343,
-0.011890550144016743,
0.007963989861309528,
0.03193330764770508,
-0.009030400775372982
] | 0.191499 |
the accessibility tree. - `snapshot` also supports role-snapshot options (`interactive`, `compact`, `depth`, `selector`) which return refs like `e12`. - `act` requires `ref` from `snapshot` (numeric `12` from AI snapshots, or `e12` from role snapshots); use `evaluate` for rare CSS selector needs. - Avoid `act` → `wait` by default; use it only in exceptional cases (no reliable UI state to wait on). - `upload` can optionally pass a `ref` to auto-click after arming. - `upload` also supports `inputRef` (aria ref) or `element` (CSS selector) to set `` directly. ### `canvas` Drive the node Canvas (present, eval, snapshot, A2UI). Core actions: - `present`, `hide`, `navigate`, `eval` - `snapshot` (returns image block + `MEDIA:`) - `a2ui\_push`, `a2ui\_reset` Notes: - Uses gateway `node.invoke` under the hood. - If no `node` is provided, the tool picks a default (single connected node or local mac node). - A2UI is v0.8 only (no `createSurface`); the CLI rejects v0.9 JSONL with line errors. - Quick smoke: `openclaw nodes canvas a2ui push --node --text "Hello from A2UI"`. ### `nodes` Discover and target paired nodes; send notifications; capture camera/screen. Core actions: - `status`, `describe` - `pending`, `approve`, `reject` (pairing) - `notify` (macOS `system.notify`) - `run` (macOS `system.run`) - `camera\_snap`, `camera\_clip`, `screen\_record` - `location\_get` Notes: - Camera/screen commands require the node app to be foregrounded. - Images return image blocks + `MEDIA:`. - Videos return `FILE:` (mp4). - Location returns a JSON payload (lat/lon/accuracy/timestamp). - `run` params: `command` argv array; optional `cwd`, `env` (`KEY=VAL`), `commandTimeoutMs`, `invokeTimeoutMs`, `needsScreenRecording`. Example (`run`): ```json { "action": "run", "node": "office-mac", "command": ["echo", "Hello"], "env": ["FOO=bar"], "commandTimeoutMs": 12000, "invokeTimeoutMs": 45000, "needsScreenRecording": false } ``` ### `image` Analyze an image with the configured image model. Core parameters: - `image` (required path or URL) - `prompt` (optional; defaults to "Describe the image.") - `model` (optional override) - `maxBytesMb` (optional size cap) Notes: - Only available when `agents.defaults.imageModel` is configured (primary or fallbacks), or when an implicit image model can be inferred from your default model + configured auth (best-effort pairing). - Uses the image model directly (independent of the main chat model). ### `message` Send messages and channel actions across Discord/Google Chat/Slack/Telegram/WhatsApp/Signal/iMessage/MS Teams. Core actions: - `send` (text + optional media; MS Teams also supports `card` for Adaptive Cards) - `poll` (WhatsApp/Discord/MS Teams polls) - `react` / `reactions` / `read` / `edit` / `delete` - `pin` / `unpin` / `list-pins` - `permissions` - `thread-create` / `thread-list` / `thread-reply` - `search` - `sticker` - `member-info` / `role-info` - `emoji-list` / `emoji-upload` / `sticker-upload` - `role-add` / `role-remove` - `channel-info` / `channel-list` - `voice-status` - `event-list` / `event-create` - `timeout` / `kick` / `ban` Notes: - `send` routes WhatsApp via the Gateway; other channels go direct. - `poll` uses the Gateway for WhatsApp and MS Teams; Discord polls go direct. - When a message tool call is bound to an active chat session, sends are constrained to that session’s target to avoid cross-context leaks. ### `cron` Manage Gateway cron jobs and wakeups. Core actions: - `status`, `list` - `add`, `update`, `remove`, `run`, `runs` - `wake` (enqueue system event + optional immediate heartbeat) Notes: - `add` expects a full cron job object (same schema as `cron.add` RPC). - `update` uses `{ id, patch }`. ### `gateway` Restart or apply updates to the running Gateway process (in-place). Core actions: - `restart` (authorizes + sends `SIGUSR1` for in-process restart; `openclaw gateway` restart in-place) - `config.get` / `config.schema` - `config.apply` (validate + write config + restart + wake) - `config.patch` (merge partial update + restart + wake) - `update.run` (run update + restart + wake) Notes: - Use `delayMs` (defaults to 2000) to avoid interrupting | https://github.com/openclaw/openclaw/blob/main//docs/tools/index.md | main | opebclaw | [
-0.13010098040103912,
-0.027513988316059113,
-0.0432448536157608,
0.05753450468182564,
0.07980412244796753,
0.015489360317587852,
0.05923488363623619,
0.0224531888961792,
-0.04140441492199898,
0.013733630999922752,
0.0000074633117037592456,
-0.023863667622208595,
0.03902297466993332,
0.00802682526409626,
0.024743039160966873,
0.001145202200859785,
-0.005574038252234459,
-0.023806031793355942,
-0.010843297466635704,
0.004225587006658316,
-0.03028346411883831,
-0.09205786138772964,
0.027397658675909042,
-0.08745667338371277,
0.018735401332378387,
-0.06615092605352402,
-0.07957535982131958,
-0.026967477053403854,
0.06175119802355766,
-0.10468903183937073,
0.005138041451573372,
0.005191225558519363,
0.007216797675937414,
-0.00803819578140974,
-0.05465979501605034,
0.14844176173210144,
0.0007830030517652631,
-0.05182500556111336,
-0.0546056404709816,
-0.03925659880042076,
0.020026763901114464,
0.051183585077524185,
-0.037769731134176254,
-0.04403013736009598,
0.043227024376392365,
-0.022561701014637947,
-0.012954779900610447,
-0.023304574191570282,
0.011777455918490887,
0.07717964798212051,
-0.09768960624933243,
-0.03393521159887314,
0.026592910289764404,
0.009860820136964321,
0.034823257476091385,
0.09628995507955551,
0.028633110225200653,
-0.008862646296620369,
0.04314272850751877,
0.030236059799790382,
-0.050962407141923904,
-0.04170623794198036,
-0.008795431815087795,
-0.010859563946723938,
0.06693706661462784,
0.1520078331232071,
0.022065192461013794,
-0.06859561055898666,
-0.025734268128871918,
-0.050786092877388,
0.00119033083319664,
-0.017723126336932182,
0.0003873380774166435,
-0.027232689782977104,
-0.0077316840179264545,
-0.06789618730545044,
-0.04468591883778572,
0.04412592574954033,
-0.06638918071985245,
-0.04430046305060387,
0.011163855902850628,
-0.06487344205379486,
-0.059348709881305695,
0.06944096088409424,
-0.015452004037797451,
0.12873274087905884,
-0.060708459466695786,
0.00892200879752636,
0.006928169168531895,
0.04244093596935272,
-0.005749756004661322,
-0.06792490929365158,
0.01842169463634491,
0.03627432882785797,
0.04465808346867561,
-0.01374354399740696,
0.030351459980010986,
0.05307752266526222,
-0.06019997224211693,
-0.0017808955162763596,
-0.017723776400089264,
0.051622696220874786,
0.015472488477826118,
-0.07889292389154434,
-0.011264456436038017,
-0.023482700809836388,
-0.004871639888733625,
-0.04799570515751839,
-0.043355852365493774,
0.03285488113760948,
-0.014905947260558605,
0.0038308885414153337,
-0.08404282480478287,
0.028949551284313202,
0.011937174014747143,
-0.024453187361359596,
-0.018164990469813347,
-0.09361918270587921,
0.03925460949540138,
-0.020880455151200294,
0.12099043279886246,
0.09968884289264679,
-0.061702910810709,
-0.021736351773142815,
0.0506693460047245,
-0.07803003489971161,
0.044165488332509995,
-7.394039464244658e-34,
0.025433767586946487,
-0.014793206937611103,
-0.018246809020638466,
0.013118080794811249,
0.05167083069682121,
-0.051662616431713104,
0.022361744195222855,
-0.03711390495300293,
-0.09294071793556213,
-0.03972644358873367,
-0.0026707674842327833,
0.051865339279174805,
0.002326125279068947,
0.002769659971818328,
0.04485559090971947,
0.03535527363419533,
-0.03384130820631981,
-0.01408484485000372,
0.0588902086019516,
-0.008290043100714684,
0.016094733029603958,
-0.0325557179749012,
-0.11538334935903549,
0.03473628684878349,
-0.02467520907521248,
-0.001762260915711522,
0.026161467656493187,
0.06922012567520142,
0.034836381673812866,
0.008199615404009819,
-0.04716063663363457,
0.015414359979331493,
-0.03343971073627472,
-0.007826772518455982,
-0.03610554710030556,
-0.06486979871988297,
-0.08610238879919052,
0.03311965987086296,
-0.05241168290376663,
-0.014101391658186913,
-0.007633115164935589,
0.022511813789606094,
-0.038529470562934875,
0.0054055554792284966,
-0.041964102536439896,
-0.1308545172214508,
-0.06298662722110748,
0.08906040340662003,
0.001439729006960988,
0.054130200296640396,
0.01303380262106657,
0.017224865034222603,
0.07122255116701126,
-0.14580197632312775,
-0.053426939994096756,
-0.015369817614555359,
-0.019731611013412476,
0.0676243007183075,
-0.02973249927163124,
0.031754154711961746,
0.08080968260765076,
-0.026999998837709427,
0.025099370628595352,
0.07785218209028244,
-0.05075034499168396,
0.12988434731960297,
-0.0808182880282402,
-0.04459910839796066,
0.09179650247097015,
0.006716650445014238,
-0.07562477886676788,
0.006880435161292553,
-0.030794650316238403,
0.05086073651909828,
0.04585942625999451,
-0.04785342514514923,
-0.08539557456970215,
-0.07523852586746216,
-0.01037552673369646,
0.044558241963386536,
-0.07100079953670502,
-0.027752768248319626,
-0.018044667318463326,
0.07064422219991684,
0.04895411804318428,
-0.13111983239650726,
0.0004981061792932451,
0.00529898377135396,
-0.05674682557582855,
-0.06592239439487457,
-0.007005811203271151,
-0.00528733478859067,
0.023425986990332603,
-0.04107524827122688,
-0.025389917194843292,
-2.22324479180484e-33,
0.11470911651849747,
0.003100674832239747,
-0.015011812560260296,
0.06893152743577957,
-0.027263663709163666,
0.0014671174576506019,
0.09351331740617752,
0.04048151895403862,
0.02840317226946354,
-0.017942460253834724,
-0.06519617140293121,
0.08166870474815369,
0.023611409589648247,
-0.019111553207039833,
-0.05610194057226181,
0.08119697123765945,
-0.08537287265062332,
-0.046699270606040955,
-0.048371218144893646,
-0.012177840806543827,
0.03412590175867081,
-0.029881857335567474,
0.12357310205698013,
0.10423929989337921,
-0.03276791423559189,
0.028939196839928627,
0.033463653177022934,
0.0014431435847654939,
0.02181604877114296,
-0.04411575198173523,
-0.015795733779668808,
0.012878668494522572,
-0.03700369969010353,
0.003535688854753971,
0.03130314126610756,
-0.02577090822160244,
-0.00010955660400213674,
0.022028150036931038,
-0.0005548365879803896,
0.05474299192428589,
0.11002542823553085,
-0.00938471220433712,
0.021604470908641815,
0.01900692842900753,
0.02963278628885746,
0.07990870624780655,
0.0014206941705197096,
0.013228176161646843,
-0.07855924963951111,
0.02534612827003002,
-0.010819804854691029,
0.006088413763791323,
0.050714459270238876,
0.03490806743502617,
0.06130972132086754,
-0.01960584707558155,
0.05163981765508652,
-0.06675896048545837,
-0.00877214316278696,
0.02621246501803398,
0.07493951916694641,
-0.008837803266942501,
-0.07202251255512238,
-0.02522384002804756,
-0.0113892313092947,
-0.05912085622549057,
-0.07318953424692154,
-0.07459279149770737,
-0.07059790939092636,
-0.010856025852262974,
0.05688275769352913,
-0.05229965224862099,
0.09293278306722641,
-0.024329371750354767,
-0.03117249719798565,
-0.04161868989467621,
0.01888422667980194,
-0.044719334691762924,
0.011486435309052467,
-0.061295151710510254,
-0.004787725396454334,
0.049943678081035614,
-0.016757721081376076,
0.057350318878889084,
-0.023983586579561234,
0.08729753643274307,
-0.03492424264550209,
0.0004995536874048412,
0.05316545441746712,
-0.004701687954366207,
-0.0671098604798317,
0.03721042722463608,
0.012294300831854343,
0.05425945669412613,
-0.007547951769083738,
-5.356984544846455e-8,
-0.04515167698264122,
0.08956944197416306,
0.041946426033973694,
0.016586674377322197,
-0.004204008728265762,
-0.04979850724339485,
-0.027430063113570213,
0.002456823131069541,
0.02851208671927452,
-0.05607662349939346,
0.04616793990135193,
-0.0634189322590828,
0.030468618497252464,
-0.019580530002713203,
0.02459823340177536,
0.01868966594338417,
0.08250675350427628,
0.06866505742073059,
-0.041663359850645065,
-0.02439715340733528,
0.010770339518785477,
-0.0794529914855957,
0.023240920156240463,
0.03650404140353203,
0.010091697797179222,
-0.046753890812397,
-0.04440193250775337,
-0.022008301690220833,
0.022693797945976257,
-0.015530345030128956,
-0.028575249016284943,
0.020098507404327393,
0.04394012317061424,
-0.021770024672150612,
-0.11187577992677689,
0.0038110080640763044,
0.06254332512617111,
-0.009912688285112381,
0.013888825662434101,
0.020334642380475998,
0.0038844491355121136,
-0.012708710506558418,
-0.0488358773291111,
-0.027515780180692673,
-0.08416794240474701,
-0.03936891257762909,
0.020378055050969124,
-0.025143684819340706,
0.0018056390108540654,
0.044788628816604614,
0.01924838498234749,
-0.09124583005905151,
0.012737718410789967,
0.06871677190065384,
0.10186019539833069,
0.012908533215522766,
0.01993112824857235,
-0.07358530163764954,
0.11991570144891739,
0.08467155694961548,
0.11465416848659515,
0.02861526422202587,
-0.02343895100057125,
0.08196083456277847
] | 0.132348 |
sends `SIGUSR1` for in-process restart; `openclaw gateway` restart in-place) - `config.get` / `config.schema` - `config.apply` (validate + write config + restart + wake) - `config.patch` (merge partial update + restart + wake) - `update.run` (run update + restart + wake) Notes: - Use `delayMs` (defaults to 2000) to avoid interrupting an in-flight reply. - `restart` is disabled by default; enable with `commands.restart: true`. ### `sessions\_list` / `sessions\_history` / `sessions\_send` / `sessions\_spawn` / `session\_status` List sessions, inspect transcript history, or send to another session. Core parameters: - `sessions\_list`: `kinds?`, `limit?`, `activeMinutes?`, `messageLimit?` (0 = none) - `sessions\_history`: `sessionKey` (or `sessionId`), `limit?`, `includeTools?` - `sessions\_send`: `sessionKey` (or `sessionId`), `message`, `timeoutSeconds?` (0 = fire-and-forget) - `sessions\_spawn`: `task`, `label?`, `agentId?`, `model?`, `runTimeoutSeconds?`, `cleanup?` - `session\_status`: `sessionKey?` (default current; accepts `sessionId`), `model?` (`default` clears override) Notes: - `main` is the canonical direct-chat key; global/unknown are hidden. - `messageLimit > 0` fetches last N messages per session (tool messages filtered). - `sessions\_send` waits for final completion when `timeoutSeconds > 0`. - Delivery/announce happens after completion and is best-effort; `status: "ok"` confirms the agent run finished, not that the announce was delivered. - `sessions\_spawn` starts a sub-agent run and posts an announce reply back to the requester chat. - `sessions\_spawn` is non-blocking and returns `status: "accepted"` immediately. - `sessions\_send` runs a reply‑back ping‑pong (reply `REPLY\_SKIP` to stop; max turns via `session.agentToAgent.maxPingPongTurns`, 0–5). - After the ping‑pong, the target agent runs an \*\*announce step\*\*; reply `ANNOUNCE\_SKIP` to suppress the announcement. ### `agents\_list` List agent ids that the current session may target with `sessions\_spawn`. Notes: - Result is restricted to per-agent allowlists (`agents.list[].subagents.allowAgents`). - When `["\*"]` is configured, the tool includes all configured agents and marks `allowAny: true`. ## Parameters (common) Gateway-backed tools (`canvas`, `nodes`, `cron`): - `gatewayUrl` (default `ws://127.0.0.1:18789`) - `gatewayToken` (if auth enabled) - `timeoutMs` Note: when `gatewayUrl` is set, include `gatewayToken` explicitly. Tools do not inherit config or environment credentials for overrides, and missing explicit credentials is an error. Browser tool: - `profile` (optional; defaults to `browser.defaultProfile`) - `target` (`sandbox` | `host` | `node`) - `node` (optional; pin a specific node id/name) ## Recommended agent flows Browser automation: 1. `browser` → `status` / `start` 2. `snapshot` (ai or aria) 3. `act` (click/type/press) 4. `screenshot` if you need visual confirmation Canvas render: 1. `canvas` → `present` 2. `a2ui\_push` (optional) 3. `snapshot` Node targeting: 1. `nodes` → `status` 2. `describe` on the chosen node 3. `notify` / `run` / `camera\_snap` / `screen\_record` ## Safety - Avoid direct `system.run`; use `nodes` → `run` only with explicit user consent. - Respect user consent for camera/screen capture. - Use `status/describe` to ensure permissions before invoking media commands. ## How tools are presented to the agent Tools are exposed in two parallel channels: 1. \*\*System prompt text\*\*: a human-readable list + guidance. 2. \*\*Tool schema\*\*: the structured function definitions sent to the model API. That means the agent sees both “what tools exist” and “how to call them.” If a tool doesn’t appear in the system prompt or the schema, the model cannot call it. | https://github.com/openclaw/openclaw/blob/main//docs/tools/index.md | main | opebclaw | [
-0.021775251254439354,
-0.03026704117655754,
-0.06980089843273163,
0.022320475429296494,
0.00679260678589344,
-0.054979339241981506,
0.012574540451169014,
0.020434822887182236,
0.0001466879912186414,
0.042504362761974335,
0.023977940902113914,
-0.010230476967990398,
-0.0548945851624012,
-0.001928870566189289,
0.01156989112496376,
0.07440270483493805,
-0.016293136402964592,
-0.10913313925266266,
0.0026147165335714817,
-0.05601382255554199,
0.001479536178521812,
0.0632627010345459,
0.009763633832335472,
0.04933154582977295,
-0.045429062098264694,
-0.10399987548589706,
-0.07254047691822052,
0.020596818998456,
-0.04179677367210388,
-0.030232330784201622,
0.03757226839661598,
0.09278973191976547,
-0.0693313404917717,
-0.00007327579078264534,
0.05618862807750702,
0.06843271851539612,
0.04572727531194687,
-0.004085011314600706,
-0.05093877762556076,
-0.07047170400619507,
0.03892974928021431,
-0.05560531094670296,
-0.019689522683620453,
0.009710313752293587,
-0.014878912828862667,
-0.007142909336835146,
-0.059090640395879745,
-0.03094766102731228,
0.0029527645092457533,
0.07655563950538635,
-0.05392506718635559,
-0.015193900093436241,
0.013694467023015022,
-0.02228982374072075,
0.04106418788433075,
0.11416107416152954,
-0.008830380626022816,
0.07784735411405563,
0.07440700381994247,
-0.03219721093773842,
-0.005255294032394886,
-0.014020289294421673,
-0.03754851967096329,
0.006723341532051563,
-0.09477819502353668,
0.03286424279212952,
0.002800518646836281,
-0.0875672847032547,
0.04797704890370369,
-0.039825838059186935,
-0.04494050145149231,
0.03589865192770958,
-0.09492737799882889,
-0.06857682019472122,
-0.043865103274583817,
-0.010196862742304802,
0.037400878965854645,
-0.0039037184324115515,
-0.04835374280810356,
-0.042736928910017014,
-0.029709767550230026,
-0.0587642639875412,
-0.04008577764034271,
-0.00865893717855215,
0.016441790387034416,
0.06078454852104187,
0.0034517040476202965,
-0.02504715695977211,
0.025134684517979622,
0.07189034670591354,
-0.015214666724205017,
-0.09382126480340958,
-0.0004929731949232519,
0.0015247007831931114,
-0.0677417665719986,
0.05756015703082085,
-0.015615923330187798,
0.05736264958977699,
-0.01364529225975275,
0.06164419278502464,
0.08771052211523056,
0.01623545028269291,
0.015536794438958168,
0.044218942523002625,
-0.027546508237719536,
-0.021841544657945633,
0.04971124231815338,
0.04340990632772446,
-0.0304423738270998,
-0.05432615801692009,
-0.016206420958042145,
0.045780524611473083,
0.13205546140670776,
-0.0336771234869957,
-0.0022574509494006634,
0.06938324123620987,
-0.024919649586081505,
0.05958804488182068,
0.014399577863514423,
0.06495281308889389,
0.08638323843479156,
-0.05675014108419418,
-0.006646905560046434,
-0.0554024912416935,
0.009096837602555752,
-0.0006109821842983365,
0.12376891821622849,
4.94898660262133e-33,
0.06088126450777054,
-0.06503497064113617,
-0.07966535538434982,
0.05144543573260307,
0.08678743988275528,
0.0001536561903776601,
0.009629652835428715,
0.059273961931467056,
-0.05886026471853256,
-0.0019928913097828627,
-0.07513339072465897,
-0.039948470890522,
-0.0015364981954917312,
-0.03541599214076996,
-0.010888656601309776,
-0.02945830300450325,
-0.027756430208683014,
0.027781540527939796,
0.0443398617208004,
-0.035679079592227936,
0.013702579773962498,
-0.06416589021682739,
-0.030026480555534363,
0.02288052998483181,
0.0933416560292244,
0.07337142527103424,
-0.00748696643859148,
0.016673188656568527,
-0.00791419018059969,
0.02545674704015255,
0.03733760491013527,
0.044436682015657425,
-0.05639209970831871,
0.02114284038543701,
-0.021754927933216095,
-0.024809155613183975,
-0.06804115325212479,
0.004114468581974506,
-0.0792839527130127,
-0.03693706542253494,
-0.006588075775653124,
0.04940928518772125,
-0.12653639912605286,
-0.06745369732379913,
-0.01104670949280262,
-0.14840887486934662,
-0.08435110002756119,
0.06087570637464523,
0.11471962183713913,
-0.009357069618999958,
-0.014519707299768925,
0.011604417115449905,
0.018908893689513206,
-0.02896214835345745,
-0.012408130802214146,
-0.0021060300059616566,
-0.028775885701179504,
0.00823131948709488,
-0.02778550609946251,
0.013173780404031277,
0.010016989894211292,
-0.0074532851576805115,
-0.022020777687430382,
-0.019417813047766685,
0.053165972232818604,
-0.0024037761613726616,
-0.014170586131513119,
0.03822848200798035,
0.010132821276783943,
-0.02608390338718891,
-0.05545058846473694,
0.02888873592019081,
0.02627154253423214,
0.031287163496017456,
-0.02536904625594616,
-0.05562978237867355,
-0.041530631482601166,
-0.0009214337915182114,
-0.0350382961332798,
0.03298402577638626,
0.09113124758005142,
-0.010156292468309402,
-0.08136270195245743,
0.03392912074923515,
0.03847908228635788,
0.014986508525907993,
0.02368018589913845,
0.029948720708489418,
0.016536671668291092,
0.08445360511541367,
-0.09624297171831131,
-0.03851868584752083,
0.04569268226623535,
0.019405271857976913,
-0.08081097900867462,
-6.604619335218658e-33,
-0.008559536188840866,
0.024601399898529053,
-0.07679431885480881,
0.02499331533908844,
-0.045384664088487625,
0.03127413988113403,
0.08065786212682724,
0.0458340048789978,
-0.07863014936447144,
-0.032448314130306244,
0.0014132524374872446,
0.03782062605023384,
0.04905951768159866,
-0.07756466418504715,
-0.00708223320543766,
-0.014191467314958572,
-0.06850391626358032,
-0.02254372648894787,
-0.03990085795521736,
0.03823323920369148,
-0.01596013642847538,
0.00544079439714551,
-0.05614546686410904,
-0.000944430532399565,
-0.002044469816610217,
-0.003095784457400441,
0.0024327898863703012,
0.066208615899086,
-0.062269777059555054,
-0.008359314873814583,
0.10433397442102432,
0.025545014068484306,
-0.08805856108665466,
0.08661112934350967,
-0.001197985140606761,
-0.07087184488773346,
0.039006978273391724,
0.05296485126018524,
0.020403975620865822,
0.06950925290584564,
0.18925149738788605,
0.05811236798763275,
-0.05862489342689514,
0.030240610241889954,
0.021594127640128136,
0.04613442346453667,
-0.03739962354302406,
-0.06259794533252716,
-0.10719048231840134,
-0.013569848611950874,
-0.02878704108297825,
-0.09853959828615189,
0.042377278208732605,
0.013791700825095177,
0.05601925402879715,
0.01416210550814867,
0.0799645185470581,
-0.0706164687871933,
-0.015304192900657654,
-0.1316939741373062,
0.012159071862697601,
-0.05828052759170532,
0.02694232203066349,
0.04290830343961716,
0.06497494876384735,
-0.03549503907561302,
-0.0019491736311465502,
0.0990581214427948,
0.02390417270362377,
-0.04535260424017906,
-0.04360638186335564,
-0.049039050936698914,
0.024121413007378578,
0.04242396354675293,
0.01816069893538952,
-0.024863678961992264,
-0.054516471922397614,
-0.0620584674179554,
-0.04281913861632347,
0.06978113204240799,
-0.06873892992734909,
-0.03983137011528015,
0.008883143775165081,
0.016695784404873848,
-0.010336749255657196,
-0.00029262099997140467,
0.002124427119269967,
0.17067857086658478,
0.07340013980865479,
0.014751317910850048,
-0.09390724450349808,
0.012354206293821335,
-0.020358752459287643,
-0.0053673298098146915,
0.013465847820043564,
-5.649087952974696e-8,
-0.05717187374830246,
-0.08688372373580933,
-0.030193300917744637,
0.11248176544904709,
0.024463437497615814,
0.006553169339895248,
0.028967250138521194,
0.02918282337486744,
-0.08295247703790665,
-0.0510823018848896,
0.01904250495135784,
0.033500656485557556,
-0.04577430337667465,
-0.008197739720344543,
0.020047245547175407,
-0.009488609619438648,
-0.0330594927072525,
-0.0012340573593974113,
-0.01832902617752552,
-0.1100100576877594,
-0.02107018232345581,
-0.014805715531110764,
0.07237372547388077,
0.04244803637266159,
-0.002484609605744481,
0.00775955431163311,
0.018598122522234917,
0.06248420104384422,
-0.028077948838472366,
-0.021055854856967926,
-0.06538865715265274,
0.000806662836112082,
0.043850671499967575,
-0.042089011520147324,
-0.10694380104541779,
0.07176703214645386,
-0.0002961716672871262,
-0.00838860496878624,
0.05440507084131241,
-0.05040202662348747,
0.03937343880534172,
0.015198689885437489,
-0.046511027961969376,
-0.028555795550346375,
0.008700909093022346,
0.010117639787495136,
-0.02014337107539177,
0.047760091722011566,
-0.0018595128785818815,
-0.04332568868994713,
-0.06432439386844635,
0.014381196349859238,
0.05235026031732559,
0.1313994824886322,
0.02376323938369751,
0.03571222350001335,
0.0033126533962786198,
-0.05523080751299858,
0.05807792767882347,
-0.013097709976136684,
0.053831055760383606,
0.044895827770233154,
-0.06742823123931885,
-0.08471895009279251
] | 0.134258 |
# Skills Config All skills-related configuration lives under `skills` in `~/.openclaw/openclaw.json`. ```json5 { skills: { allowBundled: ["gemini", "peekaboo"], load: { extraDirs: ["~/Projects/agent-scripts/skills", "~/Projects/oss/some-skill-pack/skills"], watch: true, watchDebounceMs: 250, }, install: { preferBrew: true, nodeManager: "npm", // npm | pnpm | yarn | bun (Gateway runtime still Node; bun not recommended) }, entries: { "nano-banana-pro": { enabled: true, apiKey: "GEMINI\_KEY\_HERE", env: { GEMINI\_API\_KEY: "GEMINI\_KEY\_HERE", }, }, peekaboo: { enabled: true }, sag: { enabled: false }, }, }, } ``` ## Fields - `allowBundled`: optional allowlist for \*\*bundled\*\* skills only. When set, only bundled skills in the list are eligible (managed/workspace skills unaffected). - `load.extraDirs`: additional skill directories to scan (lowest precedence). - `load.watch`: watch skill folders and refresh the skills snapshot (default: true). - `load.watchDebounceMs`: debounce for skill watcher events in milliseconds (default: 250). - `install.preferBrew`: prefer brew installers when available (default: true). - `install.nodeManager`: node installer preference (`npm` | `pnpm` | `yarn` | `bun`, default: npm). This only affects \*\*skill installs\*\*; the Gateway runtime should still be Node (Bun not recommended for WhatsApp/Telegram). - `entries.`: per-skill overrides. Per-skill fields: - `enabled`: set `false` to disable a skill even if it’s bundled/installed. - `env`: environment variables injected for the agent run (only if not already set). - `apiKey`: optional convenience for skills that declare a primary env var. ## Notes - Keys under `entries` map to the skill name by default. If a skill defines `metadata.openclaw.skillKey`, use that key instead. - Changes to skills are picked up on the next agent turn when the watcher is enabled. ### Sandboxed skills + env vars When a session is \*\*sandboxed\*\*, skill processes run inside Docker. The sandbox does \*\*not\*\* inherit the host `process.env`. Use one of: - `agents.defaults.sandbox.docker.env` (or per-agent `agents.list[].sandbox.docker.env`) - bake the env into your custom sandbox image Global `env` and `skills.entries..env/apiKey` apply to \*\*host\*\* runs only. | https://github.com/openclaw/openclaw/blob/main//docs/tools/skills-config.md | main | opebclaw | [
-0.055881317704916,
-0.00992320105433464,
-0.04173029214143753,
0.058598946779966354,
0.05456846207380295,
-0.011696405708789825,
-0.05106350779533386,
-0.04982868582010269,
-0.09225454926490784,
-0.00255013071000576,
0.0244918055832386,
0.01538151502609253,
-0.045446280390024185,
0.03177957609295845,
0.10994166880846024,
0.10238970816135406,
-0.03549978509545326,
-0.050421833992004395,
0.004035138990730047,
-0.0607709176838398,
-0.020869076251983643,
-0.000021628673493978567,
0.0785726010799408,
-0.035293687134981155,
-0.026417145505547523,
-0.044116295874118805,
-0.04201254993677139,
0.04831214249134064,
0.007945038378238678,
-0.02657664567232132,
0.06644544005393982,
0.09611740708351135,
-0.039169084280729294,
0.026862505823373795,
0.04258709028363228,
0.07206714898347855,
0.013701602816581726,
-0.0696006566286087,
-0.06490258127450943,
-0.02690984681248665,
0.11634581536054611,
0.019366828724741936,
-0.06805910170078278,
-0.06239874288439751,
-0.03154507651925087,
-0.04621914029121399,
0.0316445492208004,
-0.09134562313556671,
0.01261854823678732,
0.04084456339478493,
-0.117058664560318,
-0.10688282549381256,
0.02988608554005623,
-0.11132194101810455,
0.015896277502179146,
0.08778184652328491,
0.0009475081460550427,
0.006795921828597784,
0.009861383587121964,
-0.050470020622015,
0.049532365053892136,
-0.05780511349439621,
-0.07499849051237106,
-0.009188850410282612,
-0.08250442147254944,
0.016056079417467117,
-0.05451703071594238,
0.027188854292035103,
0.006357123143970966,
-0.059530109167099,
0.04588470235466957,
-0.030985305085778236,
-0.030217094346880913,
-0.01619376428425312,
0.014475383795797825,
0.007712000515311956,
0.04613606259226799,
-0.0062048835679888725,
-0.014437682926654816,
-0.04225224629044533,
-0.12558674812316895,
-0.024987999349832535,
-0.00996263138949871,
0.04549766331911087,
-0.04288869723677635,
0.13389098644256592,
0.0025074405129998922,
-0.007440682966262102,
0.05059852823615074,
0.00985393300652504,
0.007777870632708073,
-0.134536474943161,
-0.052967581897974014,
0.016698088496923447,
-0.00975230522453785,
0.05594979599118233,
0.010438854806125164,
0.04329453408718109,
-0.10379970073699951,
0.08621326088905334,
-0.10821816325187683,
-0.07811333239078522,
0.03411510959267616,
0.06142961606383324,
-0.0177227184176445,
0.03351658210158348,
-0.001991820055991411,
0.09113223850727081,
0.0030093758832663298,
0.0723273828625679,
0.0241505466401577,
0.05471757799386978,
0.03119279071688652,
0.008116551674902439,
-0.04333401098847389,
0.0705060139298439,
-0.08669762313365936,
0.013176161795854568,
-0.0026574593503028154,
0.16451509296894073,
0.11189121752977371,
0.019057389348745346,
0.008265296928584576,
0.011796067468822002,
-0.008752251975238323,
-0.006229258608072996,
-0.009469717741012573,
2.5450776963157123e-33,
0.12283264845609665,
0.017491307109594345,
0.0032428379636257887,
0.05848418548703194,
0.09519494324922562,
-0.03327513113617897,
0.08143521100282669,
0.010612143203616142,
-0.07874787598848343,
0.007229258306324482,
-0.017681781202554703,
0.05718430131673813,
-0.07268960028886795,
0.011110886000096798,
-0.000901140330825001,
-0.037592947483062744,
-0.06018660590052605,
-0.0021201064810156822,
0.062036000192165375,
0.01311514712870121,
0.029200229793787003,
-0.015325194224715233,
-0.09767287224531174,
0.006509283557534218,
-0.0785355269908905,
0.07182522118091583,
0.03340999037027359,
-0.01924015022814274,
0.04659276455640793,
0.042637359350919724,
0.09635595232248306,
-0.0037015972193330526,
-0.0063294717110693455,
0.02342715673148632,
0.008184278383851051,
0.011168207041919231,
-0.08207740634679794,
-0.013418958522379398,
-0.09327097982168198,
-0.021829910576343536,
0.034263525158166885,
-0.01672215573489666,
-0.06572306901216507,
0.0028145993128418922,
-0.03580349683761597,
-0.10136672109365463,
0.07775365561246872,
0.021032698452472687,
0.04342670738697052,
0.042906466871500015,
-0.02946498617529869,
0.027911366894841194,
0.07310501486063004,
-0.0457962341606617,
0.06806068867444992,
-0.029242753982543945,
0.0015769359888508916,
0.03475486859679222,
-0.020079143345355988,
-0.04965013265609741,
0.03966784104704857,
0.04444345459342003,
0.018197305500507355,
-0.019673312082886696,
0.02352134697139263,
0.045365169644355774,
0.0033274879679083824,
0.0074297236278653145,
0.0735243558883667,
0.005075248423963785,
-0.03621630743145943,
0.003761187195777893,
0.006811716593801975,
0.05195114389061928,
-0.05595939978957176,
-0.09121895581483841,
0.04218018054962158,
-0.0054402719251811504,
0.03996046259999275,
-0.030222058296203613,
0.021639108657836914,
-0.02822762355208397,
-0.062040336430072784,
0.04594527184963226,
0.022463727742433548,
-0.04034143686294556,
0.01954544149339199,
-0.03688329830765724,
0.0015923239989206195,
0.026402153074741364,
0.045538369566202164,
0.010012087412178516,
-0.028418241068720818,
-0.044985394924879074,
-0.10552375018596649,
-2.7599488800964106e-33,
0.009113906882703304,
-0.05725173279643059,
-0.023401368409395218,
0.008768413215875626,
0.026160476729273796,
-0.023044370114803314,
0.08616183698177338,
-0.022486569359898567,
-0.003792229574173689,
-0.011526328511536121,
0.01436765119433403,
0.008440234698355198,
0.05145736038684845,
-0.08959388732910156,
-0.013914723880589008,
0.03292691707611084,
-0.12397134304046631,
-0.004335492849349976,
0.07437030225992203,
-0.01993940770626068,
-0.03399033844470978,
0.08973536640405655,
0.0077367364428937435,
0.07327371835708618,
0.040775083005428314,
-0.03107365034520626,
-0.0195170845836401,
0.02433212473988533,
-0.06204713508486748,
-0.03449837490916252,
0.057156041264534,
0.003510270733386278,
-0.11810854077339172,
0.04677402973175049,
-0.04186169058084488,
0.017679855227470398,
-0.07136780768632889,
0.10736975073814392,
0.005534258671104908,
0.03532436862587929,
-0.003283739322796464,
-0.03696655482053757,
-0.11509447544813156,
-0.005949652288109064,
-0.040895648300647736,
0.0199592225253582,
-0.012994526885449886,
-0.004869689699262381,
-0.03644346073269844,
-0.029860720038414,
0.06402720510959625,
0.06235222890973091,
0.02035200223326683,
-0.009440524503588676,
0.01466674730181694,
0.026145819574594498,
0.07623573392629623,
-0.06460651010274887,
0.019852105528116226,
-0.013320280238986015,
0.07404138147830963,
-0.09489483386278152,
-0.034662503749132156,
0.06816218793392181,
0.04374079406261444,
-0.08126036822795868,
-0.04401715099811554,
0.0924348384141922,
-0.040695805102586746,
-0.028040364384651184,
-0.06050102412700653,
0.014105809852480888,
0.09294059872627258,
-0.08576834201812744,
0.033426716923713684,
-0.014195330440998077,
-0.03491666540503502,
-0.020581986755132675,
-0.0062796808779239655,
0.011806830763816833,
-0.07678782194852829,
0.010183668695390224,
-0.009368950501084328,
0.04460912570357323,
0.04615362733602524,
0.03158140555024147,
0.07409032434225082,
0.09659061580896378,
0.023255756124854088,
0.03846920281648636,
-0.04221850633621216,
0.029445279389619827,
0.0023800490889698267,
0.005159910302609205,
-0.0186135433614254,
-5.0800480266843806e-8,
-0.04181704670190811,
-0.022141387686133385,
-0.0972355380654335,
0.03384755551815033,
0.08253069967031479,
-0.007186365779489279,
-0.03021163120865822,
0.041473668068647385,
-0.0058229053393006325,
0.0823846086859703,
0.07339238375425339,
0.037631236016750336,
-0.07490494102239609,
-0.0009630153072066605,
0.044290438294410706,
-0.00047260470455512404,
-0.019569287076592445,
0.13933490216732025,
-0.055380307137966156,
-0.04943564161658287,
0.058150846511125565,
0.04722561687231064,
-0.023322327062487602,
0.03077816218137741,
0.009512998163700104,
-0.05260063335299492,
-0.022117041051387787,
0.022996021434664726,
-0.032482147216796875,
0.03845984861254692,
-0.07458897680044174,
-0.06684433668851852,
0.06016731634736061,
-0.06403996050357819,
-0.04196611046791077,
0.027307718992233276,
-0.001013814122416079,
0.0009316226351074874,
0.005988712422549725,
0.02525951713323593,
-0.0014064926654100418,
-0.01016093697398901,
-0.03152771666646004,
0.004176038783043623,
-0.05400555208325386,
-0.023372910916805267,
0.030368410050868988,
0.049531009048223495,
0.02302335947751999,
-0.010283112525939941,
0.0062873647548258305,
-0.012535512447357178,
-0.012240216135978699,
-0.012113329954445362,
-0.018601099029183388,
0.05774689093232155,
0.02241174690425396,
-0.03383404016494751,
-0.040753886103630066,
-0.02185528539121151,
0.05129595845937729,
-0.03060654178261757,
0.033517371863126755,
-0.018030093982815742
] | 0.039743 |
# Browser Troubleshooting (Linux) ## Problem: "Failed to start Chrome CDP on port 18800" OpenClaw's browser control server fails to launch Chrome/Brave/Edge/Chromium with the error: ``` {"error":"Error: Failed to start Chrome CDP on port 18800 for profile \"openclaw\"."} ``` ### Root Cause On Ubuntu (and many Linux distros), the default Chromium installation is a \*\*snap package\*\*. Snap's AppArmor confinement interferes with how OpenClaw spawns and monitors the browser process. The `apt install chromium` command installs a stub package that redirects to snap: ``` Note, selecting 'chromium-browser' instead of 'chromium' chromium-browser is already the newest version (2:1snap1-0ubuntu2). ``` This is NOT a real browser — it's just a wrapper. ### Solution 1: Install Google Chrome (Recommended) Install the official Google Chrome `.deb` package, which is not sandboxed by snap: ```bash wget https://dl.google.com/linux/direct/google-chrome-stable\_current\_amd64.deb sudo dpkg -i google-chrome-stable\_current\_amd64.deb sudo apt --fix-broken install -y # if there are dependency errors ``` Then update your OpenClaw config (`~/.openclaw/openclaw.json`): ```json { "browser": { "enabled": true, "executablePath": "/usr/bin/google-chrome-stable", "headless": true, "noSandbox": true } } ``` ### Solution 2: Use Snap Chromium with Attach-Only Mode If you must use snap Chromium, configure OpenClaw to attach to a manually-started browser: 1. Update config: ```json { "browser": { "enabled": true, "attachOnly": true, "headless": true, "noSandbox": true } } ``` 2. Start Chromium manually: ```bash chromium-browser --headless --no-sandbox --disable-gpu \ --remote-debugging-port=18800 \ --user-data-dir=$HOME/.openclaw/browser/openclaw/user-data \ about:blank & ``` 3. Optionally create a systemd user service to auto-start Chrome: ```ini # ~/.config/systemd/user/openclaw-browser.service [Unit] Description=OpenClaw Browser (Chrome CDP) After=network.target [Service] ExecStart=/snap/bin/chromium --headless --no-sandbox --disable-gpu --remote-debugging-port=18800 --user-data-dir=%h/.openclaw/browser/openclaw/user-data about:blank Restart=on-failure RestartSec=5 [Install] WantedBy=default.target ``` Enable with: `systemctl --user enable --now openclaw-browser.service` ### Verifying the Browser Works Check status: ```bash curl -s http://127.0.0.1:18791/ | jq '{running, pid, chosenBrowser}' ``` Test browsing: ```bash curl -s -X POST http://127.0.0.1:18791/start curl -s http://127.0.0.1:18791/tabs ``` ### Config Reference | Option | Description | Default | | ------------------------ | -------------------------------------------------------------------- | ----------------------------------------------------------- | | `browser.enabled` | Enable browser control | `true` | | `browser.executablePath` | Path to a Chromium-based browser binary (Chrome/Brave/Edge/Chromium) | auto-detected (prefers default browser when Chromium-based) | | `browser.headless` | Run without GUI | `false` | | `browser.noSandbox` | Add `--no-sandbox` flag (needed for some Linux setups) | `false` | | `browser.attachOnly` | Don't launch browser, only attach to existing | `false` | | `browser.cdpPort` | Chrome DevTools Protocol port | `18800` | ### Problem: "Chrome extension relay is running, but no tab is connected" You’re using the `chrome` profile (extension relay). It expects the OpenClaw browser extension to be attached to a live tab. Fix options: 1. \*\*Use the managed browser:\*\* `openclaw browser start --browser-profile openclaw` (or set `browser.defaultProfile: "openclaw"`). 2. \*\*Use the extension relay:\*\* install the extension, open a tab, and click the OpenClaw extension icon to attach it. Notes: - The `chrome` profile uses your \*\*system default Chromium browser\*\* when possible. - Local `openclaw` profiles auto-assign `cdpPort`/`cdpUrl`; only set those for remote CDP. | https://github.com/openclaw/openclaw/blob/main//docs/tools/browser-linux-troubleshooting.md | main | opebclaw | [
-0.050576549023389816,
-0.012238417752087116,
0.04620705544948578,
-0.023679284378886223,
0.0214153490960598,
-0.093006931245327,
-0.13988032937049866,
0.0535922646522522,
-0.06752138584852219,
-0.06039481237530708,
0.05869632214307785,
-0.04326937347650528,
-0.021831221878528595,
0.03768983110785484,
0.07911345362663269,
0.0948876291513443,
0.049488283693790436,
-0.06122086942195892,
0.07750866562128067,
0.11272628605365753,
-0.09680601209402084,
-0.07374455034732819,
-0.0006684065447188914,
-0.020446088165044785,
-0.059489671140909195,
0.005375282373279333,
-0.042656563222408295,
-0.04573970288038254,
0.0184138473123312,
-0.005255356431007385,
0.07781321555376053,
0.0011297424789518118,
0.048260219395160675,
-0.008957002311944962,
0.06113201007246971,
0.050745513290166855,
-0.04945196956396103,
-0.007620392832905054,
-0.11018739640712738,
0.03343590721487999,
0.07318724691867828,
0.03706715255975723,
-0.04230155423283577,
0.013675191439688206,
-0.05524878203868866,
-0.0843564048409462,
0.01999935321509838,
-0.01405206136405468,
-0.044495414942502975,
-0.018000183627009392,
-0.08934193849563599,
0.016402864828705788,
-0.004547556396573782,
-0.011224585585296154,
-0.06764909625053406,
0.05458945408463478,
-0.020439457148313522,
0.029382243752479553,
0.12210527807474136,
0.06465882062911987,
0.031337108463048935,
-0.0004166827420704067,
0.009333880618214607,
0.03932791203260422,
-0.05451253429055214,
0.12539178133010864,
0.010424968786537647,
-0.042293861508369446,
-0.011399232782423496,
-0.007365933619439602,
0.0190441757440567,
0.025820352137088776,
-0.018285613507032394,
-0.015136641450226307,
-0.0190371535718441,
-0.06445372849702835,
0.02232663705945015,
0.029805902391672134,
-0.05757240951061249,
-0.01399296522140503,
-0.06422384083271027,
-0.09781253337860107,
-0.09652464091777802,
0.0372697077691555,
0.03269914165139198,
0.1338239461183548,
0.006498287431895733,
-0.0992855504155159,
-0.013436784967780113,
-0.013303840532898903,
-0.02126784436404705,
-0.07169174402952194,
0.013006339780986309,
-0.0005133797531016171,
0.031694527715444565,
0.016653962433338165,
0.0996098592877388,
0.050650570541620255,
-0.06173597276210785,
-0.003904854878783226,
0.02863203175365925,
-0.00806755106896162,
0.007356936577707529,
-0.07719767838716507,
-0.015768462792038918,
0.05291007086634636,
-0.02176215499639511,
-0.007659237831830978,
-0.0020177902188152075,
-0.005435409490019083,
0.03612017259001732,
-0.02039061300456524,
0.033628031611442566,
-0.06828203797340393,
-0.027264302596449852,
-0.030959635972976685,
-0.046271923929452896,
0.002623404376208782,
0.09416210651397705,
0.06297675520181656,
0.05510249733924866,
0.052848562598228455,
-0.015231264755129814,
-0.015249221585690975,
0.08903778344392776,
0.0176050066947937,
0.08942034840583801,
2.6510729402843195e-33,
0.052645426243543625,
-0.05636435002088547,
-0.04105858504772186,
-0.01560837309807539,
0.06452029198408127,
-0.02643796056509018,
0.006645033601671457,
-0.012522002682089806,
-0.036041393876075745,
0.009685449302196503,
0.0768333226442337,
0.00867324136197567,
-0.04943007975816727,
-0.028377678245306015,
0.020191935822367668,
0.0709676444530487,
-0.08104965090751648,
-0.0062520164065063,
0.040878426283597946,
-0.026980124413967133,
-0.0702672228217125,
-0.05122940242290497,
-0.08432536572217941,
0.019949650391936302,
-0.07810499519109726,
0.06425365805625916,
-0.019381068646907806,
0.02867465652525425,
-0.011691206134855747,
0.022678038105368614,
-0.006517074536532164,
0.0661759227514267,
-0.04919916391372681,
0.07014492154121399,
0.019489414989948273,
-0.007605795748531818,
-0.03879782184958458,
-0.025755010545253754,
-0.12233047932386398,
0.03257916122674942,
-0.011635652743279934,
0.03195285052061081,
-0.03131210803985596,
-0.04070070758461952,
0.060607630759477615,
-0.12529213726520538,
-0.00897278357297182,
-0.0029924693517386913,
0.03467137739062309,
0.049637097865343094,
-0.053020644932985306,
-0.052212707698345184,
0.10712116211652756,
0.04183337092399597,
-0.06134258955717087,
-0.07286503911018372,
0.014233299531042576,
-0.045540500432252884,
-0.03706029802560806,
-0.003702095476910472,
-0.020109862089157104,
0.019192693755030632,
-0.010141118429601192,
0.027938595041632652,
-0.0027996632270514965,
-0.04769091308116913,
0.04236310347914696,
0.11068428307771683,
-0.03503759577870369,
0.025226132944226265,
-0.04911448433995247,
-0.021103352308273315,
0.001797009026631713,
-0.023841828107833862,
-0.01527849305421114,
-0.050803106278181076,
0.02434280514717102,
0.01332030724734068,
0.06376656889915466,
0.025571202859282494,
0.04665737226605415,
-0.02889181114733219,
-0.003605888457968831,
0.0017038718797266483,
-0.008325355127453804,
-0.014558713883161545,
-0.0009392832289449871,
-0.009323401376605034,
-0.011935868300497532,
0.09218936413526535,
-0.03764810785651207,
-0.011345451697707176,
-0.00952831655740738,
0.0860629603266716,
-0.015271316282451153,
-6.353813656475307e-33,
-0.06450428068637848,
0.005795344244688749,
0.025265371426939964,
0.032538581639528275,
-0.01657065376639366,
0.02292069047689438,
-0.010160617530345917,
-0.007720585446804762,
-0.003582540201023221,
-0.07389549911022186,
-0.029951302334666252,
0.04700278118252754,
0.028322484344244003,
0.013682798482477665,
-0.0060562086291611195,
0.1380912959575653,
0.01869468204677105,
-0.07718399912118912,
-0.04504886642098427,
-0.03540234640240669,
-0.0004119760124012828,
-0.00414228904992342,
0.012185939587652683,
0.08666328340768814,
0.04557371512055397,
0.0035652294754981995,
0.08389259874820709,
-0.0486750565469265,
0.06379977613687515,
-0.07755967974662781,
0.06566300243139267,
0.09800689667463303,
-0.046487100422382355,
0.014765506610274315,
0.023652048781514168,
0.06296754628419876,
-0.02781836688518524,
0.007523845415562391,
0.04931916296482086,
-0.09942459315061569,
-0.0000019196718312741723,
-0.018814465031027794,
0.015105174854397774,
-0.0009775946382433176,
0.03256082162261009,
0.10565970093011856,
0.04213162884116173,
-0.057132575660943985,
-0.1100904792547226,
0.01557433232665062,
0.006356228142976761,
0.08569446206092834,
0.05530942231416702,
0.021548498421907425,
0.023372482508420944,
0.017025897279381752,
-0.019492294639348984,
-0.033343225717544556,
-0.014061377383768559,
-0.05782267823815346,
0.02088690921664238,
-0.011915897950530052,
-0.12100595235824585,
0.01830129884183407,
-0.05586300790309906,
0.010214438661932945,
-0.09694941341876984,
0.03212571516633034,
-0.0918835699558258,
-0.024372534826397896,
-0.012627609074115753,
0.007579166907817125,
0.035740047693252563,
-0.08823993057012558,
-0.09352776408195496,
-0.003880181349813938,
0.07517245411872864,
-0.0812685415148735,
-0.0392012782394886,
0.0011280338512733579,
0.04653126001358032,
0.03539252281188965,
0.03184894844889641,
-0.08171745389699936,
-0.07575242221355438,
-0.014392845332622528,
-0.039910610765218735,
0.019493982195854187,
0.03430125489830971,
0.01610669493675232,
-0.08436769247055054,
0.05050259828567505,
-0.09505599737167358,
0.030452903360128403,
0.07787624001502991,
-5.007298042869479e-8,
0.049183446913957596,
0.02665899507701397,
-0.11033009737730026,
-0.006277695298194885,
0.07535932213068008,
-0.009481806308031082,
-0.0380173921585083,
0.012987134978175163,
-0.08096214383840561,
0.021383242681622505,
0.03211227059364319,
0.04276444762945175,
-0.10784348845481873,
0.09789367765188217,
0.013977224007248878,
0.02349865809082985,
-0.04479310289025307,
0.014501894824206829,
0.03628934919834137,
-0.021115044131875038,
0.02446054480969906,
-0.0610111802816391,
0.03675897419452667,
0.023210778832435608,
-0.0569792278110981,
-0.030679291114211082,
0.020074520260095596,
-0.02568761818110943,
0.002053816569969058,
0.019557032734155655,
-0.0845986157655716,
-0.02695484831929207,
-0.027317142114043236,
-0.022482743486762047,
0.022056199610233307,
0.028064101934432983,
-0.007975653745234013,
-0.03673902526497841,
0.07484162598848343,
-0.05142585560679436,
0.03193739801645279,
0.06608310341835022,
-0.062028247863054276,
-0.015486068092286587,
-0.0783107727766037,
-0.018288463354110718,
-0.011515462771058083,
0.041422486305236816,
0.05942993238568306,
-0.00597655912861228,
-0.036675065755844116,
-0.08962634205818176,
-0.025295622646808624,
-0.021288665011525154,
0.043167661875486374,
0.06718690693378448,
0.007962294854223728,
-0.10744479298591614,
-0.029123052954673767,
-0.04699479043483734,
0.04084973782300949,
0.015724409371614456,
0.04380684345960617,
0.0387638658285141
] | -0.054919 |
# Web tools OpenClaw ships two lightweight web tools: - `web\_search` — Search the web via Brave Search API (default) or Perplexity Sonar (direct or via OpenRouter). - `web\_fetch` — HTTP fetch + readable extraction (HTML → markdown/text). These are \*\*not\*\* browser automation. For JS-heavy sites or logins, use the [Browser tool](/tools/browser). ## How it works - `web\_search` calls your configured provider and returns results. - \*\*Brave\*\* (default): returns structured results (title, URL, snippet). - \*\*Perplexity\*\*: returns AI-synthesized answers with citations from real-time web search. - Results are cached by query for 15 minutes (configurable). - `web\_fetch` does a plain HTTP GET and extracts readable content (HTML → markdown/text). It does \*\*not\*\* execute JavaScript. - `web\_fetch` is enabled by default (unless explicitly disabled). ## Choosing a search provider | Provider | Pros | Cons | API Key | | ------------------- | -------------------------------------------- | ---------------------------------------- | -------------------------------------------- | | \*\*Brave\*\* (default) | Fast, structured results, free tier | Traditional search results | `BRAVE\_API\_KEY` | | \*\*Perplexity\*\* | AI-synthesized answers, citations, real-time | Requires Perplexity or OpenRouter access | `OPENROUTER\_API\_KEY` or `PERPLEXITY\_API\_KEY` | See [Brave Search setup](/brave-search) and [Perplexity Sonar](/perplexity) for provider-specific details. Set the provider in config: ```json5 { tools: { web: { search: { provider: "brave", // or "perplexity" }, }, }, } ``` Example: switch to Perplexity Sonar (direct API): ```json5 { tools: { web: { search: { provider: "perplexity", perplexity: { apiKey: "pplx-...", baseUrl: "https://api.perplexity.ai", model: "perplexity/sonar-pro", }, }, }, }, } ``` ## Getting a Brave API key 1. Create a Brave Search API account at https://brave.com/search/api/ 2. In the dashboard, choose the \*\*Data for Search\*\* plan (not “Data for AI”) and generate an API key. 3. Run `openclaw configure --section web` to store the key in config (recommended), or set `BRAVE\_API\_KEY` in your environment. Brave provides a free tier plus paid plans; check the Brave API portal for the current limits and pricing. ### Where to set the key (recommended) \*\*Recommended:\*\* run `openclaw configure --section web`. It stores the key in `~/.openclaw/openclaw.json` under `tools.web.search.apiKey`. \*\*Environment alternative:\*\* set `BRAVE\_API\_KEY` in the Gateway process environment. For a gateway install, put it in `~/.openclaw/.env` (or your service environment). See [Env vars](/help/faq#how-does-openclaw-load-environment-variables). ## Using Perplexity (direct or via OpenRouter) Perplexity Sonar models have built-in web search capabilities and return AI-synthesized answers with citations. You can use them via OpenRouter (no credit card required - supports crypto/prepaid). ### Getting an OpenRouter API key 1. Create an account at https://openrouter.ai/ 2. Add credits (supports crypto, prepaid, or credit card) 3. Generate an API key in your account settings ### Setting up Perplexity search ```json5 { tools: { web: { search: { enabled: true, provider: "perplexity", perplexity: { // API key (optional if OPENROUTER\_API\_KEY or PERPLEXITY\_API\_KEY is set) apiKey: "sk-or-v1-...", // Base URL (key-aware default if omitted) baseUrl: "https://openrouter.ai/api/v1", // Model (defaults to perplexity/sonar-pro) model: "perplexity/sonar-pro", }, }, }, }, } ``` \*\*Environment alternative:\*\* set `OPENROUTER\_API\_KEY` or `PERPLEXITY\_API\_KEY` in the Gateway environment. For a gateway install, put it in `~/.openclaw/.env`. If no base URL is set, OpenClaw chooses a default based on the API key source: - `PERPLEXITY\_API\_KEY` or `pplx-...` → `https://api.perplexity.ai` - `OPENROUTER\_API\_KEY` or `sk-or-...` → `https://openrouter.ai/api/v1` - Unknown key formats → OpenRouter (safe fallback) ### Available Perplexity models | Model | Description | Best for | | -------------------------------- | ------------------------------------ | ----------------- | | `perplexity/sonar` | Fast Q&A with web search | Quick lookups | | `perplexity/sonar-pro` (default) | Multi-step reasoning with web search | Complex questions | | `perplexity/sonar-reasoning-pro` | Chain-of-thought analysis | Deep research | ## web\_search Search the web using your configured provider. ### Requirements - `tools.web.search.enabled` must | https://github.com/openclaw/openclaw/blob/main//docs/tools/web.md | main | opebclaw | [
-0.09091176092624664,
0.03174104914069176,
-0.0008171848021447659,
0.09088730812072754,
0.09425702691078186,
-0.1140255257487297,
-0.08706258237361908,
-0.017393821850419044,
0.004461278207600117,
-0.06152328476309776,
-0.0020174060482531786,
0.01744241453707218,
0.029225997626781464,
-0.04425574839115143,
0.046759720891714096,
0.0809054896235466,
0.0730031281709671,
0.02015104703605175,
-0.009848239831626415,
-0.05572421848773956,
0.03518021106719971,
0.0298099834471941,
0.059766724705696106,
-0.04653257131576538,
-0.022788312286138535,
-0.01183151826262474,
-0.08275803178548813,
-0.054502081125974655,
0.017575301229953766,
0.018178120255470276,
0.041543103754520416,
-0.07459688931703568,
0.006628330331295729,
0.003954542800784111,
-0.0021534517873078585,
0.054764050990343094,
-0.028511568903923035,
-0.05671245977282524,
0.0118818748742342,
-0.04106402024626732,
-0.02735789678990841,
-0.026441913098096848,
-0.018563970923423767,
-0.03213399648666382,
0.0023361374624073505,
-0.0874304547905922,
-0.09265311807394028,
-0.07300225645303726,
-0.05938805639743805,
-0.005153430160135031,
-0.15571938455104828,
-0.06078445166349411,
-0.04306640848517418,
-0.10355719923973083,
-0.015443162992596626,
-0.008055425249040127,
0.00012391684867907315,
-0.08373389393091202,
0.025281261652708054,
-0.0015081873862072825,
0.04749773070216179,
-0.02062929980456829,
-0.011910873465240002,
0.03553277999162674,
-0.009828957729041576,
-0.03910055384039879,
-0.0060442122630774975,
-0.026069778949022293,
0.026072394102811813,
-0.06717265397310257,
-0.048412878066301346,
0.022908559069037437,
0.014619060792028904,
-0.00016285049787256867,
0.024535909295082092,
-0.05151117220520973,
-0.0019295364618301392,
0.05198444798588753,
-0.013419894501566887,
-0.049946196377277374,
-0.05935186892747879,
-0.10862978547811508,
-0.024480776861310005,
0.11515490710735321,
0.0001534720795461908,
0.08068868517875671,
0.009708703495562077,
0.0029806604143232107,
0.04905443638563156,
0.022728264331817627,
-0.009361074306070805,
-0.1279439479112625,
-0.02561034820973873,
-0.008016026578843594,
-0.03593606501817703,
0.015988562256097794,
0.025136420503258705,
-0.03443644195795059,
-0.015832677483558655,
0.02838434837758541,
0.04036814719438553,
0.04005651921033859,
0.039573442190885544,
-0.09597504138946533,
-0.06941737979650497,
0.06701778620481491,
0.026592491194605827,
0.11876943707466125,
0.0678199827671051,
-0.014691024087369442,
-0.033597834408283234,
0.01500040665268898,
0.055982574820518494,
-0.0769805833697319,
-0.01326758973300457,
-0.05232160910964012,
-0.026234610006213188,
-0.04797760397195816,
0.12837770581245422,
0.11359550058841705,
0.11069750785827637,
0.11832612007856369,
-0.006731373257935047,
-0.01770089752972126,
0.10124970972537994,
0.0691559910774231,
0.044516462832689285,
7.122332761259717e-33,
0.12629158794879913,
-0.02188512682914734,
-0.031456589698791504,
0.03664885461330414,
0.0101185142993927,
0.015540049411356449,
0.010258611291646957,
-0.002281807130202651,
-0.12694953382015228,
0.04459097608923912,
0.018690649420022964,
0.05987992510199547,
-0.04859631508588791,
0.05067933723330498,
-0.00533190555870533,
0.0008853700128383934,
0.039685752242803574,
-0.026631886139512062,
0.052938539534807205,
-0.012533234432339668,
-0.014326303265988827,
0.036265768110752106,
0.037693917751312256,
0.021567145362496376,
0.018979916349053383,
0.018405692651867867,
-0.05000969022512436,
0.04753357172012329,
-0.1155557855963707,
0.03029153123497963,
0.03623822703957558,
-0.04585636407136917,
-0.11385952681303024,
-0.0025790201034396887,
0.02772170677781105,
0.06029869616031647,
-0.0773671418428421,
-0.003309315536171198,
-0.06285671889781952,
0.005080187227576971,
-0.039103854447603226,
-0.03476960211992264,
-0.04346951097249985,
-0.06157210096716881,
-0.050879694521427155,
-0.09505999833345413,
-0.1077045202255249,
0.022716989740729332,
0.05995704233646393,
0.009845432825386524,
-0.04620091989636421,
0.04137599095702171,
0.011062921024858952,
0.007478869054466486,
-0.001685482100583613,
0.067672960460186,
0.031650200486183167,
0.013697808608412743,
0.01793847233057022,
0.041062720119953156,
0.02351357601583004,
-0.022229289636015892,
-0.03002021834254265,
-0.030300531536340714,
-0.02895747497677803,
0.02379738725721836,
0.04751497507095337,
0.046581488102674484,
0.011486265808343887,
0.06003313884139061,
0.03390851616859436,
0.040890034288167953,
0.06658315658569336,
0.015146252699196339,
0.017310263589024544,
-0.09045755118131638,
-0.023637613281607628,
-0.06487222760915756,
0.09976866841316223,
-0.04597854986786842,
0.06398360431194305,
-0.008694438263773918,
-0.0013967135455459356,
0.02007772959768772,
0.028778567910194397,
-0.006067247595638037,
-0.023808086290955544,
-0.07983574271202087,
0.035282280296087265,
0.0007554795010946691,
0.01580088585615158,
-0.029096605256199837,
-0.08922988921403885,
-0.08852828294038773,
-0.031778596341609955,
-8.899933685672412e-33,
-0.009269533678889275,
-0.013828936964273453,
-0.011034182272851467,
0.049240581691265106,
-0.05534268170595169,
-0.01661209762096405,
-0.0012623370857909322,
-0.005705539602786303,
0.020120058208703995,
-0.02156340517103672,
0.026267705485224724,
0.047842126339673996,
-0.011473234742879868,
-0.06899034976959229,
0.01973756030201912,
0.07673193514347076,
-0.034150511026382446,
-0.09574829041957855,
0.017592931166291237,
0.02065930888056755,
-0.005708550568670034,
0.005832785740494728,
-0.04721435159444809,
0.029574822634458542,
0.021368099376559258,
-0.039783675223588943,
0.007861891761422157,
0.011280848644673824,
-0.05331720411777496,
-0.08383875340223312,
0.058268506079912186,
0.07543659955263138,
-0.08164164423942566,
-0.0016268884064629674,
-0.010396056808531284,
0.03610809147357941,
-0.032077495008707047,
0.07612765580415726,
0.026530824601650238,
0.021516190841794014,
0.05022582784295082,
0.00020722714543808252,
-0.01729419268667698,
-0.02836724929511547,
0.022356273606419563,
0.07144724577665329,
-0.15018847584724426,
0.033939260989427567,
0.028715120628476143,
0.01225421205163002,
0.01805913634598255,
-0.01463704090565443,
0.01869083195924759,
-0.05463318154215813,
0.023618653416633606,
-0.011916888877749443,
-0.02382544055581093,
-0.019261479377746582,
-0.044576119631528854,
0.005080725997686386,
-0.05381345748901367,
-0.014321452006697655,
-0.0971013605594635,
0.12450369447469711,
-0.02621784619987011,
-0.0083540054038167,
-0.03830971568822861,
0.05071726441383362,
-0.08214524388313293,
-0.07922059297561646,
-0.025014255195856094,
-0.06543684750795364,
0.08025369793176651,
-0.0741962343454361,
0.012719388119876385,
0.013508597388863564,
-0.0004090984002687037,
0.001507362350821495,
-0.01138619426637888,
0.06239458546042442,
0.07515368610620499,
0.0536356195807457,
0.04318445548415184,
-0.08273808658123016,
-0.01069460529834032,
-0.0005980858113616705,
-0.07007527351379395,
0.08573798835277557,
0.0016157178906723857,
-0.0425475612282753,
0.013181852176785469,
0.047255296260118484,
-0.06688246130943298,
0.04157424718141556,
0.041199300438165665,
-6.224910720220578e-8,
-0.050603773444890976,
-0.048013582825660706,
-0.056519825011491776,
0.0028132968582212925,
-0.01345149613916874,
0.05371414124965668,
0.01696818135678768,
0.051151443272829056,
-0.08521626144647598,
-0.011704277247190475,
0.05814444273710251,
0.006368475966155529,
-0.09203910082578659,
0.033696193248033524,
-0.042013321071863174,
0.07616160809993744,
0.005887921899557114,
-0.018085485324263573,
0.030711669474840164,
-0.10597772896289825,
-0.006581686902791262,
0.007862786762416363,
0.02923351153731346,
0.028268273919820786,
0.015695231035351753,
0.03219569846987724,
-0.06602509319782257,
0.0549442283809185,
-0.0018460609717294574,
0.014963635243475437,
-0.008927864953875542,
0.007262204773724079,
-0.04240470007061958,
-0.059558719396591187,
0.038276489824056625,
0.04242165386676788,
-0.008176116272807121,
-0.07779388129711151,
-0.024886485189199448,
0.053531989455223083,
0.10059996694326401,
0.10255202651023865,
-0.0065253362990915775,
-0.033212024718523026,
0.012020743452012539,
0.03216308727860451,
-0.004332210402935743,
-0.04593426361680031,
0.07396642863750458,
-0.0932389348745346,
0.0372832790017128,
-0.03629379719495773,
-0.024298125877976418,
0.05042598769068718,
-0.019413243979215622,
0.03905252367258072,
0.03810357302427292,
-0.02768626995384693,
0.0011584038147702813,
0.058656588196754456,
0.06462553888559341,
-0.0015118148876354098,
0.0842316672205925,
-0.017856400460004807
] | 0.07711 |
----------------- | | `perplexity/sonar` | Fast Q&A with web search | Quick lookups | | `perplexity/sonar-pro` (default) | Multi-step reasoning with web search | Complex questions | | `perplexity/sonar-reasoning-pro` | Chain-of-thought analysis | Deep research | ## web\_search Search the web using your configured provider. ### Requirements - `tools.web.search.enabled` must not be `false` (default: enabled) - API key for your chosen provider: - \*\*Brave\*\*: `BRAVE\_API\_KEY` or `tools.web.search.apiKey` - \*\*Perplexity\*\*: `OPENROUTER\_API\_KEY`, `PERPLEXITY\_API\_KEY`, or `tools.web.search.perplexity.apiKey` ### Config ```json5 { tools: { web: { search: { enabled: true, apiKey: "BRAVE\_API\_KEY\_HERE", // optional if BRAVE\_API\_KEY is set maxResults: 5, timeoutSeconds: 30, cacheTtlMinutes: 15, }, }, }, } ``` ### Tool parameters - `query` (required) - `count` (1–10; default from config) - `country` (optional): 2-letter country code for region-specific results (e.g., "DE", "US", "ALL"). If omitted, Brave chooses its default region. - `search\_lang` (optional): ISO language code for search results (e.g., "de", "en", "fr") - `ui\_lang` (optional): ISO language code for UI elements - `freshness` (optional, Brave only): filter by discovery time (`pd`, `pw`, `pm`, `py`, or `YYYY-MM-DDtoYYYY-MM-DD`) \*\*Examples:\*\* ```javascript // German-specific search await web\_search({ query: "TV online schauen", count: 10, country: "DE", search\_lang: "de", }); // French search with French UI await web\_search({ query: "actualités", country: "FR", search\_lang: "fr", ui\_lang: "fr", }); // Recent results (past week) await web\_search({ query: "TMBG interview", freshness: "pw", }); ``` ## web\_fetch Fetch a URL and extract readable content. ### Requirements - `tools.web.fetch.enabled` must not be `false` (default: enabled) - Optional Firecrawl fallback: set `tools.web.fetch.firecrawl.apiKey` or `FIRECRAWL\_API\_KEY`. ### Config ```json5 { tools: { web: { fetch: { enabled: true, maxChars: 50000, maxCharsCap: 50000, timeoutSeconds: 30, cacheTtlMinutes: 15, maxRedirects: 3, userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 14\_7\_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36", readability: true, firecrawl: { enabled: true, apiKey: "FIRECRAWL\_API\_KEY\_HERE", // optional if FIRECRAWL\_API\_KEY is set baseUrl: "https://api.firecrawl.dev", onlyMainContent: true, maxAgeMs: 86400000, // ms (1 day) timeoutSeconds: 60, }, }, }, }, } ``` ### Tool parameters - `url` (required, http/https only) - `extractMode` (`markdown` | `text`) - `maxChars` (truncate long pages) Notes: - `web\_fetch` uses Readability (main-content extraction) first, then Firecrawl (if configured). If both fail, the tool returns an error. - Firecrawl requests use bot-circumvention mode and cache results by default. - `web\_fetch` sends a Chrome-like User-Agent and `Accept-Language` by default; override `userAgent` if needed. - `web\_fetch` blocks private/internal hostnames and re-checks redirects (limit with `maxRedirects`). - `maxChars` is clamped to `tools.web.fetch.maxCharsCap`. - `web\_fetch` is best-effort extraction; some sites will need the browser tool. - See [Firecrawl](/tools/firecrawl) for key setup and service details. - Responses are cached (default 15 minutes) to reduce repeated fetches. - If you use tool profiles/allowlists, add `web\_search`/`web\_fetch` or `group:web`. - If the Brave key is missing, `web\_search` returns a short setup hint with a docs link. | https://github.com/openclaw/openclaw/blob/main//docs/tools/web.md | main | opebclaw | [
-0.05594678223133087,
0.005967075005173683,
0.02128409408032894,
0.004290202632546425,
0.04710147902369499,
-0.05641965568065643,
-0.07055766880512238,
-0.012445858679711819,
-0.06966342777013779,
-0.02863392047584057,
0.06402081996202469,
-0.05005929619073868,
-0.007576903328299522,
0.02090853452682495,
0.08451306819915771,
0.09139898419380188,
-0.011769366450607777,
0.003598629729822278,
-0.030801601707935333,
-0.11108177900314331,
0.008830441161990166,
-0.02980737015604973,
0.06814732402563095,
-0.08085698634386063,
-0.07776278257369995,
-0.04474027827382088,
-0.03838837519288063,
0.00010822268814081326,
0.01992011070251465,
0.01515023224055767,
0.0018684520618990064,
0.010519294999539852,
-0.04982629418373108,
-0.02923865057528019,
0.05226440727710724,
0.04965034872293472,
-0.04214898869395256,
-0.06644470989704132,
0.016948161646723747,
-0.0010634782956913114,
0.0020982190035283566,
0.008474449627101421,
-0.06762979179620743,
-0.07276485115289688,
-0.04049292951822281,
-0.15174764394760132,
-0.03927536681294441,
-0.030941998586058617,
-0.0003603460208978504,
-0.006727378349751234,
-0.15487244725227356,
-0.08662334829568863,
-0.043120965361595154,
-0.11222363263368607,
0.007110182195901871,
0.004498680587857962,
-0.0662628710269928,
0.011962762102484703,
0.02789701707661152,
-0.01668856292963028,
0.06350532174110413,
-0.03481459990143776,
0.0044607617892324924,
-0.043540630489587784,
-0.05682798847556114,
0.018357612192630768,
-0.003975368570536375,
-0.025246446952223778,
0.057475630193948746,
-0.018261566758155823,
-0.018359927460551262,
0.01499136071652174,
0.024760756641626358,
-0.03342664614319801,
0.04472343996167183,
-0.028630999848246574,
-0.021496538072824478,
0.019505109637975693,
-0.011174656450748444,
-0.04212259501218796,
-0.05446155369281769,
-0.11985819786787033,
-0.04154030606150627,
0.06675580143928528,
0.03467254713177681,
-0.009421460330486298,
-0.028465725481510162,
-0.07700460404157639,
0.04196350648999214,
-0.03736882284283638,
-0.03317638859152794,
-0.18884959816932678,
-0.08319170027971268,
-0.012697778642177582,
0.07049466669559479,
0.06905952095985413,
-0.02890966087579727,
-0.04181230813264847,
-0.04933232441544533,
0.002271003555506468,
0.003911582753062248,
-0.06856007128953934,
0.03179614618420601,
-0.03581009805202484,
0.019998548552393913,
0.02674448862671852,
-0.010624777525663376,
0.09905246645212173,
0.08904339373111725,
-0.0022231179755181074,
-0.058051254600286484,
0.05633443966507912,
0.07650096714496613,
-0.020564517006278038,
-0.03481510654091835,
0.051841430366039276,
-0.06220809742808342,
0.03595037758350372,
0.11108115315437317,
0.06459502875804901,
0.07657309621572495,
0.023633558303117752,
-0.016965433955192566,
-0.019965961575508118,
0.08541473746299744,
0.02464071474969387,
-0.009793606586754322,
2.087949065445041e-33,
0.08594469726085663,
0.019437244161963463,
-0.0019403612241148949,
0.04879167675971985,
0.03432116657495499,
-0.010126516222953796,
0.04777102917432785,
0.00872243382036686,
-0.09315173327922821,
0.055593106895685196,
0.04113629460334778,
0.06666946411132812,
-0.10353965312242508,
0.01887710578739643,
-0.03050289861857891,
-0.05575782433152199,
0.022830862551927567,
-0.05125022307038307,
-0.001191933872178197,
-0.024915460497140884,
0.05811323970556259,
0.03216563165187836,
-0.019508983939886093,
-0.012646779417991638,
0.05134397745132446,
0.033666472882032394,
0.00582066411152482,
0.0007514086901210248,
-0.06311390548944473,
0.041024595499038696,
0.006435308139771223,
-0.04129871353507042,
-0.07688140869140625,
0.036259863525629044,
0.085884690284729,
0.052741531282663345,
-0.05060405656695366,
0.03759165108203888,
-0.08866096287965775,
-0.01257837750017643,
-0.0632452666759491,
-0.02048119716346264,
-0.10828427225351334,
-0.07588018476963043,
-0.0005534060765057802,
-0.08240694552659988,
-0.09350670129060745,
-0.011706848628818989,
0.07810746878385544,
-0.017970621585845947,
-0.058613371104002,
0.04537571966648102,
-0.01633439213037491,
0.0005971840582787991,
0.07897952198982239,
0.013524597510695457,
0.08599308133125305,
0.07380840927362442,
-0.02506130002439022,
0.005812634713947773,
-0.015162196941673756,
-0.02755456231534481,
-0.02223282866179943,
0.009775583632290363,
0.05539721995592117,
0.04914488270878792,
-0.06796371191740036,
0.02702041156589985,
0.06772912293672562,
0.067817322909832,
0.03349297493696213,
0.05487969145178795,
0.0724441185593605,
0.009803413413465023,
-0.04390881955623627,
-0.11313143372535706,
-0.02009771205484867,
0.007211038842797279,
0.06944189220666885,
-0.03148040920495987,
0.0031432246323674917,
0.057762280106544495,
-0.04125947132706642,
0.058272913098335266,
0.003055941080674529,
0.00834952387958765,
-0.025234736502170563,
-0.021053552627563477,
0.028253717347979546,
-0.013209543190896511,
0.0019432633416727185,
0.09295487403869629,
-0.010723398067057133,
-0.061291154474020004,
-0.07921721041202545,
-4.9392571828163675e-33,
-0.048336803913116455,
-0.036855701357126236,
0.04534134268760681,
0.048767708241939545,
0.010063177905976772,
-0.07557255029678345,
0.08666662871837616,
-0.014325899071991444,
0.06936341524124146,
0.043779995292425156,
-0.0011289316462352872,
-0.01559326983988285,
0.006068793125450611,
-0.03828369826078415,
-0.022695431485772133,
0.10401090234518051,
-0.07995212823152542,
-0.09291791170835495,
0.09618265926837921,
0.03885583207011223,
-0.08300723880529404,
0.0483488030731678,
-0.027425553649663925,
0.08097217977046967,
-0.01979495957493782,
-0.04275866597890854,
-0.004537914413958788,
-0.00833278987556696,
-0.03289627283811569,
-0.06625396758317947,
0.012401408515870571,
0.04456133395433426,
-0.06118755787611008,
-0.0509449765086174,
-0.0008124544401653111,
0.023075146600604057,
0.007992016151547432,
0.13934972882270813,
-0.027475671842694283,
0.02310185134410858,
0.05408274009823799,
-0.035866912454366684,
-0.02130143903195858,
-0.030900342389941216,
-0.007633835077285767,
0.05266867205500603,
-0.00920436903834343,
0.02147921361029148,
-0.0339726023375988,
0.015284480527043343,
0.039806678891181946,
-0.023077817633748055,
0.022283222526311874,
-0.03932549059391022,
0.0007421754417009652,
0.010972398333251476,
0.028047753497958183,
0.004480911418795586,
0.014611013233661652,
0.04826962575316429,
0.019514046609401703,
-0.040396131575107574,
-0.07632685452699661,
0.12122823297977448,
-0.0006926823407411575,
0.0025851717218756676,
-0.06126994639635086,
0.05465338006615639,
-0.03127102553844452,
-0.0725744441151619,
-0.09343810379505157,
0.0016134907491505146,
0.06515493243932724,
-0.02451224811375141,
0.07581311464309692,
-0.001969914883375168,
-0.04368562251329422,
0.0184890478849411,
0.07345147430896759,
0.04602688550949097,
0.010663270018994808,
0.040214717388153076,
-0.013749681413173676,
-0.015179150737822056,
-0.039768464863300323,
0.03973689302802086,
-0.015435709618031979,
0.15620265901088715,
-0.01535808015614748,
-0.02257489413022995,
0.053677260875701904,
0.006963450461626053,
-0.07345222681760788,
-0.015520165674388409,
0.01155359111726284,
-5.064324781756113e-8,
-0.0053577967919409275,
-0.013584718108177185,
-0.07454288005828857,
-0.0023634035605937243,
0.06779023259878159,
-0.0003707427822519094,
0.02061367593705654,
0.03451739624142647,
-0.031710684299468994,
0.024835363030433655,
-0.003174214856699109,
0.0985713005065918,
-0.0897074043750763,
0.08279409259557724,
-0.056773483753204346,
-0.0069556753151118755,
-0.043285809457302094,
0.03438834473490715,
0.011912019923329353,
-0.08262351155281067,
0.016222553327679634,
0.05918280407786369,
0.0016554638277739286,
0.01680736057460308,
0.05264119431376457,
0.0011517556849867105,
-0.019494572654366493,
0.018108688294887543,
-0.023560021072626114,
0.0049612270668148994,
-0.0704343318939209,
-0.01926182024180889,
-0.05956799164414406,
-0.05979432538151741,
0.017760690301656723,
0.006089880131185055,
0.017442572861909866,
-0.0070873755030334,
-0.052557408809661865,
0.020148925483226776,
0.058255020529031754,
0.10874473303556442,
-0.03896822780370712,
-0.024494405835866928,
0.026192685589194298,
0.012097782455384731,
-0.01051601767539978,
-0.009412224404513836,
0.05383814126253128,
0.0011305419029667974,
-0.03939508646726608,
-0.045026350766420364,
0.06927622109651566,
-0.004882639739662409,
0.03784490376710892,
0.06238666921854019,
0.02853487804532051,
-0.021774673834443092,
-0.06258215755224228,
0.013975108042359352,
0.10609489679336548,
-0.012178977020084858,
0.056643467396497726,
-0.025453094393014908
] | 0.008496 |
# Elevated Mode (/elevated directives) ## What it does - `/elevated on` runs on the gateway host and keeps exec approvals (same as `/elevated ask`). - `/elevated full` runs on the gateway host \*\*and\*\* auto-approves exec (skips exec approvals). - `/elevated ask` runs on the gateway host but keeps exec approvals (same as `/elevated on`). - `on`/`ask` do \*\*not\*\* force `exec.security=full`; configured security/ask policy still applies. - Only changes behavior when the agent is \*\*sandboxed\*\* (otherwise exec already runs on the host). - Directive forms: `/elevated on|off|ask|full`, `/elev on|off|ask|full`. - Only `on|off|ask|full` are accepted; anything else returns a hint and does not change state. ## What it controls (and what it doesn’t) - \*\*Availability gates\*\*: `tools.elevated` is the global baseline. `agents.list[].tools.elevated` can further restrict elevated per agent (both must allow). - \*\*Per-session state\*\*: `/elevated on|off|ask|full` sets the elevated level for the current session key. - \*\*Inline directive\*\*: `/elevated on|ask|full` inside a message applies to that message only. - \*\*Groups\*\*: In group chats, elevated directives are only honored when the agent is mentioned. Command-only messages that bypass mention requirements are treated as mentioned. - \*\*Host execution\*\*: elevated forces `exec` onto the gateway host; `full` also sets `security=full`. - \*\*Approvals\*\*: `full` skips exec approvals; `on`/`ask` honor them when allowlist/ask rules require. - \*\*Unsandboxed agents\*\*: no-op for location; only affects gating, logging, and status. - \*\*Tool policy still applies\*\*: if `exec` is denied by tool policy, elevated cannot be used. - \*\*Separate from `/exec`\*\*: `/exec` adjusts per-session defaults for authorized senders and does not require elevated. ## Resolution order 1. Inline directive on the message (applies only to that message). 2. Session override (set by sending a directive-only message). 3. Global default (`agents.defaults.elevatedDefault` in config). ## Setting a session default - Send a message that is \*\*only\*\* the directive (whitespace allowed), e.g. `/elevated full`. - Confirmation reply is sent (`Elevated mode set to full...` / `Elevated mode disabled.`). - If elevated access is disabled or the sender is not on the approved allowlist, the directive replies with an actionable error and does not change session state. - Send `/elevated` (or `/elevated:`) with no argument to see the current elevated level. ## Availability + allowlists - Feature gate: `tools.elevated.enabled` (default can be off via config even if the code supports it). - Sender allowlist: `tools.elevated.allowFrom` with per-provider allowlists (e.g. `discord`, `whatsapp`). - Per-agent gate: `agents.list[].tools.elevated.enabled` (optional; can only further restrict). - Per-agent allowlist: `agents.list[].tools.elevated.allowFrom` (optional; when set, the sender must match \*\*both\*\* global + per-agent allowlists). - Discord fallback: if `tools.elevated.allowFrom.discord` is omitted, the `channels.discord.dm.allowFrom` list is used as a fallback. Set `tools.elevated.allowFrom.discord` (even `[]`) to override. Per-agent allowlists do \*\*not\*\* use the fallback. - All gates must pass; otherwise elevated is treated as unavailable. ## Logging + status - Elevated exec calls are logged at info level. - Session status includes elevated mode (e.g. `elevated=ask`, `elevated=full`). | https://github.com/openclaw/openclaw/blob/main//docs/tools/elevated.md | main | opebclaw | [
-0.05930963531136513,
-0.007459068670868874,
0.004300380125641823,
0.04628415033221245,
0.0631573349237442,
-0.039736174046993256,
0.04305493086576462,
-0.028489047661423683,
-0.04101695492863655,
0.026236092671751976,
0.05978555232286453,
-0.02238868921995163,
0.03047659620642662,
-0.009340306743979454,
0.06509894877672195,
0.12243170291185379,
0.08907844871282578,
-0.07903099060058594,
-0.07199574261903763,
-0.06615833938121796,
-0.011257362551987171,
-0.028633492067456245,
0.0167051013559103,
0.0034313048236072063,
-0.061851706355810165,
-0.07331564277410507,
-0.05553588643670082,
-0.043519891798496246,
0.0013402916956692934,
-0.024003826081752777,
-0.01148443203419447,
-0.0674964040517807,
-0.012526390142738819,
0.00535992905497551,
0.027338318526744843,
0.04045486077666283,
0.03583819046616554,
-0.019881824031472206,
0.00365746789611876,
-0.09313304722309113,
0.044920843094587326,
-0.04512491077184677,
-0.06721039861440659,
-0.031227510422468185,
-0.059424664825201035,
0.0008445146959275007,
0.004479598253965378,
-0.0640283152461052,
-0.11166182905435562,
0.0003792112984228879,
0.030664270743727684,
0.009798979386687279,
0.055906426161527634,
-0.018061563372612,
-0.04220467433333397,
0.042588893324136734,
0.03897907957434654,
-0.003469906747341156,
0.11442841589450836,
-0.017295727506279945,
-0.09377846866846085,
-0.0034417484421283007,
-0.06479376554489136,
0.04947938024997711,
-0.036485664546489716,
-0.008058289997279644,
-0.020905693992972374,
-0.08801248669624329,
-0.05024845898151398,
0.0094916308298707,
0.0010004440555348992,
-0.005060350988060236,
-0.07783795148134232,
-0.010067634284496307,
0.07685495913028717,
-0.0174955353140831,
-0.09912879019975662,
0.0014924140414223075,
0.0028823779430240393,
-0.09839582443237305,
0.02304418571293354,
0.016211263835430145,
-0.05201287195086479,
0.01015166100114584,
-0.03185189887881279,
0.025101760402321815,
-0.0001828553358791396,
0.03449095040559769,
0.08714737743139267,
0.06036140024662018,
0.1170511469244957,
-0.01978139951825142,
0.00801276694983244,
0.06914268434047699,
0.08942626416683197,
0.024807680398225784,
-0.04879961907863617,
-0.05182468891143799,
-0.06999657303094864,
0.024178093299269676,
-0.004934593569487333,
-0.04930924251675606,
-0.0063102575950324535,
0.00032541912514716387,
-0.003488928312435746,
-0.02275659888982773,
0.054890651255846024,
0.038335882127285004,
0.03987642750144005,
-0.03215422481298447,
-0.06099211052060127,
-0.0950193703174591,
0.07728400826454163,
-0.01316923275589943,
-0.03254396840929985,
0.0760798528790474,
0.0826973095536232,
0.02475854940712452,
-0.05211527273058891,
-0.00602321233600378,
0.06309139728546143,
-0.03245967999100685,
0.10262501239776611,
-0.0325792022049427,
0.09875238686800003,
0.01633090153336525,
-0.03087819553911686,
1.80621172222774e-33,
0.009223554283380508,
-0.058666691184043884,
-0.06629960983991623,
0.06120068579912186,
0.10458361357450485,
0.040788792073726654,
0.035845354199409485,
-0.00646411906927824,
-0.06647676229476929,
0.03627725690603256,
-0.020712383091449738,
0.06304464489221573,
0.027072172611951828,
0.005085498560220003,
0.05871180072426796,
0.014676256105303764,
0.09425422549247742,
0.018114060163497925,
0.0860024094581604,
0.04616282135248184,
0.10767049342393875,
-0.059505678713321686,
-0.004901310428977013,
0.09416807442903519,
0.009285048581659794,
0.0022060044575482607,
-0.09303534030914307,
0.03259734436869621,
0.04725102707743645,
0.011327579617500305,
0.01938251405954361,
-0.0009033178794197738,
-0.04389181360602379,
0.02858644165098667,
-0.05325331911444664,
0.06477198749780655,
-0.01883147843182087,
-0.0198812335729599,
0.03453943133354187,
-0.07378598302602768,
0.005135434679687023,
-0.011201138608157635,
0.011150151491165161,
-0.02301030233502388,
-0.018003961071372032,
-0.13270986080169678,
-0.11243270337581635,
0.017419077455997467,
0.07026110589504242,
0.09466633945703506,
0.003437100211158395,
0.005013786721974611,
0.06220449134707451,
-0.07479193806648254,
0.03982499614357948,
-0.005073793698102236,
-0.13251298666000366,
0.09207122772932053,
-0.002303904388099909,
-0.01641058921813965,
0.05261368677020073,
-0.003781079314649105,
-0.07893526554107666,
0.019200775772333145,
-0.03337841108441353,
-0.07240790873765945,
-0.008603273890912533,
-0.0023266589269042015,
0.008133993484079838,
-0.014467885717749596,
-0.07858776301145554,
0.02289951965212822,
0.049601517617702484,
0.029061418026685715,
-0.0876743271946907,
-0.1073891669511795,
-0.06262148171663284,
-0.0433146134018898,
0.04480907320976257,
0.0007683878066018224,
-0.06051783263683319,
-0.003851373912766576,
-0.00016502696962561458,
0.03855689987540245,
0.053290922194719315,
-0.04859009012579918,
-0.10556032508611679,
0.004997983109205961,
0.040162645280361176,
-0.021599935367703438,
0.04872008040547371,
-0.02653045579791069,
-0.029793143272399902,
0.02569059282541275,
-0.013428247533738613,
-5.7733563827491844e-33,
0.05624045804142952,
-0.03318040817975998,
-0.0896226242184639,
-0.01476450264453888,
-0.024717621505260468,
0.06281100958585739,
-0.02461598999798298,
-0.04798755794763565,
0.005455993581563234,
-0.056277550756931305,
0.01706291176378727,
0.10612163692712784,
0.016432810574769974,
-0.05039123073220253,
0.0612022802233696,
-0.0581413134932518,
-0.07095438987016678,
-0.005825932137668133,
0.04935787618160248,
-0.011726037599146366,
-0.001036415807902813,
0.09306132048368454,
0.00009864376625046134,
0.09855435788631439,
0.02680615894496441,
-0.03419926390051842,
-0.06958030164241791,
0.11251506954431534,
-0.0037244011182338,
0.011719326488673687,
0.012858262285590172,
-0.010677849873900414,
-0.032682400196790695,
0.07391112297773361,
0.004489961080253124,
-0.04806460067629814,
-0.013403351418673992,
0.042225856333971024,
-0.050755687057971954,
0.029106028378009796,
0.07550304383039474,
-0.027793824672698975,
0.03395944461226463,
0.004115384072065353,
-0.01429731771349907,
0.07096356898546219,
-0.013127240352332592,
-0.02670266106724739,
-0.04194200783967972,
0.00004665453525376506,
-0.05896370857954025,
-0.0032766934018582106,
0.09690579771995544,
0.082692451775074,
-0.0036456105299293995,
0.030318625271320343,
0.03597061336040497,
0.027224760502576828,
-0.02974081039428711,
-0.008998299948871136,
0.04867720976471901,
-0.015174157917499542,
-0.023688802495598793,
0.0488569550216198,
-0.03629367798566818,
-0.015363501384854317,
0.004396152216941118,
0.03155650943517685,
0.07502470910549164,
-0.027642671018838882,
0.053469788283109665,
-0.09282651543617249,
-0.08284643292427063,
-0.029102299362421036,
0.04716549813747406,
-0.029239745810627937,
0.03885263577103615,
-0.11909645795822144,
-0.06839409470558167,
-0.02334078587591648,
-0.0071767461486160755,
0.03522936627268791,
-0.09083034098148346,
0.0011840127408504486,
-0.054751161485910416,
-0.04379930719733238,
-0.07564481347799301,
0.04881446436047554,
0.06451018899679184,
0.06246371194720268,
-0.031104885041713715,
-0.06915558129549026,
-0.03237779065966606,
-0.02085540071129799,
-0.010659465566277504,
-4.970664235770528e-8,
0.0054611326195299625,
0.036945685744285583,
-0.008846760727465153,
-0.02015826292335987,
0.04452460631728172,
-0.025010444223880768,
-0.014586953446269035,
-0.038540035486221313,
-0.027913710102438927,
-0.04352015256881714,
0.0574951171875,
-0.03446796536445618,
-0.0007511184085160494,
-0.08919081091880798,
0.05220723897218704,
0.012114258483052254,
-0.004259860143065453,
0.07073937356472015,
-0.0308174267411232,
-0.06941377371549606,
-0.08344166725873947,
-0.05187920480966568,
-0.008337474428117275,
0.060053739696741104,
-0.07147397100925446,
0.02503654919564724,
-0.01360896322876215,
-0.0024750977754592896,
-0.03818223997950554,
0.11817187070846558,
-0.06611182540655136,
-0.03392219915986061,
0.03174296393990517,
-0.007357292342931032,
-0.09892965853214264,
0.06759348511695862,
-0.051561132073402405,
-0.029817312955856323,
-0.0151349613443017,
-0.04605645686388016,
-0.013080842792987823,
-0.0016298696864396334,
0.03543922305107117,
-0.05357515439391136,
-0.009322508238255978,
0.02486085332930088,
-0.05101415514945984,
0.0011211489327251911,
0.11162993311882019,
-0.0026193896774202585,
-0.036216992884874344,
0.05246872082352638,
0.013127388432621956,
0.10887456685304642,
0.02120928280055523,
0.0325523279607296,
0.024323327466845512,
-0.024525810033082962,
0.02506491355597973,
0.027985617518424988,
0.054889045655727386,
0.026011638343334198,
-0.009137222543358803,
-0.05455727502703667
] | 0.112369 |
# Exec tool Run shell commands in the workspace. Supports foreground + background execution via `process`. If `process` is disallowed, `exec` runs synchronously and ignores `yieldMs`/`background`. Background sessions are scoped per agent; `process` only sees sessions from the same agent. ## Parameters - `command` (required) - `workdir` (defaults to cwd) - `env` (key/value overrides) - `yieldMs` (default 10000): auto-background after delay - `background` (bool): background immediately - `timeout` (seconds, default 1800): kill on expiry - `pty` (bool): run in a pseudo-terminal when available (TTY-only CLIs, coding agents, terminal UIs) - `host` (`sandbox | gateway | node`): where to execute - `security` (`deny | allowlist | full`): enforcement mode for `gateway`/`node` - `ask` (`off | on-miss | always`): approval prompts for `gateway`/`node` - `node` (string): node id/name for `host=node` - `elevated` (bool): request elevated mode (gateway host); `security=full` is only forced when elevated resolves to `full` Notes: - `host` defaults to `sandbox`. - `elevated` is ignored when sandboxing is off (exec already runs on the host). - `gateway`/`node` approvals are controlled by `~/.openclaw/exec-approvals.json`. - `node` requires a paired node (companion app or headless node host). - If multiple nodes are available, set `exec.node` or `tools.exec.node` to select one. - On non-Windows hosts, exec uses `SHELL` when set; if `SHELL` is `fish`, it prefers `bash` (or `sh`) from `PATH` to avoid fish-incompatible scripts, then falls back to `SHELL` if neither exists. - Host execution (`gateway`/`node`) rejects `env.PATH` and loader overrides (`LD\_\*`/`DYLD\_\*`) to prevent binary hijacking or injected code. - Important: sandboxing is \*\*off by default\*\*. If sandboxing is off, `host=sandbox` runs directly on the gateway host (no container) and \*\*does not require approvals\*\*. To require approvals, run with `host=gateway` and configure exec approvals (or enable sandboxing). ## Config - `tools.exec.notifyOnExit` (default: true): when true, backgrounded exec sessions enqueue a system event and request a heartbeat on exit. - `tools.exec.approvalRunningNoticeMs` (default: 10000): emit a single “running” notice when an approval-gated exec runs longer than this (0 disables). - `tools.exec.host` (default: `sandbox`) - `tools.exec.security` (default: `deny` for sandbox, `allowlist` for gateway + node when unset) - `tools.exec.ask` (default: `on-miss`) - `tools.exec.node` (default: unset) - `tools.exec.pathPrepend`: list of directories to prepend to `PATH` for exec runs. - `tools.exec.safeBins`: stdin-only safe binaries that can run without explicit allowlist entries. Example: ```json5 { tools: { exec: { pathPrepend: ["~/bin", "/opt/oss/bin"], }, }, } ``` ### PATH handling - `host=gateway`: merges your login-shell `PATH` into the exec environment. `env.PATH` overrides are rejected for host execution. The daemon itself still runs with a minimal `PATH`: - macOS: `/opt/homebrew/bin`, `/usr/local/bin`, `/usr/bin`, `/bin` - Linux: `/usr/local/bin`, `/usr/bin`, `/bin` - `host=sandbox`: runs `sh -lc` (login shell) inside the container, so `/etc/profile` may reset `PATH`. OpenClaw prepends `env.PATH` after profile sourcing via an internal env var (no shell interpolation); `tools.exec.pathPrepend` applies here too. - `host=node`: only non-blocked env overrides you pass are sent to the node. `env.PATH` overrides are rejected for host execution. Headless node hosts accept `PATH` only when it prepends the node host PATH (no replacement). macOS nodes drop `PATH` overrides entirely. Per-agent node binding (use the agent list index in config): ```bash openclaw config get agents.list openclaw config set agents.list[0].tools.exec.node "node-id-or-name" ``` Control UI: the Nodes tab includes a small “Exec node binding” panel for the same settings. ## Session overrides (`/exec`) Use `/exec` to set \*\*per-session\*\* defaults for `host`, `security`, `ask`, and `node`. Send `/exec` with no arguments to show the current values. Example: ``` /exec host=gateway security=allowlist ask=on-miss node=mac-1 ``` ## Authorization model `/exec` is only honored for \*\*authorized senders\*\* (channel allowlists/pairing plus `commands.useAccessGroups`). It updates \*\*session state only\*\* and does not write config. To hard-disable exec, deny | https://github.com/openclaw/openclaw/blob/main//docs/tools/exec.md | main | opebclaw | [
0.03831169381737709,
-0.017000822350382805,
-0.13382312655448914,
-0.026651019230484962,
0.03610410913825035,
-0.07526975125074387,
-0.021770913153886795,
0.026790529489517212,
0.02272362820804119,
0.057018350809812546,
0.038760337978601456,
-0.0319264680147171,
0.023815352469682693,
-0.007297947537153959,
0.04792719706892967,
0.008567837998270988,
0.10922033339738846,
-0.01031943503767252,
-0.015283563174307346,
-0.04268296808004379,
0.003969294484704733,
0.026677178218960762,
0.04518027603626251,
-0.03436267375946045,
-0.11816465109586716,
-0.04473624378442764,
0.004321454092860222,
-0.09553996473550797,
0.0030898533295840025,
-0.038543421775102615,
-0.04351036995649338,
0.0218243058770895,
-0.029973650351166725,
0.011202741414308548,
0.06488239020109177,
0.07116588205099106,
0.05041832849383354,
0.04634533450007439,
-0.011929312720894814,
-0.023808902129530907,
0.08504613488912582,
-0.051493216305971146,
-0.08049167692661285,
-0.054260220378637314,
-0.050140153616666794,
-0.04272206127643585,
-0.029897993430495262,
-0.07529983669519424,
0.0010253703221678734,
-0.0418645404279232,
0.008926860056817532,
-0.0048539950512349606,
0.04427845776081085,
0.010061554610729218,
-0.0018379794200882316,
0.056529201567173004,
0.028181105852127075,
0.05215593799948692,
0.08754388988018036,
-0.004444705788046122,
-0.052485473453998566,
0.05751783773303032,
-0.06936284899711609,
0.022437022998929024,
0.03821771591901779,
0.0013435453874990344,
0.0157468318939209,
-0.03957531228661537,
0.04725512117147446,
-0.037225764244794846,
-0.0035392886493355036,
-0.026136023923754692,
-0.10170749574899673,
-0.08842350542545319,
-0.06372208148241043,
-0.0014429872389882803,
0.04652319848537445,
-0.07918128371238708,
-0.10014151781797409,
-0.09219158440828323,
-0.0012235777685418725,
-0.010950855910778046,
-0.019536470994353294,
-0.01549571380019188,
-0.0563395619392395,
0.10311950743198395,
0.012046958319842815,
0.06809052079916,
0.03956497088074684,
0.01585378497838974,
0.01403024047613144,
0.027293281629681587,
-0.07087880373001099,
0.013603310100734234,
0.025074869394302368,
0.03905642777681351,
-0.0060199047438800335,
0.01463069673627615,
-0.02814803086221218,
0.03268777206540108,
0.010632370598614216,
-0.05159718915820122,
-0.002582582412287593,
0.05031247437000275,
0.008547146804630756,
0.011031297966837883,
0.008641093038022518,
0.011403147131204605,
-0.004509561695158482,
-0.05573013424873352,
-0.017557447776198387,
-0.0071774921379983425,
0.05174948275089264,
0.05089113488793373,
0.03343314677476883,
0.03989911824464798,
0.09292104095220566,
-0.0006321188411675394,
0.054797861725091934,
0.02806076779961586,
0.146329864859581,
0.0524287223815918,
-0.007183251902461052,
0.006193926092237234,
0.08489013463258743,
-0.04304837808012962,
0.11485115438699722,
5.8612363404166586e-33,
0.06430795788764954,
-0.10309053212404251,
-0.017669299617409706,
0.01680099591612816,
0.1458113193511963,
0.028125129640102386,
0.007247661706060171,
-0.0094771021977067,
-0.01626540720462799,
0.08454694598913193,
-0.04090355336666107,
-0.021849213168025017,
-0.019399438053369522,
-0.016543768346309662,
0.03839904069900513,
-0.03687185421586037,
0.04563514515757561,
-0.0005591696826741099,
0.022291451692581177,
0.015797428786754608,
0.06400637328624725,
-0.10153292864561081,
-0.08351916074752808,
0.0757783055305481,
0.029046839103102684,
-0.008667833171784878,
-0.03154755011200905,
0.020049182698130608,
0.09441112726926804,
0.02467522956430912,
-0.012546447105705738,
0.04948655143380165,
-0.04412587732076645,
0.031192399561405182,
-0.10163148492574692,
-0.026642676442861557,
-0.09382055699825287,
0.028032060712575912,
0.0008367809932678938,
-0.06111489608883858,
-0.049006152898073196,
0.05081719160079956,
-0.02782343700528145,
0.021811924874782562,
0.01275542937219143,
-0.13262401521205902,
-0.062133170664310455,
0.03633984550833702,
0.03357630595564842,
0.12419372797012329,
0.01153077743947506,
0.001608378253877163,
0.03322741389274597,
-0.04773098602890968,
0.018038835376501083,
0.005553219933062792,
-0.016697922721505165,
-0.025344694033265114,
-0.02381809800863266,
0.08022217452526093,
0.04599862918257713,
0.03826947137713432,
-0.07405039668083191,
0.045821141451597214,
0.022779474034905434,
-0.040014080703258514,
-0.04215670004487038,
0.03812582045793533,
-0.007769039366394281,
0.03360942006111145,
-0.10026444494724274,
0.07088968902826309,
0.03961380943655968,
0.020537137985229492,
0.022138193249702454,
-0.05981573835015297,
0.04239095002412796,
-0.02972492389380932,
-0.09923871606588364,
-0.010987630113959312,
0.029757235199213028,
0.07349906861782074,
-0.062275227159261703,
-0.05668174847960472,
0.06216030940413475,
0.06795147061347961,
-0.06723778694868088,
-0.006393633782863617,
0.03145970031619072,
0.02910858392715454,
-0.004515131004154682,
-0.07593514025211334,
-0.0010631036711856723,
0.013389305211603642,
-0.13062968850135803,
-7.231986547724267e-33,
0.005542248487472534,
-0.013460950925946236,
-0.08296096324920654,
0.06145940721035004,
0.027136070653796196,
0.012407899834215641,
-0.03146664798259735,
-0.07156191766262054,
-0.09138218313455582,
-0.06298430263996124,
-0.051779720932245255,
0.08075927942991257,
0.03533226251602173,
0.0807613953948021,
-0.014281002804636955,
-0.016743119806051254,
-0.0022451726254075766,
0.003905646735802293,
-0.09140616655349731,
0.013811534270644188,
-0.055213846266269684,
0.051127418875694275,
-0.01485083531588316,
0.03585251793265343,
0.023272452875971794,
-0.043425753712654114,
-0.06344804167747498,
0.06566434353590012,
-0.051462896168231964,
0.011939769610762596,
0.004168406594544649,
0.010460970923304558,
-0.09523145854473114,
0.07659288495779037,
-0.014558763243258,
0.01068346481770277,
-0.027875607833266258,
0.09006644785404205,
-0.012036739848554134,
0.019141655415296555,
0.0780235007405281,
-0.02208220586180687,
-0.06023840978741646,
-0.02019200101494789,
-0.05830635130405426,
0.0876980796456337,
-0.03237524256110191,
-0.03815235197544098,
-0.1037413626909256,
0.02709592692553997,
-0.022131312638521194,
0.030401483178138733,
0.06132470816373825,
0.03951652720570564,
0.01211650762706995,
-0.042661841958761215,
0.031179027631878853,
0.03653091937303543,
-0.0553094856441021,
-0.013266881927847862,
0.10556363314390182,
-0.04896339401602745,
-0.00033530176733620465,
0.04203169420361519,
0.011666549369692802,
-0.047398641705513,
-0.06660207360982895,
0.09765497595071793,
0.0033199703320860863,
0.013904641382396221,
0.0634823590517044,
0.027472231537103653,
-0.06672881543636322,
0.08565446734428406,
-0.005821792874485254,
0.005793514661490917,
-0.024813201278448105,
-0.21423956751823425,
-0.024910876527428627,
0.10427457094192505,
-0.04346609115600586,
0.042977042496204376,
-0.03141861781477928,
-0.006437360309064388,
-0.108009934425354,
0.06451131403446198,
-0.049278564751148224,
0.03590420261025429,
0.05463721975684166,
-0.02288767136633396,
0.006017827428877354,
-0.045765455812215805,
-0.0003589852130971849,
-0.0010355242993682623,
0.017510630190372467,
-5.872472641499371e-8,
0.051588330417871475,
-0.014710738323628902,
-0.021966425701975822,
0.03408446162939072,
-0.03655380755662918,
-0.02385886386036873,
-0.004693726077675819,
-0.053389109671115875,
0.015234111808240414,
-0.0033550462685525417,
-0.007650637533515692,
-0.058390043675899506,
0.011428385972976685,
-0.001200683182105422,
0.02028961293399334,
0.08017108589410782,
0.034954238682985306,
-0.004051628988236189,
0.010688978247344494,
-0.10768121480941772,
-0.058338869363069534,
-0.015634212642908096,
-0.05558686703443527,
0.050949886441230774,
-0.03938119113445282,
0.010817833244800568,
0.056556377559900284,
0.0216501634567976,
-0.054399628192186356,
0.026307132095098495,
-0.000764002907089889,
-0.03161183372139931,
-0.045366108417510986,
-0.006576361134648323,
-0.03096669726073742,
0.028113754466176033,
-0.029755664989352226,
0.03259522095322609,
0.00565950246527791,
0.006437405478209257,
-0.005981034133583307,
-0.03141092509031296,
-0.004396217875182629,
-0.018385794013738632,
-0.05508260801434517,
0.011269762180745602,
-0.03628915548324585,
-0.009096886031329632,
0.04079144448041916,
-0.03914429619908333,
0.027246156707406044,
-0.002147823804989457,
-0.0030845399014651775,
0.08979692310094833,
0.07621631026268005,
0.026569975540041924,
0.06193801015615463,
-0.09129223972558975,
0.045627616345882416,
0.06462835520505905,
-0.046574756503105164,
0.005090364720672369,
-0.0028881605248898268,
-0.029429804533720016
] | 0.138049 |
`security`, `ask`, and `node`. Send `/exec` with no arguments to show the current values. Example: ``` /exec host=gateway security=allowlist ask=on-miss node=mac-1 ``` ## Authorization model `/exec` is only honored for \*\*authorized senders\*\* (channel allowlists/pairing plus `commands.useAccessGroups`). It updates \*\*session state only\*\* and does not write config. To hard-disable exec, deny it via tool policy (`tools.deny: ["exec"]` or per-agent). Host approvals still apply unless you explicitly set `security=full` and `ask=off`. ## Exec approvals (companion app / node host) Sandboxed agents can require per-request approval before `exec` runs on the gateway or node host. See [Exec approvals](/tools/exec-approvals) for the policy, allowlist, and UI flow. When approvals are required, the exec tool returns immediately with `status: "approval-pending"` and an approval id. Once approved (or denied / timed out), the Gateway emits system events (`Exec finished` / `Exec denied`). If the command is still running after `tools.exec.approvalRunningNoticeMs`, a single `Exec running` notice is emitted. ## Allowlist + safe bins Allowlist enforcement matches \*\*resolved binary paths only\*\* (no basename matches). When `security=allowlist`, shell commands are auto-allowed only if every pipeline segment is allowlisted or a safe bin. Chaining (`;`, `&&`, `||`) and redirections are rejected in allowlist mode. ## Examples Foreground: ```json { "tool": "exec", "command": "ls -la" } ``` Background + poll: ```json {"tool":"exec","command":"npm run build","yieldMs":1000} {"tool":"process","action":"poll","sessionId":""} ``` Send keys (tmux-style): ```json {"tool":"process","action":"send-keys","sessionId":"","keys":["Enter"]} {"tool":"process","action":"send-keys","sessionId":"","keys":["C-c"]} {"tool":"process","action":"send-keys","sessionId":"","keys":["Up","Up","Enter"]} ``` Submit (send CR only): ```json { "tool": "process", "action": "submit", "sessionId": "" } ``` Paste (bracketed by default): ```json { "tool": "process", "action": "paste", "sessionId": "", "text": "line1\nline2\n" } ``` ## apply\_patch (experimental) `apply\_patch` is a subtool of `exec` for structured multi-file edits. Enable it explicitly: ```json5 { tools: { exec: { applyPatch: { enabled: true, allowModels: ["gpt-5.2"] }, }, }, } ``` Notes: - Only available for OpenAI/OpenAI Codex models. - Tool policy still applies; `allow: ["exec"]` implicitly allows `apply\_patch`. - Config lives under `tools.exec.applyPatch`. | https://github.com/openclaw/openclaw/blob/main//docs/tools/exec.md | main | opebclaw | [
0.012909087352454662,
0.04614703729748726,
-0.018290935084223747,
0.025310534983873367,
0.06556828320026398,
-0.0585581474006176,
0.006433200556784868,
-0.0509418249130249,
-0.0187811441719532,
0.027886873111128807,
0.03025694563984871,
-0.03707566484808922,
0.05128801614046097,
0.008980141952633858,
0.03813371807336807,
0.060702089220285416,
0.13568894565105438,
-0.007164936512708664,
0.040255215018987656,
-0.009725035168230534,
-0.013724631629884243,
0.019258810207247734,
0.030377499759197235,
-0.01006355695426464,
-0.10893100500106812,
-0.13089387118816376,
-0.04350663349032402,
-0.052766624838113785,
-0.022871850058436394,
-0.03423170745372772,
0.00788241345435381,
-0.010286536999046803,
-0.011047585867345333,
0.053051210939884186,
0.028231719508767128,
0.03262469172477722,
0.052982985973358154,
-0.0123269222676754,
-0.08541369438171387,
-0.04668344557285309,
0.029585566371679306,
-0.010016926564276218,
-0.06913898140192032,
-0.05449221655726433,
-0.07295401394367218,
-0.06219688430428505,
0.012674367986619473,
-0.05619507282972336,
-0.03272263705730438,
0.03204677626490593,
0.024803193286061287,
-0.03005780652165413,
0.008434358984231949,
-0.02340376190841198,
0.00990774855017662,
0.022023513913154602,
-0.01112608052790165,
0.020866582170128822,
0.08545562624931335,
-0.02139720693230629,
-0.01787853054702282,
0.0078269699588418,
0.012367155402898788,
-0.0024636585731059313,
-0.03632578253746033,
0.037972066551446915,
-0.012245496734976768,
-0.01359174121171236,
0.013168520294129848,
-0.006505824625492096,
0.04134363308548927,
-0.02348649501800537,
-0.09531307220458984,
-0.06275173276662827,
0.008713032118976116,
0.011616656556725502,
-0.042859405279159546,
-0.03196338191628456,
-0.02787177637219429,
-0.0651334598660469,
-0.04611526429653168,
-0.026219023391604424,
-0.020060701295733452,
0.03525935113430023,
-0.06530185043811798,
0.054354071617126465,
-0.0032153704669326544,
0.0785975307226181,
0.09657837450504303,
0.08276533335447311,
0.026686016470193863,
-0.010056615807116032,
-0.04588515684008598,
-0.002154822461307049,
0.09031711518764496,
0.0019829515367746353,
-0.09119401127099991,
-0.005206637550145388,
-0.1536460965871811,
0.04343327134847641,
0.024170538410544395,
-0.05441400036215782,
0.002569920849055052,
-0.01911747269332409,
0.03751831129193306,
-0.02995319291949272,
0.062136344611644745,
-0.05356394499540329,
0.012803611345589161,
0.006938922684639692,
-0.08476445078849792,
-0.029933098703622818,
-0.0026735044084489346,
0.017088793218135834,
-0.03217988461256027,
0.06799833476543427,
0.0932835042476654,
0.05995950102806091,
-0.004927950911223888,
0.03455827757716179,
0.10425926744937897,
0.0040765488520264626,
0.09298679977655411,
0.0199507437646389,
0.10360849648714066,
-0.008636854588985443,
-0.004631774965673685,
3.668510320695042e-33,
0.013400326482951641,
-0.06648105382919312,
0.014881142415106297,
0.02268933318555355,
0.09498299658298492,
-0.00769852427765727,
0.05528378486633301,
-0.008203725330531597,
-0.0665607899427414,
0.014998269267380238,
-0.03319938853383064,
0.03673430159687996,
0.08259332925081253,
-0.030475717037916183,
0.052900925278663635,
-0.0276964008808136,
0.04840625822544098,
-0.006458226591348648,
0.07973826676607132,
0.03464870527386665,
0.05311200022697449,
-0.010059830732643604,
-0.03941933438181877,
0.07972829043865204,
-0.03084411285817623,
-0.02744879573583603,
-0.10946953296661377,
0.006771224085241556,
0.12639187276363373,
0.030663538724184036,
0.0077461726032197475,
0.037493087351322174,
-0.040190212428569794,
0.0679769292473793,
-0.05785243213176727,
0.027991274371743202,
-0.0496431365609169,
-0.017132414504885674,
0.021921217441558838,
-0.05260664224624634,
-0.006800536066293716,
0.00024669760023243725,
-0.018647024407982826,
0.004763852339237928,
-0.01912895031273365,
-0.11537882685661316,
-0.08424495905637741,
-0.023764433339238167,
0.0807504653930664,
0.05049031227827072,
0.005887181032449007,
0.0036520627327263355,
0.01930106431245804,
-0.038508813828229904,
0.006004267372190952,
-0.06398535519838333,
-0.034146614372730255,
0.03441954031586647,
-0.05756092444062233,
0.03550068289041519,
0.0014382590306922793,
0.03640647232532501,
-0.0206059031188488,
0.0015476263361051679,
-0.026333492249250412,
0.0011625246843323112,
-0.04675491899251938,
0.02135821245610714,
-0.02560373768210411,
-0.0010493324371054769,
-0.10237371921539307,
0.02781551703810692,
0.022219091653823853,
0.015398219227790833,
-0.09225490689277649,
-0.10030952841043472,
-0.0012113361153751612,
-0.04654804244637489,
0.019684279337525368,
-0.011718213558197021,
-0.009553167968988419,
0.009261157363653183,
-0.009662608616054058,
0.04676135256886482,
0.008588315919041634,
-0.0032495984341949224,
-0.05186353996396065,
0.08036705106496811,
0.09651793539524078,
0.000677453528624028,
0.05899415165185928,
0.02014065720140934,
-0.027266405522823334,
0.022102966904640198,
-0.098933644592762,
-5.562561225629962e-33,
0.01659763976931572,
-0.014371918514370918,
-0.07276029884815216,
-0.0006485987105406821,
-0.015706704929471016,
0.014633294194936752,
-0.034846533089876175,
-0.07326856255531311,
0.03249875456094742,
-0.0531703419983387,
0.007241274695843458,
0.0314398817718029,
0.042607348412275314,
-0.0496220663189888,
0.03319675847887993,
-0.08782197535037994,
-0.07252237945795059,
-0.020992673933506012,
0.01783163845539093,
-0.06597893685102463,
-0.06080522760748863,
0.04672583192586899,
0.033238500356674194,
0.050375379621982574,
-0.00010609740274958313,
-0.04564428701996803,
-0.048096466809511185,
0.04711748659610748,
0.025582537055015564,
-0.049542538821697235,
-0.011029371991753578,
0.008240323513746262,
-0.06030639261007309,
0.014190631918609142,
0.03730938211083412,
-0.02260567434132099,
-0.04622313752770424,
0.1602053940296173,
-0.025660676881670952,
0.07030683010816574,
0.0628228411078453,
-0.01205399725586176,
-0.056290000677108765,
0.06321440637111664,
-0.0003568822576198727,
0.06234239786863327,
-0.01183199044317007,
-0.03802890330553055,
-0.02200488932430744,
0.016876237466931343,
-0.017337722703814507,
0.012910395860671997,
0.09069882333278656,
-0.010189912281930447,
-0.00770656019449234,
0.02576526813209057,
0.028205228969454765,
0.05230186879634857,
0.06287892907857895,
-0.006357464008033276,
0.10484331846237183,
-0.043749015778303146,
-0.038018591701984406,
0.049029964953660965,
0.017006240785121918,
-0.05739658325910568,
-0.0463639572262764,
0.08456525206565857,
0.03408600017428398,
0.017813632264733315,
0.06719611585140228,
-0.036135245114564896,
-0.08690989017486572,
0.02978695183992386,
0.06862344592809677,
-0.029124855995178223,
-0.005364581942558289,
-0.16524165868759155,
-0.019591456279158592,
0.039972465485334396,
-0.05838971957564354,
0.12558360397815704,
-0.017654143273830414,
0.024767210707068443,
-0.006611092481762171,
-0.05335243046283722,
-0.05006661266088486,
0.060092899948358536,
0.04708395153284073,
0.055977411568164825,
0.01519701350480318,
-0.06857462227344513,
-0.03403705731034279,
0.013460390269756317,
-0.10492122918367386,
-5.033752970007299e-8,
0.03716430440545082,
-0.04787075147032738,
-0.04123909771442413,
0.013306384906172752,
0.02684934437274933,
0.03856271132826805,
-0.010136576369404793,
-0.021483497694134712,
0.036244165152311325,
-0.003538221586495638,
0.032585471868515015,
-0.029228398576378822,
-0.042381104081869125,
-0.08487635105848312,
0.06066257879137993,
0.06475595384836197,
-0.005308175925165415,
0.01216872502118349,
-0.020806007087230682,
-0.06594624370336533,
-0.11259651929140091,
-0.0465925857424736,
-0.09793001413345337,
0.06440651416778564,
-0.10589896142482758,
0.031739722937345505,
0.023861592635512352,
0.023503175005316734,
-0.0829029381275177,
0.12404599785804749,
-0.068026103079319,
-0.06458261609077454,
0.007074821274727583,
-0.008318272419273853,
-0.07598242908716202,
0.08153396099805832,
-0.10386732220649719,
0.013492010533809662,
0.027999911457300186,
0.04010994732379913,
-0.07038159668445587,
0.038404081016778946,
0.021472807973623276,
-0.05259743705391884,
-0.03402770683169365,
0.029393509030342102,
0.004952491261065006,
-0.03848199546337128,
0.04009847715497017,
0.00867534801363945,
0.02219967544078827,
0.039957813918590546,
-0.0257240179926157,
0.1344308704137802,
-0.0022832145914435387,
0.033164285123348236,
0.02798050455749035,
-0.14577314257621765,
0.031153222545981407,
0.038815442472696304,
0.014768986031413078,
0.018617212772369385,
0.06266950815916061,
0.013212807476520538
] | 0.138118 |
# Reaction tooling Shared reaction semantics across channels: - `emoji` is required when adding a reaction. - `emoji=""` removes the bot's reaction(s) when supported. - `remove: true` removes the specified emoji when supported (requires `emoji`). Channel notes: - \*\*Discord/Slack\*\*: empty `emoji` removes all of the bot's reactions on the message; `remove: true` removes just that emoji. - \*\*Google Chat\*\*: empty `emoji` removes the app's reactions on the message; `remove: true` removes just that emoji. - \*\*Telegram\*\*: empty `emoji` removes the bot's reactions; `remove: true` also removes reactions but still requires a non-empty `emoji` for tool validation. - \*\*WhatsApp\*\*: empty `emoji` removes the bot reaction; `remove: true` maps to empty emoji (still requires `emoji`). - \*\*Signal\*\*: inbound reaction notifications emit system events when `channels.signal.reactionNotifications` is enabled. | https://github.com/openclaw/openclaw/blob/main//docs/tools/reactions.md | main | opebclaw | [
-0.0845419242978096,
-0.0016341283917427063,
0.10792047530412674,
-0.00822756439447403,
0.04682658985257149,
-0.05838306248188019,
0.02950076386332512,
-0.06733065843582153,
0.1050947979092598,
0.003975841216742992,
0.0515161007642746,
-0.06947142630815506,
0.013393248431384563,
0.05538676679134369,
0.10635315626859665,
0.05365699902176857,
0.014187653549015522,
-0.10556147992610931,
-0.07326704263687134,
-0.06296855211257935,
0.031638141721487045,
0.008297979831695557,
0.013355918228626251,
0.008262934163212776,
0.0581185519695282,
-0.041088301688432693,
-0.00911632552742958,
-0.00023677642457187176,
0.02718520350754261,
0.020146362483501434,
0.018769586458802223,
-0.0426664836704731,
0.017328253015875816,
0.029472505673766136,
-0.022282017394900322,
0.09149616956710815,
-0.003270371351391077,
0.009657341055572033,
0.026883969083428383,
0.02445576898753643,
-0.0533139742910862,
-0.06390330195426941,
-0.07975737005472183,
-0.02652435190975666,
0.1081250011920929,
0.03785455971956253,
-0.021207697689533234,
-0.08239338546991348,
-0.07579953223466873,
0.024250879883766174,
0.020234400406479836,
0.027528461068868637,
-0.01914508081972599,
0.08070456236600876,
0.0070584858767688274,
-0.03965267166495323,
-0.07451682537794113,
0.042612913995981216,
0.07947393506765366,
-0.015512858517467976,
-0.056980885565280914,
-0.05385821312665939,
0.05366020277142525,
-0.0065481821075081825,
-0.011988744139671326,
0.025913139805197716,
0.0517418310046196,
-0.04982037469744682,
0.010097464546561241,
0.04968128353357315,
-0.008559045381844044,
-0.020470505580306053,
-0.02872380241751671,
-0.01107335276901722,
-0.018537037074565887,
0.03964695706963539,
0.01864473894238472,
-0.009809461422264576,
-0.05620952323079109,
0.023408323526382446,
0.010505887679755688,
-0.05040627717971802,
0.013036978431046009,
0.03266853839159012,
-0.0020951791666448116,
0.052284132689237595,
-0.04398023337125778,
-0.06993938982486725,
0.00495004141703248,
0.062252145260572433,
-0.03071710467338562,
-0.03975926339626312,
0.10097788274288177,
0.06912792474031448,
0.058148618787527084,
-0.03487950563430786,
-0.06251661479473114,
0.00667022867128253,
-0.06033022329211235,
0.05915161222219467,
-0.022931646555662155,
-0.02958008088171482,
-0.05101177096366882,
-0.07043430954217911,
0.003512775991111994,
0.046981438994407654,
0.009597362950444221,
-0.030420251190662384,
0.021557843312621117,
0.019643547013401985,
-0.06812326610088348,
-0.03477387875318527,
0.015337137505412102,
-0.02262183465063572,
-0.024999672546982765,
0.054360534995794296,
0.07351908832788467,
0.03508516028523445,
0.07383470237255096,
0.029285049065947533,
0.08012713491916656,
-0.061926476657390594,
-0.006606272887438536,
0.08077654242515564,
-0.030198028311133385,
0.02625984139740467,
-0.04800872132182121,
4.245637271988491e-33,
0.028426392003893852,
0.00020943395793437958,
-0.05324728414416313,
0.0006425887113437057,
0.02909637615084648,
0.04324572905898094,
-0.05321388691663742,
-0.012999097816646099,
-0.09052608907222748,
-0.04745205119252205,
-0.015525109134614468,
-0.002531934529542923,
-0.02653462253510952,
0.059759579598903656,
0.008883434347808361,
0.03166130930185318,
0.07836567610502243,
-0.04303167015314102,
0.03547481819987297,
-0.0852128341794014,
-0.02696392871439457,
0.010395357385277748,
-0.03951946273446083,
0.017606720328330994,
-0.06323301047086716,
0.09589038789272308,
0.07208804041147232,
-0.033753301948308945,
-0.016726138070225716,
-0.014283040538430214,
-0.09695938229560852,
-0.008766142651438713,
0.016682365909218788,
0.03335365653038025,
0.07452400028705597,
0.03348175436258316,
-0.05819413810968399,
0.018602006137371063,
-0.062072884291410446,
0.009014333598315716,
-0.027539417147636414,
0.03111906722187996,
-0.14705221354961395,
-0.0877080112695694,
0.054922930896282196,
-0.06753013283014297,
-0.011556307785212994,
-0.03160747513175011,
0.02654942311346531,
-0.016515657305717468,
-0.0032675783149898052,
0.05276554077863693,
0.07350222766399384,
0.008648655377328396,
-0.006494604982435703,
-0.0704524964094162,
0.020376328378915787,
-0.052759215235710144,
0.03640012815594673,
0.007836258970201015,
-0.03486953303217888,
0.00941942073404789,
0.02155369706451893,
0.002392752328887582,
0.04230637103319168,
0.059044502675533295,
-0.09148111194372177,
-0.00044758556759916246,
-0.043791763484478,
-0.05899444594979286,
-0.04925817251205444,
0.0977519154548645,
-0.008387519977986813,
0.03052257001399994,
-0.10115242749452591,
-0.06520342081785202,
-0.04892687872052193,
0.003474824596196413,
0.037966322153806686,
0.04256441816687584,
0.028993062674999237,
-0.04225017875432968,
-0.027298061177134514,
0.005245913751423359,
0.0388067290186882,
-0.03628447279334068,
0.011784362606704235,
-0.08141911029815674,
-0.02836507558822632,
0.08330240100622177,
-0.030317779630422592,
-0.010526295751333237,
0.0020595802925527096,
0.03808104246854782,
-0.03262045234441757,
-5.1965497536663344e-33,
-0.019950855523347855,
0.07058988511562347,
-0.05196383595466614,
0.05678008869290352,
-0.08560027927160263,
-0.020305609330534935,
0.109280526638031,
0.022670699283480644,
0.09735900163650513,
0.019356220960617065,
-0.007858498953282833,
-0.07789565622806549,
-0.012575947679579258,
-0.046942777931690216,
0.03429657593369484,
0.054055649787187576,
-0.06143440678715706,
-0.03272546827793121,
-0.04649844020605087,
0.027618860825896263,
0.011887948028743267,
0.06209758296608925,
-0.008430012501776218,
0.030140122398734093,
0.02498783729970455,
0.010440615005791187,
0.061974894255399704,
0.013978942297399044,
0.00285927252843976,
-0.05583123490214348,
0.01724218763411045,
-0.01422081608325243,
-0.05233774334192276,
-0.07059282064437866,
0.03298035264015198,
-0.035601742565631866,
-0.011927381157875061,
0.04488571360707283,
0.019209301099181175,
-0.07772693783044815,
0.08116032928228378,
-0.03647764399647713,
-0.07247122377157211,
0.090187206864357,
0.0006600961205549538,
0.08495073765516281,
-0.11079525947570801,
-0.03012985922396183,
-0.041354384273290634,
0.019399207085371017,
0.1027669608592987,
-0.07923629134893417,
-0.039133504033088684,
-0.1003483459353447,
0.022144490852952003,
-0.05146440863609314,
0.028585955500602722,
0.0031808665953576565,
-0.042111434042453766,
-0.07964537292718887,
0.022566191852092743,
-0.07110537588596344,
-0.004928047303110361,
0.006024917587637901,
0.04621770605444908,
-0.016029760241508484,
0.019928188994526863,
0.07094898074865341,
0.06632998585700989,
-0.06460661441087723,
0.12234357744455338,
0.03721350431442261,
-0.019573649391531944,
-0.07056744396686554,
0.04503228887915611,
0.015860434621572495,
-0.04454955831170082,
-0.08465790748596191,
0.020602047443389893,
0.05299190431833267,
-0.07695736736059189,
0.045297421514987946,
0.04135749116539955,
0.052111949771642685,
-0.05170229822397232,
0.051262907683849335,
-0.03618832677602768,
0.14239948987960815,
-0.06288734823465347,
0.04484724998474121,
0.022970376536250114,
0.04631980508565903,
0.04897167906165123,
0.11240997910499573,
-0.0021868126932531595,
-4.748599735648895e-8,
0.004286136012524366,
-0.08302954584360123,
-0.07926252484321594,
0.019471175968647003,
-0.05647571384906769,
-0.00150895188562572,
0.00874309241771698,
-0.0211200974881649,
0.020560646429657936,
-0.08505045622587204,
0.013262346386909485,
0.061910953372716904,
-0.10522367805242538,
0.02130063995718956,
-0.033584319055080414,
-0.06310763210058212,
-0.07709743827581406,
0.060453563928604126,
0.022533005103468895,
-0.0349232479929924,
-0.0014391327276825905,
0.031468167901039124,
-0.04648813232779503,
0.07519683241844177,
-0.006225865799933672,
-0.08692058175802231,
0.01834818720817566,
0.07097439467906952,
-0.11996083706617355,
-0.06997308880090714,
0.030316932126879692,
-0.07397177815437317,
0.011795547790825367,
-0.029328331351280212,
-0.0212581567466259,
0.0346696674823761,
0.000273849640507251,
-0.03992169350385666,
0.02594478614628315,
0.049403972923755646,
0.052590224891901016,
0.009832063689827919,
-0.015819376334547997,
-0.025237392634153366,
-0.06603432446718216,
-0.02637685462832451,
0.021630775183439255,
-0.08314484357833862,
-0.029034540057182312,
0.021708572283387184,
0.02470908872783184,
-0.0029638942796736956,
-0.04233752191066742,
0.06988970935344696,
0.0541212223470211,
-0.020919790491461754,
0.08389002084732056,
-0.005807816516608,
0.03462442010641098,
0.006223993841558695,
0.11756051331758499,
0.05274436995387077,
-0.006020070984959602,
-0.06671673059463501
] | 0.127075 |
# Creating Custom Skills 🛠 OpenClaw is designed to be easily extensible. "Skills" are the primary way to add new capabilities to your assistant. ## What is a Skill? A skill is a directory containing a `SKILL.md` file (which provides instructions and tool definitions to the LLM) and optionally some scripts or resources. ## Step-by-Step: Your First Skill ### 1. Create the Directory Skills live in your workspace, usually `~/.openclaw/workspace/skills/`. Create a new folder for your skill: ```bash mkdir -p ~/.openclaw/workspace/skills/hello-world ``` ### 2. Define the `SKILL.md` Create a `SKILL.md` file in that directory. This file uses YAML frontmatter for metadata and Markdown for instructions. ```markdown --- name: hello\_world description: A simple skill that says hello. --- # Hello World Skill When the user asks for a greeting, use the `echo` tool to say "Hello from your custom skill!". ``` ### 3. Add Tools (Optional) You can define custom tools in the frontmatter or instruct the agent to use existing system tools (like `bash` or `browser`). ### 4. Refresh OpenClaw Ask your agent to "refresh skills" or restart the gateway. OpenClaw will discover the new directory and index the `SKILL.md`. ## Best Practices - \*\*Be Concise\*\*: Instruct the model on \_what\_ to do, not how to be an AI. - \*\*Safety First\*\*: If your skill uses `bash`, ensure the prompts don't allow arbitrary command injection from untrusted user input. - \*\*Test Locally\*\*: Use `openclaw agent --message "use my new skill"` to test. ## Shared Skills You can also browse and contribute skills to [ClawHub](https://clawhub.com). | https://github.com/openclaw/openclaw/blob/main//docs/tools/creating-skills.md | main | opebclaw | [
-0.02856506034731865,
-0.012216459028422832,
-0.08219156414270401,
0.03475034236907959,
-0.05134037882089615,
-0.05745745822787285,
-0.02673416957259178,
0.021473055705428123,
-0.10441305488348007,
-0.029000286012887955,
0.01932554505765438,
-0.03778866305947304,
0.03200943022966385,
0.02039543353021145,
0.06057082489132881,
0.09832852333784103,
0.00704866461455822,
-0.0010877805761992931,
-0.04293365776538849,
-0.07003913819789886,
0.04790237918496132,
0.06261993944644928,
0.08057943731546402,
-0.05579891800880432,
-0.05174947902560234,
-0.065593421459198,
0.002199251437559724,
0.0006339883548207581,
0.0008628357318229973,
-0.016538497060537338,
0.0871373638510704,
0.00780503312125802,
0.0455055870115757,
0.04208984598517418,
0.07420593500137329,
0.11805740743875504,
0.0869322419166565,
0.006684734486043453,
-0.08330332487821579,
-0.021135609596967697,
-0.029335858300328255,
0.013950218446552753,
-0.04941379278898239,
-0.06347306072711945,
-0.050725337117910385,
-0.06770449876785278,
0.021072205156087875,
-0.09012030810117722,
-0.0076637351885437965,
0.056374624371528625,
-0.07477225363254547,
-0.12152332067489624,
-0.006646346300840378,
-0.12837299704551697,
0.037998393177986145,
0.056725576519966125,
-0.015324465930461884,
-0.05910583212971687,
-0.05945919081568718,
-0.0634380429983139,
0.007141404785215855,
0.02778615616261959,
-0.04970332607626915,
0.0037592402659356594,
-0.028359422460198402,
-0.006415333598852158,
-0.06228160858154297,
0.014631238766014576,
-0.030263425782322884,
-0.05434919148683548,
-0.0860205814242363,
-0.03684932366013527,
-0.032556645572185516,
0.06285806000232697,
0.027538172900676727,
-0.07021306455135345,
0.022419240325689316,
0.023933932185173035,
-0.024216795340180397,
-0.07000331580638885,
-0.06717903912067413,
0.04721692577004433,
-0.04286319389939308,
0.03969121351838112,
-0.015497473068535328,
0.09053290635347366,
0.007729777600616217,
0.08328256756067276,
0.0642613023519516,
-0.00574952969327569,
0.05473644658923149,
-0.0872911587357521,
-0.0516514927148819,
-0.030683090910315514,
0.03792468085885048,
0.021470287814736366,
0.029857750982046127,
-0.007400236092507839,
-0.08938053250312805,
0.04686767980456352,
-0.03583143278956413,
-0.08339082449674606,
-0.004446318838745356,
-0.006533090025186539,
-0.10143133252859116,
0.10189523547887802,
-0.0020029477309435606,
0.07046394050121307,
-0.03888283297419548,
-0.0005771866417489946,
0.025556622073054314,
-0.01324431598186493,
-0.025261290371418,
-0.06922464072704315,
0.023373516276478767,
0.029025962576270103,
-0.10231353342533112,
-0.05991625785827637,
0.023998962715268135,
0.05611354112625122,
0.0785173699259758,
0.03620496019721031,
0.008239008486270905,
0.038364894688129425,
0.06502653658390045,
0.021806327626109123,
-0.009784636087715626,
1.5390352642682731e-33,
0.12326221913099289,
0.04523235931992531,
-0.030506681650877,
0.09498786926269531,
0.110897496342659,
0.0060823275707662106,
0.06242349371314049,
0.039873480796813965,
-0.08130370080471039,
0.05263815447688103,
0.00911653321236372,
0.05603170767426491,
-0.09618455916643143,
-0.04934731498360634,
0.023877501487731934,
0.039040252566337585,
-0.02731194905936718,
0.03259693458676338,
0.06720137596130371,
0.0158991739153862,
0.022859910503029823,
0.011510878801345825,
-0.03301597759127617,
0.05764764919877052,
-0.01956460438668728,
0.05271610617637634,
0.017614809796214104,
-0.032414209097623825,
0.053239013999700546,
0.015680460259318352,
0.06185609847307205,
-0.05888615921139717,
-0.0536920540034771,
-0.018605638295412064,
-0.02364523336291313,
0.05292196944355965,
-0.07056494057178497,
-0.02847098745405674,
0.03670492768287659,
0.0009846375323832035,
0.03092847764492035,
-0.012148728594183922,
0.049426279962062836,
-0.019996672868728638,
-0.0038368513341993093,
-0.06719619780778885,
0.006049033720046282,
0.042816948145627975,
0.00935623049736023,
0.09401021897792816,
0.015553022734820843,
-0.039822738617658615,
0.07161644846200943,
-0.043850596994161606,
-0.00658222334459424,
0.03066301718354225,
-0.033870525658130646,
0.03821590915322304,
-0.004304266534745693,
0.012910619378089905,
-0.02029460109770298,
0.04155855253338814,
-0.031225204467773438,
0.11166338622570038,
-0.01937628909945488,
-0.045304734259843826,
0.07883831113576889,
0.011007054708898067,
0.10814700275659561,
-0.017921335995197296,
-0.08021309226751328,
-0.03316962718963623,
0.02062132954597473,
0.04961774870753288,
-0.03944268077611923,
-0.0823870450258255,
0.05967605486512184,
-0.08083534240722656,
0.0203273706138134,
0.0017372542060911655,
0.022820547223091125,
0.030446790158748627,
-0.04130254685878754,
-0.009688112884759903,
0.06650665402412415,
-0.049683596938848495,
0.015991931781172752,
-0.04414181038737297,
0.0437004491686821,
0.032593440264463425,
-0.02628047578036785,
-0.03607241064310074,
-0.09085142612457275,
0.016471823677420616,
-0.0027318031061440706,
-3.600088835295508e-33,
0.06844509392976761,
-0.043946102261543274,
-0.011111482046544552,
0.03615805134177208,
0.008355127647519112,
-0.013852559961378574,
0.047515518963336945,
-0.04377618432044983,
-0.05490453913807869,
-0.05480162426829338,
-0.05729912966489792,
0.012875150889158249,
0.0042610857635736465,
-0.0852109044790268,
0.029064172878861427,
-0.056976716965436935,
-0.14487606287002563,
-0.009224501438438892,
0.038253698498010635,
0.0019296481041237712,
-0.022548291832208633,
0.055753834545612335,
0.049064233899116516,
0.05259648710489273,
0.07259681820869446,
-0.04270831495523453,
-0.033374641090631485,
0.028356747701764107,
-0.035912878811359406,
0.019225168973207474,
0.01885889656841755,
-0.013863763771951199,
-0.013716258108615875,
0.021600324660539627,
-0.03565697744488716,
-0.04219544306397438,
-0.06298448890447617,
-0.033146947622299194,
0.011924352496862411,
0.08221692591905594,
0.07227052748203278,
-0.025532932952046394,
-0.039970021694898605,
-0.01862361654639244,
-0.07777277380228043,
0.023737583309412003,
-0.02692541852593422,
-0.04542320594191551,
-0.03627456724643707,
-0.047553349286317825,
0.040514763444662094,
-0.0144277922809124,
-0.014307300560176373,
-0.04527870938181877,
0.03884366154670715,
-0.006875180639326572,
0.08811397850513458,
-0.10894852131605148,
0.0033544597681611776,
-0.04385596513748169,
-0.02754146046936512,
-0.021776866167783737,
-0.0013091167202219367,
0.10591885447502136,
-0.000900375482160598,
-0.09189700335264206,
-0.03470627963542938,
0.03171244636178017,
-0.12180385738611221,
-0.00586246233433485,
-0.04755190759897232,
-0.04593126103281975,
0.0552370548248291,
-0.09531240910291672,
0.04674976319074631,
-0.03205086290836334,
-0.038188446313142776,
-0.062204353511333466,
-0.021136773750185966,
0.02734844759106636,
-0.014247709885239601,
-0.01656460389494896,
0.06549988687038422,
0.023185819387435913,
0.009989036247134209,
0.08590653538703918,
0.019876236096024513,
0.10986145585775375,
0.00857043918222189,
0.043011624366045,
-0.0718066543340683,
0.08371404558420181,
0.005531936883926392,
0.02241876721382141,
-0.06517985463142395,
-5.037870209889661e-8,
-0.10613492876291275,
0.001073365332558751,
-0.028870826587080956,
-0.0041760047897696495,
-0.03632057085633278,
0.014355141669511795,
-0.05211479216814041,
0.07557722926139832,
-0.01118343323469162,
0.023074792698025703,
0.11629637330770493,
-0.008982809260487556,
-0.03789699450135231,
-0.013379683718085289,
-0.011804148554801941,
0.08789346367120743,
0.04547102004289627,
0.05602620914578438,
-0.007076895795762539,
-0.050934914499521255,
0.07778383046388626,
0.06081695482134819,
0.007814089767634869,
0.023304101079702377,
-0.016434697434306145,
-0.03239608183503151,
-0.12596584856510162,
0.05105595290660858,
-0.039544060826301575,
0.07617411762475967,
0.06492828577756882,
-0.06990416347980499,
0.06551865488290787,
0.03906243294477463,
0.03515912964940071,
-0.03974565863609314,
-0.018698593601584435,
0.008044540882110596,
-0.016082556918263435,
-0.030437875539064407,
0.03908050060272217,
0.04660530388355255,
-0.04104476422071457,
-0.029461944475769997,
-0.026411646977066994,
-0.013040796853601933,
-0.02158019319176674,
-0.04346853122115135,
-0.022579964250326157,
-0.00470849871635437,
-0.008092200383543968,
-0.003482310799881816,
-0.0012851449428126216,
0.0018837350653484464,
-0.008393117226660252,
0.11473053693771362,
0.0808376744389534,
-0.01767992042005062,
-0.00647885212674737,
0.05512961372733116,
-0.015066991560161114,
0.052360422909259796,
0.024772973731160164,
0.01824100688099861
] | 0.048994 |
# Chrome extension (browser relay) The OpenClaw Chrome extension lets the agent control your \*\*existing Chrome tabs\*\* (your normal Chrome window) instead of launching a separate openclaw-managed Chrome profile. Attach/detach happens via a \*\*single Chrome toolbar button\*\*. ## What it is (concept) There are three parts: - \*\*Browser control service\*\* (Gateway or node): the API the agent/tool calls (via the Gateway) - \*\*Local relay server\*\* (loopback CDP): bridges between the control server and the extension (`http://127.0.0.1:18792` by default) - \*\*Chrome MV3 extension\*\*: attaches to the active tab using `chrome.debugger` and pipes CDP messages to the relay OpenClaw then controls the attached tab through the normal `browser` tool surface (selecting the right profile). ## Install / load (unpacked) 1. Install the extension to a stable local path: ```bash openclaw browser extension install ``` 2. Print the installed extension directory path: ```bash openclaw browser extension path ``` 3. Chrome → `chrome://extensions` - Enable “Developer mode” - “Load unpacked” → select the directory printed above 4. Pin the extension. ## Updates (no build step) The extension ships inside the OpenClaw release (npm package) as static files. There is no separate “build” step. After upgrading OpenClaw: - Re-run `openclaw browser extension install` to refresh the installed files under your OpenClaw state directory. - Chrome → `chrome://extensions` → click “Reload” on the extension. ## Use it (no extra config) OpenClaw ships with a built-in browser profile named `chrome` that targets the extension relay on the default port. Use it: - CLI: `openclaw browser --browser-profile chrome tabs` - Agent tool: `browser` with `profile="chrome"` If you want a different name or a different relay port, create your own profile: ```bash openclaw browser create-profile \ --name my-chrome \ --driver extension \ --cdp-url http://127.0.0.1:18792 \ --color "#00AA00" ``` ## Attach / detach (toolbar button) - Open the tab you want OpenClaw to control. - Click the extension icon. - Badge shows `ON` when attached. - Click again to detach. ## Which tab does it control? - It does \*\*not\*\* automatically control “whatever tab you’re looking at”. - It controls \*\*only the tab(s) you explicitly attached\*\* by clicking the toolbar button. - To switch: open the other tab and click the extension icon there. ## Badge + common errors - `ON`: attached; OpenClaw can drive that tab. - `…`: connecting to the local relay. - `!`: relay not reachable (most common: browser relay server isn’t running on this machine). If you see `!`: - Make sure the Gateway is running locally (default setup), or run a node host on this machine if the Gateway runs elsewhere. - Open the extension Options page; it shows whether the relay is reachable. ## Remote Gateway (use a node host) ### Local Gateway (same machine as Chrome) — usually \*\*no extra steps\*\* If the Gateway runs on the same machine as Chrome, it starts the browser control service on loopback and auto-starts the relay server. The extension talks to the local relay; the CLI/tool calls go to the Gateway. ### Remote Gateway (Gateway runs elsewhere) — \*\*run a node host\*\* If your Gateway runs on another machine, start a node host on the machine that runs Chrome. The Gateway will proxy browser actions to that node; the extension + relay stay local to the browser machine. If multiple nodes are connected, pin one with `gateway.nodes.browser.node` or set `gateway.nodes.browser.mode`. ## Sandboxing (tool containers) If your agent session is sandboxed (`agents.defaults.sandbox.mode != "off"`), the `browser` tool can be restricted: - By default, sandboxed sessions often target the \*\*sandbox browser\*\* (`target="sandbox"`), not your host Chrome. - Chrome extension relay takeover requires controlling the \*\*host\*\* browser control server. | https://github.com/openclaw/openclaw/blob/main//docs/tools/chrome-extension.md | main | opebclaw | [
-0.026583554223179817,
-0.05697314813733101,
-0.005041471216827631,
0.06530043482780457,
0.05139724165201187,
-0.06712370365858078,
-0.022916793823242188,
0.0013641518307849765,
-0.01996695064008236,
-0.05394906550645828,
0.046872057020664215,
-0.014394961297512054,
0.011571122333407402,
-0.021249929443001747,
0.058701399713754654,
0.13501420617103577,
0.04021887108683586,
-0.07596271485090256,
0.024519218131899834,
0.0030314854811877012,
-0.03555275499820709,
-0.026995033025741577,
-0.053976599127054214,
-0.06085709109902382,
-0.10480882972478867,
-0.024210134521126747,
-0.07482070475816727,
-0.0915602520108223,
-0.01898978091776371,
0.007571403402835131,
0.048422105610370636,
-0.07722386717796326,
-0.10670700669288635,
0.00617083627730608,
0.002141518285498023,
-0.013494792394340038,
-0.05828118696808815,
0.020733440294861794,
-0.08164504915475845,
0.04237884283065796,
0.10592883825302124,
0.022118782624602318,
-0.03566135838627815,
-0.06637930124998093,
-0.11360376328229904,
-0.057806938886642456,
0.0020584717858582735,
-0.019078250974416733,
-0.00022991735022515059,
-0.07192839682102203,
-0.0011744777439162135,
0.011690554209053516,
-0.004621555097401142,
0.0017333332216367126,
-0.013317727483808994,
0.020892636850476265,
-0.04256021976470947,
-0.07640089094638824,
0.0783756747841835,
0.04666617885231972,
-0.0011305592488497496,
0.02698323503136635,
-0.019977660849690437,
0.008588564582169056,
-0.06182750314474106,
0.03897739574313164,
-0.040007442235946655,
-0.034687306731939316,
-0.022630516439676285,
-0.031106870621442795,
-0.003016167785972357,
0.022849813103675842,
-0.028110520914196968,
0.005726895295083523,
0.043787434697151184,
-0.11893189698457718,
-0.02535131946206093,
0.06743700057268143,
-0.04780399054288864,
-0.08559349924325943,
0.039298996329307556,
-0.0644751489162445,
-0.04616691172122955,
0.060535989701747894,
0.08729713410139084,
0.11834466457366943,
0.012579292058944702,
-0.03419934958219528,
0.042629241943359375,
0.018211929127573967,
-0.05073312669992447,
-0.09113822132349014,
-0.035374123603105545,
-0.01774580031633377,
0.029570141807198524,
-0.04738325625658035,
0.014794202521443367,
0.019583364948630333,
-0.05239496007561684,
0.07508187741041183,
0.07022499293088913,
0.01627214066684246,
0.009423039853572845,
-0.02303512580692768,
-0.018659884110093117,
0.03627179190516472,
-0.03165116906166077,
0.09867003560066223,
0.050438448786735535,
0.01669430173933506,
0.041567765176296234,
-0.030914872884750366,
0.0294768288731575,
-0.06828434765338898,
-0.04503628984093666,
0.01896730251610279,
-0.013080889359116554,
0.010061274282634258,
0.10579725354909897,
0.07522813230752945,
0.08861713856458664,
0.009946973994374275,
-0.0477508082985878,
-0.010526486672461033,
0.09506117552518845,
0.025300517678260803,
0.055755507200956345,
2.21893054386633e-33,
0.03308701515197754,
-0.04769125208258629,
-0.10107859969139099,
0.057405464351177216,
0.08529110252857208,
0.042492158710956573,
0.03760021924972534,
0.008222018368542194,
-0.030879149213433266,
0.02524067834019661,
0.024311255663633347,
0.06628715246915817,
-0.05442676320672035,
-0.013582051731646061,
-0.01591215282678604,
0.05509950965642929,
-0.02807103842496872,
0.06169552356004715,
0.060575809329748154,
-0.05681630223989487,
-0.02589554712176323,
0.04557482898235321,
-0.05396019294857979,
-0.0023453878238797188,
0.00010262010619044304,
0.0006627226248383522,
-0.09148142486810684,
-0.010780402459204197,
-0.040961433202028275,
0.05306781828403473,
0.01858237013220787,
0.03212208300828934,
-0.058944035321474075,
0.11051113903522491,
-0.06617001444101334,
0.02936541475355625,
-0.06462294608354568,
-0.08260023593902588,
-0.018841028213500977,
0.007505657151341438,
-0.0016218182863667607,
-0.045706816017627716,
-0.018864095211029053,
-0.037939757108688354,
-0.038945138454437256,
-0.14505930244922638,
-0.002445315010845661,
0.03506060317158699,
0.037341441959142685,
0.0005442870897240937,
0.020013809204101562,
-0.06337560713291168,
0.07785812765359879,
0.016834646463394165,
-0.011763793416321278,
-0.054669927805662155,
-0.0912337675690651,
0.006525367498397827,
0.0024709149729460478,
0.014940308406949043,
-0.010662783868610859,
0.017139695584774017,
-0.08525726944208145,
0.04854656755924225,
0.007590268272906542,
-0.05328275263309479,
0.033061202615499496,
0.13071595132350922,
-0.04403558745980263,
-0.02867107093334198,
-0.08758331835269928,
0.0007936684414744377,
0.0125053059309721,
0.025705818086862564,
-0.02909618429839611,
-0.0928814634680748,
-0.015891719609498978,
-0.01025456003844738,
0.00993969663977623,
0.06921575963497162,
0.07849666476249695,
-0.06915462017059326,
0.006148402113467455,
0.013719651848077774,
0.028340639546513557,
0.00833173468708992,
0.0745290145277977,
-0.05834553390741348,
-0.0075143855065107346,
0.05892340466380119,
-0.017619695514440536,
0.05594616383314133,
-0.05937715247273445,
0.05880051106214523,
0.031891368329524994,
-5.099639060648668e-33,
-0.07668517529964447,
0.0017937212251126766,
-0.038106437772512436,
0.02310428023338318,
-0.04696512967348099,
0.0306496974080801,
0.00964442454278469,
-0.024157680571079254,
-0.04533211141824722,
-0.040139783173799515,
-0.05815960839390755,
0.030509458854794502,
0.023328877985477448,
-0.002699181903153658,
0.02564779296517372,
0.02159266173839569,
-0.07163320481777191,
-0.01293790154159069,
-0.062266189604997635,
-0.04640974476933479,
-0.02106686867773533,
0.022812701761722565,
0.027649853378534317,
0.015431828796863556,
0.04074939712882042,
-0.02831694670021534,
0.06477027386426926,
0.05030588433146477,
0.014932963065803051,
-0.009201336652040482,
-0.030953412875533104,
0.05798469856381416,
0.011111913248896599,
0.012822424061596394,
0.039200492203235626,
0.09516330063343048,
0.02413656935095787,
0.057083677500486374,
0.06823226064443588,
-0.04316611960530281,
-0.02577577717602253,
-0.01633777655661106,
0.025677718222141266,
0.05808096006512642,
0.024650555104017258,
0.121645487844944,
0.02152070216834545,
-0.01850314624607563,
-0.09487424045801163,
0.060254767537117004,
-0.020048191770911217,
-0.037689369171857834,
0.014069078490138054,
0.02747422829270363,
0.004090980626642704,
0.007898389361798763,
0.03143223002552986,
-0.026226690039038658,
-0.03435179218649864,
-0.08885060995817184,
0.022601142525672913,
-0.024191970005631447,
-0.03842670097947121,
0.06679432094097137,
-0.0242734607309103,
-0.01841370202600956,
0.02528897486627102,
0.004084150772541761,
-0.050447579473257065,
-0.003951961640268564,
-0.0623742900788784,
-0.017687378451228142,
-0.004196438938379288,
-0.09366605430841446,
0.004305514972656965,
-0.0014044855488464236,
0.10127788037061691,
-0.06377804279327393,
-0.10614394396543503,
0.013038059696555138,
0.007566836662590504,
-0.027038294821977615,
0.05869365110993385,
-0.1771489381790161,
-0.03928015008568764,
-0.010220775380730629,
-0.02859373763203621,
0.14422465860843658,
0.015383990481495857,
0.051486507058143616,
-0.04337628558278084,
0.09183920174837112,
-0.07412615418434143,
-0.0279554333537817,
-0.014844300225377083,
-5.079453657685917e-8,
0.016492657363414764,
0.032165687531232834,
-0.10669271647930145,
-0.02347329445183277,
0.011191744357347488,
0.03746829926967621,
-0.004105701111257076,
0.010833481326699257,
-0.0672585666179657,
-0.008275794796645641,
0.05115560442209244,
0.059547800570726395,
-0.009899158962070942,
0.023035582154989243,
-0.027277721092104912,
0.06753221154212952,
-0.021442173048853874,
-0.010265548713505268,
0.01528121903538704,
-0.034553319215774536,
0.007558381650596857,
-0.02122615836560726,
0.11480411887168884,
0.0691252276301384,
-0.04370920732617378,
0.00968738179653883,
-0.0700419619679451,
0.03774130716919899,
-0.06279457360506058,
0.029104264453053474,
-0.06191768869757652,
-0.030800409615039825,
-0.053680937737226486,
0.0144515885040164,
-0.05084466189146042,
0.08280181884765625,
-0.02163550816476345,
-0.03378606215119362,
-0.02568543143570423,
-0.0536792054772377,
0.11767897754907608,
0.03557449206709862,
-0.07623022049665451,
0.014573439955711365,
-0.01199889462441206,
0.04106028750538826,
-0.05989556014537811,
0.02747480385005474,
0.06726264953613281,
0.01915493793785572,
-0.028478791937232018,
-0.026156984269618988,
0.07194062322378159,
0.041949257254600525,
-0.0014947245363146067,
0.04385627061128616,
0.030953196808695793,
-0.09931807219982147,
-0.006933692842721939,
0.030987249687314034,
-0.0512993223965168,
0.09153737127780914,
0.04049982503056526,
-0.007953809574246407
] | 0.067927 |
`gateway.nodes.browser.node` or set `gateway.nodes.browser.mode`. ## Sandboxing (tool containers) If your agent session is sandboxed (`agents.defaults.sandbox.mode != "off"`), the `browser` tool can be restricted: - By default, sandboxed sessions often target the \*\*sandbox browser\*\* (`target="sandbox"`), not your host Chrome. - Chrome extension relay takeover requires controlling the \*\*host\*\* browser control server. Options: - Easiest: use the extension from a \*\*non-sandboxed\*\* session/agent. - Or allow host browser control for sandboxed sessions: ```json5 { agents: { defaults: { sandbox: { browser: { allowHostControl: true, }, }, }, }, } ``` Then ensure the tool isn’t denied by tool policy, and (if needed) call `browser` with `target="host"`. Debugging: `openclaw sandbox explain` ## Remote access tips - Keep the Gateway and node host on the same tailnet; avoid exposing relay ports to LAN or public Internet. - Pair nodes intentionally; disable browser proxy routing if you don’t want remote control (`gateway.nodes.browser.mode="off"`). ## How “extension path” works `openclaw browser extension path` prints the \*\*installed\*\* on-disk directory containing the extension files. The CLI intentionally does \*\*not\*\* print a `node\_modules` path. Always run `openclaw browser extension install` first to copy the extension to a stable location under your OpenClaw state directory. If you move or delete that install directory, Chrome will mark the extension as broken until you reload it from a valid path. ## Security implications (read this) This is powerful and risky. Treat it like giving the model “hands on your browser”. - The extension uses Chrome’s debugger API (`chrome.debugger`). When attached, the model can: - click/type/navigate in that tab - read page content - access whatever the tab’s logged-in session can access - \*\*This is not isolated\*\* like the dedicated openclaw-managed profile. - If you attach to your daily-driver profile/tab, you’re granting access to that account state. Recommendations: - Prefer a dedicated Chrome profile (separate from your personal browsing) for extension relay usage. - Keep the Gateway and any node hosts tailnet-only; rely on Gateway auth + node pairing. - Avoid exposing relay ports over LAN (`0.0.0.0`) and avoid Funnel (public). - The relay blocks non-extension origins and requires an internal auth token for CDP clients. Related: - Browser tool overview: [Browser](/tools/browser) - Security audit: [Security](/gateway/security) - Tailscale setup: [Tailscale](/gateway/tailscale) | https://github.com/openclaw/openclaw/blob/main//docs/tools/chrome-extension.md | main | opebclaw | [
-0.030393898487091064,
-0.008941258303821087,
0.030806656926870346,
0.031109794974327087,
0.06916331499814987,
-0.060549233108758926,
-0.06174870952963829,
-0.06435573846101761,
-0.015938306227326393,
-0.035075537860393524,
0.018350301310420036,
-0.004931505769491196,
0.0025585780385881662,
0.027096277102828026,
0.1190250962972641,
0.1160089448094368,
0.05638033151626587,
-0.014832548797130585,
0.031028972938656807,
-0.02605542168021202,
-0.006656904239207506,
-0.05559982359409332,
-0.0576314739882946,
-0.026844430714845657,
-0.10800828784704208,
-0.056920502334833145,
-0.06329117715358734,
-0.058558154851198196,
-0.016730740666389465,
-0.006715739145874977,
-0.029408501461148262,
-0.07789961248636246,
-0.16549339890480042,
-0.007987366989254951,
0.04483333230018616,
-0.0012172330170869827,
-0.08432050794363022,
-0.026435842737555504,
0.00801833625882864,
0.037772033363580704,
0.08799657970666885,
0.031524550169706345,
-0.03636445105075836,
-0.07882234454154968,
-0.058822501450777054,
-0.07143784314393997,
0.004598286934196949,
-0.022066080942749977,
0.01241374108940363,
0.0009229618008248508,
-0.011588627472519875,
0.0023544984869658947,
0.0441938154399395,
0.01285057794302702,
-0.05797656252980232,
0.030746974050998688,
-0.019734930247068405,
-0.04814758896827698,
0.09288725256919861,
0.035739149898290634,
-0.014466311782598495,
0.001997851999476552,
0.037666916847229004,
-0.05150644853711128,
-0.09595005214214325,
0.022934265434741974,
-0.03854571282863617,
-0.030366254970431328,
-0.01878460869193077,
0.02214020863175392,
0.013087728060781956,
0.0008328136755153537,
0.0008164645987562835,
0.005475577432662249,
0.01873200014233589,
-0.05405009910464287,
-0.03779654577374458,
-0.003777321195229888,
-0.012066666968166828,
-0.01031702384352684,
0.007371649611741304,
-0.08392633497714996,
-0.051594845950603485,
0.033036112785339355,
-0.05034134164452553,
0.08903289586305618,
0.01662409119307995,
0.03348138555884361,
0.06301108747720718,
0.026124577969312668,
-0.06081546097993851,
-0.07918407022953033,
-0.01824229769408703,
-0.016538947820663452,
0.06732916086912155,
-0.04711437597870827,
-0.018820328637957573,
0.0026781747583299875,
-0.09307551383972168,
0.039573777467012405,
0.06347083300352097,
0.0053029973059892654,
0.015116812661290169,
-0.02753262221813202,
0.0495416633784771,
0.012923828326165676,
0.020069545134902,
0.07436317205429077,
0.06171850115060806,
0.04699219390749931,
-0.0062250131741166115,
0.037949442863464355,
0.020900754258036613,
-0.03681400790810585,
-0.0050906045362353325,
0.039384979754686356,
0.0479411706328392,
0.03069961629807949,
0.07009034603834152,
0.06779923290014267,
0.1524531990289688,
-0.03556164726614952,
-0.013190183788537979,
0.03208842873573303,
0.11940919607877731,
0.03140009567141533,
-0.036509305238723755,
1.7673395934139855e-33,
0.07540227472782135,
-0.07283633947372437,
-0.057314690202474594,
0.04980252683162689,
0.10457202792167664,
-0.016137100756168365,
0.07724303752183914,
-0.029404452070593834,
-0.03202931210398674,
0.01852102018892765,
0.004181060008704662,
0.047672487795352936,
0.0006404504529200494,
-0.07009652256965637,
-0.02540208399295807,
0.04462680220603943,
-0.016734639182686806,
-0.005509875249117613,
0.07616765797138214,
-0.03193764016032219,
-0.034357599914073944,
-0.0064493766985833645,
-0.012842679396271706,
0.045163605362176895,
-0.0352550633251667,
-0.038821928203105927,
-0.1025046557188034,
-0.04391571134328842,
-0.000007863228347559925,
0.032462961971759796,
0.02098848484456539,
0.029206985607743263,
-0.024695811793208122,
0.1173093169927597,
-0.026659322902560234,
0.04648234322667122,
0.002501295879483223,
-0.04836085066199303,
0.01120544783771038,
-0.014266571961343288,
-0.02802349627017975,
-0.02598481811583042,
-0.031100904569029808,
-0.02425478771328926,
-0.04759785905480385,
-0.13103865087032318,
-0.04810326173901558,
-0.023108385503292084,
0.02767852135002613,
-0.039047032594680786,
-0.05834150314331055,
-0.0304569024592638,
0.04121549800038338,
-0.010931214317679405,
0.02590816840529442,
-0.07843423634767532,
-0.03668089956045151,
0.05625326186418533,
-0.029708048328757286,
0.009290257468819618,
0.03738412633538246,
-0.023860989138484,
-0.05408812686800957,
0.0479220375418663,
-0.001030334155075252,
-0.021141793578863144,
-0.03650713339447975,
0.12965519726276398,
-0.06391007453203201,
-0.03477896749973297,
-0.0835242047905922,
0.04194338992238045,
0.011449244804680347,
0.04586236551403999,
-0.10722792148590088,
-0.11574780195951462,
0.041226938366889954,
0.05347296968102455,
0.035781167447566986,
0.02224639430642128,
0.07474742084741592,
-0.018296945840120316,
0.04720053821802139,
0.034412138164043427,
-0.058518387377262115,
0.007337095215916634,
0.01747569441795349,
-0.0022822439204901457,
0.02585608698427677,
-0.006501704454421997,
-0.010455121286213398,
0.05274943262338638,
0.017345795407891273,
0.08230871707201004,
-0.07471641153097153,
-4.428722353838986e-33,
-0.0953255444765091,
-0.010926258750259876,
-0.059996768832206726,
0.0433105006814003,
-0.04630636051297188,
0.013094193302094936,
0.04763668030500412,
-0.06376753747463226,
-0.00362191628664732,
0.004313420969992876,
-0.037406157702207565,
0.04923306033015251,
0.039475515484809875,
-0.027608415111899376,
0.00019674585200846195,
-0.0005833243485540152,
-0.031129876151680946,
-0.04334227368235588,
-0.014030581340193748,
-0.09120653569698334,
-0.02764611318707466,
0.06427358090877533,
0.039579205214977264,
0.02941049076616764,
0.04623349756002426,
-0.052301015704870224,
-0.009422115981578827,
0.020220689475536346,
-0.026172906160354614,
-0.03899023309350014,
-0.007680418435484171,
0.026934998109936714,
0.027222231030464172,
0.007986453361809254,
0.06328385323286057,
0.0035085435956716537,
0.004472893662750721,
0.11704950034618378,
0.023151276633143425,
-0.003335128538310528,
0.002282756846398115,
-0.057858288288116455,
-0.021622812375426292,
0.07603348791599274,
0.005281859077513218,
0.09700421988964081,
-0.02438102290034294,
-0.0029364265501499176,
0.021398205310106277,
0.08226130902767181,
-0.04998014122247696,
-0.05502362176775932,
0.07764766365289688,
-0.04725741222500801,
-0.06458718329668045,
0.013796885497868061,
0.04490438103675842,
-0.020148321986198425,
0.05857395753264427,
-0.015189929865300655,
0.031449753791093826,
-0.09179959446191788,
-0.08020883053541183,
0.09627322107553482,
-0.018364064395427704,
-0.014278645627200603,
-0.0716056153178215,
0.0976683497428894,
0.033983632922172546,
0.013764855451881886,
-0.08834867924451828,
0.015052268281579018,
0.05461788550019264,
0.009270068258047104,
0.029304707422852516,
-0.028445275500416756,
0.07828652858734131,
-0.07338415086269379,
-0.04912080615758896,
0.015260010026395321,
-0.008434891700744629,
0.01990910805761814,
-0.04040364548563957,
-0.10686227679252625,
0.015676654875278473,
0.02043251506984234,
-0.014678019098937511,
0.12788867950439453,
0.019908038899302483,
0.014862364158034325,
-0.011111831292510033,
-0.015076814219355583,
-0.09855370968580246,
-0.05517849698662758,
-0.041417889297008514,
-5.095197153082154e-8,
0.08223173767328262,
0.05635611340403557,
-0.04331178590655327,
0.026158437132835388,
0.02580452524125576,
0.06905750185251236,
0.03295247629284859,
0.0028288322500884533,
0.01817268691956997,
0.0391819067299366,
0.003731419797986746,
0.051785875111818314,
0.03341545909643173,
-0.01989065483212471,
-0.04984889179468155,
0.01810065470635891,
-0.058481622487306595,
0.022224441170692444,
0.030086107552051544,
-0.038916923105716705,
-0.0470159687101841,
-0.07245879620313644,
0.053833283483982086,
0.06480653584003448,
-0.025752859190106392,
0.01750204898416996,
-0.033314310014247894,
0.020505335181951523,
-0.07943060994148254,
0.08764763176441193,
-0.15265296399593353,
-0.024447882547974586,
-0.0426308810710907,
-0.025952989235520363,
-0.07168183475732803,
0.13026972115039825,
-0.03757334128022194,
-0.04013381153345108,
-0.04142297804355621,
0.006343502085655928,
0.015626076608896255,
0.042568404227495193,
-0.032530277967453,
-0.06750603765249252,
-0.0035878599155694246,
0.024118291214108467,
-0.04695150628685951,
0.05625366419553757,
0.1212417259812355,
-0.03156747668981552,
0.008212164975702763,
-0.00736589590087533,
0.09687893837690353,
0.0589572973549366,
0.05130152404308319,
0.02604815736413002,
0.04743078723549843,
-0.11054971814155579,
0.029223322868347168,
-0.010040570981800556,
0.008876240812242031,
0.061613403260707855,
0.010812101885676384,
-0.011158457025885582
] | 0.048923 |
# Uninstall Two paths: - \*\*Easy path\*\* if `openclaw` is still installed. - \*\*Manual service removal\*\* if the CLI is gone but the service is still running. ## Easy path (CLI still installed) Recommended: use the built-in uninstaller: ```bash openclaw uninstall ``` Non-interactive (automation / npx): ```bash openclaw uninstall --all --yes --non-interactive npx -y openclaw uninstall --all --yes --non-interactive ``` Manual steps (same result): 1. Stop the gateway service: ```bash openclaw gateway stop ``` 2. Uninstall the gateway service (launchd/systemd/schtasks): ```bash openclaw gateway uninstall ``` 3. Delete state + config: ```bash rm -rf "${OPENCLAW\_STATE\_DIR:-$HOME/.openclaw}" ``` If you set `OPENCLAW\_CONFIG\_PATH` to a custom location outside the state dir, delete that file too. 4. Delete your workspace (optional, removes agent files): ```bash rm -rf ~/.openclaw/workspace ``` 5. Remove the CLI install (pick the one you used): ```bash npm rm -g openclaw pnpm remove -g openclaw bun remove -g openclaw ``` 6. If you installed the macOS app: ```bash rm -rf /Applications/OpenClaw.app ``` Notes: - If you used profiles (`--profile` / `OPENCLAW\_PROFILE`), repeat step 3 for each state dir (defaults are `~/.openclaw-`). - In remote mode, the state dir lives on the \*\*gateway host\*\*, so run steps 1-4 there too. ## Manual service removal (CLI not installed) Use this if the gateway service keeps running but `openclaw` is missing. ### macOS (launchd) Default label is `bot.molt.gateway` (or `bot.molt.`; legacy `com.openclaw.\*` may still exist): ```bash launchctl bootout gui/$UID/bot.molt.gateway rm -f ~/Library/LaunchAgents/bot.molt.gateway.plist ``` If you used a profile, replace the label and plist name with `bot.molt.`. Remove any legacy `com.openclaw.\*` plists if present. ### Linux (systemd user unit) Default unit name is `openclaw-gateway.service` (or `openclaw-gateway-.service`): ```bash systemctl --user disable --now openclaw-gateway.service rm -f ~/.config/systemd/user/openclaw-gateway.service systemctl --user daemon-reload ``` ### Windows (Scheduled Task) Default task name is `OpenClaw Gateway` (or `OpenClaw Gateway ()`). The task script lives under your state dir. ```powershell schtasks /Delete /F /TN "OpenClaw Gateway" Remove-Item -Force "$env:USERPROFILE\.openclaw\gateway.cmd" ``` If you used a profile, delete the matching task name and `~\.openclaw-\gateway.cmd`. ## Normal install vs source checkout ### Normal install (install.sh / npm / pnpm / bun) If you used `https://openclaw.ai/install.sh` or `install.ps1`, the CLI was installed with `npm install -g openclaw@latest`. Remove it with `npm rm -g openclaw` (or `pnpm remove -g` / `bun remove -g` if you installed that way). ### Source checkout (git clone) If you run from a repo checkout (`git clone` + `openclaw ...` / `bun run openclaw ...`): 1. Uninstall the gateway service \*\*before\*\* deleting the repo (use the easy path above or manual service removal). 2. Delete the repo directory. 3. Remove state + workspace as shown above. | https://github.com/openclaw/openclaw/blob/main//docs/install/uninstall.md | main | opebclaw | [
-0.031384143978357315,
0.030263680964708328,
-0.060117207467556,
-0.030275074765086174,
0.017953969538211823,
-0.04319131746888161,
-0.012979106046259403,
-0.06239279732108116,
0.025017736479640007,
-0.019908742979168892,
0.0023512407205998898,
-0.0006900783628225327,
-0.013905767351388931,
0.04682370647788048,
0.06153547763824463,
0.05157551169395447,
0.07438410073518753,
-0.11194758862257004,
0.030125902965664864,
0.0017718171002343297,
-0.028453204780817032,
0.053927287459373474,
-0.0461900532245636,
-0.00810075644403696,
-0.053129058331251144,
-0.021772343665361404,
-0.02169632352888584,
-0.02127794362604618,
-0.06466788053512573,
0.024458404630422592,
0.06693794578313828,
0.06591619551181793,
0.003907268401235342,
-0.08372488617897034,
0.09242402017116547,
0.047433774918317795,
0.045756250619888306,
0.05605209618806839,
-0.030414698645472527,
0.0018541575409471989,
0.13754205405712128,
0.03286919370293617,
-0.06625257432460785,
-0.1303243339061737,
0.004431679379194975,
-0.025685660541057587,
-0.07924827188253403,
-0.120488241314888,
-0.02504097670316696,
0.0018605031073093414,
-0.027046222239732742,
-0.01421305350959301,
-0.0033905585296452045,
-0.07749934494495392,
0.09957227110862732,
0.006790210958570242,
0.045834433287382126,
0.04771438241004944,
0.04340513423085213,
-0.05525768920779228,
0.0018634615698829293,
-0.02387944795191288,
-0.004663589410483837,
0.03318454325199127,
-0.035190120339393616,
-0.013432336039841175,
-0.05847860872745514,
-0.12174790352582932,
0.016635475680232048,
0.011681536212563515,
-0.016585184261202812,
0.06563562899827957,
-0.013278480619192123,
-0.06041838228702545,
-0.01174734253436327,
-0.020587630569934845,
0.10200626403093338,
-0.025359759107232094,
-0.07961824536323547,
-0.029377175495028496,
-0.0462435819208622,
-0.00993838906288147,
-0.030535275116562843,
0.09419181942939758,
-0.029197871685028076,
0.10229179263114929,
-0.06897597014904022,
-0.06016474589705467,
0.07096824049949646,
0.0021101583261042833,
-0.020946452394127846,
-0.04049225524067879,
0.008828424848616123,
-0.02387254498898983,
0.04622763395309448,
-0.03442512825131416,
-0.03297264501452446,
-0.01823163405060768,
-0.09961599856615067,
0.035496849566698074,
-0.024634188041090965,
-0.018689561635255814,
0.07542632520198822,
0.0061110989190638065,
-0.06536445766687393,
0.07859455049037933,
-0.017128517851233482,
0.05024268850684166,
-0.018921121954917908,
-0.012658544816076756,
-0.011489585041999817,
-0.044224657118320465,
0.09326241165399551,
0.026117539033293724,
-0.04746778681874275,
0.0896911770105362,
0.027729017660021782,
0.06815098971128464,
0.009151583537459373,
0.1081535592675209,
0.04857764020562172,
-0.007568312343209982,
0.0025194219779223204,
0.055090755224227905,
0.03307447209954262,
0.041802771389484406,
0.14946046471595764,
3.3088237430228076e-33,
-0.05955081433057785,
-0.07424961775541306,
-0.03319131210446358,
0.03487768396735191,
0.1529303640127182,
-0.013565421104431152,
-0.008014551363885403,
0.02845648303627968,
-0.010844600386917591,
0.05578242987394333,
0.015408391132950783,
0.052706360816955566,
-0.04045578092336655,
-0.013203080743551254,
0.06809798628091812,
0.0012814075453206897,
0.01973598636686802,
-0.009988310746848583,
0.038167405873537064,
-0.08881613612174988,
0.11033326387405396,
0.03339366987347603,
-0.048572804778814316,
-0.014708857983350754,
0.026914160698652267,
-0.08301584422588348,
0.032635629177093506,
-0.0015857198741286993,
0.04422760382294655,
0.0016451857518404722,
0.1045505702495575,
0.04327752813696861,
-0.08958543092012405,
0.06744522601366043,
-0.0859668105840683,
0.015428080223500729,
-0.07621149718761444,
-0.024125151336193085,
-0.12647022306919098,
-0.00513523630797863,
0.004601435270160437,
0.038121361285448074,
-0.07210775464773178,
0.0022009555250406265,
0.056564949452877045,
-0.13968288898468018,
-0.0382041335105896,
0.0030906328465789557,
0.07926176488399506,
0.016022939234972,
-0.016337595880031586,
0.016199732199311256,
0.06104956567287445,
-0.054095860570669174,
-0.044072140008211136,
0.0037340838462114334,
0.0005247776862233877,
-0.025826824828982353,
0.004269635304808617,
-0.05212857201695442,
0.016537019982933998,
0.036935679614543915,
0.014884896576404572,
0.05111932009458542,
0.05291729420423508,
-0.029720613732933998,
0.026932401582598686,
-0.011248650029301643,
-0.05795653536915779,
-0.016964545473456383,
-0.03913476690649986,
0.010319093242287636,
0.021344391629099846,
0.06288222968578339,
-0.01209509838372469,
-0.07962784171104431,
0.04346470907330513,
-0.0775529220700264,
0.016304202377796173,
0.011842072941362858,
0.07161227613687515,
-0.013067902997136116,
-0.014282438904047012,
0.02686971239745617,
0.07268821448087692,
-0.018474262207746506,
-0.009961332194507122,
-0.0280259121209383,
0.02140394039452076,
0.10169157385826111,
-0.011521624401211739,
0.005961822811514139,
-0.10595293343067169,
0.049763645976781845,
-0.054367274045944214,
-6.054475122064365e-33,
-0.006929777096956968,
0.04536942020058632,
0.010269714519381523,
-0.028659909963607788,
-0.07395806908607483,
0.038414616137742996,
-0.010197138413786888,
0.0075086369179189205,
-0.034222912043333054,
-0.017824649810791016,
-0.0015217632753774524,
0.0981636568903923,
0.062215644866228104,
-0.03412877023220062,
0.044389352202415466,
0.03840842470526695,
-0.04924514889717102,
-0.03708309307694435,
-0.0826871320605278,
0.055340588092803955,
-0.017086321488022804,
0.060589421540498734,
0.002703045029193163,
-0.010513201355934143,
-0.03520771488547325,
-0.015355107374489307,
0.04825570434331894,
0.0458863228559494,
-0.061237335205078125,
0.0028057133313268423,
-0.009712361730635166,
0.017596960067749023,
-0.036228977143764496,
-0.012708361260592937,
-0.04727049544453621,
0.014853043481707573,
-0.03964021056890488,
0.03782447427511215,
0.009828111156821251,
-0.028452444821596146,
-0.005633826833218336,
-0.02115592733025551,
-0.029774731025099754,
-0.013158555142581463,
-0.03666433319449425,
0.01826620101928711,
0.026060331612825394,
-0.05924045294523239,
-0.05711996555328369,
-0.0070220837369561195,
-0.0805751234292984,
0.004914015997201204,
0.043439384549856186,
0.0466044545173645,
0.04752257093787193,
0.06670036911964417,
0.0515134297311306,
0.0011971239000558853,
-0.04759680852293968,
-0.12822163105010986,
0.06651478260755539,
0.0017571719363331795,
-0.07776378840208054,
0.09807547926902771,
0.014053844846785069,
-0.08499320596456528,
-0.06009466201066971,
0.038384050130844116,
-0.0428004153072834,
-0.10139612853527069,
-0.016816502436995506,
0.06105467304587364,
-0.03067559003829956,
-0.014241770841181278,
-0.032391972839832306,
-0.008521774783730507,
0.029325412586331367,
-0.046367380768060684,
-0.037448395043611526,
0.009988239035010338,
-0.002529459074139595,
-0.020852679386734962,
0.0016610398888587952,
-0.09001240134239197,
-0.08566425740718842,
-0.06965406984090805,
-0.02086504176259041,
-0.01380976289510727,
0.029709137976169586,
0.09693838655948639,
-0.0035062360111624002,
-0.01680632308125496,
0.056398868560791016,
-0.03353891149163246,
-0.001991753466427326,
-4.294491873224615e-8,
0.0070925550535321236,
-0.10085082799196243,
-0.031777363270521164,
0.029651738703250885,
0.05034588649868965,
-0.05455975979566574,
-0.0004598716623149812,
0.11515527218580246,
-0.0459277480840683,
0.0008672616095282137,
0.026700682938098907,
0.0488455556333065,
-0.08956237882375717,
0.03203343600034714,
-0.03609592840075493,
0.060737717896699905,
-0.02585206739604473,
-0.017051514238119125,
0.055158279836177826,
-0.04608608037233353,
0.009930558502674103,
-0.035274844616651535,
-0.033618178218603134,
0.04294959083199501,
-0.046569161117076874,
-0.023133741691708565,
-0.024698937311768532,
-0.024790212512016296,
-0.019202085211873055,
0.043403930962085724,
-0.05683375522494316,
-0.02747502364218235,
0.05880448594689369,
0.005467886105179787,
-0.05369136109948158,
0.011122527532279491,
-0.051542650908231735,
0.059473589062690735,
0.031515445560216904,
-0.019851768389344215,
0.06741606444120407,
0.1280984729528427,
-0.005858097691088915,
-0.040018532425165176,
-0.05935351550579071,
-0.005921265576034784,
0.002753143897280097,
0.05241387337446213,
0.014683399349451065,
-0.021333588287234306,
-0.02991299331188202,
0.02992287464439869,
-0.010554934851825237,
0.018363220617175102,
-0.02137199230492115,
0.06714994460344315,
0.05468909442424774,
-0.09898228198289871,
-0.06780967861413956,
0.08990181237459183,
0.005990670993924141,
-0.0024871868081390858,
0.016393059864640236,
-0.0925736352801323
] | 0.081761 |
# Bun (experimental) Goal: run this repo with \*\*Bun\*\* (optional, not recommended for WhatsApp/Telegram) without diverging from pnpm workflows. ⚠️ \*\*Not recommended for Gateway runtime\*\* (WhatsApp/Telegram bugs). Use Node for production. ## Status - Bun is an optional local runtime for running TypeScript directly (`bun run …`, `bun --watch …`). - `pnpm` is the default for builds and remains fully supported (and used by some docs tooling). - Bun cannot use `pnpm-lock.yaml` and will ignore it. ## Install Default: ```sh bun install ``` Note: `bun.lock`/`bun.lockb` are gitignored, so there’s no repo churn either way. If you want \_no lockfile writes\_: ```sh bun install --no-save ``` ## Build / Test (Bun) ```sh bun run build bun run vitest run ``` ## Bun lifecycle scripts (blocked by default) Bun may block dependency lifecycle scripts unless explicitly trusted (`bun pm untrusted` / `bun pm trust`). For this repo, the commonly blocked scripts are not required: - `@whiskeysockets/baileys` `preinstall`: checks Node major >= 20 (we run Node 22+). - `protobufjs` `postinstall`: emits warnings about incompatible version schemes (no build artifacts). If you hit a real runtime issue that requires these scripts, trust them explicitly: ```sh bun pm trust @whiskeysockets/baileys protobufjs ``` ## Caveats - Some scripts still hardcode pnpm (e.g. `docs:build`, `ui:\*`, `protocol:check`). Run those via pnpm for now. | https://github.com/openclaw/openclaw/blob/main//docs/install/bun.md | main | opebclaw | [
-0.024332044646143913,
-0.06929898262023926,
-0.005179632920771837,
-0.03564738854765892,
0.043689075857400894,
-0.0021756708156317472,
-0.00009076198330149055,
0.025697587057948112,
-0.0010777695570141077,
0.1562831997871399,
0.06462300568819046,
0.030651124194264412,
-0.08810654282569885,
0.021528998389840126,
0.09079571068286896,
0.04252684861421585,
0.020784452557563782,
-0.07188694924116135,
0.05644669756293297,
0.00006464612670242786,
-0.02530895546078682,
-0.0046482146717607975,
0.10716083645820618,
0.09381628036499023,
-0.05426366627216339,
-0.027347654104232788,
-0.00043040927266702056,
0.07804205268621445,
-0.04820697754621506,
-0.03295530751347542,
-0.026288464665412903,
0.033263690769672394,
-0.013057032600045204,
0.030566342175006866,
0.03243476152420044,
0.11826840043067932,
0.012417678721249104,
-0.03367731347680092,
-0.04716024175286293,
-0.0022709141485393047,
0.01108383946120739,
-0.03529736399650574,
-0.08432155847549438,
-0.08582808822393417,
0.08514577895402908,
-0.007622675970196724,
-0.06662221252918243,
-0.020494787022471428,
-0.08156915009021759,
-0.02663053572177887,
-0.011271639727056026,
0.03157830238342285,
0.02024157904088497,
0.004001898225396872,
0.040828440338373184,
0.026619981974363327,
0.014405571855604649,
0.05799765884876251,
0.025169743224978447,
-0.031691793352365494,
-0.07745207101106644,
-0.012419075705111027,
-0.014611249789595604,
-0.0693003311753273,
0.004697243217378855,
0.046993423253297806,
-0.03218694403767586,
-0.009270647540688515,
0.05247705057263374,
0.03283365070819855,
-0.00013685983140021563,
-0.043046735227108,
-0.05490413308143616,
-0.08268895000219345,
-0.08193089067935944,
0.029039785265922546,
0.002756616333499551,
0.027465779334306717,
-0.09960262477397919,
-0.052383050322532654,
-0.01839885674417019,
-0.03229846432805061,
-0.045524828135967255,
0.025382693856954575,
-0.044138822704553604,
0.0971236452460289,
0.04568885266780853,
0.0019420860335230827,
0.10273024439811707,
0.0005360976792871952,
0.020045960322022438,
-0.0001876473834272474,
0.0650872215628624,
0.03994966298341751,
0.038288429379463196,
-0.02056688815355301,
0.043423302471637726,
0.04170021414756775,
-0.0163405891507864,
-0.004164980258792639,
0.0560845285654068,
-0.018603293225169182,
0.03348381444811821,
-0.05191850662231445,
0.06358318775892258,
0.08133426308631897,
0.023443983867764473,
-0.05096544697880745,
0.09056392312049866,
0.049055613577365875,
0.010542410425841808,
-0.0001131068856921047,
0.027737194672226906,
-0.003223735373467207,
-0.041978005319833755,
0.05975237861275673,
-0.0168597474694252,
-0.007418986409902573,
-0.009151823818683624,
0.13630139827728271,
0.08017509430646896,
-0.0042881229892373085,
0.009864730760455132,
0.04073163866996765,
-0.09839347749948502,
0.012331823818385601,
0.014543656259775162,
3.6026154134658065e-33,
0.04741085320711136,
-0.03875686973333359,
-0.08524729311466217,
0.050067100673913956,
0.09434527903795242,
0.03301892802119255,
0.024917373433709145,
-0.01466451771557331,
-0.12575341761112213,
0.0030944400932639837,
-0.047793999314308167,
-0.034466322511434555,
-0.07126998156309128,
0.02849789522588253,
-0.032843515276908875,
-0.045379381626844406,
-0.047396108508110046,
0.0029153358191251755,
0.09598451852798462,
0.07104749232530594,
-0.0005410187295638025,
-0.05867955833673477,
-0.05294705927371979,
-0.005178282503038645,
0.03934277221560478,
-0.014350690878927708,
0.08535410463809967,
-0.07706621289253235,
0.008287785574793816,
-0.0010715412208810449,
-0.01593588851392269,
-0.009238235652446747,
0.029458489269018173,
-0.022539816796779633,
-0.021244622766971588,
-0.09164274483919144,
-0.14089657366275787,
-0.017036527395248413,
-0.1088695079088211,
-0.012041491456329823,
-0.007341444026678801,
-0.0329069085419178,
-0.07203587889671326,
-0.05956218019127846,
0.07729880511760712,
-0.11219451576471329,
-0.042750243097543716,
0.05667559802532196,
0.013916069641709328,
-0.0021847074385732412,
0.0494929738342762,
0.034906212240457535,
-0.0075055258348584175,
-0.020265165716409683,
0.04921441152691841,
-0.08232986181974411,
-0.03838720545172691,
-0.09630858898162842,
0.05823366716504097,
-0.05033641681075096,
0.015177142806351185,
-0.0007891178829595447,
-0.0025436540599912405,
-0.025308730080723763,
0.01698458194732666,
0.0015824338188394904,
-0.04413578659296036,
0.030868355184793472,
0.02034970000386238,
0.10784970223903656,
-0.03073381446301937,
-0.05423056706786156,
-0.04140825569629669,
0.09992527961730957,
-0.04242594540119171,
-0.021915605291724205,
-0.01586746983230114,
0.12030111253261566,
-0.025877539068460464,
0.02980131469666958,
0.06363843381404877,
0.048507750034332275,
-0.03112940303981304,
0.039549555629491806,
0.04608634486794472,
-0.009017267264425755,
0.05464104190468788,
-0.015179689042270184,
-0.1070709079504013,
0.030890222638845444,
0.04182619974017143,
-0.011238851584494114,
0.04210764542222023,
-0.026006542146205902,
-0.08513268083333969,
-3.961050824338385e-33,
0.003529491601511836,
-0.02099434658885002,
-0.07664726674556732,
0.05547935888171196,
-0.020719606429338455,
-0.051926638931035995,
0.004190798848867416,
-0.08662883192300797,
0.03844884783029556,
0.0008419123478233814,
-0.042262762784957886,
-0.009092222899198532,
0.04853685572743416,
-0.013614938594400883,
0.05582490190863609,
0.023470928892493248,
-0.06459136307239532,
0.0011350951390340924,
-0.027686329558491707,
-0.0016646779840812087,
-0.02134408801794052,
-0.02271244116127491,
0.0026867117267102003,
0.11881237477064133,
0.00031320282141678035,
0.0023479508236050606,
0.01605532504618168,
0.026373574510216713,
-0.0640462264418602,
-0.06667732447385788,
-0.023903265595436096,
-0.022107401862740517,
-0.1121017187833786,
0.028132718056440353,
0.012637035921216011,
-0.007063775788992643,
0.004130325745791197,
0.1076701357960701,
0.002887122333049774,
-0.017571207135915756,
0.021921344101428986,
-0.030443832278251648,
-0.07098130136728287,
-0.05007591471076012,
-0.06828184425830841,
0.01417581457644701,
0.014829698950052261,
-0.05312030389904976,
-0.10863018780946732,
0.011337531730532646,
0.052596237510442734,
-0.006458858959376812,
0.03333441540598869,
-0.011470066383481026,
0.016510695219039917,
-0.010990343056619167,
-0.030799806118011475,
0.010683462955057621,
-0.08829298615455627,
0.001309713232330978,
0.054267462342977524,
-0.09584999829530716,
0.08647218346595764,
0.02689295820891857,
0.0033977471757680178,
-0.04086575657129288,
-0.017713049426674843,
-0.05116787552833557,
-0.011187749914824963,
-0.028031956404447556,
0.02094784565269947,
-0.005117448978126049,
0.03257669135928154,
0.05442817136645317,
0.03458968922495842,
0.033891595900058746,
-0.08617505431175232,
-0.07289436459541321,
0.03762805089354515,
0.062406644225120544,
-0.0545666478574276,
-0.01861557736992836,
-0.0047822087071835995,
0.05443018302321434,
-0.0014281660551205277,
-0.02492251619696617,
0.046229422092437744,
0.033997442573308945,
-0.015147808007895947,
0.0009098934242501855,
0.0442546047270298,
0.025763070210814476,
-0.017003800719976425,
-0.006399575155228376,
0.10066474974155426,
-4.749944082504953e-8,
0.04721231013536453,
-0.0518990159034729,
-0.10334786772727966,
0.03380665183067322,
0.031194692477583885,
-0.019042624160647392,
0.04588121175765991,
-0.02581365592777729,
0.004589994437992573,
0.016880473122000694,
0.03250830993056297,
0.0006385663291439414,
-0.09329457581043243,
0.11014071851968765,
-0.01618965156376362,
-0.014524055644869804,
-0.06572192907333374,
0.08596205711364746,
-0.03412896767258644,
-0.06987478584051132,
-0.03865661472082138,
0.06196482852101326,
-0.0426003597676754,
-0.004641137085855007,
-0.030854178592562675,
-0.02222447283565998,
0.1470256894826889,
0.03642607480287552,
-0.03217827528715134,
-0.001185907982289791,
-0.012875482439994812,
-0.07171092927455902,
-0.043959569185972214,
-0.0334310419857502,
-0.002133068861439824,
0.015812726691365242,
0.011518377810716629,
0.005104793235659599,
0.06799265742301941,
0.014845386147499084,
0.013069435022771358,
0.0016823310870677233,
0.01903636008501053,
-0.023542234674096107,
-0.059673309326171875,
-0.03746975213289261,
-0.054778460413217545,
0.0033858821261674166,
-0.060837872326374054,
0.04264257103204727,
0.07539211958646774,
0.10347016900777817,
0.05103015527129173,
0.060207586735486984,
0.03879090026021004,
0.07085677236318588,
0.08483830094337463,
-0.06454905867576599,
0.02619900181889534,
-0.032078154385089874,
0.04674902185797691,
-0.06854820251464844,
0.090840183198452,
-0.024320006370544434
] | 0.04747 |
# Installer internals OpenClaw ships two installer scripts (served from `openclaw.ai`): - `https://openclaw.ai/install.sh` — “recommended” installer (global npm install by default; can also install from a GitHub checkout) - `https://openclaw.ai/install-cli.sh` — non-root-friendly CLI installer (installs into a prefix with its own Node) - `https://openclaw.ai/install.ps1` — Windows PowerShell installer (npm by default; optional git install) To see the current flags/behavior, run: ```bash curl -fsSL https://openclaw.ai/install.sh | bash -s -- --help ``` Windows (PowerShell) help: ```powershell & ([scriptblock]::Create((iwr -useb https://openclaw.ai/install.ps1))) -? ``` If the installer completes but `openclaw` is not found in a new terminal, it’s usually a Node/npm PATH issue. See: [Install](/install#nodejs--npm-path-sanity). ## install.sh (recommended) What it does (high level): - Detect OS (macOS / Linux / WSL). - Ensure Node.js \*\*22+\*\* (macOS via Homebrew; Linux via NodeSource). - Choose install method: - `npm` (default): `npm install -g openclaw@latest` - `git`: clone/build a source checkout and install a wrapper script - On Linux: avoid global npm permission errors by switching npm's prefix to `~/.npm-global` when needed. - If upgrading an existing install: runs `openclaw doctor --non-interactive` (best effort). - For git installs: runs `openclaw doctor --non-interactive` after install/update (best effort). - Mitigates `sharp` native install gotchas by defaulting `SHARP\_IGNORE\_GLOBAL\_LIBVIPS=1` (avoids building against system libvips). If you \_want\_ `sharp` to link against a globally-installed libvips (or you’re debugging), set: ```bash SHARP\_IGNORE\_GLOBAL\_LIBVIPS=0 curl -fsSL https://openclaw.ai/install.sh | bash ``` ### Discoverability / “git install” prompt If you run the installer while \*\*already inside a OpenClaw source checkout\*\* (detected via `package.json` + `pnpm-workspace.yaml`), it prompts: - update and use this checkout (`git`) - or migrate to the global npm install (`npm`) In non-interactive contexts (no TTY / `--no-prompt`), you must pass `--install-method git|npm` (or set `OPENCLAW\_INSTALL\_METHOD`), otherwise the script exits with code `2`. ### Why Git is needed Git is required for the `--install-method git` path (clone / pull). For `npm` installs, Git is \_usually\_ not required, but some environments still end up needing it (e.g. when a package or dependency is fetched via a git URL). The installer currently ensures Git is present to avoid `spawn git ENOENT` surprises on fresh distros. ### Why npm hits `EACCES` on fresh Linux On some Linux setups (especially after installing Node via the system package manager or NodeSource), npm's global prefix points at a root-owned location. Then `npm install -g ...` fails with `EACCES` / `mkdir` permission errors. `install.sh` mitigates this by switching the prefix to: - `~/.npm-global` (and adding it to `PATH` in `~/.bashrc` / `~/.zshrc` when present) ## install-cli.sh (non-root CLI installer) This script installs `openclaw` into a prefix (default: `~/.openclaw`) and also installs a dedicated Node runtime under that prefix, so it can work on machines where you don’t want to touch the system Node/npm. Help: ```bash curl -fsSL https://openclaw.ai/install-cli.sh | bash -s -- --help ``` ## install.ps1 (Windows PowerShell) What it does (high level): - Ensure Node.js \*\*22+\*\* (winget/Chocolatey/Scoop or manual). - Choose install method: - `npm` (default): `npm install -g openclaw@latest` - `git`: clone/build a source checkout and install a wrapper script - Runs `openclaw doctor --non-interactive` on upgrades and git installs (best effort). Examples: ```powershell iwr -useb https://openclaw.ai/install.ps1 | iex ``` ```powershell iwr -useb https://openclaw.ai/install.ps1 | iex -InstallMethod git ``` ```powershell iwr -useb https://openclaw.ai/install.ps1 | iex -InstallMethod git -GitDir "C:\\openclaw" ``` Environment variables: - `OPENCLAW\_INSTALL\_METHOD=git|npm` - `OPENCLAW\_GIT\_DIR=...` Git requirement: If you choose `-InstallMethod git` and Git is missing, the installer will print the Git for Windows link (`https://git-scm.com/download/win`) and exit. Common Windows issues: - \*\*npm error spawn git / ENOENT\*\*: install Git for Windows and reopen PowerShell, then rerun the installer. - \*\*"openclaw" is not recognized\*\*: your npm global bin folder | https://github.com/openclaw/openclaw/blob/main//docs/install/installer.md | main | opebclaw | [
-0.00408052746206522,
-0.07285898923873901,
-0.032491400837898254,
0.03467211872339249,
0.08536704629659653,
-0.09367379546165466,
-0.05529184266924858,
-0.043273717164993286,
0.03901394456624985,
0.041973236948251724,
0.06898823380470276,
-0.057299040257930756,
0.00518516730517149,
0.03306794539093971,
0.07756040245294571,
0.12157696485519409,
0.05346909165382385,
-0.07715800404548645,
-0.0007329572690650821,
-0.038450468331575394,
-0.021843209862709045,
0.014416322112083435,
0.016524873673915863,
-0.06521560996770859,
-0.08796132355928421,
-0.056870944797992706,
-0.04747568443417549,
-0.012503700330853462,
-0.01139861810952425,
0.02785872481763363,
0.01240319013595581,
0.0268102940171957,
-0.0025741816498339176,
0.010732308030128479,
0.1384289264678955,
0.06303964555263519,
0.06326998025178909,
0.053917139768600464,
-0.08643534779548645,
-0.01835675537586212,
0.07947740703821182,
0.05611414089798927,
-0.036264680325984955,
-0.08544845134019852,
-0.04453202709555626,
-0.0750679075717926,
-0.028654633089900017,
-0.08094516396522522,
-0.06534843146800995,
-0.07194939255714417,
-0.05367737635970116,
-0.06775224208831787,
0.022829649969935417,
-0.08103755861520767,
0.054988373070955276,
0.007027330342680216,
0.0158139169216156,
0.0059479824267327785,
0.05024688318371773,
-0.06632064282894135,
0.04554405063390732,
-0.008101127110421658,
-0.0801098644733429,
0.029485583305358887,
-0.012584724463522434,
0.0317501537501812,
-0.036703161895275116,
-0.08719278872013092,
-0.040441304445266724,
-0.0025055748410522938,
-0.009021635167300701,
0.004487667698413134,
-0.04957563802599907,
-0.028758971020579338,
-0.06088558956980705,
-0.03197522088885307,
0.10611231625080109,
0.11033647507429123,
-0.08568283915519714,
-0.01374420803040266,
-0.11806167662143707,
0.016992509365081787,
-0.04580994322896004,
-0.036322642117738724,
0.00730901351198554,
0.13520359992980957,
0.0012379835825413465,
0.04801921546459198,
0.04562880098819733,
0.0651245266199112,
-0.022118346765637398,
-0.08124658465385437,
-0.044079314917325974,
0.0008358447230421007,
0.03356035053730011,
-0.015011575073003769,
-0.004591766744852066,
0.04613366350531578,
-0.051679033786058426,
0.02524544671177864,
-0.01886175572872162,
-0.09817972034215927,
0.015978438779711723,
-0.02404726669192314,
-0.036116283386945724,
0.09325473010540009,
-0.02854786068201065,
0.03293692320585251,
0.011053621768951416,
0.03681810200214386,
0.0017447462305426598,
-0.047264598309993744,
0.1197923868894577,
-0.055943746119737625,
-0.06390095502138138,
0.061135828495025635,
0.025400761514902115,
0.018764596432447433,
0.04421187937259674,
0.050902411341667175,
0.06915228813886642,
0.040657564997673035,
0.060819271951913834,
-0.032296713441610336,
0.06768850237131119,
0.06115260347723961,
0.0807105004787445,
1.494151308369528e-33,
0.030655130743980408,
-0.03762560710310936,
-0.012606929056346416,
0.025732755661010742,
0.0692945346236229,
0.039325837045907974,
0.03253793716430664,
0.038579992949962616,
-0.01965431496500969,
0.01685679890215397,
0.002442473778501153,
0.027255741879343987,
-0.08016366511583328,
0.01055597048252821,
0.07898876070976257,
0.031807269901037216,
0.018735414370894432,
0.007099142298102379,
-0.012833179906010628,
-0.02467845007777214,
0.007955220527946949,
-0.027952147647738457,
-0.012154203839600086,
0.040031798183918,
-0.021993715316057205,
-0.0584808848798275,
0.0336160771548748,
-0.047047484666109085,
0.027711499482393265,
-0.0036369520239531994,
0.0012522004544734955,
0.016721514984965324,
-0.018221380189061165,
-0.011562869884073734,
-0.0147132258862257,
-0.022184738889336586,
-0.07437875121831894,
-0.005040699616074562,
-0.003934758249670267,
-0.01505703292787075,
0.10231705754995346,
0.054220762103796005,
-0.030283117666840553,
0.0030294957105070353,
0.09176214039325714,
-0.13891403377056122,
-0.05536559969186783,
0.03501347452402115,
0.08542998135089874,
0.04075470566749573,
-0.0030645527876913548,
0.03491296246647835,
0.06778542697429657,
0.028462780639529228,
-0.03147977590560913,
0.00710682338103652,
-0.03738359734416008,
-0.10612218081951141,
0.04584832862019539,
-0.04698680341243744,
0.004958881065249443,
0.003960661590099335,
0.0029839633498340845,
0.04511326178908348,
-0.008788907900452614,
-0.0675077810883522,
0.04652944579720497,
0.03847062587738037,
-0.020844552665948868,
0.07078392058610916,
-0.02691902033984661,
-0.014934687875211239,
-0.02301667630672455,
0.05186913534998894,
0.04015514254570007,
-0.08637122809886932,
-0.004876230843365192,
-0.04099087417125702,
0.07250076532363892,
-0.005640183109790087,
-0.002813703613355756,
0.004165820311754942,
-0.058686476200819016,
-0.001676829531788826,
-0.005750162992626429,
0.03981667384505272,
-0.024844231083989143,
0.03374933823943138,
0.0069959708489477634,
0.006650687661021948,
0.023232165724039078,
-0.05988926440477371,
-0.09053055942058563,
0.03204716742038727,
0.025615330785512924,
-5.3804984565226986e-33,
-0.008304309099912643,
-0.031249359250068665,
0.02866484224796295,
-0.033802468329668045,
-0.07540067285299301,
0.013974802568554878,
-0.13510078191757202,
-0.12713870406150818,
-0.014511404559016228,
-0.0892610177397728,
-0.052061595022678375,
0.131667360663414,
0.06018185243010521,
0.04287882149219513,
0.03641526401042938,
0.03396258130669594,
-0.03417201712727547,
0.025455031543970108,
0.05113813281059265,
0.023525262251496315,
0.05062137544155121,
0.04015325382351875,
0.02515314146876335,
0.02505950629711151,
0.03482786566019058,
-0.05600011721253395,
0.02699166350066662,
0.04901430010795593,
-0.009039490483701229,
-0.01025579683482647,
-0.015473876148462296,
0.12497591972351074,
-0.08673009276390076,
0.01805708184838295,
-0.07902174443006516,
0.06650766730308533,
-0.019303159788250923,
0.01081822905689478,
0.022712809965014458,
0.04838252440094948,
-0.021361108869314194,
-0.045849625021219254,
-0.0939650610089302,
-0.020720483735203743,
-0.08367908000946045,
0.035708509385585785,
0.05692343786358833,
-0.05699872225522995,
-0.06968174129724503,
0.024631468579173088,
-0.02921423502266407,
0.06355805695056915,
0.026898842304944992,
0.03077268972992897,
0.0038214100059121847,
0.0013747824123129249,
-0.03200813755393028,
-0.006651641335338354,
-0.062073271721601486,
-0.0719771757721901,
-0.028400827199220657,
-0.006029780488461256,
0.021508635953068733,
-0.01990494877099991,
-0.09003306925296783,
-0.005544742103666067,
0.022433804348111153,
0.004727211315184832,
-0.01979544386267662,
-0.030603962019085884,
-0.04644520580768585,
-0.021084077656269073,
-0.05799385532736778,
-0.09433029592037201,
-0.022990023717284203,
0.07462528347969055,
-0.001119347638450563,
-0.03621135652065277,
-0.04839804396033287,
0.049094054847955704,
-0.046152181923389435,
-0.025257563218474388,
0.04019923880696297,
-0.03659156709909439,
-0.06253127753734589,
-0.08130697906017303,
0.010025938972830772,
-0.03684834763407707,
0.04520563408732414,
0.07390325516462326,
-0.003423253772780299,
0.003927136771380901,
0.022679872810840607,
-0.024385591968894005,
0.006382881663739681,
-5.3207475758654255e-8,
-0.0025501521304249763,
-0.07806199043989182,
-0.125540629029274,
-0.005398344714194536,
0.011959945783019066,
-0.051403507590293884,
-0.01018883939832449,
0.0242090355604887,
-0.08261514455080032,
-0.025725213810801506,
0.09483011066913605,
0.04965099319815636,
-0.05003270134329796,
0.026264289394021034,
-0.032591674476861954,
0.08259790390729904,
0.005202676169574261,
0.004534285049885511,
0.014401542954146862,
-0.06217402219772339,
-0.026928571984171867,
0.03060733526945114,
0.07912784814834595,
0.03926782310009003,
-0.06079302728176117,
-0.005904692690819502,
-0.03827784210443497,
-0.030578184872865677,
-0.08646608889102936,
0.03877638280391693,
0.048228200525045395,
-0.02786542847752571,
0.022036686539649963,
-0.00452820211648941,
0.05039414018392563,
-0.01572064496576786,
0.0005798146012239158,
0.05606866255402565,
0.04919962212443352,
-0.08153985440731049,
0.07277795672416687,
0.08633438497781754,
-0.030094638466835022,
-0.03130865842103958,
-0.04857170209288597,
0.01339244656264782,
-0.03390815854072571,
-0.016587911173701286,
-0.011314202100038528,
-0.0903749093413353,
0.02333058975636959,
0.034770455211400986,
-0.06027054041624069,
0.08324413746595383,
0.030187387019395828,
0.10111665725708008,
0.0228883009403944,
-0.0181101243942976,
0.05304030701518059,
0.0471687838435173,
-0.034578703343868256,
-0.031699489802122116,
0.06061820685863495,
-0.03130834549665451
] | -0.031572 |
choose `-InstallMethod git` and Git is missing, the installer will print the Git for Windows link (`https://git-scm.com/download/win`) and exit. Common Windows issues: - \*\*npm error spawn git / ENOENT\*\*: install Git for Windows and reopen PowerShell, then rerun the installer. - \*\*"openclaw" is not recognized\*\*: your npm global bin folder is not on PATH. Most systems use `%AppData%\\npm`. You can also run `npm config get prefix` and add `\\bin` to PATH, then reopen PowerShell. | https://github.com/openclaw/openclaw/blob/main//docs/install/installer.md | main | opebclaw | [
0.04990281164646149,
-0.0814751386642456,
-0.0443214513361454,
0.10017027705907822,
0.09553565829992294,
0.028183283284306526,
-0.010631862096488476,
-0.023260202258825302,
-0.004805346019566059,
0.11331631988286972,
-0.006441652774810791,
-0.030632250010967255,
-0.016935598105192184,
0.07156678289175034,
0.0563117153942585,
0.1424400955438614,
0.013619211502373219,
0.046440623700618744,
0.048545874655246735,
0.019932027906179428,
-0.08896297961473465,
0.05115661025047302,
-0.009769205003976822,
-0.01618783175945282,
-0.015727678313851357,
-0.08411630988121033,
-0.028910072520375252,
0.05990124121308327,
-0.07511497288942337,
0.05957770347595215,
-0.017352726310491562,
-0.023146165534853935,
0.023994047194719315,
-0.010976643301546574,
0.051415205001831055,
0.06730552017688751,
0.01064729318022728,
0.009016929194331169,
-0.06660526990890503,
-0.05262255668640137,
0.09297499060630798,
0.10616510361433029,
-0.018606163561344147,
-0.12681829929351807,
0.048909563571214676,
-0.00433534849435091,
0.033535849303007126,
-0.025587892159819603,
-0.035636741667985916,
-0.011760675348341465,
-0.08700182288885117,
-0.10456808656454086,
0.014016796834766865,
-0.09686917066574097,
0.04964360594749451,
-0.036521270871162415,
0.0824766755104065,
0.0039686644449830055,
0.043820638209581375,
-0.03213781490921974,
0.060749515891075134,
-0.06198339909315109,
-0.09467875957489014,
-0.052115462720394135,
-0.008635238744318485,
0.016154173761606216,
-0.023603808134794235,
0.010331913828849792,
-0.05034996569156647,
-0.033942319452762604,
0.027417639270424843,
-0.0379633903503418,
-0.05061974748969078,
-0.009145095944404602,
-0.08348485827445984,
-0.024477027356624603,
0.038304176181554794,
0.08768293261528015,
-0.040732014924287796,
0.06779976189136505,
-0.01692899875342846,
0.02151712402701378,
0.019643405452370644,
-0.02885446883738041,
0.0010489505948498845,
0.13777585327625275,
0.028476335108280182,
0.03834863752126694,
-0.020680155605077744,
0.052020929753780365,
-0.04757363721728325,
-0.06969013810157776,
-0.07070791721343994,
-0.006779026240110397,
0.06960204988718033,
-0.10432407259941101,
0.010626953095197678,
0.05170607194304466,
0.02337336167693138,
-0.022827716544270515,
0.024834517389535904,
-0.005970294121652842,
0.02186686359345913,
-0.0623152032494545,
-0.03141005337238312,
0.086760513484478,
0.011015085503458977,
0.06520950794219971,
0.027725696563720703,
0.0016816522693261504,
0.028663216158747673,
-0.018625661730766296,
0.05287023261189461,
-0.05988870561122894,
-0.032694824039936066,
0.08149580657482147,
-0.019579144194722176,
0.03214481845498085,
-0.004984233528375626,
0.05993398651480675,
-0.02883472852408886,
-0.01677650585770607,
0.01950666680932045,
-0.02772059477865696,
-0.05712120980024338,
0.049986425787210464,
0.06271832436323166,
3.63343393660849e-33,
0.046272825449705124,
-0.03281500190496445,
0.05237926170229912,
0.026543552055954933,
0.13209539651870728,
0.040846869349479675,
0.024508746340870857,
-0.07839228212833405,
-0.016574891284108162,
-0.0178099125623703,
0.006269236095249653,
-0.04060513526201248,
-0.024495262652635574,
0.029623713344335556,
0.014060091227293015,
-0.007560471538454294,
0.00013983612006995827,
-0.0604134127497673,
-0.00962235126644373,
0.0024759494699537754,
-0.0708344578742981,
-0.04162164032459259,
-0.06770162284374237,
0.03719937056303024,
-0.013378482311964035,
-0.0786241888999939,
0.049833450466394424,
-0.03341483324766159,
0.04826698452234268,
-0.03602719306945801,
0.04731753468513489,
0.09306565672159195,
-0.0021331075113266706,
-0.010831761173903942,
-0.05753340199589729,
-0.04963475465774536,
-0.01664074696600437,
0.03481285646557808,
-0.06186400353908539,
-0.02112417109310627,
0.043421510607004166,
0.054522499442100525,
0.029881639406085014,
0.02565830573439598,
0.05520728975534439,
-0.06320896744728088,
0.004330168943852186,
0.004885292146354914,
0.10294479876756668,
0.10036668181419373,
-0.04891850799322128,
0.03083343803882599,
-0.00030796945793554187,
0.016014985740184784,
-0.02384204789996147,
0.03544652834534645,
-0.021204037591814995,
-0.08073603361845016,
-0.01714389957487583,
-0.02184842899441719,
-0.012907201424241066,
-0.030766520649194717,
0.07708978652954102,
-0.01627066358923912,
0.014152782037854195,
-0.04386020079255104,
-0.033665161579847336,
0.0403907410800457,
-0.021849030628800392,
0.040713831782341,
0.012555303052067757,
-0.006427644286304712,
-0.012784083373844624,
0.0761910006403923,
0.0003300320531707257,
-0.026749148964881897,
0.08629216998815536,
-0.0228130966424942,
0.02087237499654293,
-0.0232053454965353,
-0.020532995462417603,
0.013140073046088219,
-0.005907819606363773,
-0.062151554971933365,
-0.022046156227588654,
0.0212499238550663,
0.01809450425207615,
0.04704096168279648,
-0.015561521053314209,
0.00529256509616971,
0.031454190611839294,
0.01508572418242693,
-0.11577367782592773,
0.058972932398319244,
-0.09195232391357422,
-6.493234633322523e-33,
-0.06398197263479233,
-0.00015151330444496125,
-0.014336380176246166,
-0.013500276952981949,
-0.06871020793914795,
-0.029319504275918007,
-0.1319882869720459,
-0.13752414286136627,
-0.00016129354480654,
-0.0064910827204585075,
0.01689227484166622,
0.05358801782131195,
0.10546998679637909,
0.05780012533068657,
0.06841342896223068,
0.004576124716550112,
-0.018099866807460785,
-0.02054976113140583,
0.067811518907547,
0.04754095897078514,
0.11267823725938797,
0.006289634387940168,
-0.007279293145984411,
-0.022300604730844498,
-0.023985281586647034,
-0.004586769733577967,
0.029781777411699295,
-0.04595981538295746,
0.05779881030321121,
0.027885574847459793,
0.040539104491472244,
0.08071903884410858,
-0.06857269257307053,
0.0362379252910614,
-0.061350930482149124,
0.05230998247861862,
0.06564906984567642,
-0.036467526108026505,
0.0168527290225029,
0.010975112207233906,
-0.04751075804233551,
-0.00003399800698389299,
-0.04008997604250908,
-0.03789225593209267,
0.0014736191369593143,
0.020823631435632706,
0.05089513584971428,
-0.0037508944515138865,
-0.047453463077545166,
0.03363151103258133,
-0.017971089109778404,
0.03330465033650398,
0.05353813245892525,
-0.022645577788352966,
0.023978345096111298,
-0.02594822645187378,
-0.05701059475541115,
0.03135977312922478,
-0.1064114198088646,
-0.07423342764377594,
-0.03453155234456062,
-0.019669950008392334,
-0.029409311711788177,
-0.05135229602456093,
-0.09763948619365692,
0.030809897929430008,
-0.038178976625204086,
-0.014535057358443737,
-0.05782954767346382,
-0.11127214878797531,
-0.14563754200935364,
0.024967679753899574,
-0.03561769425868988,
-0.07675313204526901,
-0.0671130046248436,
0.03183678910136223,
-0.024909721687436104,
0.060175810009241104,
-0.07167719304561615,
0.04429297894239426,
0.051901597529649734,
0.01554413978010416,
0.0205499567091465,
-0.066902756690979,
-0.07662655413150787,
-0.034263234585523605,
0.027597755193710327,
-0.08112230896949768,
-0.00532801216468215,
0.006421655882149935,
0.02679585851728916,
-0.019238771870732307,
0.09211147576570511,
0.043065059930086136,
0.03661663830280304,
-4.5931678016586375e-8,
0.030707497149705887,
-0.05736375227570534,
-0.09050729870796204,
-0.05828423425555229,
0.018875528126955032,
-0.06286812573671341,
0.079844169318676,
0.023162079975008965,
-0.05938296020030975,
-0.010191471315920353,
0.025342166423797607,
0.012202907353639603,
-0.0716123953461647,
0.055397775024175644,
-0.0198349729180336,
0.029401017352938652,
-0.10714893788099289,
0.012719810009002686,
0.07309351116418839,
-0.0034593830350786448,
0.00040208001155406237,
-0.05032207816839218,
0.028974449262022972,
0.05500517040491104,
-0.007096691522747278,
0.027194038033485413,
0.04148276150226593,
0.004140475764870644,
-0.06979416310787201,
-0.03162572532892227,
0.02605617791414261,
-0.03930283710360527,
-0.024838341400027275,
0.00023141178826335818,
0.007214415818452835,
-0.07593495398759842,
0.04638092592358589,
0.03114411234855652,
0.08093016594648361,
-0.04652583971619606,
0.013151153922080994,
-0.003444194095209241,
0.027540886774659157,
-0.007822306826710701,
-0.08924625813961029,
-0.019897622987627983,
0.035014692693948746,
0.017617085948586464,
-0.016651662066578865,
-0.07382772117853165,
-0.01006646640598774,
0.019251812249422073,
0.00867545884102583,
0.04489239305257797,
0.048902835696935654,
0.1442807912826538,
-0.05080466344952583,
0.00609936797991395,
0.007808350026607513,
0.03497865051031113,
-0.04721455276012421,
0.0034950398840010166,
-0.059112679213285446,
-0.06854815781116486
] | 0.02961 |
# Node.js + npm (PATH sanity) OpenClaw’s runtime baseline is \*\*Node 22+\*\*. If you can run `npm install -g openclaw@latest` but later see `openclaw: command not found`, it’s almost always a \*\*PATH\*\* issue: the directory where npm puts global binaries isn’t on your shell’s PATH. ## Quick diagnosis Run: ```bash node -v npm -v npm prefix -g echo "$PATH" ``` If `$(npm prefix -g)/bin` (macOS/Linux) or `$(npm prefix -g)` (Windows) is \*\*not\*\* present inside `echo "$PATH"`, your shell can’t find global npm binaries (including `openclaw`). ## Fix: put npm’s global bin dir on PATH 1. Find your global npm prefix: ```bash npm prefix -g ``` 2. Add the global npm bin directory to your shell startup file: - zsh: `~/.zshrc` - bash: `~/.bashrc` Example (replace the path with your `npm prefix -g` output): ```bash # macOS / Linux export PATH="/path/from/npm/prefix/bin:$PATH" ``` Then open a \*\*new terminal\*\* (or run `rehash` in zsh / `hash -r` in bash). On Windows, add the output of `npm prefix -g` to your PATH. ## Fix: avoid `sudo npm install -g` / permission errors (Linux) If `npm install -g ...` fails with `EACCES`, switch npm’s global prefix to a user-writable directory: ```bash mkdir -p "$HOME/.npm-global" npm config set prefix "$HOME/.npm-global" export PATH="$HOME/.npm-global/bin:$PATH" ``` Persist the `export PATH=...` line in your shell startup file. ## Recommended Node install options You’ll have the fewest surprises if Node/npm are installed in a way that: - keeps Node updated (22+) - makes the global npm bin dir stable and on PATH in new shells Common choices: - macOS: Homebrew (`brew install node`) or a version manager - Linux: your preferred version manager, or a distro-supported install that provides Node 22+ - Windows: official Node installer, `winget`, or a Windows Node version manager If you use a version manager (nvm/fnm/asdf/etc), ensure it’s initialized in the shell you use day-to-day (zsh vs bash) so the PATH it sets is present when you run installers. | https://github.com/openclaw/openclaw/blob/main//docs/install/node.md | main | opebclaw | [
0.02096131257712841,
-0.03333520144224167,
0.002901561791077256,
0.039750467985868454,
0.09691639244556427,
-0.05486910417675972,
-0.08025941997766495,
-0.015018806792795658,
-0.0021190387196838856,
0.04423114284873009,
-0.016088178381323814,
-0.05450067296624184,
-0.01976892352104187,
0.06464704871177673,
0.0881342738866806,
0.1283453106880188,
0.05031371861696243,
-0.019070284441113472,
0.04872839152812958,
-0.003397174645215273,
-0.06667003035545349,
0.08385927230119705,
0.05801860988140106,
-0.09276462346315384,
-0.02032770775258541,
-0.05453123524785042,
-0.03396402299404144,
0.002538419561460614,
-0.011407732032239437,
0.009474508464336395,
0.02499549090862274,
0.05749077722430229,
0.056318897753953934,
-0.004282784648239613,
0.06817752122879028,
0.12504428625106812,
-0.03495454043149948,
-0.022972814738750458,
-0.13747724890708923,
-0.041814904659986496,
0.08257896453142166,
0.11387059837579727,
-0.0329473540186882,
-0.11411362141370773,
-0.02276935800909996,
-0.04591213911771774,
-0.0033326500561088324,
-0.060924310237169266,
-0.03691643476486206,
0.006376907229423523,
-0.06051883101463318,
-0.11872225254774094,
-0.026559388265013695,
-0.11171203851699829,
0.017769210040569305,
0.018691904842853546,
0.042983781546354294,
-0.007918016985058784,
0.07182315737009048,
-0.01153482310473919,
0.038367051631212234,
-0.04609008878469467,
-0.05680752545595169,
-0.01859513483941555,
-0.020112432539463043,
-0.0037548646796494722,
-0.001812000758945942,
-0.0235885139554739,
-0.07721634954214096,
0.032096486538648605,
0.0553433820605278,
0.003931794781237841,
-0.004509371239691973,
-0.026889173313975334,
-0.09710042923688889,
-0.05543107911944389,
0.08543334901332855,
0.027233729138970375,
-0.007992420345544815,
0.018566042184829712,
-0.10243292897939682,
-0.01399344764649868,
-0.06063112989068031,
0.0251027662307024,
-0.0009846111061051488,
0.16644911468029022,
-0.02916085533797741,
-0.002472221152856946,
-0.015130570158362389,
0.024533716961741447,
-0.01008261926472187,
-0.12217607349157333,
-0.07158195227384567,
0.025784198194742203,
0.021840116009116173,
-0.04437960311770439,
0.044710204005241394,
0.07886768877506256,
-0.009356540627777576,
0.034259870648384094,
-0.02212943136692047,
-0.037325259298086166,
0.03153987228870392,
-0.0031341707799583673,
-0.01489154901355505,
0.12545235455036163,
0.006092933006584644,
0.037790827453136444,
0.007378257345408201,
0.022055061534047127,
0.019028404727578163,
-0.00289712636731565,
0.08184763044118881,
-0.0197032131254673,
-0.04029648005962372,
0.00714257312938571,
0.019565341994166374,
-0.03545171022415161,
0.06790813058614731,
0.1374814659357071,
0.03238329663872719,
0.0228179432451725,
0.022678114473819733,
0.026441844180226326,
-0.012806609272956848,
0.021318912506103516,
0.07314746826887131,
5.0544975061832e-33,
0.010887453332543373,
-0.07808468490839005,
0.047123540192842484,
-0.006136393174529076,
0.13984768092632294,
0.03133348748087883,
0.03385418653488159,
0.023799559101462364,
-0.08482653647661209,
0.04829166829586029,
-0.007470923010259867,
-0.014270162209868431,
-0.039211783558130264,
0.02490874007344246,
0.02433137036859989,
0.005911889486014843,
0.024992620572447777,
-0.04984361305832863,
-0.003951436374336481,
-0.01542856264859438,
0.001996241742745042,
-0.04861027002334595,
-0.06878501176834106,
0.022409072145819664,
-0.06341741234064102,
-0.03667440265417099,
0.08531245589256287,
-0.05190449208021164,
0.06626636534929276,
0.00044918415369465947,
0.036009129136800766,
0.030933713540434837,
-0.005999082699418068,
0.028299184516072273,
-0.05421792343258858,
0.008233900181949139,
-0.06881725788116455,
0.012683693319559097,
-0.08092039078474045,
-0.06607107818126678,
0.011682742275297642,
0.08978354930877686,
-0.018664175644516945,
-0.004593465942889452,
0.03685545176267624,
-0.07049854099750519,
-0.04887762293219566,
0.02609471045434475,
-0.005191481206566095,
0.06625284254550934,
-0.03396632894873619,
0.03494368866086006,
0.05070314556360245,
-0.033942826092243195,
-0.0014573173830285668,
0.015172247774899006,
-0.043885428458452225,
-0.10687979310750961,
-0.051306575536727905,
-0.023994000628590584,
0.043733302503824234,
0.03214217349886894,
0.015949800610542297,
0.04257572442293167,
0.00013868584937881678,
0.009453635662794113,
-0.028806401416659355,
0.02720748633146286,
0.008967923931777477,
0.12583737075328827,
-0.013631892390549183,
0.021441344171762466,
0.03324950858950615,
0.08120563626289368,
0.02366260066628456,
-0.027484174817800522,
0.04396352544426918,
-0.029585251584649086,
0.020255908370018005,
-0.04793262481689453,
0.005870863329619169,
-0.003567737527191639,
-0.03740910440683365,
0.01082778349518776,
0.04304187744855881,
0.022966735064983368,
0.020332688465714455,
0.0020059430971741676,
-0.00323812966234982,
0.059554796665906906,
0.03720313683152199,
-0.07452316582202911,
-0.09329523146152496,
-0.00010492845467524603,
-0.11790771037340164,
-7.6821244769564e-33,
-0.025925269350409508,
0.10256283730268478,
-0.013966386206448078,
-0.02244563400745392,
-0.04738801345229149,
-0.05537791922688484,
-0.08706893771886826,
-0.1390884965658188,
-0.06362375617027283,
-0.03922555223107338,
-0.09596550464630127,
0.11252450942993164,
0.10800638049840927,
0.04144473746418953,
0.04331139475107193,
0.022262372076511383,
-0.05062704160809517,
-0.030781367793679237,
0.02050197683274746,
-0.014733335003256798,
0.012162174098193645,
0.027643632143735886,
0.037567347288131714,
-0.01198460441082716,
0.0053321621380746365,
-0.04363764822483063,
0.03102869912981987,
0.028013816103339195,
-0.013429118320345879,
0.05030512437224388,
-0.030890317633748055,
0.12390878796577454,
-0.08872433006763458,
0.052864331752061844,
0.0010807830840349197,
0.02924937754869461,
-0.045151300728321075,
-0.015515575185418129,
0.06260880827903748,
-0.07423413544893265,
-0.013141553848981857,
-0.016292821615934372,
-0.08292357623577118,
-0.057443007826805115,
-0.02467392385005951,
0.07812515646219254,
0.02678520791232586,
0.04626104608178139,
-0.024917704984545708,
-0.05702686309814453,
-0.054838716983795166,
0.055185750126838684,
0.0454300194978714,
0.03406008705496788,
0.02587960846722126,
0.017710883170366287,
-0.06665356457233429,
0.00871150754392147,
-0.013339799828827381,
-0.06956467777490616,
0.004069652408361435,
-0.013760827481746674,
-0.06489211320877075,
-0.03797910362482071,
-0.08491741865873337,
-0.033972546458244324,
-0.057366419583559036,
0.03647850453853607,
-0.025708597153425217,
-0.062365274876356125,
-0.09934617578983307,
0.05485016107559204,
-0.004718208219856024,
-0.056374844163656235,
-0.08530130237340927,
0.06319977343082428,
0.007936986163258553,
-0.03418268263339996,
-0.06849145144224167,
0.04202601686120033,
0.013200593180954456,
0.06885740160942078,
0.00859116856008768,
-0.014895770698785782,
-0.031042439863085747,
-0.043271102011203766,
0.01768697425723076,
0.01509464904665947,
0.01981574483215809,
0.051032423973083496,
0.017789121717214584,
0.009817936457693577,
-0.05593722313642502,
-0.044922780245542526,
-0.037386178970336914,
-4.75702002233902e-8,
-0.02157825045287609,
-0.02972693182528019,
-0.08694612234830856,
-0.027397697791457176,
0.036491941660642624,
-0.023019274696707726,
0.04183272272348404,
-0.02961740456521511,
-0.04196803271770477,
0.05253731086850166,
0.05351419001817703,
0.03274206817150116,
-0.06572774052619934,
0.036170780658721924,
-0.07100433856248856,
0.05115923285484314,
-0.08633743226528168,
-0.0058809746988117695,
0.04499877244234085,
0.003963491879403591,
-0.003871083492413163,
0.024565314874053,
0.008254650048911572,
0.059148773550987244,
-0.07806187123060226,
-0.03375747799873352,
-0.03282295539975166,
-0.02623607963323593,
-0.0601201057434082,
0.008828125894069672,
0.005098242312669754,
0.01855701394379139,
-0.002461930736899376,
0.0021957247518002987,
-0.02104857936501503,
-0.06773626059293747,
0.0049466961063444614,
0.05133271962404251,
0.051922984421253204,
-0.06417565792798996,
0.021944699808955193,
0.027315374463796616,
0.045622341334819794,
-0.004321286454796791,
-0.10866181552410126,
-0.009972445666790009,
0.018407147377729416,
0.03075231797993183,
0.002524197567254305,
-0.020799146965146065,
0.042804181575775146,
0.03337188437581062,
-0.028441350907087326,
0.02498807944357395,
0.05686148256063461,
0.09665778279304504,
0.0028867200016975403,
-0.06126973405480385,
-0.03216681256890297,
-0.00629492336884141,
-0.014753315597772598,
-0.05609578639268875,
0.03495384752750397,
-0.038285113871097565
] | 0.006527 |
# Updating OpenClaw is moving fast (pre “1.0”). Treat updates like shipping infra: update → run checks → restart (or use `openclaw update`, which restarts) → verify. ## Recommended: re-run the website installer (upgrade in place) The \*\*preferred\*\* update path is to re-run the installer from the website. It detects existing installs, upgrades in place, and runs `openclaw doctor` when needed. ```bash curl -fsSL https://openclaw.ai/install.sh | bash ``` Notes: - Add `--no-onboard` if you don’t want the onboarding wizard to run again. - For \*\*source installs\*\*, use: ```bash curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git --no-onboard ``` The installer will `git pull --rebase` \*\*only\*\* if the repo is clean. - For \*\*global installs\*\*, the script uses `npm install -g openclaw@latest` under the hood. - Legacy note: `clawdbot` remains available as a compatibility shim. ## Before you update - Know how you installed: \*\*global\*\* (npm/pnpm) vs \*\*from source\*\* (git clone). - Know how your Gateway is running: \*\*foreground terminal\*\* vs \*\*supervised service\*\* (launchd/systemd). - Snapshot your tailoring: - Config: `~/.openclaw/openclaw.json` - Credentials: `~/.openclaw/credentials/` - Workspace: `~/.openclaw/workspace` ## Update (global install) Global install (pick one): ```bash npm i -g openclaw@latest ``` ```bash pnpm add -g openclaw@latest ``` We do \*\*not\*\* recommend Bun for the Gateway runtime (WhatsApp/Telegram bugs). To switch update channels (git + npm installs): ```bash openclaw update --channel beta openclaw update --channel dev openclaw update --channel stable ``` Use `--tag ` for a one-off install tag/version. See [Development channels](/install/development-channels) for channel semantics and release notes. Note: on npm installs, the gateway logs an update hint on startup (checks the current channel tag). Disable via `update.checkOnStart: false`. Then: ```bash openclaw doctor openclaw gateway restart openclaw health ``` Notes: - If your Gateway runs as a service, `openclaw gateway restart` is preferred over killing PIDs. - If you’re pinned to a specific version, see “Rollback / pinning” below. ## Update (`openclaw update`) For \*\*source installs\*\* (git checkout), prefer: ```bash openclaw update ``` It runs a safe-ish update flow: - Requires a clean worktree. - Switches to the selected channel (tag or branch). - Fetches + rebases against the configured upstream (dev channel). - Installs deps, builds, builds the Control UI, and runs `openclaw doctor`. - Restarts the gateway by default (use `--no-restart` to skip). If you installed via \*\*npm/pnpm\*\* (no git metadata), `openclaw update` will try to update via your package manager. If it can’t detect the install, use “Update (global install)” instead. ## Update (Control UI / RPC) The Control UI has \*\*Update & Restart\*\* (RPC: `update.run`). It: 1. Runs the same source-update flow as `openclaw update` (git checkout only). 2. Writes a restart sentinel with a structured report (stdout/stderr tail). 3. Restarts the gateway and pings the last active session with the report. If the rebase fails, the gateway aborts and restarts without applying the update. ## Update (from source) From the repo checkout: Preferred: ```bash openclaw update ``` Manual (equivalent-ish): ```bash git pull pnpm install pnpm build pnpm ui:build # auto-installs UI deps on first run openclaw doctor openclaw health ``` Notes: - `pnpm build` matters when you run the packaged `openclaw` binary ([`openclaw.mjs`](https://github.com/openclaw/openclaw/blob/main/openclaw.mjs)) or use Node to run `dist/`. - If you run from a repo checkout without a global install, use `pnpm openclaw ...` for CLI commands. - If you run directly from TypeScript (`pnpm openclaw ...`), a rebuild is usually unnecessary, but \*\*config migrations still apply\*\* → run doctor. - Switching between global and git installs is easy: install the other flavor, then run `openclaw doctor` so the gateway service entrypoint is rewritten to the current install. ## Always Run: `openclaw doctor` Doctor is | https://github.com/openclaw/openclaw/blob/main//docs/install/updating.md | main | opebclaw | [
0.012064201757311821,
-0.06245001032948494,
-0.042115651071071625,
0.023809602484107018,
0.027797028422355652,
-0.13241103291511536,
-0.06344408541917801,
-0.034078922122716904,
-0.034769438207149506,
0.024472152814269066,
0.05717138573527336,
0.0006199529161676764,
0.0007143808761611581,
-0.009068598039448261,
0.027389204129576683,
0.11418569833040237,
0.04238591343164444,
-0.022681986913084984,
-0.019609667360782623,
0.013610845431685448,
-0.10276574641466141,
0.03200625628232956,
0.019072864204645157,
-0.026830852031707764,
-0.06250311434268951,
-0.05455658212304115,
-0.05984684079885483,
-0.00820276141166687,
-0.06519760936498642,
-0.044593170285224915,
0.04123533144593239,
0.02495228871703148,
0.021118996664881706,
0.006374703254550695,
0.08190649747848511,
0.08162888139486313,
0.011398234404623508,
-0.023053310811519623,
-0.08526694029569626,
0.033093634992837906,
0.07372072339057922,
0.008234572596848011,
0.01723088137805462,
-0.03750592842698097,
0.001986174611374736,
-0.0375046543776989,
-0.019681822508573532,
-0.048954691737890244,
0.014469582587480545,
0.01370895467698574,
-0.06104375049471855,
-0.12083655595779419,
-0.03862637281417847,
-0.11447266489267349,
-0.003979608882218599,
0.061467766761779785,
0.07299203425645828,
0.03144748881459236,
0.017116818577051163,
-0.0922744870185852,
0.10382093489170074,
0.02952241525053978,
0.009651724249124527,
0.03227298706769943,
-0.09857192635536194,
0.0015897761331871152,
-0.02358991466462612,
-0.09861745685338974,
-0.025227248668670654,
-0.002681064885109663,
0.02081671915948391,
0.07638146728277206,
-0.06461917608976364,
-0.055653296411037445,
-0.03532598540186882,
0.008155294694006443,
0.10340692847967148,
0.07424112409353256,
0.009927966631948948,
-0.03417949005961418,
-0.07557620853185654,
-0.06636164337396622,
-0.07481139898300171,
-0.023152977228164673,
-0.01428780797868967,
0.0962691679596901,
0.07251180708408356,
0.05186998099088669,
0.006724678445607424,
0.043790679425001144,
0.05698820576071739,
-0.07587036490440369,
0.04657154902815819,
-0.040370866656303406,
-0.015353423543274403,
0.027466904371976852,
-0.042302992194890976,
0.030196918174624443,
-0.05359233170747757,
0.0556766539812088,
0.02740250714123249,
-0.03224833682179451,
0.03681396320462227,
0.018781594932079315,
-0.11176127940416336,
0.0558854304254055,
0.08484062552452087,
0.09505560994148254,
-0.024233587086200714,
-0.08312211185693741,
0.0473288930952549,
-0.06512351334095001,
0.10102630406618118,
-0.06320438534021378,
-0.12139654904603958,
0.12002797424793243,
-0.042817484587430954,
-0.0007693019579164684,
0.017331043258309364,
0.06700073182582855,
0.09785757958889008,
0.04358091950416565,
0.1231117844581604,
-0.015096482820808887,
0.049044739454984665,
0.06929414719343185,
0.1068282276391983,
3.266455253199326e-33,
-0.0006654025637544692,
-0.023646380752325058,
-0.06647465378046036,
-0.007923470810055733,
0.08320343494415283,
-0.006373719312250614,
-0.0035815683659166098,
-0.017984231933951378,
0.005604840349406004,
0.038400065153837204,
-0.0272988211363554,
0.0618610754609108,
-0.053182557225227356,
-0.020589660853147507,
0.028432607650756836,
-0.06683377921581268,
-0.012068742886185646,
0.009590287692844868,
0.056473348289728165,
-0.004707875661551952,
0.04988419637084007,
-0.11602289974689484,
-0.08441174775362015,
0.008898607455193996,
0.0399145781993866,
-0.03218207135796547,
0.0006777323433198035,
0.06522010266780853,
-0.007123011630028486,
0.001477668876759708,
0.036749452352523804,
-0.007864215411245823,
-0.07715309411287308,
-0.0140263382345438,
-0.06818433851003647,
-0.05028679966926575,
-0.09688614308834076,
-0.03479357436299324,
-0.04136764630675316,
0.005019339267164469,
0.05912791192531586,
0.01702473685145378,
-0.06913221627473831,
0.02441454492509365,
0.12223764508962631,
-0.07428743690252304,
-0.05872471258044243,
0.03806240111589432,
0.106135293841362,
-0.014645373448729515,
-0.01852097362279892,
-0.022121470421552658,
0.05797905847430229,
-0.028176769614219666,
-0.10162133723497391,
0.009824366308748722,
-0.020128417760133743,
-0.0640765130519867,
0.040103521198034286,
-0.023339930921792984,
-0.007529786787927151,
-0.03974107280373573,
0.0074675558134913445,
-0.003665902651846409,
-0.011233079247176647,
0.009008252993226051,
0.07769662886857986,
0.037987835705280304,
-0.028913447633385658,
0.014001007191836834,
-0.012451456859707832,
-0.0069486238062381744,
0.004385319538414478,
0.007139501627534628,
-0.02529529482126236,
-0.04959646239876747,
-0.0032201919239014387,
-0.03642920032143593,
0.012481008656322956,
-0.016902819275856018,
0.02164720743894577,
0.01857074163854122,
-0.05179169774055481,
0.03270623832941055,
0.06801273673772812,
0.03806418925523758,
-0.021866921335458755,
0.04786429926753044,
0.00375771545805037,
0.09397467970848083,
0.003357059322297573,
-0.000813244201708585,
-0.07979968935251236,
-0.0406857505440712,
0.06862615048885345,
-4.902035888881549e-33,
0.0021987061481922865,
-0.01448515709489584,
0.03476140648126602,
0.0016418732702732086,
-0.03547253832221031,
-0.00863808486610651,
-0.05678480491042137,
0.0014843384269624949,
-0.028050288558006287,
-0.07642443478107452,
-0.06155267730355263,
0.09512534737586975,
0.0018063562456518412,
-0.047521866858005524,
-0.011402410455048084,
0.006774322595447302,
-0.08849246054887772,
-0.025450190529227257,
0.028431031852960587,
0.09235765039920807,
0.044856660068035126,
0.016073739156126976,
-0.0007672866922803223,
0.04183974117040634,
0.03521757572889328,
0.019609710201621056,
0.02336585894227028,
0.07143300026655197,
-0.0002869571035262197,
-0.0016983820823952556,
0.01710733026266098,
0.06458408385515213,
-0.050846248865127563,
0.03711787238717079,
-0.016113415360450745,
0.07971370965242386,
0.030090220272541046,
0.0452476441860199,
-0.0070473309606313705,
0.05707627534866333,
0.029675772413611412,
-0.03200557082891464,
-0.07893835753202438,
-0.034241463989019394,
-0.0188506580889225,
0.038754045963287354,
0.001342681935057044,
-0.022395772859454155,
-0.11557149887084961,
-0.010662083514034748,
-0.07606873661279678,
0.023944152519106865,
0.03686093911528587,
0.015880754217505455,
0.04560978338122368,
0.06100361421704292,
0.024244580417871475,
-0.03894941881299019,
-0.08246644586324692,
-0.040079325437545776,
-0.046214599162340164,
-0.02979392744600773,
0.05328689515590668,
0.005265736952424049,
-0.07640080899000168,
-0.016982516273856163,
0.028545068576931953,
0.04645886644721031,
-0.07587131857872009,
0.013621736317873001,
-0.07798542082309723,
-0.04488956928253174,
-0.059677865356206894,
-0.049644868820905685,
-0.05633549019694328,
-0.025967296212911606,
0.004865532740950584,
0.0068361833691596985,
0.0058468361385166645,
0.019744496792554855,
-0.013718620873987675,
-0.024733856320381165,
0.054809316992759705,
-0.07146348059177399,
-0.05343082547187805,
-0.031643129885196686,
0.027686355635523796,
0.022438395768404007,
0.06064540147781372,
0.0471600778400898,
-0.08034233748912811,
-0.004135614261031151,
0.01545263547450304,
-0.03519716113805771,
-0.018968656659126282,
-5.333911801130853e-8,
-0.03420703485608101,
-0.006643394473940134,
-0.029577480629086494,
0.07106208801269531,
0.06608738750219345,
-0.06933197379112244,
-0.010925914160907269,
0.05103065073490143,
-0.07727117091417313,
-0.04586905986070633,
0.06870535016059875,
0.07670874148607254,
-0.030454808846116066,
0.05513250082731247,
-0.011811437085270882,
0.10677952319383621,
-0.05049747973680496,
-0.023750267922878265,
0.014492549002170563,
-0.11425762623548508,
-0.011505438946187496,
0.008376747369766235,
0.11649303883314133,
0.0107235973700881,
-0.01694653369486332,
-0.05758215859532356,
-0.021233396604657173,
0.0004909595008939505,
-0.004013069439679384,
-0.030227843672037125,
-0.0036162338219583035,
-0.03956248611211777,
0.019569244235754013,
-0.022126929834485054,
0.045525167137384415,
-0.03100978396832943,
-0.012336907908320427,
0.0358310230076313,
0.056568972766399384,
-0.0012622778303921223,
0.04539073258638382,
0.07707810401916504,
-0.024742260575294495,
-0.06244383379817009,
-0.048884544521570206,
-0.012088264338672161,
-0.05422079190611839,
-0.024856513366103172,
0.00531734200194478,
-0.04378311336040497,
0.00010483044025022537,
-0.003631659783422947,
-0.05605190619826317,
0.09126821160316467,
0.02862190268933773,
0.09531733393669128,
0.02519647777080536,
0.012372365221381187,
0.0050798021256923676,
0.08153929561376572,
-0.04199441149830818,
-0.022640271112322807,
0.06928905099630356,
-0.068687804043293
] | 0.009724 |
openclaw ...`), a rebuild is usually unnecessary, but \*\*config migrations still apply\*\* → run doctor. - Switching between global and git installs is easy: install the other flavor, then run `openclaw doctor` so the gateway service entrypoint is rewritten to the current install. ## Always Run: `openclaw doctor` Doctor is the “safe update” command. It’s intentionally boring: repair + migrate + warn. Note: if you’re on a \*\*source install\*\* (git checkout), `openclaw doctor` will offer to run `openclaw update` first. Typical things it does: - Migrate deprecated config keys / legacy config file locations. - Audit DM policies and warn on risky “open” settings. - Check Gateway health and can offer to restart. - Detect and migrate older gateway services (launchd/systemd; legacy schtasks) to current OpenClaw services. - On Linux, ensure systemd user lingering (so the Gateway survives logout). Details: [Doctor](/gateway/doctor) ## Start / stop / restart the Gateway CLI (works regardless of OS): ```bash openclaw gateway status openclaw gateway stop openclaw gateway restart openclaw gateway --port 18789 openclaw logs --follow ``` If you’re supervised: - macOS launchd (app-bundled LaunchAgent): `launchctl kickstart -k gui/$UID/bot.molt.gateway` (use `bot.molt.`; legacy `com.openclaw.\*` still works) - Linux systemd user service: `systemctl --user restart openclaw-gateway[-].service` - Windows (WSL2): `systemctl --user restart openclaw-gateway[-].service` - `launchctl`/`systemctl` only work if the service is installed; otherwise run `openclaw gateway install`. Runbook + exact service labels: [Gateway runbook](/gateway) ## Rollback / pinning (when something breaks) ### Pin (global install) Install a known-good version (replace `` with the last working one): ```bash npm i -g openclaw@ ``` ```bash pnpm add -g openclaw@ ``` Tip: to see the current published version, run `npm view openclaw version`. Then restart + re-run doctor: ```bash openclaw doctor openclaw gateway restart ``` ### Pin (source) by date Pick a commit from a date (example: “state of main as of 2026-01-01”): ```bash git fetch origin git checkout "$(git rev-list -n 1 --before=\"2026-01-01\" origin/main)" ``` Then reinstall deps + restart: ```bash pnpm install pnpm build openclaw gateway restart ``` If you want to go back to latest later: ```bash git checkout main git pull ``` ## If you’re stuck - Run `openclaw doctor` again and read the output carefully (it often tells you the fix). - Check: [Troubleshooting](/gateway/troubleshooting) - Ask in Discord: https://discord.gg/clawd | https://github.com/openclaw/openclaw/blob/main//docs/install/updating.md | main | opebclaw | [
-0.03487556800246239,
-0.054891012609004974,
-0.00894282665103674,
-0.02915816940367222,
-0.002438354305922985,
-0.1000458300113678,
-0.05264204367995262,
0.00418221578001976,
-0.04130343720316887,
-0.011919702403247356,
-0.0041219075210392475,
0.0754624456167221,
-0.018141860142350197,
-0.04733812436461449,
0.02287178859114647,
0.04697544500231743,
0.03649671748280525,
-0.006502662785351276,
0.003924964461475611,
-0.0067384312860667706,
-0.10626216977834702,
0.03362341597676277,
-0.019080493599176407,
-0.006187374237924814,
-0.03497610241174698,
-0.054390110075473785,
-0.025193236768245697,
-0.032844141125679016,
-0.09229814261198044,
0.006756938062608242,
0.026932401582598686,
0.05463196709752083,
-0.07039458304643631,
-0.004145685117691755,
0.005004091188311577,
0.09776400029659271,
0.05019856616854668,
0.022622019052505493,
-0.04984748363494873,
0.012586856260895729,
0.08672497421503067,
0.014963577501475811,
0.015622264705598354,
-0.062350839376449585,
0.03829633817076683,
0.00008602873276686296,
0.010648488998413086,
-0.11338932812213898,
0.034176260232925415,
-0.007690781727433205,
-0.04718896746635437,
-0.09827461838722229,
-0.0096493661403656,
-0.011153236962854862,
0.10186988115310669,
0.024212459102272987,
0.08036854863166809,
-0.03384143114089966,
-0.015362263657152653,
-0.06380350142717361,
0.062547966837883,
0.05355514958500862,
-0.04168509319424629,
0.034792669117450714,
-0.10487940907478333,
-0.05920533463358879,
0.01034346129745245,
-0.07163550704717636,
0.04622384160757065,
-0.025489849969744682,
-0.07999745011329651,
0.04412256181240082,
-0.019202139228582382,
-0.006541144568473101,
-0.025513095781207085,
0.04418925568461418,
0.05262311175465584,
-0.00018758447549771518,
-0.04419818893074989,
-0.03564566746354103,
0.05519622936844826,
0.027550604194402695,
-0.026420360431075096,
-0.002767618279904127,
0.0005025957361795008,
0.07521288096904755,
0.03048890084028244,
0.022573688998818398,
0.044811543077230453,
0.014821693301200867,
0.0424315482378006,
-0.08726657927036285,
0.052458327263593674,
-0.023033365607261658,
0.030460355803370476,
-0.021140331402420998,
-0.04012800380587578,
-0.06696927547454834,
0.022197330370545387,
0.05245475098490715,
-0.041258152574300766,
-0.057912081480026245,
0.0911407545208931,
-0.00009156754094874486,
-0.07164151966571808,
0.07012498378753662,
0.00416963454335928,
0.1454448401927948,
0.011632772162556648,
-0.02234192006289959,
0.06115021929144859,
-0.06943786144256592,
0.08825496584177017,
-0.032427772879600525,
-0.052528057247400284,
0.08416743576526642,
-0.04552983120083809,
-0.013127789832651615,
-0.05317319929599762,
0.11248178780078888,
0.017030170187354088,
0.01676982454955578,
0.03474600613117218,
-0.029048645868897438,
0.011778449639678001,
0.15028345584869385,
0.06073297560214996,
5.510259073858063e-33,
0.05682758241891861,
-0.017614426091313362,
-0.005247270688414574,
0.031407877802848816,
0.11839891970157623,
0.035145871341228485,
0.020328721031546593,
-0.06187852472066879,
0.04234600439667702,
-0.017762495204806328,
-0.0063914037309587,
0.020577412098646164,
-0.054243143647909164,
-0.03025692328810692,
-0.015639975666999817,
-0.00039398259832523763,
-0.04974230378866196,
0.030209455639123917,
0.05353664606809616,
0.011955645866692066,
0.016874762251973152,
-0.08261986821889877,
-0.08500805497169495,
0.006559127010405064,
0.10193505883216858,
-0.018514331430196762,
0.019957879558205605,
0.008155442774295807,
0.02144945040345192,
-0.020811038091778755,
0.0018957109423354268,
0.017765942960977554,
-0.05167554318904877,
0.02940410189330578,
-0.10920301824808121,
0.021750276908278465,
-0.10615293681621552,
-0.07977012544870377,
-0.05830787494778633,
-0.013745785690844059,
-0.0004928210400976241,
0.028031930327415466,
-0.040178701281547546,
-0.0015434966189786792,
0.13944359123706818,
-0.08040298521518707,
-0.03830428421497345,
0.07290000468492508,
0.12126804888248444,
0.01540620531886816,
0.0009170352132059634,
0.015044397674500942,
0.01859506033360958,
-0.008655154146254063,
-0.09501270204782486,
0.012769431807100773,
-0.03180661052465439,
-0.032530225813388824,
0.0640411376953125,
0.045796580612659454,
0.045257072895765305,
-0.010144839994609356,
0.013888807967305183,
0.06553992629051208,
0.05818908289074898,
-0.0051117511466145515,
0.005789708346128464,
0.022293156012892723,
-0.020535966381430626,
0.007222154643386602,
-0.06113513559103012,
-0.05674480274319649,
-0.010359419509768486,
0.08136007934808731,
-0.04831596463918686,
-0.05960875377058983,
-0.014053065329790115,
-0.022905517369508743,
0.03195345029234886,
-0.06714898347854614,
-0.004962596110999584,
0.09222441166639328,
-0.04759611934423447,
0.05477277934551239,
0.08640177547931671,
0.03442845866084099,
0.0134869534522295,
-0.047700434923172,
-0.018694661557674408,
0.06659956276416779,
-0.02077225036919117,
0.007744945585727692,
-0.046963710337877274,
0.0857059583067894,
0.01847243309020996,
-7.11483384198544e-33,
-0.05991942808032036,
-0.04209956154227257,
0.011253506876528263,
0.01605670154094696,
-0.07712341099977493,
-0.026262221857905388,
-0.021779745817184448,
-0.0248789731413126,
0.015116575174033642,
-0.014229499734938145,
-0.012394708581268787,
0.08552392572164536,
0.08076979964971542,
-0.1141381487250328,
-0.005767445545643568,
-0.08566590398550034,
-0.058960139751434326,
-0.07213395088911057,
-0.0362372100353241,
0.09292472153902054,
0.053447697311639786,
0.06892034411430359,
-0.04971206560730934,
-0.03125670924782753,
0.00838012620806694,
0.061782240867614746,
-0.004135005176067352,
0.017975248396396637,
-0.030206646770238876,
-0.023869255557656288,
0.04811245948076248,
0.008413227275013924,
-0.011027098633348942,
-0.012872938066720963,
0.00041874212911352515,
0.09008118510246277,
-0.010198680683970451,
-0.01192534901201725,
-0.014638690277934074,
0.05560007691383362,
0.0630871057510376,
0.005970418453216553,
0.007200964726507664,
0.015974393114447594,
-0.0092494310811162,
0.0456148236989975,
-0.022281978279352188,
-0.04971501976251602,
-0.03795444220304489,
-0.04546884447336197,
-0.037019092589616776,
0.010090102441608906,
0.04291209578514099,
0.04419311136007309,
0.03890131041407585,
0.059800609946250916,
0.057672273367643356,
-0.00012117873120587319,
-0.047498174011707306,
-0.08700577914714813,
-0.02096429653465748,
-0.05038956552743912,
0.032374974340200424,
0.11522889137268066,
-0.07687125355005264,
-0.00931591633707285,
0.044292692095041275,
-0.00408483250066638,
-0.05103686451911926,
-0.016643241047859192,
-0.06795746833086014,
0.004167412873357534,
-0.03435153141617775,
-0.0850474014878273,
0.017857536673545837,
-0.07457531988620758,
0.056042011827230453,
-0.005858686752617359,
-0.07484555244445801,
0.0004955993499606848,
0.007004994433373213,
-0.08158213645219803,
0.013681980781257153,
-0.05469895899295807,
-0.020795784890651703,
-0.05412619933485985,
0.023858629167079926,
0.02449798956513405,
0.08660101145505905,
0.026953410357236862,
-0.10036088526248932,
-0.029478207230567932,
-0.04294448718428612,
-0.09657739847898483,
0.00794325303286314,
-5.650519341315885e-8,
-0.04084884002804756,
0.04078331217169762,
-0.05521722882986069,
0.05317229405045509,
0.018828805536031723,
-0.1011962741613388,
0.013708262704312801,
0.12360983341932297,
-0.054642654955387115,
0.03833165392279625,
0.03469833731651306,
0.1064339280128479,
-0.014623492956161499,
-0.008119864389300346,
-0.01109080296009779,
0.09853728115558624,
-0.046232812106609344,
-0.01806456223130226,
-0.030271122232079506,
-0.014378530904650688,
-0.08991670608520508,
-0.018209539353847504,
0.06473313271999359,
0.06478197872638702,
-0.022090595215559006,
-0.010835250839591026,
0.02627527341246605,
-0.049220409244298935,
0.00768992118537426,
0.05147551745176315,
-0.018096327781677246,
-0.007304447237402201,
-0.006114122923463583,
0.06278453022241592,
-0.057621490210294724,
-0.0396428182721138,
-0.024921560660004616,
0.08570277690887451,
0.08477919548749924,
0.030721250921487808,
-0.010301818139851093,
0.00006019814100000076,
0.012771287001669407,
-0.04087846353650093,
-0.10549727827310562,
-0.04303853586316109,
-0.05076628923416138,
0.028303449973464012,
-0.05468921363353729,
-0.004556787665933371,
-0.02561015635728836,
0.046652037650346756,
-0.00740702822804451,
0.013466278091073036,
0.050859034061431885,
0.0720570981502533,
0.029415447264909744,
-0.02485479786992073,
0.004220402333885431,
0.06223725900053978,
-0.04923052713274956,
-0.06006999686360359,
0.040419112890958786,
-0.08262346684932709
] | 0.040828 |
# Nix Installation The recommended way to run OpenClaw with Nix is via \*\*[nix-openclaw](https://github.com/openclaw/nix-openclaw)\*\* — a batteries-included Home Manager module. ## Quick Start Paste this to your AI agent (Claude, Cursor, etc.): ```text I want to set up nix-openclaw on my Mac. Repository: github:openclaw/nix-openclaw What I need you to do: 1. Check if Determinate Nix is installed (if not, install it) 2. Create a local flake at ~/code/openclaw-local using templates/agent-first/flake.nix 3. Help me create a Telegram bot (@BotFather) and get my chat ID (@userinfobot) 4. Set up secrets (bot token, Anthropic key) - plain files at ~/.secrets/ is fine 5. Fill in the template placeholders and run home-manager switch 6. Verify: launchd running, bot responds to messages Reference the nix-openclaw README for module options. ``` > \*\*📦 Full guide: [github.com/openclaw/nix-openclaw](https://github.com/openclaw/nix-openclaw)\*\* > > The nix-openclaw repo is the source of truth for Nix installation. This page is just a quick overview. ## What you get - Gateway + macOS app + tools (whisper, spotify, cameras) — all pinned - Launchd service that survives reboots - Plugin system with declarative config - Instant rollback: `home-manager switch --rollback` --- ## Nix Mode Runtime Behavior When `OPENCLAW\_NIX\_MODE=1` is set (automatic with nix-openclaw): OpenClaw supports a \*\*Nix mode\*\* that makes configuration deterministic and disables auto-install flows. Enable it by exporting: ```bash OPENCLAW\_NIX\_MODE=1 ``` On macOS, the GUI app does not automatically inherit shell env vars. You can also enable Nix mode via defaults: ```bash defaults write bot.molt.mac openclaw.nixMode -bool true ``` ### Config + state paths OpenClaw reads JSON5 config from `OPENCLAW\_CONFIG\_PATH` and stores mutable data in `OPENCLAW\_STATE\_DIR`. - `OPENCLAW\_STATE\_DIR` (default: `~/.openclaw`) - `OPENCLAW\_CONFIG\_PATH` (default: `$OPENCLAW\_STATE\_DIR/openclaw.json`) When running under Nix, set these explicitly to Nix-managed locations so runtime state and config stay out of the immutable store. ### Runtime behavior in Nix mode - Auto-install and self-mutation flows are disabled - Missing dependencies surface Nix-specific remediation messages - UI surfaces a read-only Nix mode banner when present ## Packaging note (macOS) The macOS packaging flow expects a stable Info.plist template at: ``` apps/macos/Sources/OpenClaw/Resources/Info.plist ``` [`scripts/package-mac-app.sh`](https://github.com/openclaw/openclaw/blob/main/scripts/package-mac-app.sh) copies this template into the app bundle and patches dynamic fields (bundle ID, version/build, Git SHA, Sparkle keys). This keeps the plist deterministic for SwiftPM packaging and Nix builds (which do not rely on a full Xcode toolchain). ## Related - [nix-openclaw](https://github.com/openclaw/nix-openclaw) — full setup guide - [Wizard](/start/wizard) — non-Nix CLI setup - [Docker](/install/docker) — containerized setup | https://github.com/openclaw/openclaw/blob/main//docs/install/nix.md | main | opebclaw | [
-0.0025443662889301777,
0.029674192890524864,
-0.04278070479631424,
-0.023148534819483757,
0.06595411896705627,
-0.10155298560857773,
-0.02316807210445404,
0.042496610432863235,
-0.023741552606225014,
-0.04263879358768463,
-0.024863122031092644,
-0.055976882576942444,
0.0019684589933604,
0.012786775827407837,
0.07939516007900238,
0.06396752595901489,
0.06795580685138702,
-0.06640869379043579,
0.06961788982152939,
0.01757403276860714,
0.007360548246651888,
0.03808695077896118,
0.1222921833395958,
-0.02284160442650318,
-0.06095114350318909,
0.0017093359492719173,
0.018333591520786285,
-0.02685561589896679,
-0.09231618046760559,
-0.024590034037828445,
0.13782493770122528,
0.014988915994763374,
-0.0032706332858651876,
-0.012540455907583237,
0.10451603680849075,
0.03150324895977974,
0.06445429474115372,
0.02435956709086895,
-0.06389717012643814,
0.060972534120082855,
-0.026746127754449844,
-0.040119435638189316,
-0.03862597793340683,
0.010928337462246418,
-0.07481063902378082,
-0.005333847366273403,
-0.004689465276896954,
-0.06128086894750595,
-0.026602301746606827,
-0.011445731855928898,
-0.0722193494439125,
-0.06329745054244995,
-0.002584422705695033,
-0.05792893469333649,
0.052526671439409256,
0.00227216980420053,
-0.03943689912557602,
-0.010285474359989166,
0.03490045666694641,
-0.057749614119529724,
0.05243285000324249,
0.005175556987524033,
-0.02192898653447628,
0.011739752255380154,
-0.06282911449670792,
0.03739321231842041,
-0.046098221093416214,
-0.06275428831577301,
-0.014484227634966373,
-0.042667731642723083,
-0.02125740610063076,
-0.03618449345231056,
0.004315589554607868,
-0.03513102978467941,
-0.01058549527078867,
-0.013241318985819817,
0.08255032449960709,
-0.006301651708781719,
-0.06443233042955399,
-0.05387748032808304,
-0.12716563045978546,
0.07854457944631577,
-0.016261214390397072,
0.008842130191624165,
-0.014043870382010937,
0.14924682676792145,
0.030317993834614754,
0.04172208532691002,
0.01272208895534277,
0.10673543065786362,
0.08494100719690323,
-0.08768761157989502,
-0.020368412137031555,
-0.01312883198261261,
0.052457742393016815,
0.022605061531066895,
0.024218672886490822,
0.033948130905628204,
-0.009977683424949646,
0.07261159271001816,
-0.03226512670516968,
-0.06638737767934799,
0.03418591991066933,
-0.041318610310554504,
0.0028812200762331486,
0.04558827355504036,
0.055037785321474075,
0.041038233786821365,
0.001887024031020701,
0.007943310774862766,
0.015575098805129528,
-0.06524437665939331,
0.08970914036035538,
-0.03621858358383179,
0.01957394927740097,
0.013059359975159168,
-0.03358125686645508,
-0.05485847592353821,
0.07062744349241257,
0.03393213823437691,
0.16583286225795746,
0.05926166847348213,
-0.0037399514112621546,
0.1053711548447609,
0.05827022343873978,
0.06866604834794998,
0.09251319617033005,
4.7878979588105973e-33,
0.04795226454734802,
0.0334746278822422,
-0.04650965705513954,
0.06532392650842667,
-0.007933716289699078,
-0.00012815813533961773,
0.00486665777862072,
0.06136419624090195,
-0.09694710373878479,
0.06560155749320984,
-0.012121280655264854,
0.049974046647548676,
-0.05445845425128937,
-0.033632177859544754,
-0.038265302777290344,
0.003918467555195093,
-0.03560580313205719,
0.0345158688724041,
0.03079443983733654,
-0.07809682935476303,
0.05867224559187889,
-0.02808387763798237,
-0.09301134198904037,
0.03794053941965103,
0.029535334557294846,
0.00942140817642212,
-0.020704403519630432,
-0.05493001639842987,
0.029073523357510567,
0.017680209130048752,
0.03313525393605232,
0.0003309975436422974,
-0.012955608777701855,
0.04128417745232582,
-0.058376722037792206,
-0.0022495591547340155,
-0.15068639814853668,
-0.039090242236852646,
-0.07947983592748642,
-0.05711004510521889,
0.024284236133098602,
0.05088314786553383,
0.013379553332924843,
-0.048989299684762955,
0.0724625289440155,
-0.07203777879476547,
-0.01997341588139534,
0.013556734658777714,
0.04952041432261467,
-0.04967469349503517,
0.019441843032836914,
-0.03021233342587948,
0.07203970104455948,
0.095675989985466,
-0.008872016333043575,
-0.016657551750540733,
-0.03445488214492798,
-0.11687002331018448,
0.03433346003293991,
-0.04482331871986389,
0.0030524074099957943,
0.068914994597435,
0.01957682892680168,
0.0070199971087276936,
0.02498411014676094,
-0.05215878784656525,
0.03449777513742447,
0.07927503436803818,
-0.005625619553029537,
0.04543208330869675,
-0.0043577407486736774,
0.01665637455880642,
-0.00263055763207376,
0.05194839835166931,
-0.0609353631734848,
-0.04784558713436127,
0.03731008619070053,
-0.03638685494661331,
0.07031197100877762,
0.006470973137766123,
0.04982214421033859,
-0.07683368772268295,
-0.052961837500333786,
-0.03488475829362869,
0.08951715379953384,
0.06420321762561798,
-0.0045478795655071735,
-0.018940256908535957,
-0.03718385845422745,
0.08096213638782501,
-0.04148154705762863,
-0.06831119954586029,
-0.07710244506597519,
-0.03092878870666027,
-0.03718900308012962,
-5.247119887980694e-33,
0.04137250781059265,
-0.05554400384426117,
-0.0024909996427595615,
0.008934535086154938,
-0.03346150740981102,
0.1281595528125763,
-0.05305846408009529,
-0.059874679893255234,
-0.04575677588582039,
-0.04673179239034653,
-0.09691330790519714,
0.020596161484718323,
0.06935491412878036,
-0.06778621673583984,
0.05124063789844513,
-0.018430210649967194,
-0.07441245019435883,
-0.013004252687096596,
0.03154360130429268,
0.06988933682441711,
-0.08318682014942169,
0.03425931558012962,
-0.07593322545289993,
0.01656031608581543,
0.06130503490567207,
0.001864697551354766,
0.03782392665743828,
0.05055701360106468,
-0.001867624931037426,
-0.010432264767587185,
-0.034823060035705566,
0.014501410536468029,
-0.06091251224279404,
-0.06016511470079422,
0.05411763861775398,
0.025620141997933388,
-0.01735690049827099,
0.03746786341071129,
-0.02346622385084629,
-0.01867210492491722,
0.044778041541576385,
-0.034500788897275925,
-0.13270369172096252,
-0.024882696568965912,
-0.022580167278647423,
0.08251646161079407,
-0.03149719908833504,
-0.012573245912790298,
-0.05608747527003288,
0.017891863361001015,
0.00423771794885397,
0.017930010333657265,
0.031959641724824905,
-0.0225520022213459,
-0.005790416616946459,
0.0468018464744091,
0.05079031363129616,
-0.009511689655482769,
-0.011235305108129978,
-0.008181022480130196,
-0.029768608510494232,
-0.04400647431612015,
-0.011340961791574955,
-0.009184789843857288,
-0.030571293085813522,
-0.0935872346162796,
-0.0993977040052414,
0.06339645385742188,
-0.06444855034351349,
-0.02671489492058754,
-0.014679759740829468,
-0.03688198700547218,
0.017265230417251587,
-0.11351917684078217,
0.021160706877708435,
-0.0018591615371406078,
0.05365286394953728,
-0.02844814769923687,
-0.027177046984434128,
0.10182223469018936,
-0.011230867356061935,
0.0247499942779541,
0.09962744265794754,
0.016625018790364265,
-0.03668816387653351,
-0.01814371533691883,
0.020864730700850487,
0.03979704529047012,
-0.029631083831191063,
0.06839253753423691,
-0.0409848615527153,
0.017249856144189835,
0.03723011538386345,
0.03723464906215668,
0.0024624671787023544,
-4.910115336542731e-8,
0.004413556307554245,
-0.023393534123897552,
0.006506428588181734,
0.03237706422805786,
-0.021551813930273056,
0.04583565518260002,
0.02628965489566326,
-0.04701312258839607,
-0.12877102196216583,
-0.03547590598464012,
0.09479990601539612,
0.015822656452655792,
-0.055829424411058426,
0.01738790236413479,
-0.017136218026280403,
0.02829444780945778,
-0.016012482345104218,
0.005200279876589775,
-0.001049780403263867,
-0.011431614868342876,
0.04681779071688652,
0.016654137521982193,
0.022814396768808365,
0.03105207532644272,
-0.0865270122885704,
0.0058049773797392845,
0.002836970379576087,
-0.005995294079184532,
-0.008579496294260025,
-0.0072052692994475365,
-0.02946007438004017,
-0.02314923144876957,
0.012309934943914413,
0.03145517781376839,
-0.006058333907276392,
-0.014771760441362858,
-0.10418358445167542,
0.011159363202750683,
0.006296336650848389,
-0.020267704501748085,
0.015262787230312824,
0.017939070239663124,
-0.0465133897960186,
-0.07716143876314163,
-0.11708268523216248,
-0.012226469814777374,
-0.018453001976013184,
-0.09940136969089508,
-0.010110016912221909,
-0.019474949687719345,
-0.001260426128283143,
0.0418083518743515,
0.0009795220103114843,
0.12846757471561432,
0.048266928642988205,
0.08441194146871567,
0.09286189079284668,
-0.07018108665943146,
-0.026080381125211716,
-0.008174008689820766,
-0.01965402066707611,
0.0016837483271956444,
0.06950859725475311,
0.033210065215826035
] | 0.103803 |
# Install Use the installer unless you have a reason not to. It sets up the CLI and runs onboarding. ## Quick install (recommended) ```bash curl -fsSL https://openclaw.ai/install.sh | bash ``` Windows (PowerShell): ```powershell iwr -useb https://openclaw.ai/install.ps1 | iex ``` Next step (if you skipped onboarding): ```bash openclaw onboard --install-daemon ``` ## System requirements - \*\*Node >=22\*\* - macOS, Linux, or Windows via WSL2 - `pnpm` only if you build from source ## Choose your install path ### 1) Installer script (recommended) Installs `openclaw` globally via npm and runs onboarding. ```bash curl -fsSL https://openclaw.ai/install.sh | bash ``` Installer flags: ```bash curl -fsSL https://openclaw.ai/install.sh | bash -s -- --help ``` Details: [Installer internals](/install/installer). Non-interactive (skip onboarding): ```bash curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard ``` ### 2) Global install (manual) If you already have Node: ```bash npm install -g openclaw@latest ``` If you have libvips installed globally (common on macOS via Homebrew) and `sharp` fails to install, force prebuilt binaries: ```bash SHARP\_IGNORE\_GLOBAL\_LIBVIPS=1 npm install -g openclaw@latest ``` If you see `sharp: Please add node-gyp to your dependencies`, either install build tooling (macOS: Xcode CLT + `npm install -g node-gyp`) or use the `SHARP\_IGNORE\_GLOBAL\_LIBVIPS=1` workaround above to skip the native build. Or with pnpm: ```bash pnpm add -g openclaw@latest pnpm approve-builds -g # approve openclaw, node-llama-cpp, sharp, etc. ``` pnpm requires explicit approval for packages with build scripts. After the first install shows the "Ignored build scripts" warning, run `pnpm approve-builds -g` and select the listed packages. Then: ```bash openclaw onboard --install-daemon ``` ### 3) From source (contributors/dev) ```bash git clone https://github.com/openclaw/openclaw.git cd openclaw pnpm install pnpm ui:build # auto-installs UI deps on first run pnpm build openclaw onboard --install-daemon ``` Tip: if you don’t have a global install yet, run repo commands via `pnpm openclaw ...`. ### 4) Other install options - Docker: [Docker](/install/docker) - Nix: [Nix](/install/nix) - Ansible: [Ansible](/install/ansible) - Bun (CLI only): [Bun](/install/bun) ## After install - Run onboarding: `openclaw onboard --install-daemon` - Quick check: `openclaw doctor` - Check gateway health: `openclaw status` + `openclaw health` - Open the dashboard: `openclaw dashboard` ## Install method: npm vs git (installer) The installer supports two methods: - `npm` (default): `npm install -g openclaw@latest` - `git`: clone/build from GitHub and run from a source checkout ### CLI flags ```bash # Explicit npm curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method npm # Install from GitHub (source checkout) curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git ``` Common flags: - `--install-method npm|git` - `--git-dir ` (default: `~/openclaw`) - `--no-git-update` (skip `git pull` when using an existing checkout) - `--no-prompt` (disable prompts; required in CI/automation) - `--dry-run` (print what would happen; make no changes) - `--no-onboard` (skip onboarding) ### Environment variables Equivalent env vars (useful for automation): - `OPENCLAW\_INSTALL\_METHOD=git|npm` - `OPENCLAW\_GIT\_DIR=...` - `OPENCLAW\_GIT\_UPDATE=0|1` - `OPENCLAW\_NO\_PROMPT=1` - `OPENCLAW\_DRY\_RUN=1` - `OPENCLAW\_NO\_ONBOARD=1` - `SHARP\_IGNORE\_GLOBAL\_LIBVIPS=0|1` (default: `1`; avoids `sharp` building against system libvips) ## Troubleshooting: `openclaw` not found (PATH) Quick diagnosis: ```bash node -v npm -v npm prefix -g echo "$PATH" ``` If `$(npm prefix -g)/bin` (macOS/Linux) or `$(npm prefix -g)` (Windows) is \*\*not\*\* present inside `echo "$PATH"`, your shell can’t find global npm binaries (including `openclaw`). Fix: add it to your shell startup file (zsh: `~/.zshrc`, bash: `~/.bashrc`): ```bash # macOS / Linux export PATH="$(npm prefix -g)/bin:$PATH" ``` On Windows, add the output of `npm prefix -g` to your PATH. Then open a new terminal (or `rehash` in zsh / `hash -r` in bash). ## Update / uninstall - Updates: [Updating](/install/updating) - Migrate to a new machine: [Migrating](/install/migrating) - Uninstall: [Uninstall](/install/uninstall) | https://github.com/openclaw/openclaw/blob/main//docs/install/index.md | main | opebclaw | [
0.03395712375640869,
-0.05734826996922493,
-0.056407369673252106,
0.012898269109427929,
0.04841700941324234,
-0.07066696882247925,
-0.07067622989416122,
0.04587845876812935,
-0.05787515640258789,
0.004523470997810364,
0.031291406601667404,
-0.047494661062955856,
-0.005458926782011986,
0.0516832135617733,
0.059052515774965286,
0.1146298497915268,
0.04542725533246994,
-0.03295902907848358,
0.0843999907374382,
-0.00822190660983324,
-0.05273003503680229,
-0.00773601746186614,
-0.000666402222122997,
-0.1035415306687355,
-0.10163060575723648,
-0.02631063386797905,
-0.0028723841533064842,
0.04350099340081215,
-0.017612777650356293,
-0.009351268410682678,
0.024590661749243736,
0.006482778582721949,
0.05565866082906723,
0.03696015849709511,
0.0927676409482956,
0.09378020465373993,
0.07532797753810883,
-0.06246182322502136,
-0.19012470543384552,
-0.06671130657196045,
0.07581975311040878,
0.04136253893375397,
-0.0009124769130721688,
-0.05099029839038849,
0.008992571383714676,
-0.05833818390965462,
-0.02007261849939823,
-0.05981580540537834,
0.02655641734600067,
0.016108309850096703,
-0.07470570504665375,
-0.10171602666378021,
0.02613329514861107,
-0.10119161009788513,
-0.019446104764938354,
0.013245275244116783,
0.006767056416720152,
-0.022334454581141472,
0.050357554107904434,
-0.0913969948887825,
0.05248825252056122,
-0.04257547855377197,
-0.02953292243182659,
0.039739951491355896,
-0.09807001799345016,
0.051575712859630585,
-0.03543946519494057,
-0.0844951644539833,
-0.022710435092449188,
-0.03250002861022949,
-0.03656565770506859,
-0.0016123885288834572,
-0.05768477916717529,
-0.02535509318113327,
-0.08985698968172073,
-0.001880935626104474,
0.08936963230371475,
0.05789416655898094,
-0.041492924094200134,
-0.015672355890274048,
-0.11109676957130432,
0.03162078186869621,
-0.1136951893568039,
0.002260873792693019,
0.012639015913009644,
0.12943772971630096,
-0.016449227929115295,
0.03152017667889595,
-0.027724945917725563,
0.012806476093828678,
0.047752346843481064,
-0.0902039110660553,
-0.049176886677742004,
0.015156019479036331,
0.017733214423060417,
0.018039247021079063,
0.04478994384407997,
0.04397508502006531,
-0.0424962192773819,
0.018782446160912514,
-0.05538150295615196,
-0.03602767735719681,
0.002100336831063032,
0.00764161441475153,
-0.13044197857379913,
0.03857574239373207,
0.02497396618127823,
0.07471803575754166,
0.00634930981323123,
-0.059504181146621704,
0.009079142473638058,
-0.00544687220826745,
0.07713193446397781,
-0.0488603301346302,
-0.012160221114754677,
0.06442829966545105,
-0.03276238217949867,
-0.0014629294164478779,
0.06000526621937752,
0.06544512510299683,
0.0496024563908577,
0.018338730558753014,
0.04425511881709099,
0.004830453544855118,
0.08206895738840103,
0.01536142360419035,
0.06293754279613495,
3.286378413077825e-33,
0.024580450728535652,
-0.013148496858775616,
-0.06743165105581284,
0.04647034406661987,
0.10246727615594864,
-0.06150144338607788,
0.043183229863643646,
-0.04036038741469383,
-0.07132744044065475,
0.08188703656196594,
0.007158900145441294,
0.034023217856884,
-0.04797773435711861,
-0.0024618583265691996,
0.09914397448301315,
-0.054676394909620285,
-0.01607757993042469,
0.014036147855222225,
0.046593181788921356,
-0.007318713236600161,
0.026798347011208534,
-0.0912233367562294,
-0.0094067407771945,
-0.015165508724749088,
0.016111642122268677,
-0.03013893961906433,
0.013853817246854305,
0.0048358989879488945,
0.09294936805963516,
0.009819896891713142,
0.013847935013473034,
-0.005152466706931591,
-0.07077385485172272,
-0.023983236402273178,
-0.014707854948937893,
-0.044918932020664215,
-0.10776963829994202,
0.0065168053843081,
-0.01752336323261261,
0.04215642064809799,
0.011596131138503551,
0.009663923643529415,
-0.006589686963707209,
-0.044439125806093216,
0.07961199432611465,
-0.10967648774385452,
0.003538961987942457,
0.024226505309343338,
0.07190068811178207,
-0.05164013057947159,
0.013910886831581593,
0.002425960497930646,
0.08544032275676727,
0.010239137336611748,
-0.04596688598394394,
0.018803196027874947,
0.019043628126382828,
-0.06897491216659546,
0.012844202108681202,
-0.029225610196590424,
-0.005299950018525124,
0.054313864558935165,
0.023044053465127945,
0.010942249558866024,
0.00928958784788847,
-0.05603967234492302,
0.06772499531507492,
0.007108884397894144,
-0.07398156821727753,
0.0787893757224083,
-0.009165214374661446,
-0.008796710520982742,
-0.005972559563815594,
0.024128371849656105,
-0.00881179329007864,
-0.024264788255095482,
0.02923090197145939,
-0.02370830625295639,
0.03710919991135597,
0.04956420883536339,
-0.01690809614956379,
0.06364452838897705,
-0.026897139847278595,
0.024970076978206635,
0.09949995577335358,
-0.020475659519433975,
-0.025629950687289238,
0.005774017423391342,
0.00881429947912693,
0.033273544162511826,
-0.02152688428759575,
-0.049826476722955704,
-0.0344371534883976,
-0.01203406322747469,
-0.012394491583108902,
-5.0292614791809684e-33,
0.01228283904492855,
-0.04950019344687462,
0.08686292916536331,
-0.02488541789352894,
-0.06332554668188095,
0.027963561937212944,
-0.07410365343093872,
-0.06533794105052948,
-0.03344382345676422,
-0.045113466680049896,
-0.03746461495757103,
0.1081584244966507,
0.06957858800888062,
-0.02231186255812645,
0.03900405392050743,
0.04176415130496025,
-0.06581974029541016,
0.040204498916864395,
0.05107996612787247,
-0.008252766914665699,
-0.0015190079575404525,
0.03679608553647995,
0.083455391228199,
-0.010560051538050175,
0.042462654411792755,
0.004300135187804699,
0.08360438793897629,
0.057510845363140106,
-0.02360917627811432,
-0.016382165253162384,
-0.0362715944647789,
0.09987818449735641,
-0.03380019962787628,
0.012863928452134132,
-0.020457644015550613,
0.06742868572473526,
0.014625312760472298,
0.014189429581165314,
0.028846081346273422,
0.0039272247813642025,
0.016602657735347748,
-0.032005857676267624,
-0.11153261363506317,
-0.08512747287750244,
-0.027179526165127754,
0.007744878064841032,
0.026552949100732803,
-0.02068031206727028,
-0.06841222196817398,
0.024994270876049995,
-0.06739921122789383,
0.05328525975346565,
0.017626434564590454,
0.03264252096414566,
0.025052106007933617,
-0.022790953516960144,
-0.002033688360825181,
-0.007418819237500429,
-0.008687907829880714,
-0.10239572823047638,
-0.011484296061098576,
-0.027665257453918457,
0.015714649111032486,
-0.017919309437274933,
-0.06403053551912308,
0.00160320196300745,
-0.05506941303610802,
0.04872479289770126,
-0.15390722453594208,
0.006093202158808708,
-0.10475075989961624,
0.013979409821331501,
-0.0003790775081142783,
-0.028681451454758644,
0.01103538554161787,
0.0297391414642334,
-0.013810222037136555,
0.014397598803043365,
0.017029885202646255,
0.040905606001615524,
-0.006862098816782236,
-0.004718972835689783,
0.02045176550745964,
-0.032340649515390396,
-0.02221057191491127,
-0.030424175783991814,
0.011922788806259632,
0.008733512833714485,
0.034315209835767746,
-0.016803622245788574,
-0.035412441939115524,
-0.024437401443719864,
0.08523070067167282,
-0.023915115743875504,
-0.009352841414511204,
-5.416824677695331e-8,
-0.04343373328447342,
-0.036161258816719055,
-0.061666324734687805,
0.012313755229115486,
-0.0073209661059081554,
-0.04249252751469612,
0.004511397331953049,
-0.03122135065495968,
-0.031220510601997375,
-0.037799715995788574,
0.09466134011745453,
-0.01148820947855711,
-0.0706406757235527,
0.028763804584741592,
-0.06709427386522293,
0.12213081866502762,
-0.05148037150502205,
0.01840614341199398,
0.051826607435941696,
-0.07878157496452332,
0.043485429137945175,
0.0037682652473449707,
0.11623065173625946,
0.09792610257863998,
0.021747952327132225,
-0.01923351176083088,
0.006663184147328138,
-0.05598684027791023,
0.001644830801524222,
0.02262200228869915,
-0.05212828889489174,
-0.04477626085281372,
0.0075474088080227375,
0.013959436677396297,
0.09649013727903366,
-0.05234318971633911,
-0.032938484102487564,
0.08309711515903473,
0.07107316702604294,
-0.06943394988775253,
0.03895903751254082,
0.08913226425647736,
-0.0419548936188221,
-0.04918624460697174,
-0.05959821864962578,
0.0423484668135643,
-0.056603435426950455,
0.00809792336076498,
-0.027126502245664597,
-0.043456606566905975,
0.052859093993902206,
-0.007796359248459339,
-0.0006443341844715178,
0.07689465582370758,
0.00272729666903615,
0.13819701969623566,
0.018159108236432076,
-0.05708228424191475,
0.028674831613898277,
0.03240085020661354,
-0.037674516439437866,
-0.013194349594414234,
0.05401238426566124,
-0.023948024958372116
] | -0.004083 |
prefix -g` to your PATH. Then open a new terminal (or `rehash` in zsh / `hash -r` in bash). ## Update / uninstall - Updates: [Updating](/install/updating) - Migrate to a new machine: [Migrating](/install/migrating) - Uninstall: [Uninstall](/install/uninstall) | https://github.com/openclaw/openclaw/blob/main//docs/install/index.md | main | opebclaw | [
0.07675527036190033,
0.005332618951797485,
0.019472798332571983,
-0.09719954431056976,
0.033026427030563354,
-0.06247715279459953,
0.039632104337215424,
-0.06782800704240799,
-0.017809132114052773,
0.04946266859769821,
0.04867953807115555,
0.001857673516497016,
0.013540743850171566,
-0.004854301456362009,
0.002979152835905552,
0.030273227021098137,
-0.04749970883131027,
0.03627315163612366,
-0.02732788398861885,
-0.021029196679592133,
-0.0652734711766243,
0.029935583472251892,
-0.01692822203040123,
0.024689193814992905,
0.040905311703681946,
-0.019717741757631302,
0.005686903838068247,
0.0325569212436676,
-0.02857309766113758,
-0.005291961599141359,
-0.01582586020231247,
0.08083830773830414,
-0.02148422598838806,
-0.11137265712022781,
0.049311358481645584,
0.09174323827028275,
0.03339974209666252,
0.030484845861792564,
0.020073361694812775,
-0.017616229131817818,
0.08443402498960495,
0.024873588234186172,
-0.05558966100215912,
-0.11297842860221863,
-0.007323191501200199,
0.06983312219381332,
-0.058309610933065414,
-0.0406390056014061,
-0.030437948182225227,
0.003396649146452546,
0.05253923684358597,
-0.013810458593070507,
-0.09101489931344986,
0.036871377378702164,
0.042346175760030746,
0.04177284240722656,
0.0023295937571674585,
0.05554366484284401,
0.0229388065636158,
0.00953944493085146,
0.02991071343421936,
0.0925990492105484,
-0.009802600368857384,
0.013541022315621376,
-0.04632578045129776,
-0.04233809560537338,
0.047589272260665894,
-0.03803272917866707,
0.014100568369030952,
0.0016479954356327653,
0.006801838055253029,
0.012931464239954948,
-0.00273454119451344,
-0.09643484652042389,
-0.059782277792692184,
-0.02014787122607231,
0.10099520534276962,
-0.024319062009453773,
-0.042334284633398056,
0.03343057259917259,
-0.007555927149951458,
-0.011516405269503593,
-0.049852170050144196,
-0.003324946854263544,
-0.00808651465922594,
0.02480228617787361,
-0.038917530328035355,
-0.04927416518330574,
0.05382755026221275,
0.007445750758051872,
0.000058161604101769626,
-0.03400276601314545,
0.10967366397380829,
-0.02081814780831337,
-0.030217470601201057,
-0.02443752810359001,
0.00707652885466814,
0.05790771171450615,
-0.050871267914772034,
0.08106806874275208,
0.016692519187927246,
-0.014491664245724678,
0.039838723838329315,
-0.04465503618121147,
-0.055020228028297424,
0.11258202791213989,
-0.023160429671406746,
0.019975941628217697,
-0.02719266712665558,
-0.001706597045995295,
-0.06522303819656372,
-0.04014962911605835,
-0.013319038785994053,
0.002718323143199086,
-0.06216156482696533,
0.02730228751897812,
0.013086140155792236,
0.062000174075365067,
-0.07213807106018066,
0.08909288793802261,
0.04345301166176796,
-0.008771173655986786,
-0.007254126947373152,
0.041092198342084885,
-0.08968417346477509,
-0.005523046012967825,
0.02230161242187023,
-2.3888071099754127e-33,
-0.03121480718255043,
0.04935016855597496,
0.025879671797156334,
0.023171188309788704,
0.06938103586435318,
0.0680217519402504,
-0.018248796463012695,
0.059265609830617905,
0.03736778721213341,
0.01885899342596531,
0.04375307261943817,
0.03477676585316658,
-0.057504408061504364,
0.016884054988622665,
0.04211725667119026,
-0.041070763021707535,
0.0706683099269867,
0.017157411202788353,
0.01358917634934187,
-0.013540825806558132,
0.07360740751028061,
0.037709128111600876,
-0.08359779417514801,
-0.04344954714179039,
0.06049249321222305,
-0.07805860042572021,
0.016258418560028076,
-0.050608474761247635,
-0.015325885266065598,
-0.01781696267426014,
0.04572267830371857,
0.006287997122853994,
-0.05605120584368706,
0.029265299439430237,
-0.0672265887260437,
-0.028443824499845505,
-0.030909191817045212,
-0.04318757727742195,
-0.04462785646319389,
-0.027449272572994232,
0.06166663393378258,
0.01926473341882229,
-0.051365260034799576,
0.020730920135974884,
0.15673844516277313,
0.03805696964263916,
-0.023073673248291016,
-0.11233726888895035,
0.09730184823274612,
-0.09373404085636139,
0.03441738337278366,
-0.08373656868934631,
0.008102679625153542,
-0.049815934151411057,
-0.10905008018016815,
-0.04081373289227486,
-0.015637366101145744,
-0.03604292869567871,
-0.0033475980162620544,
-0.03763007000088692,
-0.019048752263188362,
0.02851814031600952,
0.00934982392936945,
0.10407805442810059,
0.0413430817425251,
-0.08060000836849213,
-0.056377071887254715,
0.02343675307929516,
-0.012034537270665169,
0.07704506814479828,
-0.12458217889070511,
0.004803523886948824,
0.0014631823869422078,
0.05431034415960312,
-0.04566827416419983,
-0.044626060873270035,
-0.10364247858524323,
-0.002275761915370822,
0.030449120327830315,
0.060917146503925323,
0.03952321782708168,
0.006839694455265999,
-0.19152696430683136,
0.06263414025306702,
0.09779051691293716,
0.0014215892879292369,
-0.029014447703957558,
-0.015282793901860714,
-0.021867625415325165,
-0.010359875857830048,
0.04372231662273407,
0.03296700865030289,
-0.047959983348846436,
-0.0876777246594429,
-0.029058869928121567,
-2.5520270719809798e-33,
0.05217859148979187,
0.04544106498360634,
0.007028278429061174,
-0.0036456978414207697,
-0.05288348346948624,
-0.03339448198676109,
-0.0004039558698423207,
0.04788386821746826,
-0.012804889120161533,
-0.06197067350149155,
-0.019374199211597443,
0.10060253739356995,
0.09310431033372879,
-0.04674127325415611,
-0.011471142061054707,
0.02187173254787922,
-0.030239159241318703,
-0.011080878786742687,
-0.10648660361766815,
0.011011740192770958,
-0.012574261985719204,
-0.025934327393770218,
0.009627916850149632,
0.016707638278603554,
-0.02906377986073494,
-0.08990602940320969,
0.08024680614471436,
0.08236498385667801,
0.05860409140586853,
0.06320905685424805,
0.0028068427927792072,
0.052274562418460846,
-0.012672671116888523,
-0.059329599142074585,
-0.00862343143671751,
0.081187903881073,
0.025176532566547394,
-0.001345645054243505,
-0.038725823163986206,
-0.014633378945291042,
-0.017542118206620216,
-0.046595823019742966,
-0.034955307841300964,
-0.043307650834321976,
-0.021241093054413795,
0.07842683047056198,
-0.012215467169880867,
-0.0430622436106205,
-0.03314585983753204,
-0.01074856799095869,
0.04880903661251068,
0.0251353457570076,
-0.07308665663003922,
-0.03797808662056923,
0.06026280298829079,
0.0464775413274765,
-0.016699735075235367,
0.014902308583259583,
-0.07806196808815002,
-0.08564962446689606,
-0.009830478578805923,
0.13012754917144775,
-0.02048955112695694,
0.027092523872852325,
-0.052324771881103516,
-0.03688954561948776,
-0.052004583179950714,
-0.03264813497662544,
-0.04494597017765045,
-0.03434619680047035,
-0.0047640083357691765,
0.1111137643456459,
-0.0136668486520648,
-0.02024971880018711,
0.013581322506070137,
-0.09845056384801865,
0.016419464722275734,
-0.018428916111588478,
0.030269507318735123,
-0.023243803530931473,
0.01871386170387268,
-0.019394727423787117,
0.018548227846622467,
-0.019349202513694763,
-0.07514245063066483,
-0.08636940270662308,
-0.011869457550346851,
-0.05389095097780228,
0.010971816256642342,
-0.007489654701203108,
0.028362520039081573,
-0.001830892520956695,
0.044769227504730225,
-0.10325531661510468,
-0.07172665745019913,
-3.770819745341214e-8,
0.006331894546747208,
-0.0471673309803009,
0.06261926144361496,
0.01865973323583603,
0.09276720136404037,
0.03431762754917145,
-0.015198580920696259,
0.11608323454856873,
-0.0008241036557592452,
-0.043071337044239044,
-0.05201057717204094,
0.09811638295650482,
-0.020208848640322685,
0.02555106393992901,
-0.061305295675992966,
0.039089690893888474,
-0.0318165048956871,
0.03740624338388443,
0.047755371779203415,
0.020245421677827835,
-0.09505005925893784,
0.02409980073571205,
-0.03167981281876564,
0.028192048892378807,
0.039108794182538986,
-0.055212389677762985,
0.013153121806681156,
-0.011527997441589832,
0.03685842081904411,
0.027365710586309433,
0.08361180871725082,
-0.03711053356528282,
0.06753675639629364,
0.01697823964059353,
0.02737954445183277,
-0.07392307370901108,
-0.028170714154839516,
0.05669185519218445,
0.009834510274231434,
-0.02025938220322132,
-0.017588166519999504,
0.10473097115755081,
0.1006215289235115,
-0.005031073000282049,
-0.12522399425506592,
-0.10013946890830994,
0.04790925607085228,
0.003975589759647846,
0.0021464810706675053,
-0.020757455378770828,
0.015982331708073616,
0.04448419809341431,
-0.11697308719158173,
-0.02798956073820591,
0.004868857096880674,
-0.0011916824150830507,
-0.05436911806464195,
-0.05437622591853142,
-0.07969880104064941,
-0.00910523533821106,
-0.0030003583524376154,
0.008525604382157326,
0.005906818434596062,
-0.05626888573169708
] | -0.024203 |
# Development channels Last updated: 2026-01-21 OpenClaw ships three update channels: - \*\*stable\*\*: npm dist-tag `latest`. - \*\*beta\*\*: npm dist-tag `beta` (builds under test). - \*\*dev\*\*: moving head of `main` (git). npm dist-tag: `dev` (when published). We ship builds to \*\*beta\*\*, test them, then \*\*promote a vetted build to `latest`\*\* without changing the version number — dist-tags are the source of truth for npm installs. ## Switching channels Git checkout: ```bash openclaw update --channel stable openclaw update --channel beta openclaw update --channel dev ``` - `stable`/`beta` check out the latest matching tag (often the same tag). - `dev` switches to `main` and rebases on the upstream. npm/pnpm global install: ```bash openclaw update --channel stable openclaw update --channel beta openclaw update --channel dev ``` This updates via the corresponding npm dist-tag (`latest`, `beta`, `dev`). When you \*\*explicitly\*\* switch channels with `--channel`, OpenClaw also aligns the install method: - `dev` ensures a git checkout (default `~/openclaw`, override with `OPENCLAW\_GIT\_DIR`), updates it, and installs the global CLI from that checkout. - `stable`/`beta` installs from npm using the matching dist-tag. Tip: if you want stable + dev in parallel, keep two clones and point your gateway at the stable one. ## Plugins and channels When you switch channels with `openclaw update`, OpenClaw also syncs plugin sources: - `dev` prefers bundled plugins from the git checkout. - `stable` and `beta` restore npm-installed plugin packages. ## Tagging best practices - Tag releases you want git checkouts to land on (`vYYYY.M.D` or `vYYYY.M.D-`). - Keep tags immutable: never move or reuse a tag. - npm dist-tags remain the source of truth for npm installs: - `latest` → stable - `beta` → candidate build - `dev` → main snapshot (optional) ## macOS app availability Beta and dev builds may \*\*not\*\* include a macOS app release. That’s OK: - The git tag and npm dist-tag can still be published. - Call out “no macOS build for this beta” in release notes or changelog. | https://github.com/openclaw/openclaw/blob/main//docs/install/development-channels.md | main | opebclaw | [
0.019812412559986115,
-0.07528959959745407,
-0.0005200492450967431,
0.008296388201415539,
0.07626072317361832,
-0.10584346204996109,
-0.03556036576628685,
-0.047928497195243835,
-0.01840696670114994,
0.08841200172901154,
0.01175445131957531,
0.019144730642437935,
-0.06932932883501053,
0.010956251993775368,
0.07540152966976166,
0.11001996695995331,
-0.02039911039173603,
-0.012182499282062054,
0.05171634256839752,
0.0231323279440403,
-0.08469101041555405,
0.06790591031312943,
0.03010002337396145,
0.017319446429610252,
-0.02114108018577099,
-0.034597691148519516,
-0.052537668496370316,
0.03834563121199608,
-0.007041366305202246,
-0.06610246002674103,
0.021343717351555824,
0.1067669540643692,
-0.0021625575609505177,
0.0023306452203541994,
0.053304340690374374,
0.08576088398694992,
-0.04919740930199623,
-0.03571396693587303,
-0.07051243633031845,
0.016556113958358765,
0.11242309212684631,
0.023509889841079712,
-0.02185746282339096,
-0.055339884012937546,
-0.03908456861972809,
0.014423544518649578,
-0.04937153309583664,
-0.05592845380306244,
-0.018155090510845184,
-0.03379438817501068,
-0.04581755772233009,
-0.14589731395244598,
-0.05858778581023216,
-0.03404170647263527,
0.07796060293912888,
0.03733198717236519,
0.05950313061475754,
-0.02571701817214489,
0.05093970149755478,
-0.01838359236717224,
0.06117172911763191,
0.01716627925634384,
-0.08528529107570648,
0.004373911768198013,
-0.023900656029582024,
0.006769184954464436,
0.030460882931947708,
0.011976652778685093,
-0.026565130800008774,
0.01963956467807293,
0.030345452949404716,
0.02383788302540779,
0.0067958286963403225,
-0.10119680315256119,
-0.041670262813568115,
-0.03836215287446976,
0.07276712357997894,
0.06390070915222168,
-0.017979692667722702,
-0.03969229757785797,
-0.04620993882417679,
-0.07737789303064346,
-0.05653473734855652,
-0.04499980807304382,
-0.030340570956468582,
0.12785862386226654,
0.020761968567967415,
0.047963034361600876,
0.022693905979394913,
0.021768424659967422,
-0.05174229294061661,
-0.04613097757101059,
0.06496018916368484,
0.047428276389837265,
-0.04313737526535988,
-0.0013294172240421176,
0.01869933493435383,
0.03273143619298935,
0.03986944630742073,
0.08458652347326279,
0.03700055181980133,
-0.015298018231987953,
0.041256386786699295,
-0.017698371782898903,
-0.031455859541893005,
0.0586811900138855,
0.040695883333683014,
0.06289183348417282,
-0.012988772243261337,
0.03236238285899162,
0.015866249799728394,
-0.021133145317435265,
0.06948845833539963,
-0.06071659177541733,
-0.0667496770620346,
0.047816596925258636,
0.011927484534680843,
0.0435195118188858,
0.024267610162496567,
0.10804148018360138,
0.07894755154848099,
0.01360263954848051,
0.03509816154837608,
0.005087330937385559,
-0.06158057600259781,
0.07916389405727386,
0.07239018380641937,
6.057437000486453e-33,
0.09249623119831085,
-0.03769895061850548,
-0.08968903869390488,
0.018189942464232445,
0.12037106603384018,
0.07852113246917725,
0.04779703542590141,
-0.02904718555510044,
-0.0768577978014946,
-0.005172491539269686,
0.03671615943312645,
-0.025908902287483215,
-0.11195524036884308,
0.009359007701277733,
-0.00006157399184303358,
-0.11172128468751907,
-0.03817307949066162,
0.027970802038908005,
0.021254247054457664,
0.029784804210066795,
-0.027525532990694046,
-0.06040772423148155,
-0.10871957242488861,
-0.027662357315421104,
0.0824153870344162,
-0.057641416788101196,
0.01978275738656521,
0.020252758637070656,
-0.04089374467730522,
0.007133668754249811,
0.06449738889932632,
0.07268555462360382,
-0.0326412171125412,
0.04743725061416626,
-0.05074184760451317,
-0.03789442032575607,
-0.15032657980918884,
-0.02615002728998661,
-0.08061851561069489,
-0.06975877285003662,
0.003616542788222432,
0.022678030654788017,
-0.0868411660194397,
-0.030676448717713356,
0.10788346081972122,
-0.08140150457620621,
-0.01770786941051483,
0.00949930865317583,
0.08619719743728638,
-0.030454915016889572,
0.030450185760855675,
0.05787230283021927,
0.0047189584001898766,
-0.05228584259748459,
-0.0009856439428403974,
-0.07205016911029816,
-0.02958034537732601,
-0.059945620596408844,
-0.008828225545585155,
-0.022390123456716537,
-0.01447230949997902,
0.022544708102941513,
0.014743470586836338,
-0.02394595555961132,
0.042698122560977936,
0.0840061828494072,
0.05780087038874626,
0.054472457617521286,
0.06611672788858414,
0.016485128551721573,
-0.054422538727521896,
-0.026788348332047462,
-0.02793697454035282,
0.05660758540034294,
-0.05501030758023262,
-0.02437499165534973,
-0.01982533000409603,
0.009217974729835987,
0.03138267248868942,
-0.0072895800694823265,
0.013705186545848846,
0.056952688843011856,
-0.0966968759894371,
0.07296308130025864,
0.0752861350774765,
0.03923898562788963,
0.04590458795428276,
0.01460071001201868,
-0.004185922909528017,
0.05877666920423508,
0.04985186085104942,
-0.02135472185909748,
-0.04743214696645737,
-0.022935431450605392,
0.009125725366175175,
-5.904937546960385e-33,
-0.034326259046792984,
0.029350120574235916,
-0.07580046355724335,
0.0116976797580719,
-0.10643895715475082,
-0.12330938875675201,
-0.030835069715976715,
-0.053247082978487015,
0.012427673675119877,
-0.00862825382500887,
-0.04333215206861496,
0.03459492325782776,
-0.021727900952100754,
-0.013215407729148865,
-0.004220293369144201,
-0.023362547159194946,
-0.04984744265675545,
-0.04700391739606857,
0.014005057513713837,
0.008107871748507023,
0.03616448864340782,
0.08132371306419373,
-0.05450990051031113,
0.05204391106963158,
0.012972836382687092,
-0.0006309043383225799,
0.04990161582827568,
0.03914467990398407,
0.051355186849832535,
-0.07216944545507431,
-0.013944861479103565,
0.03652672469615936,
-0.11781565099954605,
0.0329841785132885,
-0.028683209791779518,
0.03053179755806923,
-0.00978209637105465,
0.04996982216835022,
0.04301323741674423,
0.053273748606443405,
0.014032361097633839,
0.043249234557151794,
-0.04397914558649063,
-0.0497312992811203,
-0.05117525905370712,
0.07773970812559128,
0.0844990462064743,
-0.002754252403974533,
-0.09136846661567688,
-0.06024429202079773,
-0.008925599977374077,
0.036480363458395004,
-0.0006544648786075413,
-0.025801701471209526,
0.038367558270692825,
-0.019156165421009064,
-0.002371427370235324,
0.05815495550632477,
-0.0595039501786232,
-0.07578318566083908,
0.06656841933727264,
-0.02997412718832493,
0.04928787052631378,
0.018550865352153778,
-0.06199326366186142,
-0.027933349832892418,
-0.06627719104290009,
0.008846632204949856,
-0.034553349018096924,
-0.009751435369253159,
-0.0795675590634346,
0.008634584955871105,
-0.03713444247841835,
-0.05365970730781555,
-0.03472062200307846,
-0.02239428646862507,
-0.012227877974510193,
-0.015505700372159481,
-0.013150027953088284,
0.03924121707677841,
-0.04667291417717934,
0.04104640334844589,
0.017780346795916557,
0.02711150236427784,
-0.04050571843981743,
-0.025235598906874657,
0.06085427105426788,
0.03922048211097717,
0.056454382836818695,
-0.007271104026585817,
-0.018748290836811066,
0.022594505921006203,
-0.01527294609695673,
0.0023247802164405584,
-0.0065910182893276215,
-4.885121995812369e-8,
0.01911119557917118,
-0.02219468168914318,
-0.09885061532258987,
0.0034216975327581167,
0.04142897576093674,
-0.0065092118456959724,
0.04150513932108879,
0.02480260841548443,
-0.038207732141017914,
-0.0015335490461438894,
0.04335753992199898,
0.1100003719329834,
-0.029079141095280647,
0.06562309712171555,
0.01885329559445381,
0.05016579106450081,
-0.0429249070584774,
0.006291980855166912,
-0.016820281744003296,
-0.08635874837636948,
-0.045531418174505234,
0.0440327487885952,
0.0630602166056633,
0.0791398212313652,
-0.04637080058455467,
-0.0729457214474678,
0.02123330533504486,
0.021511191502213478,
-0.030568836256861687,
0.016776422038674355,
0.055407434701919556,
-0.0025337128899991512,
-0.03211229294538498,
-0.03238200768828392,
0.02809331566095352,
0.00724931713193655,
0.009959408082067966,
0.05168008804321289,
0.10530431568622589,
0.051886674016714096,
0.0015501570887863636,
-0.06999806314706802,
-0.030866321176290512,
0.04065055027604103,
-0.12616637349128723,
-0.03713907301425934,
-0.08617932349443436,
-0.022338783368468285,
-0.025760412216186523,
-0.1105092465877533,
0.023980578407645226,
-0.005734879523515701,
-0.01762326806783676,
0.026375504210591316,
0.05327499657869339,
0.1095871552824974,
-0.021786196157336235,
-0.03233989700675011,
-0.014260619878768921,
-0.0027922787703573704,
0.028757892549037933,
-0.021007049828767776,
0.06540040671825409,
-0.04892205819487572
] | 0.072061 |
# Ansible Installation The recommended way to deploy OpenClaw to production servers is via \*\*[openclaw-ansible](https://github.com/openclaw/openclaw-ansible)\*\* — an automated installer with security-first architecture. ## Quick Start One-command install: ```bash curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw-ansible/main/install.sh | bash ``` > \*\*📦 Full guide: [github.com/openclaw/openclaw-ansible](https://github.com/openclaw/openclaw-ansible)\*\* > > The openclaw-ansible repo is the source of truth for Ansible deployment. This page is a quick overview. ## What You Get - 🔒 \*\*Firewall-first security\*\*: UFW + Docker isolation (only SSH + Tailscale accessible) - 🔐 \*\*Tailscale VPN\*\*: Secure remote access without exposing services publicly - 🐳 \*\*Docker\*\*: Isolated sandbox containers, localhost-only bindings - 🛡️ \*\*Defense in depth\*\*: 4-layer security architecture - 🚀 \*\*One-command setup\*\*: Complete deployment in minutes - 🔧 \*\*Systemd integration\*\*: Auto-start on boot with hardening ## Requirements - \*\*OS\*\*: Debian 11+ or Ubuntu 20.04+ - \*\*Access\*\*: Root or sudo privileges - \*\*Network\*\*: Internet connection for package installation - \*\*Ansible\*\*: 2.14+ (installed automatically by quick-start script) ## What Gets Installed The Ansible playbook installs and configures: 1. \*\*Tailscale\*\* (mesh VPN for secure remote access) 2. \*\*UFW firewall\*\* (SSH + Tailscale ports only) 3. \*\*Docker CE + Compose V2\*\* (for agent sandboxes) 4. \*\*Node.js 22.x + pnpm\*\* (runtime dependencies) 5. \*\*OpenClaw\*\* (host-based, not containerized) 6. \*\*Systemd service\*\* (auto-start with security hardening) Note: The gateway runs \*\*directly on the host\*\* (not in Docker), but agent sandboxes use Docker for isolation. See [Sandboxing](/gateway/sandboxing) for details. ## Post-Install Setup After installation completes, switch to the openclaw user: ```bash sudo -i -u openclaw ``` The post-install script will guide you through: 1. \*\*Onboarding wizard\*\*: Configure OpenClaw settings 2. \*\*Provider login\*\*: Connect WhatsApp/Telegram/Discord/Signal 3. \*\*Gateway testing\*\*: Verify the installation 4. \*\*Tailscale setup\*\*: Connect to your VPN mesh ### Quick commands ```bash # Check service status sudo systemctl status openclaw # View live logs sudo journalctl -u openclaw -f # Restart gateway sudo systemctl restart openclaw # Provider login (run as openclaw user) sudo -i -u openclaw openclaw channels login ``` ## Security Architecture ### 4-Layer Defense 1. \*\*Firewall (UFW)\*\*: Only SSH (22) + Tailscale (41641/udp) exposed publicly 2. \*\*VPN (Tailscale)\*\*: Gateway accessible only via VPN mesh 3. \*\*Docker Isolation\*\*: DOCKER-USER iptables chain prevents external port exposure 4. \*\*Systemd Hardening\*\*: NoNewPrivileges, PrivateTmp, unprivileged user ### Verification Test external attack surface: ```bash nmap -p- YOUR\_SERVER\_IP ``` Should show \*\*only port 22\*\* (SSH) open. All other services (gateway, Docker) are locked down. ### Docker Availability Docker is installed for \*\*agent sandboxes\*\* (isolated tool execution), not for running the gateway itself. The gateway binds to localhost only and is accessible via Tailscale VPN. See [Multi-Agent Sandbox & Tools](/multi-agent-sandbox-tools) for sandbox configuration. ## Manual Installation If you prefer manual control over the automation: ```bash # 1. Install prerequisites sudo apt update && sudo apt install -y ansible git # 2. Clone repository git clone https://github.com/openclaw/openclaw-ansible.git cd openclaw-ansible # 3. Install Ansible collections ansible-galaxy collection install -r requirements.yml # 4. Run playbook ./run-playbook.sh # Or run directly (then manually execute /tmp/openclaw-setup.sh after) # ansible-playbook playbook.yml --ask-become-pass ``` ## Updating OpenClaw The Ansible installer sets up OpenClaw for manual updates. See [Updating](/install/updating) for the standard update flow. To re-run the Ansible playbook (e.g., for configuration changes): ```bash cd openclaw-ansible ./run-playbook.sh ``` Note: This is idempotent and safe to run multiple times. ## Troubleshooting ### Firewall blocks my connection If you're locked out: - Ensure you can access via Tailscale VPN first - SSH access (port 22) is always allowed - The gateway is \*\*only\*\* accessible via Tailscale by design ### Service won't start ```bash # Check logs sudo journalctl -u openclaw -n 100 # Verify permissions sudo ls -la /opt/openclaw # Test manual start sudo -i -u openclaw cd ~/openclaw | https://github.com/openclaw/openclaw/blob/main//docs/install/ansible.md | main | opebclaw | [
0.0182209312915802,
-0.002483523916453123,
-0.06422659009695053,
-0.01732887513935566,
0.02607724256813526,
-0.07862759381532669,
-0.09426642954349518,
-0.03700386360287666,
0.002899029292166233,
0.03969745337963104,
0.05197698250412941,
-0.026349835097789764,
0.0166067685931921,
0.00002098243021464441,
0.09814511239528656,
0.049630410969257355,
0.03796067833900452,
-0.051235102117061615,
-0.00037244523991830647,
-0.0667990893125534,
-0.07952675223350525,
0.0406828336417675,
0.009177877567708492,
-0.07947620004415512,
-0.10124848783016205,
-0.04137032851576805,
0.011168715544044971,
0.035093892365694046,
-0.07872669398784637,
-0.05268928408622742,
0.006462544668465853,
-0.01723013073205948,
0.038059696555137634,
0.05618556961417198,
0.07316628843545914,
0.08713018149137497,
0.07301391661167145,
-0.018170198425650597,
-0.06777553260326385,
0.01670684665441513,
0.06341230124235153,
-0.0021646840032190084,
-0.04868324473500252,
-0.07205122709274292,
-0.10958940535783768,
-0.07235956192016602,
-0.037881895899772644,
-0.08263789117336273,
-0.006567083764821291,
-0.0214422345161438,
-0.059758227318525314,
-0.07160891592502594,
-0.009950010105967522,
-0.07270632684230804,
0.03872198611497879,
-0.03494342043995857,
0.014836831949651241,
-0.018812470138072968,
0.052668407559394836,
-0.10971777141094208,
0.07761183381080627,
0.026617949828505516,
-0.08914340287446976,
0.011938543990254402,
-0.082143135368824,
-0.039730627089738846,
0.04403279349207878,
-0.05392862856388092,
-0.03434102609753609,
-0.026696883141994476,
0.006390929687768221,
0.02042590081691742,
-0.0009013396338559687,
-0.06411789357662201,
-0.016822809353470802,
-0.01615743339061737,
0.08611989766359329,
0.040147166699171066,
-0.04068620502948761,
-0.000009380759365740232,
-0.04443368688225746,
0.0059410990215837955,
-0.07478787004947662,
-0.03813716024160385,
-0.11312741786241531,
0.05063296854496002,
0.01928183250129223,
0.07817933708429337,
0.07783102989196777,
0.06707488000392914,
0.026473673060536385,
-0.06322970241308212,
-0.0006835452513769269,
0.009446285665035248,
0.06912676244974136,
0.026387469843029976,
0.02092060074210167,
-0.0007342502940446138,
-0.02397727593779564,
-0.0056060124188661575,
0.037625815719366074,
-0.11159170418977737,
0.051837008446455,
-0.032325174659490585,
-0.027669841423630714,
0.08626943081617355,
-0.019625693559646606,
0.028656767681241035,
0.005780806764960289,
0.02061004750430584,
0.00512278638780117,
-0.01355371717363596,
0.03585915267467499,
-0.07062286138534546,
-0.07854446768760681,
0.0423639677464962,
-0.06391177326440811,
-0.01409992203116417,
0.010569954290986061,
0.041002266108989716,
0.12245280295610428,
0.05346269905567169,
0.10897907614707947,
-0.015446952544152737,
0.040013719350099564,
0.05959833413362503,
0.03375096246600151,
4.797407340766765e-33,
0.06313402950763702,
-0.023001529276371002,
-0.07771579176187515,
0.006868587341159582,
0.19254037737846375,
-0.0039710006676614285,
0.028271911665797234,
0.00010253045184072107,
-0.06765110045671463,
0.06954863667488098,
-0.014516301453113556,
0.03811822086572647,
-0.04119855910539627,
-0.020977972075343132,
0.047322407364845276,
-0.028740989044308662,
-0.012250817380845547,
-0.017412303015589714,
0.100516177713871,
0.028384704142808914,
-0.016489611938595772,
-0.10454034060239792,
-0.02559089846909046,
0.05011272430419922,
0.06175127252936363,
-0.07212694734334946,
0.019372595474123955,
-0.018096627667546272,
0.006985075306147337,
0.0326213538646698,
0.012534962967038155,
0.016736412420868874,
-0.020136268809437752,
-0.059685152024030685,
0.014222431927919388,
-0.02625470981001854,
-0.06492366641759872,
-0.018368514254689217,
0.00636303098872304,
-0.030550841242074966,
0.0622527040541172,
0.015548611991107464,
-0.045407164841890335,
-0.009526744484901428,
0.06994453072547913,
-0.06041722744703293,
-0.05907589942216873,
0.008940906263887882,
0.09441881626844406,
0.01951809972524643,
0.009305917657911777,
-0.07380695641040802,
0.09066925197839737,
-0.04641091823577881,
-0.04139823466539383,
0.029331838712096214,
0.0015440683346241713,
-0.06813769787549973,
0.0054335822351276875,
-0.027586163952946663,
-0.08372429013252258,
0.030600303784012794,
0.022670172154903412,
0.028662411496043205,
0.046735554933547974,
-0.04007909819483757,
0.049070943146944046,
0.09188344329595566,
0.01426802109926939,
0.025531180202960968,
-0.04595588520169258,
-0.006753330118954182,
0.027906712144613266,
0.036111362278461456,
-0.04526109993457794,
0.010921454057097435,
0.05278846248984337,
-0.006875708699226379,
0.08076192438602448,
-0.02930838242173195,
-0.017406072467565536,
0.08808402717113495,
-0.07149534672498703,
0.041239090263843536,
-0.05267522484064102,
0.04889128729701042,
-0.011949489824473858,
0.022929219529032707,
-0.055595122277736664,
0.07685086131095886,
0.002835911000147462,
-0.0167229101061821,
-0.04201514646410942,
-0.017936529591679573,
0.0070804208517074585,
-7.595600745896186e-33,
-0.017137205228209496,
-0.02800413966178894,
-0.022922111675143242,
-0.044225189834833145,
0.026358073577284813,
0.006327295210212469,
0.007469796575605869,
-0.01794315129518509,
-0.06838735938072205,
-0.060137808322906494,
-0.09871174395084381,
0.09691479057073593,
0.04110109806060791,
-0.10682505369186401,
-0.009003307670354843,
-0.025944560766220093,
-0.0002255847939522937,
0.03250569477677345,
0.010572783648967743,
0.007820825092494488,
-0.03630739822983742,
-0.0038300168234854937,
0.06298352777957916,
0.0421300008893013,
0.011387981474399567,
0.004870008211582899,
0.03461300954222679,
0.0216046255081892,
-0.04860139265656471,
0.01648002304136753,
0.08135784417390823,
0.03378145396709442,
0.006965875159949064,
0.01523707527667284,
-0.09400442242622375,
0.058509353548288345,
0.011792601086199284,
0.02726105786859989,
0.04468653351068497,
-0.05088058486580849,
0.07537892460823059,
0.0005369908758439124,
-0.10017924755811691,
-0.05893830209970474,
-0.12634709477424622,
0.06806671619415283,
0.050196681171655655,
-0.0593591183423996,
-0.11922179907560349,
-0.04521796107292175,
-0.0629521831870079,
0.049215175211429596,
-0.00036516765248961747,
0.006360167637467384,
-0.016715481877326965,
0.036529961973428726,
0.0026472772005945444,
0.019707318395376205,
-0.022126978263258934,
0.0212448388338089,
0.0413629412651062,
-0.02756807766854763,
-0.0012825087178498507,
0.10009568184614182,
-0.046533189713954926,
-0.009168543852865696,
-0.04162812978029251,
0.04362116754055023,
-0.0731249451637268,
0.001991234254091978,
-0.07502191513776779,
0.02205679938197136,
-0.029912976548075676,
-0.027745472267270088,
0.013664836063981056,
-0.031531769782304764,
0.006711880210787058,
-0.03348991274833679,
-0.03860669210553169,
0.10261237621307373,
0.01723739691078663,
-0.014759745448827744,
-0.06660719215869904,
0.025424979627132416,
0.00021252056467346847,
-0.08150681853294373,
0.03569095954298973,
0.0039023184217512608,
0.08263912796974182,
0.06474115699529648,
-0.07557831704616547,
-0.03916797414422035,
-0.026094885542988777,
-0.00011634155089268461,
0.026254259049892426,
-5.25094101533341e-8,
-0.006765961181372404,
-0.020876919850707054,
-0.026627838611602783,
0.016999507322907448,
-0.06616560369729996,
0.00623698066920042,
0.051261428743600845,
-0.018119677901268005,
-0.01643587090075016,
0.013751821592450142,
0.025061797350645065,
0.03129866346716881,
-0.10031726956367493,
0.057630930095911026,
-0.09972690045833588,
0.13611534237861633,
-0.0016447262605652213,
0.032498348504304886,
0.022886335849761963,
-0.06207682192325592,
-0.009912622161209583,
0.006551005877554417,
0.028803974390029907,
0.05531785637140274,
-0.047869715839624405,
0.0287425946444273,
-0.0810600146651268,
-0.05082037299871445,
-0.0035251586232334375,
0.04059869050979614,
-0.012178577482700348,
-0.0743468627333641,
-0.04051412269473076,
-0.00403868081048131,
0.022843964397907257,
-0.043962474912405014,
-0.04500818997621536,
-0.023547682911157608,
0.06948141753673553,
-0.004479340743273497,
-0.00038936908822506666,
0.07621642202138901,
-0.014666084200143814,
-0.019500210881233215,
-0.11207667738199234,
0.0025138473138213158,
-0.07761355489492416,
-0.028601540252566338,
-0.02653055265545845,
0.016401199623942375,
0.07476750761270523,
0.012504933401942253,
-0.03579249978065491,
0.0815010666847229,
0.03348797932267189,
0.09843757748603821,
0.050658438354730606,
0.017607852816581726,
0.05721748620271683,
0.029773220419883728,
0.021527890115976334,
0.0447242297232151,
0.08826075494289398,
-0.02055543102324009
] | 0.000392 |
first - SSH access (port 22) is always allowed - The gateway is \*\*only\*\* accessible via Tailscale by design ### Service won't start ```bash # Check logs sudo journalctl -u openclaw -n 100 # Verify permissions sudo ls -la /opt/openclaw # Test manual start sudo -i -u openclaw cd ~/openclaw pnpm start ``` ### Docker sandbox issues ```bash # Verify Docker is running sudo systemctl status docker # Check sandbox image sudo docker images | grep openclaw-sandbox # Build sandbox image if missing cd /opt/openclaw/openclaw sudo -u openclaw ./scripts/sandbox-setup.sh ``` ### Provider login fails Make sure you're running as the `openclaw` user: ```bash sudo -i -u openclaw openclaw channels login ``` ## Advanced Configuration For detailed security architecture and troubleshooting: - [Security Architecture](https://github.com/openclaw/openclaw-ansible/blob/main/docs/security.md) - [Technical Details](https://github.com/openclaw/openclaw-ansible/blob/main/docs/architecture.md) - [Troubleshooting Guide](https://github.com/openclaw/openclaw-ansible/blob/main/docs/troubleshooting.md) ## Related - [openclaw-ansible](https://github.com/openclaw/openclaw-ansible) — full deployment guide - [Docker](/install/docker) — containerized gateway setup - [Sandboxing](/gateway/sandboxing) — agent sandbox configuration - [Multi-Agent Sandbox & Tools](/multi-agent-sandbox-tools) — per-agent isolation | https://github.com/openclaw/openclaw/blob/main//docs/install/ansible.md | main | opebclaw | [
0.08328699320554733,
0.0014883567346259952,
-0.0014222789322957397,
-0.01749860867857933,
0.06278568506240845,
-0.048589080572128296,
-0.08210697770118713,
-0.028500838205218315,
-0.030198073014616966,
0.006616080645471811,
0.05969267338514328,
-0.01640724390745163,
0.010719863697886467,
0.062155961990356445,
0.05953003838658333,
0.0642787516117096,
0.10385558754205704,
-0.04607987403869629,
0.04544663801789284,
0.04184094816446304,
-0.0749775841832161,
-0.02831277810037136,
-0.014235765673220158,
-0.08152353763580322,
-0.0953739657998085,
0.00023553258506581187,
-0.0317874401807785,
0.013001767918467522,
-0.09719853848218918,
-0.06193338707089424,
0.06574486941099167,
0.016026021912693977,
-0.014747538603842258,
-0.017616713419556618,
0.08206075429916382,
0.06819356977939606,
0.05787903070449829,
-0.006945035420358181,
-0.05958251655101776,
-0.0071692997589707375,
0.09030264616012573,
-0.049093715846538544,
0.03593655675649643,
-0.049172740429639816,
-0.02108856663107872,
-0.06313911080360413,
0.02295866422355175,
-0.11170442402362823,
0.057416465133428574,
0.033343274146318436,
-0.04572753235697746,
-0.00003425359318498522,
0.03203300014138222,
-0.04745520278811455,
0.00009928478539222851,
0.04281751066446304,
0.034256547689437866,
0.03795994818210602,
0.06386926770210266,
-0.05689864978194237,
0.05146705359220505,
0.013093490153551102,
-0.04875386506319046,
-0.02946348674595356,
-0.02912461943924427,
-0.055204104632139206,
-0.005549508146941662,
-0.0724441409111023,
-0.033753421157598495,
0.03665722906589508,
0.015936655923724174,
0.028064168989658356,
-0.03937816619873047,
0.04504067823290825,
-0.0630936399102211,
-0.0171295665204525,
0.07621561735868454,
0.019137892872095108,
-0.012707483023405075,
0.027514372020959854,
-0.10502903163433075,
-0.05268475413322449,
-0.058770425617694855,
0.0033898085821419954,
-0.052035264670848846,
0.14089040458202362,
-0.013833894394338131,
0.06534869968891144,
0.03896555304527283,
0.03118826448917389,
0.03842153027653694,
-0.02257593162357807,
-0.04051285237073898,
-0.004022675100713968,
0.11283516883850098,
-0.08193648606538773,
-0.031042659655213356,
0.029171859845519066,
-0.06749645620584488,
0.03919736668467522,
0.012190002016723156,
-0.005683826748281717,
0.07220984995365143,
-0.04024145379662514,
-0.004013316705822945,
0.06099454313516617,
-0.00946050975471735,
0.035770758986473083,
-0.02314131334424019,
0.004240020643919706,
0.029226871207356453,
-0.06801384687423706,
0.06107211858034134,
0.04919760301709175,
-0.011903228238224983,
0.013860070146620274,
-0.0723990797996521,
-0.011500587686896324,
-0.02073102444410324,
0.051854148507118225,
0.10496599972248077,
0.04393046721816063,
0.085124671459198,
0.0192861407995224,
-0.02793624997138977,
0.06364981085062027,
0.031558047980070114,
9.595996788040076e-33,
0.06855911016464233,
-0.04453214630484581,
-0.018506813794374466,
-0.008386903442442417,
0.22071543335914612,
0.02352721057832241,
0.01756434328854084,
-0.031159885227680206,
-0.08317552506923676,
0.10803991556167603,
-0.02106751687824726,
0.008175734430551529,
-0.027101607993245125,
-0.04341590404510498,
0.044553399085998535,
-0.028065402060747147,
-0.034400638192892075,
-0.04776283726096153,
0.043482694774866104,
-0.04374196007847786,
-0.007767039351165295,
-0.10524822771549225,
-0.0562412291765213,
-0.036517899483442307,
0.011541645042598248,
-0.04877498000860214,
0.008114122785627842,
-0.02711332030594349,
0.054092373698949814,
0.031119808554649353,
0.032307468354701996,
0.026257552206516266,
-0.004966945853084326,
-0.04126366227865219,
-0.006202349904924631,
-0.08037905395030975,
-0.052997734397649765,
-0.026447826996445656,
-0.0890098512172699,
-0.04562084376811981,
0.05035215988755226,
-0.05015077814459801,
-0.03672829642891884,
0.017673376947641373,
-0.004721865523606539,
-0.08779654651880264,
-0.037307001650333405,
0.07806655764579773,
0.04538866877555847,
0.0735807716846466,
-0.02545873075723648,
-0.06758220493793488,
-0.014729045331478119,
-0.016979677602648735,
-0.007588592357933521,
0.007500547915697098,
-0.049207691103219986,
-0.05968024581670761,
-0.04479019343852997,
-0.0009383409051224589,
-0.032679326832294464,
0.0693635642528534,
0.017018714919686317,
-0.018870821222662926,
0.01178028155118227,
-0.011748264543712139,
0.01934872940182686,
0.09598464518785477,
-0.005614981055259705,
0.022628528997302055,
-0.026705224066972733,
-0.041094932705163956,
0.06875225156545639,
0.09312032908201218,
-0.025808660313487053,
0.004834857769310474,
0.0031043742783367634,
0.03208387270569801,
0.02957705594599247,
-0.009294958785176277,
-0.013852233067154884,
0.05380665138363838,
0.02763216942548752,
0.029554909095168114,
-0.012930681928992271,
0.1059604063630104,
0.02457391656935215,
0.024343514814972878,
-0.021952921524643898,
0.10053262859582901,
-0.03183021396398544,
-0.007500806357711554,
-0.0019812225364148617,
-0.012705065310001373,
-0.06889397650957108,
-1.0478841534649585e-32,
-0.09282545745372772,
-0.002206833567470312,
-0.03771137073636055,
-0.04048953950405121,
0.03451012820005417,
0.009972753003239632,
0.03780254349112511,
-0.0812026783823967,
-0.03269258886575699,
-0.06543077528476715,
-0.05319206789135933,
0.0966796949505806,
0.03451765701174736,
-0.06143111735582352,
0.03669796884059906,
-0.028781434521079063,
0.00017956839292310178,
-0.026493700221180916,
0.0083346888422966,
-0.03423469141125679,
-0.0007911170832812786,
0.06912828981876373,
0.020839769393205643,
0.06619719415903091,
-0.012951728887856007,
0.04327211156487465,
0.09022750705480576,
0.01658318005502224,
-0.02440790645778179,
0.03979552909731865,
0.08553405851125717,
0.033163901418447495,
0.032122571021318436,
0.059208180755376816,
-0.015341492369771004,
0.04969601705670357,
-0.03329382836818695,
0.026957014575600624,
0.002612463664263487,
-0.042180757969617844,
0.03203415498137474,
-0.04941948130726814,
-0.0456278920173645,
-0.021430402994155884,
-0.0752156525850296,
0.0013949268031865358,
0.04268668219447136,
-0.059565652161836624,
-0.06979982554912567,
-0.03128453344106674,
-0.09232138097286224,
-0.021543320268392563,
0.11134921759366989,
0.00577250961214304,
-0.005824352614581585,
0.08775930851697922,
0.018442295491695404,
-0.037708014249801636,
0.0074123358353972435,
-0.055405113846063614,
0.06740177422761917,
-0.03316943347454071,
-0.08476588129997253,
0.09530241042375565,
-0.04471781477332115,
-0.09214530140161514,
-0.05815528705716133,
0.0555112324655056,
-0.07452232390642166,
-0.025488413870334625,
-0.09244050830602646,
0.006046371068805456,
0.07290079444646835,
0.005618555471301079,
0.01651029661297798,
-0.024533459916710854,
-0.02933584153652191,
0.02772369422018528,
-0.04781200736761093,
0.041789159178733826,
-0.05272211506962776,
0.021297790110111237,
-0.0741899311542511,
-0.05440741032361984,
-0.0074173216708004475,
-0.04704665765166283,
0.018950041383504868,
0.020451640710234642,
0.09549979120492935,
-0.005870658904314041,
-0.07338105887174606,
-0.04637761786580086,
-0.05508282408118248,
0.04257127642631531,
0.017149880528450012,
-5.709032180334361e-8,
0.05976010486483574,
-0.045298755168914795,
-0.03206299617886543,
0.0360381193459034,
0.009785235859453678,
-0.012333880178630352,
0.05165722966194153,
0.02266155742108822,
-0.09187261760234833,
-0.014128596521914005,
-0.006358756683766842,
0.02939128503203392,
-0.11804506182670593,
0.0609256736934185,
-0.02778596803545952,
0.0641847625374794,
0.0013649315806105733,
0.025959523394703865,
0.02749134600162506,
-0.11077272146940231,
-0.01601429469883442,
-0.04489174112677574,
-0.00397738441824913,
0.0510556660592556,
-0.11145544052124023,
0.042139917612075806,
-0.018206622451543808,
-0.02456151694059372,
-0.05089031532406807,
0.06037827953696251,
-0.055339355021715164,
-0.028396902605891228,
-0.054474838078022,
-0.024021372199058533,
-0.049198493361473083,
0.004946899600327015,
-0.048987362533807755,
0.01843072474002838,
0.03543192893266678,
-0.03964097052812576,
0.009379729628562927,
0.04466390609741211,
0.005664706230163574,
-0.04093238711357117,
-0.10126639157533646,
0.011279068887233734,
-0.034185267984867096,
0.07143110781908035,
-0.016177106648683548,
-0.03565870225429535,
0.04441889375448227,
0.02320163883268833,
0.0071913329884409904,
0.05595662444829941,
0.08793076872825623,
0.12098432332277298,
0.013213612139225006,
-0.09534917026758194,
-0.005744790192693472,
0.045493654906749725,
0.00893310084939003,
0.00986126996576786,
0.05493139103055,
-0.03568635135889053
] | -0.031777 |
# Docker (optional) Docker is \*\*optional\*\*. Use it only if you want a containerized gateway or to validate the Docker flow. ## Is Docker right for me? - \*\*Yes\*\*: you want an isolated, throwaway gateway environment or to run OpenClaw on a host without local installs. - \*\*No\*\*: you’re running on your own machine and just want the fastest dev loop. Use the normal install flow instead. - \*\*Sandboxing note\*\*: agent sandboxing uses Docker too, but it does \*\*not\*\* require the full gateway to run in Docker. See [Sandboxing](/gateway/sandboxing). This guide covers: - Containerized Gateway (full OpenClaw in Docker) - Per-session Agent Sandbox (host gateway + Docker-isolated agent tools) Sandboxing details: [Sandboxing](/gateway/sandboxing) ## Requirements - Docker Desktop (or Docker Engine) + Docker Compose v2 - Enough disk for images + logs ## Containerized Gateway (Docker Compose) ### Quick start (recommended) From repo root: ```bash ./docker-setup.sh ``` This script: - builds the gateway image - runs the onboarding wizard - prints optional provider setup hints - starts the gateway via Docker Compose - generates a gateway token and writes it to `.env` Optional env vars: - `OPENCLAW\_DOCKER\_APT\_PACKAGES` — install extra apt packages during build - `OPENCLAW\_EXTRA\_MOUNTS` — add extra host bind mounts - `OPENCLAW\_HOME\_VOLUME` — persist `/home/node` in a named volume After it finishes: - Open `http://127.0.0.1:18789/` in your browser. - Paste the token into the Control UI (Settings → token). - Need the tokenized URL again? Run `docker compose run --rm openclaw-cli dashboard --no-open`. It writes config/workspace on the host: - `~/.openclaw/` - `~/.openclaw/workspace` Running on a VPS? See [Hetzner (Docker VPS)](/platforms/hetzner). ### Manual flow (compose) ```bash docker build -t openclaw:local -f Dockerfile . docker compose run --rm openclaw-cli onboard docker compose up -d openclaw-gateway ``` Note: run `docker compose ...` from the repo root. If you enabled `OPENCLAW\_EXTRA\_MOUNTS` or `OPENCLAW\_HOME\_VOLUME`, the setup script writes `docker-compose.extra.yml`; include it when running Compose elsewhere: ```bash docker compose -f docker-compose.yml -f docker-compose.extra.yml ``` ### Control UI token + pairing (Docker) If you see “unauthorized” or “disconnected (1008): pairing required”, fetch a fresh dashboard link and approve the browser device: ```bash docker compose run --rm openclaw-cli dashboard --no-open docker compose run --rm openclaw-cli devices list docker compose run --rm openclaw-cli devices approve ``` More detail: [Dashboard](/web/dashboard), [Devices](/cli/devices). ### Extra mounts (optional) If you want to mount additional host directories into the containers, set `OPENCLAW\_EXTRA\_MOUNTS` before running `docker-setup.sh`. This accepts a comma-separated list of Docker bind mounts and applies them to both `openclaw-gateway` and `openclaw-cli` by generating `docker-compose.extra.yml`. Example: ```bash export OPENCLAW\_EXTRA\_MOUNTS="$HOME/.codex:/home/node/.codex:ro,$HOME/github:/home/node/github:rw" ./docker-setup.sh ``` Notes: - Paths must be shared with Docker Desktop on macOS/Windows. - If you edit `OPENCLAW\_EXTRA\_MOUNTS`, rerun `docker-setup.sh` to regenerate the extra compose file. - `docker-compose.extra.yml` is generated. Don’t hand-edit it. ### Persist the entire container home (optional) If you want `/home/node` to persist across container recreation, set a named volume via `OPENCLAW\_HOME\_VOLUME`. This creates a Docker volume and mounts it at `/home/node`, while keeping the standard config/workspace bind mounts. Use a named volume here (not a bind path); for bind mounts, use `OPENCLAW\_EXTRA\_MOUNTS`. Example: ```bash export OPENCLAW\_HOME\_VOLUME="openclaw\_home" ./docker-setup.sh ``` You can combine this with extra mounts: ```bash export OPENCLAW\_HOME\_VOLUME="openclaw\_home" export OPENCLAW\_EXTRA\_MOUNTS="$HOME/.codex:/home/node/.codex:ro,$HOME/github:/home/node/github:rw" ./docker-setup.sh ``` Notes: - If you change `OPENCLAW\_HOME\_VOLUME`, rerun `docker-setup.sh` to regenerate the extra compose file. - The named volume persists until removed with `docker volume rm `. ### Install extra apt packages (optional) If you need system packages inside the image (for example, build tools or media libraries), set `OPENCLAW\_DOCKER\_APT\_PACKAGES` before running `docker-setup.sh`. This installs the packages during the image build, so they persist even if the container is deleted. Example: ```bash export OPENCLAW\_DOCKER\_APT\_PACKAGES="ffmpeg build-essential" ./docker-setup.sh ``` Notes: | https://github.com/openclaw/openclaw/blob/main//docs/install/docker.md | main | opebclaw | [
0.04803464189171791,
0.031971950083971024,
-0.02301861345767975,
0.003212617477402091,
0.04898587986826897,
-0.0838855430483818,
-0.04147990420460701,
-0.019390208646655083,
0.002575789112597704,
-0.008940475061535835,
-0.011762051843106747,
-0.10284622013568878,
0.041377440094947815,
-0.03735721483826637,
0.030751043930649757,
0.031748998910188675,
0.07293304055929184,
0.03611258044838905,
0.018790118396282196,
-0.012256882153451443,
-0.07833751291036606,
-0.0212477408349514,
-0.01763036847114563,
-0.09397248923778534,
-0.11731526255607605,
0.024788474664092064,
-0.04089241102337837,
-0.06303148716688156,
-0.00653946353122592,
-0.023874755948781967,
0.07259659469127655,
0.01973165012896061,
-0.013193701393902302,
0.032009564340114594,
0.1451980620622635,
0.05706367269158363,
0.020876454189419746,
0.03977905958890915,
-0.04498866945505142,
0.042953118681907654,
0.0919947400689125,
-0.054974112659692764,
0.0012573035201057792,
-0.09384535998106003,
-0.062393300235271454,
-0.06974513828754425,
-0.02075774222612381,
-0.1322833001613617,
-0.004044388886541128,
0.029006432741880417,
-0.04748969152569771,
-0.055823855102062225,
-0.013334528543055058,
-0.01897730678319931,
0.006345434579998255,
0.029280254617333412,
0.056678805500268936,
-0.0025977434124797583,
0.003915047273039818,
-0.08301066607236862,
0.03802039474248886,
-0.029543472453951836,
0.006874384358525276,
0.0032965480349957943,
-0.029717404395341873,
-0.056340526789426804,
-0.022289875894784927,
-0.04196024686098099,
0.013838035054504871,
0.022916384041309357,
-0.027462296187877655,
0.037526704370975494,
-0.032264113426208496,
-0.06099037453532219,
-0.04070987552404404,
-0.020298561081290245,
0.07603447884321213,
0.06368228048086166,
-0.012583869509398937,
0.005626715254038572,
-0.001953164581209421,
0.058887381106615067,
-0.036576587706804276,
-0.059126969426870346,
-0.08764905482530594,
0.057033129036426544,
0.004525481723248959,
0.08006972819566727,
0.07187764346599579,
-0.03561827167868614,
0.03725690022110939,
-0.02478545345366001,
-0.02497866563498974,
0.013026880100369453,
0.15329384803771973,
-0.020448457449674606,
-0.06955953687429428,
-0.05296691134572029,
-0.06176220253109932,
0.0505085252225399,
-0.011706019751727581,
-0.05895032361149788,
0.030211633071303368,
-0.006382851395756006,
0.035086020827293396,
0.03901268169283867,
-0.001260820310562849,
0.009252732619643211,
-0.02671237662434578,
-0.01017096545547247,
0.02080889418721199,
-0.04397184029221535,
0.07974164187908173,
0.012907176278531551,
-0.009956836700439453,
0.007007676176726818,
0.0003224415413569659,
-0.05850505828857422,
0.057290028780698776,
0.04686293378472328,
0.03642609715461731,
0.002168051665648818,
0.10930783301591873,
-0.026973575353622437,
0.06801652163267136,
0.048432983458042145,
0.02335311658680439,
3.994520454584157e-33,
-0.003675168612971902,
-0.07800348103046417,
0.051329728215932846,
-0.013387848623096943,
0.19260676205158234,
-0.008681518957018852,
0.05575142800807953,
-0.042062368243932724,
-0.048862140625715256,
0.010977737605571747,
-0.06501470506191254,
-0.07215377688407898,
-0.06422527134418488,
0.057334981858730316,
0.05377022549510002,
-0.027510635554790497,
-0.05722948908805847,
-0.03191852197051048,
0.01746116392314434,
-0.021682659164071083,
0.0017719882307574153,
-0.10518643260002136,
-0.05352482944726944,
0.0318102091550827,
-0.002930464455857873,
-0.10513490438461304,
0.03599375858902931,
-0.08023319393396378,
0.0028800044674426317,
0.02043679915368557,
0.027537699788808823,
0.013401411473751068,
-0.013072149828076363,
0.016054639592766762,
0.01295057125389576,
0.0018086121417582035,
-0.022965602576732635,
0.017641449347138405,
-0.023595161736011505,
0.03858676925301552,
-0.06437299400568008,
-0.01805838942527771,
0.027239950373768806,
-0.026505334302783012,
0.03755252808332443,
-0.10663057118654251,
-0.05755981430411339,
0.053975626826286316,
0.06846918910741806,
0.05036507919430733,
0.028795307502150536,
-0.025379899889230728,
-0.014865659177303314,
-0.03566114604473114,
-0.02075285278260708,
-0.028579216450452805,
-0.06950612366199493,
-0.010589981451630592,
0.007863718084990978,
0.0821501836180687,
-0.10733063519001007,
-0.0030658238101750612,
-0.027778495103120804,
0.0639878362417221,
-0.017947101965546608,
0.034868866205215454,
0.0033607634250074625,
0.12285096943378448,
-0.03584733605384827,
0.03226671367883682,
-0.020484359934926033,
0.0017454648623242974,
0.012858071364462376,
0.048573825508356094,
-0.005711009725928307,
-0.002075054682791233,
0.0609855093061924,
-0.0011929876636713743,
0.039453696459531784,
-0.0496080107986927,
-0.03985826298594475,
0.12684078514575958,
-0.034992534667253494,
0.0479920320212841,
-0.0011988922487944365,
-0.003950388636440039,
-0.011309257708489895,
0.007875481620430946,
0.06306278705596924,
0.05270915478467941,
-0.006543905008584261,
0.024063900113105774,
-0.09218832850456238,
0.0067526958882808685,
-0.08763954788446426,
-6.256666395219537e-33,
-0.03211497887969017,
-0.02461823634803295,
-0.04587220773100853,
-0.0011130673810839653,
-0.009904359467327595,
0.03526172786951065,
0.09647269546985626,
-0.09052560478448868,
0.025025876238942146,
-0.049729302525520325,
-0.09305218607187271,
0.11207976937294006,
0.0692315548658371,
-0.01705232448875904,
0.005600253120064735,
-0.03313588351011276,
-0.019678611308336258,
-0.058521173894405365,
0.03913380578160286,
0.04812062531709671,
0.05471210926771164,
0.009474745951592922,
-0.024884741753339767,
-0.016231168061494827,
-0.024097172543406487,
-0.007457663770765066,
-0.006306348834186792,
0.036830734461545944,
-0.017467902973294258,
0.031157251447439194,
0.02697107009589672,
0.09454385936260223,
0.010476261377334595,
0.003801646875217557,
-0.001969914184883237,
0.036257054656744,
-0.056348491460084915,
0.03938877955079079,
-0.0248979851603508,
0.011151567101478577,
-0.007104995660483837,
-0.12139099091291428,
-0.08265466243028641,
-0.04108884185552597,
-0.07553855329751968,
0.0038747170474380255,
-0.01851438172161579,
-0.05682508274912834,
-0.03371446579694748,
0.018594931811094284,
-0.12524844706058502,
0.030597571283578873,
0.029305467382073402,
0.07485067844390869,
-0.03806683048605919,
0.05163205787539482,
-0.010775445960462093,
0.039492279291152954,
-0.0036461236886680126,
0.00416554557159543,
0.06310122460126877,
-0.0023400841746479273,
-0.02311505377292633,
0.05288383737206459,
0.0019015436992049217,
-0.025333113968372345,
-0.03147799149155617,
0.006667186971753836,
-0.11371245235204697,
-0.008114298805594444,
-0.04702538624405861,
-0.02056950330734253,
-0.04787096381187439,
0.04524243623018265,
-0.0014575765235349536,
0.0033594509586691856,
-0.014575344510376453,
-0.03510730713605881,
0.0017878063954412937,
0.027817770838737488,
-0.07074915617704391,
0.061662282794713974,
0.01733621209859848,
-0.10632851719856262,
-0.056179147213697433,
-0.044699277728796005,
0.06670260429382324,
-0.05193149298429489,
0.0857381597161293,
0.020764796063303947,
0.04851767048239708,
-0.08037623018026352,
-0.0425662137567997,
0.00152355816680938,
-0.019508911296725273,
-5.578902673164521e-8,
0.027205821126699448,
-0.07215611636638641,
-0.022113708779215813,
-0.016430532559752464,
-0.01445439737290144,
-0.0003641669172793627,
0.09090466052293777,
0.050657834857702255,
-0.03951821103692055,
0.03059774450957775,
0.06275271624326706,
-0.015575345605611801,
-0.05151684209704399,
0.03609326854348183,
-0.011128558777272701,
0.11881745606660843,
0.03887125849723816,
-0.02959374152123928,
0.020225083455443382,
-0.09922119230031967,
-0.053833626210689545,
-0.005353305488824844,
0.031002603471279144,
-0.0081948172301054,
-0.0976346954703331,
0.023904336616396904,
0.04915833845734596,
0.007702590432018042,
-0.033877912908792496,
0.005082607269287109,
0.020715167745947838,
0.01310690026730299,
-0.07528162747621536,
0.045419640839099884,
-0.016179751604795456,
0.046709075570106506,
-0.03077108971774578,
0.04120531305670738,
0.035866666585206985,
-0.015067188069224358,
-0.06497705727815628,
0.042516566812992096,
0.025877557694911957,
-0.12662479281425476,
-0.03004225343465805,
0.021566128358244896,
-0.11236748099327087,
-0.01721300184726715,
0.0025266543962061405,
0.030453618615865707,
0.05532463267445564,
0.029040765017271042,
-0.01605246774852276,
0.08595659583806992,
0.1158452257514,
0.08430434763431549,
0.034706056118011475,
-0.04543093964457512,
0.03504171222448349,
0.022456055507063866,
0.004995876457542181,
0.10438211262226105,
0.08789358288049698,
-0.07546062022447586
] | -0.00505 |
Install extra apt packages (optional) If you need system packages inside the image (for example, build tools or media libraries), set `OPENCLAW\_DOCKER\_APT\_PACKAGES` before running `docker-setup.sh`. This installs the packages during the image build, so they persist even if the container is deleted. Example: ```bash export OPENCLAW\_DOCKER\_APT\_PACKAGES="ffmpeg build-essential" ./docker-setup.sh ``` Notes: - This accepts a space-separated list of apt package names. - If you change `OPENCLAW\_DOCKER\_APT\_PACKAGES`, rerun `docker-setup.sh` to rebuild the image. ### Power-user / full-featured container (opt-in) The default Docker image is \*\*security-first\*\* and runs as the non-root `node` user. This keeps the attack surface small, but it means: - no system package installs at runtime - no Homebrew by default - no bundled Chromium/Playwright browsers If you want a more full-featured container, use these opt-in knobs: 1. \*\*Persist `/home/node`\*\* so browser downloads and tool caches survive: ```bash export OPENCLAW\_HOME\_VOLUME="openclaw\_home" ./docker-setup.sh ``` 2. \*\*Bake system deps into the image\*\* (repeatable + persistent): ```bash export OPENCLAW\_DOCKER\_APT\_PACKAGES="git curl jq" ./docker-setup.sh ``` 3. \*\*Install Playwright browsers without `npx`\*\* (avoids npm override conflicts): ```bash docker compose run --rm openclaw-cli \ node /app/node\_modules/playwright-core/cli.js install chromium ``` If you need Playwright to install system deps, rebuild the image with `OPENCLAW\_DOCKER\_APT\_PACKAGES` instead of using `--with-deps` at runtime. 4. \*\*Persist Playwright browser downloads\*\*: - Set `PLAYWRIGHT\_BROWSERS\_PATH=/home/node/.cache/ms-playwright` in `docker-compose.yml`. - Ensure `/home/node` persists via `OPENCLAW\_HOME\_VOLUME`, or mount `/home/node/.cache/ms-playwright` via `OPENCLAW\_EXTRA\_MOUNTS`. ### Permissions + EACCES The image runs as `node` (uid 1000). If you see permission errors on `/home/node/.openclaw`, make sure your host bind mounts are owned by uid 1000. Example (Linux host): ```bash sudo chown -R 1000:1000 /path/to/openclaw-config /path/to/openclaw-workspace ``` If you choose to run as root for convenience, you accept the security tradeoff. ### Faster rebuilds (recommended) To speed up rebuilds, order your Dockerfile so dependency layers are cached. This avoids re-running `pnpm install` unless lockfiles change: ```dockerfile FROM node:22-bookworm # Install Bun (required for build scripts) RUN curl -fsSL https://bun.sh/install | bash ENV PATH="/root/.bun/bin:${PATH}" RUN corepack enable WORKDIR /app # Cache dependencies unless package metadata changes COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./ COPY ui/package.json ./ui/package.json COPY scripts ./scripts RUN pnpm install --frozen-lockfile COPY . . RUN pnpm build RUN pnpm ui:install RUN pnpm ui:build ENV NODE\_ENV=production CMD ["node","dist/index.js"] ``` ### Channel setup (optional) Use the CLI container to configure channels, then restart the gateway if needed. WhatsApp (QR): ```bash docker compose run --rm openclaw-cli channels login ``` Telegram (bot token): ```bash docker compose run --rm openclaw-cli channels add --channel telegram --token "" ``` Discord (bot token): ```bash docker compose run --rm openclaw-cli channels add --channel discord --token "" ``` Docs: [WhatsApp](/channels/whatsapp), [Telegram](/channels/telegram), [Discord](/channels/discord) ### OpenAI Codex OAuth (headless Docker) If you pick OpenAI Codex OAuth in the wizard, it opens a browser URL and tries to capture a callback on `http://127.0.0.1:1455/auth/callback`. In Docker or headless setups that callback can show a browser error. Copy the full redirect URL you land on and paste it back into the wizard to finish auth. ### Health check ```bash docker compose exec openclaw-gateway node dist/index.js health --token "$OPENCLAW\_GATEWAY\_TOKEN" ``` ### E2E smoke test (Docker) ```bash scripts/e2e/onboard-docker.sh ``` ### QR import smoke test (Docker) ```bash pnpm test:docker:qr ``` ### Notes - Gateway bind defaults to `lan` for container use. - Dockerfile CMD uses `--allow-unconfigured`; mounted config with `gateway.mode` not `local` will still start. Override CMD to enforce the guard. - The gateway container is the source of truth for sessions (`~/.openclaw/agents//sessions/`). ## Agent Sandbox (host gateway + Docker tools) Deep dive: [Sandboxing](/gateway/sandboxing) ### What it does When `agents.defaults.sandbox` is enabled, \*\*non-main sessions\*\* run tools inside a Docker container. The gateway stays on your host, but the tool execution is isolated: - scope: | https://github.com/openclaw/openclaw/blob/main//docs/install/docker.md | main | opebclaw | [
-0.008429916575551033,
0.06554553657770157,
0.016227025538682938,
0.022020967677235603,
0.10882167518138885,
-0.07086116075515747,
-0.041984133422374725,
-0.013110453262925148,
0.015646319836378098,
-0.011340166442096233,
-0.017475033178925514,
-0.058369386941194534,
-0.00101888133212924,
-0.0020066415891051292,
0.06421960145235062,
0.0205650944262743,
0.07053704559803009,
0.024136800318956375,
-0.022526489570736885,
0.048444390296936035,
-0.13702908158302307,
0.0020870191510766745,
-0.000589287665206939,
-0.03995722532272339,
-0.05665122717618942,
0.07681713253259659,
-0.026342280209064484,
-0.011659279465675354,
-0.02924470417201519,
-0.03730679675936699,
0.0835660770535469,
0.007048664148896933,
0.06477776169776917,
-0.06044594198465347,
0.15978127717971802,
0.10589805990457535,
0.013171575963497162,
-0.01325639896094799,
-0.06763138622045517,
-0.019279303029179573,
0.0007688882760703564,
0.01615295745432377,
0.00294863642193377,
-0.03395106643438339,
-0.12437260895967484,
-0.06937733292579651,
0.010081288404762745,
-0.14711984992027283,
0.013163167983293533,
-0.023420721292495728,
-0.07414527237415314,
-0.04940129071474075,
0.020473334938287735,
-0.030264753848314285,
0.04395611211657524,
0.046452779322862625,
0.012074057944118977,
0.04736952483654022,
-0.009070038795471191,
0.014894999563694,
-0.01638909801840782,
0.006304933689534664,
-0.04764510691165924,
0.055158697068691254,
0.008210839703679085,
0.039982426911592484,
0.021424930542707443,
-0.07294967025518417,
0.04163551703095436,
0.0514213852584362,
0.010785921476781368,
0.05934291332960129,
0.03112281858921051,
-0.10479846596717834,
-0.023735525086522102,
-0.018517281860113144,
0.07340289652347565,
0.02074616402387619,
-0.036225784569978714,
0.08033619076013565,
-0.004854411818087101,
-0.010610116645693779,
-0.009633955545723438,
-0.05719558149576187,
-0.025418996810913086,
0.10404802113771439,
0.003061742754653096,
0.0037036542780697346,
0.028713060542941093,
-0.03437073901295662,
-0.02039024978876114,
-0.04741650074720383,
0.017434697598218918,
0.02231348492205143,
0.1151636391878128,
-0.03162413835525513,
-0.026598315685987473,
0.011886058375239372,
-0.09169185906648636,
0.06634252518415451,
-0.03316805511713028,
-0.0869070515036583,
0.04950404539704323,
-0.007523977663367987,
0.015512583777308464,
0.017552858218550682,
-0.05060718208551407,
0.05664996802806854,
-0.05299300327897072,
0.001026878715492785,
0.04638691246509552,
-0.040156688541173935,
0.0342404730618,
-0.0009064889163710177,
-0.006248994264751673,
0.0356009304523468,
-0.040063075721263885,
-0.08805570006370544,
-0.02685883641242981,
0.018961548805236816,
0.08292977511882782,
0.04569421708583832,
0.18320471048355103,
-0.0036167530342936516,
0.011277460493147373,
0.048795923590660095,
0.029620513319969177,
-3.6327206503098307e-34,
0.010328407399356365,
-0.030954509973526,
-0.004550076089799404,
-0.013327310793101788,
0.11931627243757248,
0.0210939422249794,
0.034684035927057266,
0.01710827462375164,
-0.0361369252204895,
0.04089294746518135,
-0.0202935803681612,
0.05423653498291969,
-0.07839687168598175,
0.09355350583791733,
0.08902464061975479,
-0.03334489464759827,
-0.0946677029132843,
0.0757937803864479,
0.008379779756069183,
-0.023902570828795433,
0.039416491985321045,
-0.01857679896056652,
-0.07058529555797577,
0.08153991401195526,
-0.027032220736145973,
-0.03962588310241699,
0.05062020570039749,
-0.05652260780334473,
-0.0713256448507309,
0.023999186232686043,
-0.010335706174373627,
0.027746379375457764,
0.0030279469210654497,
0.008320420980453491,
-0.03484755754470825,
-0.028095494955778122,
-0.07316023856401443,
0.04367787763476372,
-0.06835711747407913,
0.029589107260107994,
0.0860462561249733,
0.07155467569828033,
-0.06270873546600342,
0.027795737609267235,
0.11814527958631516,
-0.1420115828514099,
0.01667562872171402,
0.014182135462760925,
-0.004309475887566805,
0.019099464640021324,
0.033668141812086105,
-0.07505776733160019,
0.016582066193223,
0.00451676594093442,
-0.09400074183940887,
-0.04494630545377731,
0.001700844382867217,
-0.07119547575712204,
0.0703292191028595,
-0.059034064412117004,
-0.06709365546703339,
0.03247721493244171,
0.010782591067254543,
0.030586302280426025,
0.05392802506685257,
-0.01658753678202629,
0.041999198496341705,
0.06092889979481697,
-0.05824536830186844,
0.04287081956863403,
-0.011468550190329552,
-0.00362693564966321,
0.017741486430168152,
0.01457938738167286,
0.008355568163096905,
-0.004483587574213743,
0.02565683424472809,
0.0013744112802669406,
-0.04655587673187256,
0.03723646700382233,
0.023393796756863594,
-0.00043304465361870825,
0.01995602808892727,
0.02440912090241909,
0.00966011080890894,
-0.058561939746141434,
0.020755179226398468,
-0.0022881142795085907,
-0.052577681839466095,
0.07694430649280548,
0.07514163851737976,
-0.07053455710411072,
-0.10224463045597076,
-0.013594874180853367,
-0.0548342801630497,
-1.654067855742796e-33,
0.01692810095846653,
0.02493344247341156,
-0.03632708638906479,
0.006234161090105772,
-0.025699611753225327,
0.016862938180565834,
-0.005027856677770615,
-0.0400119423866272,
0.02448837272822857,
-0.09210053831338882,
-0.10270780324935913,
0.04464522749185562,
0.030193744227290154,
-0.03128279745578766,
-0.05244442820549011,
0.00560779171064496,
-0.05812160670757294,
-0.05081048980355263,
0.006256539840251207,
0.012429796159267426,
0.0410667322576046,
-0.0013686391757801175,
0.03956104815006256,
0.05551161244511604,
-0.0004399004392325878,
0.004744482226669788,
0.0746060386300087,
-0.035151589661836624,
-0.019719449803233147,
0.06435728818178177,
0.016035061329603195,
0.0506075918674469,
-0.00855190772563219,
0.00889664888381958,
0.021675048395991325,
0.08298275619745255,
-0.06247176602482796,
0.045626167207956314,
-0.04965168610215187,
-0.03557640314102173,
-0.018620718270540237,
-0.026482675224542618,
-0.10674413293600082,
-0.029774030670523643,
-0.06622086465358734,
0.016212237998843193,
-0.014064689166843891,
-0.0668550580739975,
-0.04144972190260887,
0.0018747918074950576,
-0.05743001773953438,
0.01310645043849945,
-0.003033269429579377,
0.03935961425304413,
0.021773695945739746,
-0.03487453982234001,
0.03182348236441612,
0.03339865803718567,
-0.004870286677032709,
-0.045848727226257324,
0.053917061537504196,
-0.013720282353460789,
-0.001150875468738377,
0.00941410567611456,
-0.01728121004998684,
-0.007530943490564823,
-0.05575407296419144,
0.06449468433856964,
-0.08085870742797852,
0.04408394545316696,
-0.030001606792211533,
0.01894165202975273,
0.013483384624123573,
0.05232599750161171,
-0.04346742108464241,
-0.005895661655813456,
0.0015159412287175655,
-0.0455649234354496,
0.062388405203819275,
0.03570175543427467,
-0.06002074480056763,
-0.001494338153861463,
0.03598810359835625,
-0.13275852799415588,
0.024737749248743057,
-0.04961353540420532,
0.0401139110326767,
-0.022150464355945587,
0.0892149806022644,
0.029888838529586792,
0.014390652067959309,
0.0011648975778371096,
-0.05254453048110008,
0.009040436707437038,
0.0702100321650505,
-5.6424113381581265e-8,
0.02317907102406025,
-0.011134961619973183,
-0.03732690587639809,
0.07049921154975891,
0.043431658297777176,
-0.06689466536045074,
0.055443719029426575,
0.08663088828325272,
-0.03189002349972725,
-0.03974561765789986,
0.05817937105894089,
0.033644162118434906,
-0.04819647967815399,
0.005576043855398893,
-0.06033279001712799,
0.088368259370327,
0.007241833955049515,
-0.011222225613892078,
-0.02541855163872242,
-0.13615894317626953,
-0.10971030592918396,
-0.00021287916752044111,
0.09228813648223877,
-0.036703817546367645,
-0.07554418593645096,
0.007542299572378397,
0.039257459342479706,
-0.034445442259311676,
0.083218514919281,
0.06402797251939774,
0.007808355614542961,
-0.0488758310675621,
-0.026222186163067818,
-0.003632710315287113,
0.008805105462670326,
-0.019214993342757225,
-0.060939494520425797,
-0.01186073012650013,
0.03737406060099602,
-0.04719706252217293,
-0.09117349237203598,
0.01935068517923355,
0.008759427815675735,
-0.09802000969648361,
-0.07782845944166183,
0.027284342795610428,
-0.050385817885398865,
-0.001987649127840996,
-0.04546136036515236,
0.05315018817782402,
0.0953153669834137,
0.016288649290800095,
-0.08335433155298233,
0.0960896834731102,
0.058062631636857986,
0.0504700131714344,
-0.009193368256092072,
0.0061386749148368835,
0.04188685864210129,
-0.05360979586839676,
-0.02566569484770298,
0.013406422920525074,
0.052387356758117676,
0.014472906477749348
] | -0.033375 |
container is the source of truth for sessions (`~/.openclaw/agents//sessions/`). ## Agent Sandbox (host gateway + Docker tools) Deep dive: [Sandboxing](/gateway/sandboxing) ### What it does When `agents.defaults.sandbox` is enabled, \*\*non-main sessions\*\* run tools inside a Docker container. The gateway stays on your host, but the tool execution is isolated: - scope: `"agent"` by default (one container + workspace per agent) - scope: `"session"` for per-session isolation - per-scope workspace folder mounted at `/workspace` - optional agent workspace access (`agents.defaults.sandbox.workspaceAccess`) - allow/deny tool policy (deny wins) - inbound media is copied into the active sandbox workspace (`media/inbound/\*`) so tools can read it (with `workspaceAccess: "rw"`, this lands in the agent workspace) Warning: `scope: "shared"` disables cross-session isolation. All sessions share one container and one workspace. ### Per-agent sandbox profiles (multi-agent) If you use multi-agent routing, each agent can override sandbox + tool settings: `agents.list[].sandbox` and `agents.list[].tools` (plus `agents.list[].tools.sandbox.tools`). This lets you run mixed access levels in one gateway: - Full access (personal agent) - Read-only tools + read-only workspace (family/work agent) - No filesystem/shell tools (public agent) See [Multi-Agent Sandbox & Tools](/multi-agent-sandbox-tools) for examples, precedence, and troubleshooting. ### Default behavior - Image: `openclaw-sandbox:bookworm-slim` - One container per agent - Agent workspace access: `workspaceAccess: "none"` (default) uses `~/.openclaw/sandboxes` - `"ro"` keeps the sandbox workspace at `/workspace` and mounts the agent workspace read-only at `/agent` (disables `write`/`edit`/`apply\_patch`) - `"rw"` mounts the agent workspace read/write at `/workspace` - Auto-prune: idle > 24h OR age > 7d - Network: `none` by default (explicitly opt-in if you need egress) - Default allow: `exec`, `process`, `read`, `write`, `edit`, `sessions\_list`, `sessions\_history`, `sessions\_send`, `sessions\_spawn`, `session\_status` - Default deny: `browser`, `canvas`, `nodes`, `cron`, `discord`, `gateway` ### Enable sandboxing If you plan to install packages in `setupCommand`, note: - Default `docker.network` is `"none"` (no egress). - `readOnlyRoot: true` blocks package installs. - `user` must be root for `apt-get` (omit `user` or set `user: "0:0"`). OpenClaw auto-recreates containers when `setupCommand` (or docker config) changes unless the container was \*\*recently used\*\* (within ~5 minutes). Hot containers log a warning with the exact `openclaw sandbox recreate ...` command. ```json5 { agents: { defaults: { sandbox: { mode: "non-main", // off | non-main | all scope: "agent", // session | agent | shared (agent is default) workspaceAccess: "none", // none | ro | rw workspaceRoot: "~/.openclaw/sandboxes", docker: { image: "openclaw-sandbox:bookworm-slim", workdir: "/workspace", readOnlyRoot: true, tmpfs: ["/tmp", "/var/tmp", "/run"], network: "none", user: "1000:1000", capDrop: ["ALL"], env: { LANG: "C.UTF-8" }, setupCommand: "apt-get update && apt-get install -y git curl jq", pidsLimit: 256, memory: "1g", memorySwap: "2g", cpus: 1, ulimits: { nofile: { soft: 1024, hard: 2048 }, nproc: 256, }, seccompProfile: "/path/to/seccomp.json", apparmorProfile: "openclaw-sandbox", dns: ["1.1.1.1", "8.8.8.8"], extraHosts: ["internal.service:10.0.0.5"], }, prune: { idleHours: 24, // 0 disables idle pruning maxAgeDays: 7, // 0 disables max-age pruning }, }, }, }, tools: { sandbox: { tools: { allow: [ "exec", "process", "read", "write", "edit", "sessions\_list", "sessions\_history", "sessions\_send", "sessions\_spawn", "session\_status", ], deny: ["browser", "canvas", "nodes", "cron", "discord", "gateway"], }, }, }, } ``` Hardening knobs live under `agents.defaults.sandbox.docker`: `network`, `user`, `pidsLimit`, `memory`, `memorySwap`, `cpus`, `ulimits`, `seccompProfile`, `apparmorProfile`, `dns`, `extraHosts`. Multi-agent: override `agents.defaults.sandbox.{docker,browser,prune}.\*` per agent via `agents.list[].sandbox.{docker,browser,prune}.\*` (ignored when `agents.defaults.sandbox.scope` / `agents.list[].sandbox.scope` is `"shared"`). ### Build the default sandbox image ```bash scripts/sandbox-setup.sh ``` This builds `openclaw-sandbox:bookworm-slim` using `Dockerfile.sandbox`. ### Sandbox common image (optional) If you want a sandbox image with common build tooling (Node, Go, Rust, etc.), build the common image: ```bash scripts/sandbox-common-setup.sh ``` This builds `openclaw-sandbox-common:bookworm-slim`. To use it: ```json5 { agents: { defaults: { sandbox: { docker: { image: "openclaw-sandbox-common:bookworm-slim" } }, }, }, } ``` ### Sandbox browser image To run the browser tool inside the sandbox, | https://github.com/openclaw/openclaw/blob/main//docs/install/docker.md | main | opebclaw | [
0.030731042847037315,
0.01678111031651497,
-0.06490319967269897,
0.02073817141354084,
0.056651994585990906,
-0.03597119450569153,
0.020132139325141907,
-0.044609203934669495,
0.026056766510009766,
0.0108891436830163,
-0.009528039954602718,
-0.005300687626004219,
0.02129977196455002,
-0.00912738312035799,
0.04311704635620117,
-0.011855388060212135,
0.10768397897481918,
0.030466148629784584,
-0.0261097252368927,
-0.010893449187278748,
0.028181852772831917,
0.04643719270825386,
-0.033497899770736694,
-0.08896861225366592,
-0.12932415306568146,
0.03622598201036453,
-0.049373824149370193,
-0.08041207492351532,
0.005155819933861494,
-0.04029611870646477,
0.012468543834984303,
0.026673514395952225,
-0.10039699077606201,
-0.010752309113740921,
0.10812443494796753,
0.07839201390743256,
0.012270144186913967,
-0.01168692298233509,
0.025877097621560097,
-0.03421769663691521,
0.05591511353850365,
-0.019858254119753838,
-0.0022939848713576794,
-0.03947038948535919,
-0.08361251652240753,
-0.0565258264541626,
-0.013515363447368145,
-0.11112445592880249,
-0.024370508268475533,
0.037286147475242615,
-0.043969351798295975,
-0.029516002163290977,
0.02310110256075859,
0.0891433134675026,
0.01886526122689247,
0.039512570947408676,
0.0390496663749218,
0.04499796777963638,
0.006510747596621513,
-0.012481128796935081,
-0.017400015145540237,
-0.023879729211330414,
-0.005360177252441645,
-0.00015627089305780828,
0.010488337837159634,
-0.04667627438902855,
-0.04521523043513298,
-0.029749218374490738,
-0.0011241200845688581,
-0.08015939593315125,
-0.07453843206167221,
0.007148267701268196,
-0.01937069371342659,
-0.08028244227170944,
0.012254812754690647,
-0.06164408475160599,
0.02488997019827366,
0.031664226204156876,
0.019659725949168205,
-0.054752882570028305,
0.04182686284184456,
0.02908092364668846,
0.02716461569070816,
-0.022590957581996918,
-0.08379904180765152,
0.05335863679647446,
-0.010157785378396511,
0.0610225535929203,
0.1032596156001091,
-0.001162236905656755,
-0.015342500992119312,
-0.05000777542591095,
0.0002491121704224497,
0.04267501085996628,
0.10583803057670593,
-0.09346595406532288,
-0.051848556846380234,
0.0440526008605957,
0.024405092000961304,
0.07033073902130127,
0.009618883952498436,
0.0036390377208590508,
0.033306896686553955,
-0.005873606074601412,
0.02157011441886425,
-0.005641542840749025,
-0.008510757237672806,
-0.03147115930914879,
-0.0077782426960766315,
-0.004772581625729799,
-0.05309448391199112,
0.03882994502782822,
0.037572916597127914,
0.041448935866355896,
0.026915021240711212,
-0.023703917860984802,
0.03582874312996864,
-0.015029547736048698,
-0.015623149462044239,
0.045572005212306976,
0.06771137565374374,
-0.037341561168432236,
0.12648378312587738,
-0.0060264007188379765,
0.03597145527601242,
0.05079556256532669,
-0.007338070776313543,
2.5452698161736748e-33,
0.046847954392433167,
-0.17526130378246307,
0.019739389419555664,
0.059053935110569,
0.15320566296577454,
0.01914600096642971,
0.05639923736453056,
-0.000519988068845123,
-0.033386312425136566,
0.053708143532276154,
-0.040710147470235825,
0.09477362781763077,
-0.06899578124284744,
0.011159414425492287,
0.019990842789411545,
0.029695507138967514,
-0.04565384238958359,
0.019475717097520828,
0.024665940552949905,
-0.02319183200597763,
-0.022190529853105545,
-0.06564556062221527,
-0.058821335434913635,
0.02843545377254486,
0.052642177790403366,
-0.018349139019846916,
-0.005836125463247299,
-0.09073584526777267,
0.05078158527612686,
0.01864445209503174,
-0.010285045951604843,
0.04560552164912224,
0.027813520282506943,
0.08607498556375504,
-0.017076220363378525,
0.04268474504351616,
-0.0355837307870388,
0.016145359724760056,
-0.007662979420274496,
0.0007673883810639381,
-0.03947044163942337,
-0.07432884722948074,
0.09343976527452469,
-0.04661242291331291,
-0.04205736890435219,
-0.14655263721942902,
-0.07732995599508286,
0.046077072620391846,
0.04368032515048981,
0.06050485000014305,
0.04150382801890373,
-0.010592748410999775,
0.014837234281003475,
0.0031601686496287584,
-0.02430153451859951,
-0.06897882372140884,
-0.06507224589586258,
0.03647998347878456,
-0.0038666476029902697,
0.06532682478427887,
-0.07803963869810104,
-0.00118468445725739,
-0.01994500681757927,
0.07676761597394943,
-0.022807035595178604,
0.0767473578453064,
0.0039090909995138645,
0.08968717604875565,
0.054181817919015884,
-0.008032558485865593,
-0.08745265752077103,
0.03995363041758537,
-0.016073286533355713,
0.023798644542694092,
-0.06390376389026642,
-0.04599534347653389,
0.025626638904213905,
0.0015286143170669675,
0.017729870975017548,
-0.013923372142016888,
-0.0058720591478049755,
0.10799648612737656,
0.007390779908746481,
0.062262214720249176,
-0.11521833389997482,
-0.013550142757594585,
-0.08431637287139893,
-0.061708930879831314,
0.046008381992578506,
0.02561633661389351,
-0.022568464279174805,
0.006417457479983568,
-0.04534425213932991,
0.034941308200359344,
-0.0403575524687767,
-4.660501921830309e-33,
0.008321312256157398,
-0.03350698947906494,
-0.13371668756008148,
0.020472263917326927,
-0.02136322110891342,
0.03562181442975998,
0.07631637156009674,
-0.06924808025360107,
-0.01994839683175087,
-0.05150444805622101,
-0.038307398557662964,
0.08662156015634537,
0.03727671131491661,
-0.019737020134925842,
-0.002974537666887045,
-0.03573252260684967,
0.02604515478014946,
-0.07474130392074585,
-0.004329022020101547,
0.009790576994419098,
0.038230352103710175,
0.030066249892115593,
0.03821882978081703,
-0.0006480721058323979,
0.014758219942450523,
-0.022515112534165382,
0.007303674705326557,
-0.0231602992862463,
0.014463145285844803,
-0.008588285185396671,
0.03780059516429901,
-0.012063930742442608,
-0.01277295034378767,
-0.018158819526433945,
0.0251585952937603,
-0.014289471320807934,
-0.0630679503083229,
0.05988440662622452,
-0.07109810411930084,
-0.018458159640431404,
0.040253933519124985,
-0.06888213753700256,
-0.11130981147289276,
0.011688378639519215,
-0.03211310878396034,
0.0633312538266182,
-0.0660201832652092,
-0.032836299389600754,
-0.02945082075893879,
0.013242379762232304,
-0.04795573279261589,
-0.05935351923108101,
0.012349704280495644,
0.0018040126888081431,
-0.005012001376599073,
0.04509499669075012,
0.001135059050284326,
-0.003895881585776806,
-0.02531338483095169,
0.027805764228105545,
0.13257190585136414,
-0.004090310540050268,
-0.10653964430093765,
0.10869657248258591,
-0.043086398392915726,
0.004344886634498835,
-0.0602831207215786,
0.06554275751113892,
-0.03549820929765701,
0.019719010218977928,
0.03545227274298668,
-0.05193566530942917,
0.03598923608660698,
0.021892767399549484,
0.03846892714500427,
-0.013776806183159351,
0.02436576969921589,
-0.14492343366146088,
-0.013939610682427883,
0.029698317870497704,
-0.06450097262859344,
0.04615885019302368,
-0.01884552277624607,
-0.04440946504473686,
-0.04117241129279137,
0.01578429527580738,
-0.008391303941607475,
0.018268179148435593,
0.03098306432366371,
-0.004914557561278343,
-0.017903214320540428,
-0.052411168813705444,
-0.11813942342996597,
-0.007838374935090542,
-0.025206029415130615,
-5.0808303342364525e-8,
0.04857219010591507,
0.0080421082675457,
-0.008588581345975399,
-0.004599310923367739,
-0.09072065353393555,
-0.008922811597585678,
0.09036771208047867,
0.07343851029872894,
-0.013535894453525543,
0.06745545566082001,
0.03312724083662033,
-0.08850442618131638,
-0.006147377192974091,
-0.03724249452352524,
-0.012529096566140652,
0.10326135158538818,
0.07094121724367142,
0.014640631154179573,
-0.010798465460538864,
-0.11063845455646515,
-0.024095984175801277,
-0.04660676419734955,
0.08482327312231064,
0.059782300144433975,
-0.08213383704423904,
0.022998955100774765,
-0.003221539780497551,
-0.008675984106957912,
0.023450784385204315,
0.0587262362241745,
-0.015669366344809532,
0.015599018894135952,
-0.04439651593565941,
0.044603314250707626,
-0.07802924513816833,
0.1075873076915741,
-0.06569090485572815,
0.013666162267327309,
0.026966506615281105,
0.02957174740731716,
-0.07781591266393661,
-0.03003760613501072,
0.03869128227233887,
-0.070566825568676,
-0.023005569353699684,
0.025985997170209885,
-0.06900124996900558,
0.06421054154634476,
0.04041643440723419,
0.012321460992097855,
-0.04513545706868172,
0.08045020699501038,
0.008012739010155201,
0.1019977331161499,
0.09027688950300217,
0.056886911392211914,
0.05123670771718025,
-0.07382206618785858,
0.028348185122013092,
0.014133445918560028,
-0.07547318190336227,
0.04171590879559517,
0.023069588467478752,
-0.020337950438261032
] | 0.112115 |
common build tooling (Node, Go, Rust, etc.), build the common image: ```bash scripts/sandbox-common-setup.sh ``` This builds `openclaw-sandbox-common:bookworm-slim`. To use it: ```json5 { agents: { defaults: { sandbox: { docker: { image: "openclaw-sandbox-common:bookworm-slim" } }, }, }, } ``` ### Sandbox browser image To run the browser tool inside the sandbox, build the browser image: ```bash scripts/sandbox-browser-setup.sh ``` This builds `openclaw-sandbox-browser:bookworm-slim` using `Dockerfile.sandbox-browser`. The container runs Chromium with CDP enabled and an optional noVNC observer (headful via Xvfb). Notes: - Headful (Xvfb) reduces bot blocking vs headless. - Headless can still be used by setting `agents.defaults.sandbox.browser.headless=true`. - No full desktop environment (GNOME) is needed; Xvfb provides the display. Use config: ```json5 { agents: { defaults: { sandbox: { browser: { enabled: true }, }, }, }, } ``` Custom browser image: ```json5 { agents: { defaults: { sandbox: { browser: { image: "my-openclaw-browser" } }, }, }, } ``` When enabled, the agent receives: - a sandbox browser control URL (for the `browser` tool) - a noVNC URL (if enabled and headless=false) Remember: if you use an allowlist for tools, add `browser` (and remove it from deny) or the tool remains blocked. Prune rules (`agents.defaults.sandbox.prune`) apply to browser containers too. ### Custom sandbox image Build your own image and point config to it: ```bash docker build -t my-openclaw-sbx -f Dockerfile.sandbox . ``` ```json5 { agents: { defaults: { sandbox: { docker: { image: "my-openclaw-sbx" } }, }, }, } ``` ### Tool policy (allow/deny) - `deny` wins over `allow`. - If `allow` is empty: all tools (except deny) are available. - If `allow` is non-empty: only tools in `allow` are available (minus deny). ### Pruning strategy Two knobs: - `prune.idleHours`: remove containers not used in X hours (0 = disable) - `prune.maxAgeDays`: remove containers older than X days (0 = disable) Example: - Keep busy sessions but cap lifetime: `idleHours: 24`, `maxAgeDays: 7` - Never prune: `idleHours: 0`, `maxAgeDays: 0` ### Security notes - Hard wall only applies to \*\*tools\*\* (exec/read/write/edit/apply\_patch). - Host-only tools like browser/camera/canvas are blocked by default. - Allowing `browser` in sandbox \*\*breaks isolation\*\* (browser runs on host). ## Troubleshooting - Image missing: build with [`scripts/sandbox-setup.sh`](https://github.com/openclaw/openclaw/blob/main/scripts/sandbox-setup.sh) or set `agents.defaults.sandbox.docker.image`. - Container not running: it will auto-create per session on demand. - Permission errors in sandbox: set `docker.user` to a UID:GID that matches your mounted workspace ownership (or chown the workspace folder). - Custom tools not found: OpenClaw runs commands with `sh -lc` (login shell), which sources `/etc/profile` and may reset PATH. Set `docker.env.PATH` to prepend your custom tool paths (e.g., `/custom/bin:/usr/local/share/npm-global/bin`), or add a script under `/etc/profile.d/` in your Dockerfile. | https://github.com/openclaw/openclaw/blob/main//docs/install/docker.md | main | opebclaw | [
0.0022285371087491512,
0.044871143996715546,
-0.025770816951990128,
-0.005479938816279173,
0.07977362722158432,
-0.06721741706132889,
-0.11226247996091843,
0.019504427909851074,
-0.054240886121988297,
-0.06079196557402611,
0.022182079032063484,
-0.08978892862796783,
0.024333734065294266,
0.023162255063652992,
0.0371721014380455,
0.01589588075876236,
0.03960222005844116,
0.006285201292484999,
0.07015916705131531,
0.03715026378631592,
-0.07823610305786133,
-0.05957730486989021,
0.03362877294421196,
-0.07718650996685028,
-0.10005073994398117,
0.004954886622726917,
-0.056301299482584,
-0.07107579708099365,
-0.013570348732173443,
-0.07770413160324097,
0.07787973433732986,
0.013300541788339615,
-0.04392346739768982,
-0.017079513520002365,
0.08624491840600967,
0.1371503621339798,
0.0037209107540547848,
-0.02675420604646206,
-0.11012829095125198,
0.008448232896625996,
0.010621380060911179,
0.05416042357683182,
-0.042511459439992905,
-0.021765943616628647,
-0.07161073386669159,
-0.09533311426639557,
-0.011209334246814251,
-0.09794829785823822,
0.0011854172917082906,
-0.03158844634890556,
-0.06812458485364914,
-0.09158946573734283,
-0.02799699641764164,
-0.05041191726922989,
-0.0047561549581587315,
0.07968362420797348,
-0.06014445796608925,
0.008981341496109962,
0.0659058690071106,
-0.012671666219830513,
0.03310098871588707,
0.04163629189133644,
-0.011055431328713894,
0.004906959366053343,
0.04655507206916809,
0.04578179493546486,
-0.03001672588288784,
-0.007147947326302528,
-0.0016194394556805491,
0.0017114895163103938,
-0.0350056029856205,
-0.021384449675679207,
0.009921715594828129,
-0.047710124403238297,
-0.09101977199316025,
-0.03833615407347679,
-0.009470236487686634,
-0.005249566864222288,
-0.013730713166296482,
0.010036618448793888,
-0.10926996171474457,
0.008445076644420624,
-0.035390712320804596,
0.0015456790570169687,
-0.02809692546725273,
0.18265199661254883,
0.028057759627699852,
0.07199176400899887,
0.040163833647966385,
0.007428254932165146,
0.03894856199622154,
-0.06469953805208206,
-0.004230728838592768,
0.040888309478759766,
0.0725371465086937,
-0.00507667800411582,
0.026098432019352913,
0.049129027873277664,
-0.056706301867961884,
0.07542635500431061,
0.021417345851659775,
-0.03660387918353081,
0.05954035371541977,
-0.04707847163081169,
0.04599864035844803,
0.030411794781684875,
-0.04372657090425491,
0.041188959032297134,
-0.025659104809165,
0.023307854309678078,
-0.06301672011613846,
-0.032072555273771286,
0.007813535630702972,
-0.06737183779478073,
-0.01378986332565546,
-0.019288072362542152,
0.07881821691989899,
-0.00907287746667862,
0.045206863433122635,
0.060743968933820724,
0.16623389720916748,
0.0294314157217741,
0.024861473590135574,
-0.016703687608242035,
0.10936718434095383,
-0.012255686335265636,
-0.0021959899459034204,
3.166965819449543e-33,
0.09894800931215286,
-0.10233642160892487,
0.03131239488720894,
0.039975911378860474,
0.13963627815246582,
-0.05144760385155678,
0.062067270278930664,
0.00824038963764906,
-0.10890954732894897,
0.04318515211343765,
0.006319533102214336,
0.05030904710292816,
-0.10762130469083786,
0.030057810246944427,
0.007127278950065374,
-0.02799658104777336,
-0.06084178388118744,
-0.019444996491074562,
0.025972554460167885,
-0.007609240245074034,
-0.020298020914196968,
-0.022980697453022003,
-0.08821994066238403,
0.06151401251554489,
0.019074413925409317,
-0.016693485900759697,
0.032265596091747284,
0.03455687314271927,
0.010984518565237522,
0.02310160920023918,
0.017072148621082306,
-0.014699440449476242,
-0.021987726911902428,
0.07001948356628418,
-0.034299302846193314,
0.0015428585465997458,
-0.09028486162424088,
-0.0016466049710288644,
-0.080085389316082,
0.06654927134513855,
0.00527462363243103,
-0.011072352528572083,
-0.045579828321933746,
-0.024413248524069786,
0.04070847108960152,
-0.12089118361473083,
-0.015741243958473206,
0.05329117551445961,
0.03345471993088722,
-0.04480830579996109,
0.0035987584851682186,
-0.019372349604964256,
0.06516267359256744,
0.025946015492081642,
0.006893299054354429,
-0.05898289009928703,
-0.02674238383769989,
-0.035539183765649796,
-0.015052475035190582,
0.04512324184179306,
-0.03567551076412201,
0.04843192175030708,
-0.02409130334854126,
0.05899990350008011,
-0.00947151705622673,
-0.008693471550941467,
-0.021701330319046974,
0.08588576316833496,
-0.03158450871706009,
-0.028307128697633743,
0.01301505882292986,
0.006729309447109699,
0.031192075461149216,
-0.00034614058677107096,
0.01765643246471882,
-0.08883707970380783,
-0.012267014011740685,
-0.026630472391843796,
-0.03516848012804985,
-0.012815629132091999,
0.04079920053482056,
0.01744193211197853,
0.020579399541020393,
0.03773348405957222,
0.015589496120810509,
0.03840634226799011,
0.025138812139630318,
0.04901983216404915,
0.004551330581307411,
0.03794851154088974,
0.034766510128974915,
-0.04197271168231964,
-0.01542742270976305,
-0.03330550715327263,
-0.07667400687932968,
-4.5999933501217315e-33,
-0.03362109512090683,
-0.08798328787088394,
-0.02244589850306511,
0.05397425591945648,
-0.017309386283159256,
0.020888017490506172,
0.0013266867026686668,
-0.10409221053123474,
-0.006785253994166851,
-0.021609356626868248,
-0.10418976843357086,
0.06261520087718964,
0.004806856159120798,
0.008166223764419556,
-0.04654086008667946,
0.04348846152424812,
-0.006269549019634724,
-0.1010250598192215,
0.04342666268348694,
-0.03749509155750275,
-0.01713499054312706,
0.06985009461641312,
0.014010406099259853,
0.08475858718156815,
0.04836232215166092,
-0.035033293068408966,
0.03003779426217079,
0.027517352253198624,
-0.042950086295604706,
-0.011663507670164108,
-0.008799435570836067,
0.000352977542206645,
-0.0367472767829895,
-0.015035086311399937,
0.058077480643987656,
0.019949713721871376,
-0.07554051280021667,
0.1255873143672943,
-0.04327366128563881,
-0.015264040790498257,
-0.009547946974635124,
-0.08331186324357986,
-0.12196557968854904,
0.03452528268098831,
0.016827430576086044,
0.03726933151483536,
-0.02346121333539486,
0.00041892597801052034,
0.04558810964226723,
0.02556733228266239,
-0.045464932918548584,
-0.004740129690617323,
0.03673800826072693,
-0.004379260819405317,
-0.03931631147861481,
0.0019053284777328372,
-0.02109094336628914,
0.01878717541694641,
0.03020893782377243,
0.06868930160999298,
0.061169907450675964,
-0.12614057958126068,
-0.08215851336717606,
0.027234112843871117,
-0.0434982106089592,
-0.07176633924245834,
-0.12648864090442657,
0.09631183743476868,
-0.059378646314144135,
-0.00258552934974432,
-0.054986659437417984,
0.000001528491566205048,
0.007630473468452692,
-0.008471987210214138,
-0.009206118062138557,
-0.015830259770154953,
0.09264424443244934,
-0.048048216849565506,
0.013344588689506054,
0.058901868760585785,
-0.04484918713569641,
0.05839468911290169,
0.041142746806144714,
-0.08413275331258774,
0.004427417181432247,
0.001889820909127593,
0.00631463760510087,
0.05174531787633896,
0.004889689851552248,
0.03676215559244156,
-0.010318794287741184,
0.02984294854104519,
-0.04782906547188759,
0.04722565412521362,
-0.005113232880830765,
-5.4424614148729233e-8,
0.08589345961809158,
-0.0087620560079813,
-0.042630985379219055,
-0.0036718733608722687,
-0.02608603425323963,
-0.005790418945252895,
0.08456619828939438,
0.026594892144203186,
0.01768362894654274,
0.019022975116968155,
0.04480760172009468,
-0.01119457557797432,
-0.021855875849723816,
0.11817479878664017,
-0.0016624978743493557,
0.0954737588763237,
0.030843952670693398,
0.1107875406742096,
-0.013075041584670544,
-0.07501029223203659,
-0.0396762490272522,
-0.014776825904846191,
0.0468963198363781,
0.043409597128629684,
-0.033371638506650925,
-0.02899533323943615,
0.03171473369002342,
0.02443350851535797,
-0.019777152687311172,
0.02813810296356678,
-0.06439565867185593,
0.013023622334003448,
-0.022520754486322403,
-0.03122898004949093,
-0.008584253489971161,
0.027481595054268837,
-0.05486515164375305,
0.02851639874279499,
0.04639861360192299,
-0.03581099584698677,
-0.007951261475682259,
-0.010300133377313614,
-0.02379942685365677,
-0.06095074489712715,
-0.020763728767633438,
-0.04386436939239502,
-0.06073114648461342,
-0.028673451393842697,
0.03339175879955292,
-0.03589659556746483,
0.04826953262090683,
0.010666651651263237,
0.01345211360603571,
0.03897823393344879,
0.13183720409870148,
0.07782207429409027,
0.08781421929597855,
-0.04925011843442917,
0.0542413666844368,
0.015548051334917545,
-0.04119666665792465,
-0.02342209778726101,
0.08568764477968216,
0.0330636128783226
] | 0.041638 |
# Migrating OpenClaw to a new machine This guide migrates a OpenClaw Gateway from one machine to another \*\*without redoing onboarding\*\*. The migration is simple conceptually: - Copy the \*\*state directory\*\* (`$OPENCLAW\_STATE\_DIR`, default: `~/.openclaw/`) — this includes config, auth, sessions, and channel state. - Copy your \*\*workspace\*\* (`~/.openclaw/workspace/` by default) — this includes your agent files (memory, prompts, etc.). But there are common footguns around \*\*profiles\*\*, \*\*permissions\*\*, and \*\*partial copies\*\*. ## Before you start (what you are migrating) ### 1) Identify your state directory Most installs use the default: - \*\*State dir:\*\* `~/.openclaw/` But it may be different if you use: - `--profile ` (often becomes `~/.openclaw-/`) - `OPENCLAW\_STATE\_DIR=/some/path` If you’re not sure, run on the \*\*old\*\* machine: ```bash openclaw status ``` Look for mentions of `OPENCLAW\_STATE\_DIR` / profile in the output. If you run multiple gateways, repeat for each profile. ### 2) Identify your workspace Common defaults: - `~/.openclaw/workspace/` (recommended workspace) - a custom folder you created Your workspace is where files like `MEMORY.md`, `USER.md`, and `memory/\*.md` live. ### 3) Understand what you will preserve If you copy \*\*both\*\* the state dir and workspace, you keep: - Gateway configuration (`openclaw.json`) - Auth profiles / API keys / OAuth tokens - Session history + agent state - Channel state (e.g. WhatsApp login/session) - Your workspace files (memory, skills notes, etc.) If you copy \*\*only\*\* the workspace (e.g., via Git), you do \*\*not\*\* preserve: - sessions - credentials - channel logins Those live under `$OPENCLAW\_STATE\_DIR`. ## Migration steps (recommended) ### Step 0 — Make a backup (old machine) On the \*\*old\*\* machine, stop the gateway first so files aren’t changing mid-copy: ```bash openclaw gateway stop ``` (Optional but recommended) archive the state dir and workspace: ```bash # Adjust paths if you use a profile or custom locations cd ~ tar -czf openclaw-state.tgz .openclaw tar -czf openclaw-workspace.tgz .openclaw/workspace ``` If you have multiple profiles/state dirs (e.g. `~/.openclaw-main`, `~/.openclaw-work`), archive each. ### Step 1 — Install OpenClaw on the new machine On the \*\*new\*\* machine, install the CLI (and Node if needed): - See: [Install](/install) At this stage, it’s OK if onboarding creates a fresh `~/.openclaw/` — you will overwrite it in the next step. ### Step 2 — Copy the state dir + workspace to the new machine Copy \*\*both\*\*: - `$OPENCLAW\_STATE\_DIR` (default `~/.openclaw/`) - your workspace (default `~/.openclaw/workspace/`) Common approaches: - `scp` the tarballs and extract - `rsync -a` over SSH - external drive After copying, ensure: - Hidden directories were included (e.g. `.openclaw/`) - File ownership is correct for the user running the gateway ### Step 3 — Run Doctor (migrations + service repair) On the \*\*new\*\* machine: ```bash openclaw doctor ``` Doctor is the “safe boring” command. It repairs services, applies config migrations, and warns about mismatches. Then: ```bash openclaw gateway restart openclaw status ``` ## Common footguns (and how to avoid them) ### Footgun: profile / state-dir mismatch If you ran the old gateway with a profile (or `OPENCLAW\_STATE\_DIR`), and the new gateway uses a different one, you’ll see symptoms like: - config changes not taking effect - channels missing / logged out - empty session history Fix: run the gateway/service using the \*\*same\*\* profile/state dir you migrated, then rerun: ```bash openclaw doctor ``` ### Footgun: copying only `openclaw.json` `openclaw.json` is not enough. Many providers store state under: - `$OPENCLAW\_STATE\_DIR/credentials/` - `$OPENCLAW\_STATE\_DIR/agents//...` Always migrate the entire `$OPENCLAW\_STATE\_DIR` folder. ### Footgun: permissions / ownership If you copied as root or changed users, the gateway may fail to read credentials/sessions. Fix: ensure the state dir + workspace are owned by the user running the gateway. ### Footgun: migrating between remote/local | https://github.com/openclaw/openclaw/blob/main//docs/install/migrating.md | main | opebclaw | [
0.012789330445230007,
-0.07990569621324539,
-0.07290059328079224,
0.014548517763614655,
0.03703133016824722,
-0.06115041673183441,
-0.0213494710624218,
-0.027955003082752228,
-0.07363596558570862,
-0.024930614978075027,
0.04202074185013771,
-0.026729876175522804,
0.048047199845314026,
-0.01570187695324421,
0.07040105015039444,
0.09794612228870392,
0.042050551623106,
-0.04041300341486931,
-0.030434895306825638,
0.02248433418571949,
-0.04787782207131386,
0.0005219405866228044,
-0.04023353382945061,
-0.1017698273062706,
-0.03778979182243347,
-0.017013048753142357,
-0.02591862715780735,
-0.004744659643620253,
-0.034463126212358475,
-0.03622429817914963,
0.042966149747371674,
0.059995174407958984,
-0.06430532783269882,
0.017996612936258316,
0.11188335716724396,
0.1047058179974556,
0.06712016463279724,
-0.05235667899250984,
-0.04876295104622841,
-0.06197326257824898,
0.12581345438957214,
0.03476747125387192,
-0.048701293766498566,
0.005995689891278744,
-0.09422781318426132,
0.0023358797188848257,
0.04374942183494568,
-0.09594304114580154,
-0.0034340391866862774,
0.01006851065903902,
-0.0770845040678978,
-0.0566210001707077,
-0.028212236240506172,
-0.03337036445736885,
0.011382466182112694,
0.06410396844148636,
0.08766323328018188,
-0.030016014352440834,
0.022455796599388123,
-0.06688252091407776,
0.055162880569696426,
0.05052904412150383,
-0.04500923305749893,
0.05921163782477379,
-0.07996846735477448,
-0.03545433655381203,
-0.0651950016617775,
-0.0552675724029541,
-0.01646517775952816,
-0.005186751950532198,
-0.1008651927113533,
0.02382575161755085,
-0.09485744684934616,
-0.0016552441520616412,
0.03799758106470108,
-0.055415596812963486,
0.025429679080843925,
0.06309343874454498,
-0.038257259875535965,
-0.10343395918607712,
-0.004722938872873783,
-0.007885499857366085,
-0.08654642850160599,
0.0027813829947263002,
-0.05556360259652138,
0.1304544359445572,
-0.011111603118479252,
0.02031378075480461,
0.016310082748532295,
-0.0022047481033951044,
0.030300121754407883,
-0.12452737241983414,
0.0704994648694992,
-0.017866196110844612,
-0.010637377388775349,
-0.01620994322001934,
-0.04305166006088257,
0.016029754653573036,
0.023756161332130432,
0.07301700860261917,
-0.04836621135473251,
-0.03639472648501396,
0.06519553065299988,
0.04813408851623535,
-0.09512548893690109,
0.06027492880821228,
0.021969622001051903,
0.07110472023487091,
-0.047000303864479065,
-0.012491726316511631,
0.03338531032204628,
0.013680349104106426,
0.06627700477838516,
-0.031249523162841797,
0.04524506255984306,
-0.0239618681371212,
-0.10751894116401672,
0.013343439437448978,
0.008698683232069016,
0.12139786034822464,
0.07603053003549576,
-0.04192022979259491,
0.11530405282974243,
0.034496430307626724,
0.07340873032808304,
0.06635435670614243,
0.009461827576160431,
2.1936199464412182e-33,
0.03372958302497864,
0.009751938283443451,
-0.04825631156563759,
0.05163177475333214,
0.12592291831970215,
0.01340061891824007,
0.052231330424547195,
0.018109897151589394,
-0.021872228011488914,
0.06242132559418678,
0.015328270383179188,
0.05895383656024933,
-0.05275944992899895,
-0.0013045688392594457,
0.052751220762729645,
-0.013282607309520245,
-0.01550612784922123,
0.03317853808403015,
0.10282213240861893,
-0.014780032448470592,
0.030767232179641724,
0.022350570186972618,
-0.0537562370300293,
0.039466120302677155,
0.019334543496370316,
0.01879134587943554,
-0.04650683328509331,
-0.05594443157315254,
0.03095693700015545,
0.013469944708049297,
0.043137092143297195,
0.030125603079795837,
-0.008503003045916557,
0.05407598614692688,
-0.05607427656650543,
0.0639587789773941,
-0.058514367789030075,
-0.07969998568296432,
-0.004262343514710665,
-0.039862386882305145,
0.0008279914618469775,
-0.014587681740522385,
-0.015889879316091537,
-0.016407042741775513,
0.020110169425606728,
-0.10933374613523483,
-0.002973715076223016,
0.016584623605012894,
0.06917586177587509,
0.004327742848545313,
-0.001301723183132708,
-0.04898444190621376,
0.07142263650894165,
-0.012496750801801682,
-0.05793331563472748,
-0.0557163842022419,
-0.035961687564849854,
-0.01372545026242733,
0.045823220163583755,
-0.020959623157978058,
-0.017188120633363724,
0.043548956513404846,
-0.01269788108766079,
0.06414871662855148,
0.020411336794495583,
-0.023739129304885864,
0.03044375218451023,
0.0594220906496048,
0.005880655255168676,
0.017462395131587982,
-0.0848979726433754,
-0.014710615389049053,
-0.05455416440963745,
0.04897726699709892,
-0.024247225373983383,
-0.08565021306276321,
-0.014920844696462154,
-0.026733003556728363,
0.027014514431357384,
-0.01816312037408352,
-0.0025815926492214203,
0.06598997861146927,
-0.10247242450714111,
-0.011184764094650745,
0.04105270281434059,
-0.009816162288188934,
-0.014752428978681564,
-0.08939570188522339,
0.03517071530222893,
0.0769692063331604,
0.019165972247719765,
-0.032986585050821304,
-0.07405985891819,
0.014481115154922009,
-0.005249733570963144,
-5.319484422243268e-33,
0.00831777323037386,
-0.04015657305717468,
0.0076469131745398045,
0.0024381736293435097,
-0.07158271968364716,
0.008068286813795567,
0.0218359287828207,
-0.013528418727219105,
-0.06257055699825287,
-0.051875803619623184,
-0.08307158946990967,
0.09034808725118637,
0.09731750935316086,
-0.09066198766231537,
0.03174654021859169,
-0.057627320289611816,
-0.0337352491915226,
-0.010374660603702068,
-0.015509274788200855,
0.002361970953643322,
-0.007893471047282219,
0.04817180335521698,
-0.029278699308633804,
0.026414113119244576,
0.07430051267147064,
0.008455164730548859,
-0.014035719446837902,
0.04494167119264603,
0.021398358047008514,
-0.012697376310825348,
0.03953429311513901,
0.03233708441257477,
-0.07756830006837845,
-0.03575070574879646,
-0.05019327998161316,
0.07328756898641586,
-0.07027439028024673,
0.09824497997760773,
-0.022643832489848137,
0.032041698694229126,
0.018734971061348915,
-0.05448479950428009,
-0.05177197605371475,
-0.054501209408044815,
-0.049140967428684235,
0.08389060944318771,
-0.039681822061538696,
-0.06362557411193848,
-0.06401833891868591,
-0.0004105917178094387,
0.0408707819879055,
0.06090712174773216,
0.054744262248277664,
-0.022048041224479675,
0.0241630170494318,
0.06439252197742462,
0.08238013088703156,
-0.024068152531981468,
0.02524246834218502,
-0.11046405136585236,
0.027412764728069305,
-0.0045494502410292625,
-0.012947692535817623,
0.06995450705289841,
-0.08565135300159454,
-0.05249127000570297,
0.011920233257114887,
0.07338258624076843,
-0.10751508176326752,
-0.04108371213078499,
-0.07094666361808777,
-0.032201409339904785,
-0.059597447514534,
-0.03499889373779297,
-0.02646542899310589,
-0.061312440782785416,
0.07023178040981293,
-0.03591364622116089,
-0.029074691236019135,
0.08479320257902145,
-0.03576921299099922,
0.013593796640634537,
-0.011521430686116219,
-0.04055781289935112,
-0.017044052481651306,
-0.0491713248193264,
-0.020137006416916847,
0.05688820779323578,
0.05449981242418289,
0.03344797343015671,
-0.07005472481250763,
0.02787119708955288,
-0.01926637627184391,
-0.07017102837562561,
0.002928720787167549,
-4.910461370855046e-8,
-0.0878886878490448,
0.01620512641966343,
-0.005153534468263388,
0.04776742309331894,
-0.010063474997878075,
-0.03428662568330765,
-0.00015566099318675697,
0.05158460512757301,
-0.010532263666391373,
-0.0019357482669875026,
0.07375361770391464,
0.05578531697392464,
-0.026369238272309303,
0.028596198186278343,
-0.10875386744737625,
0.09094899892807007,
0.017570337280631065,
-0.04846418276429176,
0.023712238296866417,
-0.03167068585753441,
-0.052247848361730576,
0.0018955407431349158,
0.0719882920384407,
0.04751216247677803,
-0.07231263071298599,
-0.01708981767296791,
-0.018129564821720123,
-0.02281268686056137,
-0.010942280292510986,
0.07283789664506912,
-0.029616784304380417,
-0.0103765232488513,
0.026971813291311264,
-0.0016256001545116305,
-0.06237930804491043,
0.013039246201515198,
-0.02316984347999096,
0.0692652240395546,
0.014907177537679672,
-0.04395202919840813,
0.010433358140289783,
0.0524868480861187,
-0.015773054212331772,
-0.017660368233919144,
-0.05351582169532776,
-0.025329891592264175,
-0.07611127197742462,
0.0024154665879905224,
0.040514808148145676,
-0.05242997780442238,
-0.029345085844397545,
0.015146609395742416,
-0.055023062974214554,
0.09623488783836365,
0.05155658349394798,
0.08038470894098282,
0.005881969816982746,
0.013794482685625553,
0.060947444289922714,
0.053247809410095215,
-0.05244451388716698,
0.028939655050635338,
0.043935179710388184,
-0.08328261226415634
] | 0.01964 |
- `$OPENCLAW\_STATE\_DIR/credentials/` - `$OPENCLAW\_STATE\_DIR/agents//...` Always migrate the entire `$OPENCLAW\_STATE\_DIR` folder. ### Footgun: permissions / ownership If you copied as root or changed users, the gateway may fail to read credentials/sessions. Fix: ensure the state dir + workspace are owned by the user running the gateway. ### Footgun: migrating between remote/local modes - If your UI (WebUI/TUI) points at a \*\*remote\*\* gateway, the remote host owns the session store + workspace. - Migrating your laptop won’t move the remote gateway’s state. If you’re in remote mode, migrate the \*\*gateway host\*\*. ### Footgun: secrets in backups `$OPENCLAW\_STATE\_DIR` contains secrets (API keys, OAuth tokens, WhatsApp creds). Treat backups like production secrets: - store encrypted - avoid sharing over insecure channels - rotate keys if you suspect exposure ## Verification checklist On the new machine, confirm: - `openclaw status` shows the gateway running - Your channels are still connected (e.g. WhatsApp doesn’t require re-pair) - The dashboard opens and shows existing sessions - Your workspace files (memory, configs) are present ## Related - [Doctor](/gateway/doctor) - [Gateway troubleshooting](/gateway/troubleshooting) - [Where does OpenClaw store its data?](/help/faq#where-does-openclaw-store-its-data) | https://github.com/openclaw/openclaw/blob/main//docs/install/migrating.md | main | opebclaw | [
-0.05544332042336464,
-0.03541995957493782,
-0.062255870550870895,
0.019191596657037735,
0.03868182376027107,
-0.050637636333703995,
-0.000935910502448678,
-0.01642860844731331,
0.024689463898539543,
0.01546146534383297,
0.08202344924211502,
-0.03296526148915291,
0.04460969194769859,
0.01895589381456375,
0.09145735949277878,
0.08468780666589737,
0.0037630009464919567,
-0.05623340606689453,
-0.05441603064537048,
-0.015284920111298561,
-0.04409876838326454,
-0.023550106212496758,
-0.011412111110985279,
-0.045224763453006744,
-0.005920437630265951,
0.003334923181682825,
-0.012481261044740677,
-0.001996963517740369,
-0.013394295237958431,
-0.0068414220586419106,
-0.02140757068991661,
0.03927121311426163,
-0.1583305150270462,
-0.015251494012773037,
0.04488184675574303,
0.09382570534944534,
0.0808105543255806,
-0.0008471310720779002,
0.06596256792545319,
-0.09440387785434723,
0.114867202937603,
0.006689670030027628,
0.02483748458325863,
-0.059709202498197556,
-0.016556240618228912,
-0.04868150129914284,
0.015357457101345062,
-0.07453266531229019,
-0.036587219685316086,
-0.008037454448640347,
-0.06025071442127228,
0.021442783996462822,
0.008625038899481297,
0.07605860382318497,
-0.00396168977022171,
0.11073550581932068,
0.11693490296602249,
0.04325123876333237,
0.050966039299964905,
-0.03443096950650215,
0.042159464210271835,
0.0011172979138791561,
0.008433337323367596,
-0.0015922716120257974,
-0.07462896406650543,
-0.06351744383573532,
-0.04914150387048721,
-0.07225597649812698,
-0.04911279305815697,
0.02550504356622696,
-0.05698016285896301,
0.037165410816669464,
-0.04617376625537872,
0.02128867246210575,
0.03801506757736206,
-0.05041159316897392,
0.014646343886852264,
0.040334101766347885,
-0.027310742065310478,
-0.07691718637943268,
0.07368268817663193,
0.045339155942201614,
-0.04241475462913513,
0.029914040118455887,
-0.025348614901304245,
0.09214010834693909,
-0.05596501752734184,
-0.00015952339163050056,
0.01970640756189823,
-0.01144497562199831,
0.044849615544080734,
-0.1126370057463646,
0.03504330664873123,
-0.014514632523059845,
0.048037413507699966,
-0.04660845175385475,
-0.06362079083919525,
0.03561050444841385,
-0.0034700618125498295,
0.04087744280695915,
-0.030468745157122612,
0.0069171288050711155,
0.058603499084711075,
0.031340375542640686,
-0.04993489012122154,
0.04268765449523926,
0.0711960643529892,
0.00034672010224312544,
-0.010491550900042057,
0.027488473802804947,
-0.002336462726816535,
0.011400069110095501,
0.02400541864335537,
0.051791246980428696,
0.040554821491241455,
-0.016128621995449066,
-0.10768033564090729,
0.041547991335392,
-0.07354217022657394,
0.11569701135158539,
0.025416623800992966,
-0.03772152215242386,
0.0309543889015913,
0.0066599114798009396,
0.0638747438788414,
0.009442852810025215,
0.06859225779771805,
3.575482432454936e-33,
0.04209691658616066,
-0.0014900602400302887,
-0.04838869720697403,
0.02916189841926098,
0.15662626922130585,
0.027954479679465294,
0.07265596836805344,
-0.0237925723195076,
-0.0025657773949205875,
0.023814287036657333,
-0.050191860646009445,
0.06550487875938416,
-0.079410120844841,
-0.04858320951461792,
0.036668263375759125,
0.01859133318066597,
-0.006651300471276045,
0.008036648854613304,
0.11258725821971893,
-0.031286660581827164,
0.11351525038480759,
-0.0011694511631503701,
-0.01155759859830141,
-0.0230674110352993,
0.02095566689968109,
-0.0067515866830945015,
-0.031876202672719955,
0.009523959830403328,
0.0016565477708354592,
0.004751285072416067,
0.02926546335220337,
0.052239496260881424,
-0.0038560903631150723,
0.010951130650937557,
-0.0557270385324955,
0.006311262957751751,
-0.06572017818689346,
-0.040264587849378586,
-0.03858037292957306,
0.0004239753761794418,
-0.023626217618584633,
0.004909132607281208,
-0.02978089079260826,
-0.009737732820212841,
0.004915362223982811,
-0.11445663869380951,
-0.0029675604309886694,
-0.0032136894296854734,
0.01773400418460369,
0.0874914601445198,
-0.15414968132972717,
-0.01881192810833454,
-0.003931570332497358,
-0.03207382559776306,
-0.014116738922894001,
-0.10013546049594879,
-0.025175796821713448,
-0.009126778692007065,
0.049928292632102966,
-0.057722147554159164,
-0.0005553666851483285,
0.00556755717843771,
-0.021659107878804207,
0.05660024285316467,
-0.0062180450186133385,
-0.033505938947200775,
-0.04348491132259369,
0.04881735518574715,
-0.001503498642705381,
-0.03304501250386238,
-0.045155324041843414,
0.04034150764346123,
-0.06974134594202042,
0.04755580797791481,
-0.008030934259295464,
-0.12869898974895477,
-0.05231281369924545,
0.025585871189832687,
-0.0017295832512900233,
-0.04950643330812454,
0.029797909781336784,
0.026941310614347458,
-0.07654300332069397,
0.0427665114402771,
-0.01347473356872797,
0.04864870384335518,
-0.014591370709240437,
-0.09583773463964462,
-0.030850309878587723,
0.06212350353598595,
0.047968074679374695,
-0.031178506091237068,
0.011914592236280441,
0.008146295323967934,
-0.017085013911128044,
-5.7311877269653426e-33,
0.023958371952176094,
-0.009309293702244759,
0.022835716605186462,
0.001546439598314464,
-0.04047625511884689,
0.004583751782774925,
0.001951224054209888,
0.05213521793484688,
-0.08614010363817215,
-0.04098279029130936,
-0.07354803383350372,
0.10652045905590057,
0.0685199424624443,
-0.062713123857975,
0.04034874588251114,
-0.019803155213594437,
0.020024172961711884,
-0.06903421878814697,
-0.004037909209728241,
-0.025339974090456963,
0.008788082748651505,
0.07185458391904831,
-0.08911476284265518,
0.01470954716205597,
0.05509692430496216,
0.030910303816199303,
0.007113938219845295,
0.0007581677637062967,
-0.016879495233297348,
0.002502844203263521,
0.03916976973414421,
-0.03301407769322395,
-0.08046603947877884,
0.04200263321399689,
-0.012269672006368637,
-0.028107095509767532,
-0.06977087259292603,
0.062293440103530884,
-0.06131061911582947,
0.030728815123438835,
0.0549318827688694,
-0.07077959924936295,
0.009189359843730927,
-0.04932163283228874,
-0.047092702239751816,
0.07193946838378906,
-0.06159057095646858,
-0.04477687180042267,
-0.0678282156586647,
0.013342157006263733,
0.07427286356687546,
0.06771121174097061,
-0.023114752024412155,
0.014782795682549477,
0.08379681408405304,
0.03290910646319389,
0.08056358993053436,
-0.038868796080350876,
-0.011192251928150654,
-0.12563003599643707,
0.021277036517858505,
-0.0034304684959352016,
-0.02066316269338131,
0.12125327438116074,
-0.0761677697300911,
-0.010494926944375038,
-0.009377462789416313,
0.0853719413280487,
0.04001927003264427,
-0.04386438429355621,
-0.04966607689857483,
-0.0528719499707222,
0.01484973169863224,
-0.011486127972602844,
0.00008278740278910846,
-0.04802607744932175,
0.08251121640205383,
-0.05923008546233177,
0.03142024949193001,
0.05534210056066513,
-0.04841277375817299,
-0.0700417086482048,
-0.03168804943561554,
-0.0710119977593422,
0.009303109720349312,
-0.03275151550769806,
-0.007487405091524124,
0.05173301324248314,
0.04040252044796944,
0.08328856527805328,
-0.06345739960670471,
0.002871221862733364,
-0.011109447106719017,
-0.05483901873230934,
0.10359236598014832,
-4.930856078999568e-8,
-0.0963318794965744,
0.0004021891800221056,
-0.01689404994249344,
0.0906018316745758,
-0.06275137513875961,
-0.06841420382261276,
0.07719029486179352,
0.0014430498704314232,
0.029644658789038658,
0.021201465278863907,
0.03723461553454399,
0.049390699714422226,
0.006896838080137968,
0.04512878507375717,
-0.14204078912734985,
0.0653853714466095,
0.03860392048954964,
-0.02385375276207924,
0.040756188333034515,
-0.05645899102091789,
-0.060808103531599045,
-0.07136879861354828,
0.07870993763208389,
0.049442093819379807,
-0.03982480242848396,
0.010325958952307701,
-0.055497366935014725,
-0.017591236159205437,
-0.03721211105585098,
0.04820030927658081,
-0.09375429153442383,
-0.04475223273038864,
0.02353253774344921,
-0.005323432385921478,
-0.08766503632068634,
0.031281571835279465,
0.002529915887862444,
0.0016470002010464668,
0.017102574929594994,
-0.026591407135128975,
0.024487944319844246,
0.006341358181089163,
0.005666225217282772,
-0.05599851906299591,
-0.005909046623855829,
0.009906907565891743,
-0.026332814246416092,
0.07407765090465546,
0.0173549335449934,
-0.045204002410173416,
-0.04008420184254646,
-0.04783810302615166,
0.008480988442897797,
0.10417735576629639,
0.05806455388665199,
0.011403474025428295,
0.005284123122692108,
0.022392291575670242,
0.04479919746518135,
0.017356429249048233,
-0.0165590550750494,
0.053977105766534805,
-0.02678855136036873,
-0.11623653769493103
] | 0.028826 |
# Formal Verification (Security Models) This page tracks OpenClaw’s \*\*formal security models\*\* (TLA+/TLC today; more as needed). > Note: some older links may refer to the previous project name. \*\*Goal (north star):\*\* provide a machine-checked argument that OpenClaw enforces its intended security policy (authorization, session isolation, tool gating, and misconfiguration safety), under explicit assumptions. \*\*What this is (today):\*\* an executable, attacker-driven \*\*security regression suite\*\*: - Each claim has a runnable model-check over a finite state space. - Many claims have a paired \*\*negative model\*\* that produces a counterexample trace for a realistic bug class. \*\*What this is not (yet):\*\* a proof that “OpenClaw is secure in all respects” or that the full TypeScript implementation is correct. ## Where the models live Models are maintained in a separate repo: [vignesh07/openclaw-formal-models](https://github.com/vignesh07/openclaw-formal-models). ## Important caveats - These are \*\*models\*\*, not the full TypeScript implementation. Drift between model and code is possible. - Results are bounded by the state space explored by TLC; “green” does not imply security beyond the modeled assumptions and bounds. - Some claims rely on explicit environmental assumptions (e.g., correct deployment, correct configuration inputs). ## Reproducing results Today, results are reproduced by cloning the models repo locally and running TLC (see below). A future iteration could offer: - CI-run models with public artifacts (counterexample traces, run logs) - a hosted “run this model” workflow for small, bounded checks Getting started: ```bash git clone https://github.com/vignesh07/openclaw-formal-models cd openclaw-formal-models # Java 11+ required (TLC runs on the JVM). # The repo vendors a pinned `tla2tools.jar` (TLA+ tools) and provides `bin/tlc` + Make targets. make ``` ### Gateway exposure and open gateway misconfiguration \*\*Claim:\*\* binding beyond loopback without auth can make remote compromise possible / increases exposure; token/password blocks unauth attackers (per the model assumptions). - Green runs: - `make gateway-exposure-v2` - `make gateway-exposure-v2-protected` - Red (expected): - `make gateway-exposure-v2-negative` See also: `docs/gateway-exposure-matrix.md` in the models repo. ### Nodes.run pipeline (highest-risk capability) \*\*Claim:\*\* `nodes.run` requires (a) node command allowlist plus declared commands and (b) live approval when configured; approvals are tokenized to prevent replay (in the model). - Green runs: - `make nodes-pipeline` - `make approvals-token` - Red (expected): - `make nodes-pipeline-negative` - `make approvals-token-negative` ### Pairing store (DM gating) \*\*Claim:\*\* pairing requests respect TTL and pending-request caps. - Green runs: - `make pairing` - `make pairing-cap` - Red (expected): - `make pairing-negative` - `make pairing-cap-negative` ### Ingress gating (mentions + control-command bypass) \*\*Claim:\*\* in group contexts requiring mention, an unauthorized “control command” cannot bypass mention gating. - Green: - `make ingress-gating` - Red (expected): - `make ingress-gating-negative` ### Routing/session-key isolation \*\*Claim:\*\* DMs from distinct peers do not collapse into the same session unless explicitly linked/configured. - Green: - `make routing-isolation` - Red (expected): - `make routing-isolation-negative` ## v1++: additional bounded models (concurrency, retries, trace correctness) These are follow-on models that tighten fidelity around real-world failure modes (non-atomic updates, retries, and message fan-out). ### Pairing store concurrency / idempotency \*\*Claim:\*\* a pairing store should enforce `MaxPending` and idempotency even under interleavings (i.e., “check-then-write” must be atomic / locked; refresh shouldn’t create duplicates). What it means: - Under concurrent requests, you can’t exceed `MaxPending` for a channel. - Repeated requests/refreshes for the same `(channel, sender)` should not create duplicate live pending rows. - Green runs: - `make pairing-race` (atomic/locked cap check) - `make pairing-idempotency` - `make pairing-refresh` - `make pairing-refresh-race` - Red (expected): - `make pairing-race-negative` (non-atomic begin/commit cap race) - `make pairing-idempotency-negative` - `make pairing-refresh-negative` - `make pairing-refresh-race-negative` ### Ingress trace correlation / idempotency \*\*Claim:\*\* ingestion should preserve trace correlation across fan-out and be idempotent under provider retries. What it means: - When one | https://github.com/openclaw/openclaw/blob/main//docs/security/formal-verification.md | main | opebclaw | [
-0.16932441294193268,
0.04791184142231941,
-0.059747591614723206,
0.05606735870242119,
0.061204954981803894,
-0.040144238620996475,
0.030112866312265396,
0.009816251695156097,
-0.006992725655436516,
0.048885900527238846,
-0.005077486392110586,
-0.047748129814863205,
0.05083806440234184,
0.05408469960093498,
0.031956352293491364,
0.053980279713869095,
0.05269690603017807,
-0.05387003719806671,
-0.05376299098134041,
0.008890021592378616,
-0.0487220324575901,
-0.001187267480418086,
-0.015564166940748692,
0.014471719972789288,
-0.08135973662137985,
-0.0807030200958252,
-0.03962082788348198,
-0.02743537724018097,
-0.04034929350018501,
-0.03569861128926277,
-0.04536917060613632,
0.034259866923093796,
-0.04580773785710335,
-0.019626237452030182,
0.09271907806396484,
0.058375339955091476,
-0.009561329148709774,
-0.05141865089535713,
-0.08147402107715607,
-0.0010786157799884677,
-0.03177865967154503,
0.012973690405488014,
-0.024380624294281006,
-0.017809739336371422,
-0.059435490518808365,
-0.07641764730215073,
0.04231748357415199,
-0.0389728769659996,
-0.12815141677856445,
-0.053245093673467636,
-0.07417555898427963,
-0.004158325493335724,
0.01152570266276598,
-0.07433956116437912,
0.023411577567458153,
-0.073374904692173,
0.03824181854724884,
-0.0673375129699707,
-0.009697643108665943,
0.004051705356687307,
0.06792715191841125,
0.023316143080592155,
-0.12184272706508636,
0.03617492690682411,
-0.0063208844512701035,
0.058953747153282166,
-0.03622297942638397,
0.009415295906364918,
-0.020884333178400993,
0.04106336086988449,
-0.07178760319948196,
-0.002639368874952197,
-0.0344453863799572,
0.043303318321704865,
0.023047100752592087,
-0.00704206945374608,
0.050558917224407196,
0.00988416001200676,
0.028317119926214218,
-0.1115214005112648,
-0.0776631236076355,
-0.042554549872875214,
-0.03686722740530968,
0.031588565558195114,
0.04265855625271797,
0.10511793196201324,
-0.012418163940310478,
0.06336915493011475,
0.1380815953016281,
0.053651534020900726,
0.04353898763656616,
-0.033031027764081955,
0.05753116309642792,
0.05132955685257912,
0.08492835611104965,
-0.007650975603610277,
-0.004921911749988794,
-0.023802462965250015,
-0.03641441464424133,
0.12294742465019226,
-0.041093356907367706,
-0.0019277796382084489,
0.06629548221826553,
-0.04329470917582512,
0.035456303507089615,
0.038430094718933105,
0.07176977396011353,
-0.0067011513747274876,
0.01949136331677437,
-0.0357491634786129,
0.044052429497241974,
-0.019346365705132484,
0.07145390659570694,
-0.06463338434696198,
-0.04310974106192589,
-0.024925023317337036,
-0.04242684692144394,
0.0048402659595012665,
0.022627171128988266,
0.030684320256114006,
0.09674504399299622,
0.03181019797921181,
0.07183833420276642,
0.03717841953039169,
0.09622545540332794,
0.050991784781217575,
0.020736439153552055,
5.331835194450564e-33,
0.02115688845515251,
0.04752200469374657,
-0.026242485269904137,
0.04609609767794609,
0.07246086746454239,
0.008578788489103317,
-0.00729863066226244,
0.030617820098996162,
-0.06965406984090805,
0.0707087591290474,
0.015442830510437489,
0.06653628498315811,
-0.06409797072410583,
-0.01862596534192562,
0.06449698656797409,
0.06228974461555481,
-0.04128877446055412,
0.05017103999853134,
0.03883052617311478,
0.04070637375116348,
0.09028545767068863,
-0.014619848690927029,
-0.03307270258665085,
-0.04243782162666321,
-0.005930814426392317,
0.020619072020053864,
-0.032282933592796326,
0.0038718655705451965,
-0.04855052009224892,
0.05727323517203331,
0.016700027510523796,
-0.003991748671978712,
0.033068954944610596,
0.07391520589590073,
0.04262400045990944,
0.013241996988654137,
-0.08687567710876465,
-0.08854053169488907,
-0.02483801171183586,
-0.08565007895231247,
0.025387845933437347,
-0.011029697954654694,
-0.07321634888648987,
0.04207758978009224,
0.07314994186162949,
-0.13093388080596924,
-0.03543226793408394,
0.02181597426533699,
0.01100747287273407,
-0.012353969737887383,
0.04860023781657219,
0.06206744536757469,
0.011296077631413937,
-0.051807936280965805,
-0.08723226934671402,
-0.027115443721413612,
-0.010127251036465168,
0.02937450259923935,
0.0684310644865036,
0.08894781023263931,
-0.00981427077203989,
0.03598284721374512,
-0.020451238378882408,
-0.08858461678028107,
-0.02426406927406788,
-0.00509406765922904,
-0.06474699079990387,
0.0056988210417330265,
0.024936987087130547,
-0.013677439652383327,
-0.0349884070456028,
0.04072882980108261,
-0.032605741173028946,
0.07277509570121765,
-0.02981884591281414,
-0.06888321787118912,
0.037917617708444595,
-0.011994333006441593,
0.07479093968868256,
-0.08975924551486969,
0.026345130056142807,
-0.03933117911219597,
0.03395619988441467,
0.061865098774433136,
-0.052036575973033905,
-0.022725768387317657,
-0.04908139258623123,
-0.02909395843744278,
-0.031754009425640106,
0.02128916233778,
-0.022451458498835564,
-0.05082516744732857,
-0.04018855094909668,
0.022712567821145058,
0.02685384266078472,
-7.345595137995364e-33,
-0.04230329394340515,
-0.016900844871997833,
-0.060573797672986984,
0.02015516348183155,
-0.07770022749900818,
-0.07120701670646667,
-0.034202370792627335,
-0.04345265030860901,
-0.006768126972019672,
-0.041930750012397766,
0.018206385895609856,
0.003007042221724987,
0.05515148863196373,
-0.04092850536108017,
0.0784209594130516,
-0.11443667113780975,
-0.05053331330418587,
-0.08103852719068527,
-0.03058347851037979,
0.034864336252212524,
0.06361314654350281,
0.007998712360858917,
-0.04907022789120674,
0.0557214617729187,
0.056723061949014664,
0.06666397303342819,
-0.02178138867020607,
0.043771229684352875,
0.03358864039182663,
0.07763702422380447,
0.010026013478636742,
0.0537349134683609,
-0.03654710203409195,
-0.015560263767838478,
-0.017919225618243217,
-0.01882065087556839,
0.04045254364609718,
0.06796932220458984,
0.05853000283241272,
0.00003705305789480917,
0.05702104791998863,
0.0025906353257596493,
-0.047127217054367065,
-0.03304802626371384,
-0.01894720271229744,
0.046553708612918854,
0.005724553484469652,
0.00037299434188753366,
-0.006583019625395536,
-0.0924951434135437,
-0.003009471343830228,
-0.022692367434501648,
0.04977908730506897,
0.02311187982559204,
-0.037605151534080505,
0.01934913359582424,
-0.001142172492109239,
-0.10139364749193192,
-0.05611748248338699,
0.01787687838077545,
-0.039645757526159286,
-0.012013789266347885,
-0.011018176563084126,
0.0754752904176712,
-0.0041703819297254086,
-0.04178919643163681,
-0.04782355576753616,
0.0011237156577408314,
0.0066814725287258625,
-0.032944366335868835,
0.019273357465863228,
-0.05380520597100258,
-0.10320678353309631,
-0.035520751029253006,
0.03357894346117973,
-0.024644654244184494,
0.04214591905474663,
-0.1105528473854065,
0.012722908519208431,
0.0957271084189415,
-0.044370394200086594,
-0.0359407514333725,
0.0630759671330452,
-0.005185757298022509,
0.016522450372576714,
-0.05120059475302696,
-0.014098860323429108,
0.025466440245509148,
0.0005945280427113175,
0.08817484974861145,
-0.11740414053201675,
0.05324360728263855,
-0.02002819813787937,
0.008008459582924843,
0.0033861587289720774,
-5.481310694221975e-8,
-0.016124118119478226,
-0.03150388225913048,
0.026231560856103897,
-0.009465964511036873,
-0.0011623415630310774,
-0.043610211461782455,
-0.08137565106153488,
-0.07482895255088806,
-0.006678333505988121,
-0.000632289273198694,
0.06828843802213669,
0.08229076117277145,
-0.06338094919919968,
-0.054098185151815414,
-0.0761452168226242,
0.07283633202314377,
-0.050541799515485764,
-0.04244419187307358,
-0.07258012890815735,
-0.05251365900039673,
0.0021381231490522623,
0.005964986979961395,
0.014641246758401394,
-0.017174655571579933,
-0.02294635772705078,
-0.008780347183346748,
-0.03156166896224022,
0.08762151747941971,
0.02277510054409504,
0.04840732365846634,
-0.003847518702968955,
0.00472994102165103,
0.020018264651298523,
0.0063057285733520985,
-0.05298967286944389,
0.10916207730770111,
0.0429958775639534,
0.03411400690674782,
0.049689650535583496,
-0.020096950232982635,
0.03740514814853668,
0.05157992243766785,
-0.06474325805902481,
0.012534704059362411,
-0.004393361043184996,
0.024788495153188705,
-0.041482143104076385,
-0.07482252269983292,
-0.03226440027356148,
-0.014701109379529953,
0.0011913375928997993,
0.043724022805690765,
-0.0770278200507164,
0.15422199666500092,
-0.1007225513458252,
0.06100760027766228,
0.011759109795093536,
-0.044990528374910355,
0.003735349979251623,
0.042254041880369186,
0.028372617438435555,
-0.021344579756259918,
0.12027573585510254,
-0.04020150750875473
] | 0.15956 |
`make pairing-refresh` - `make pairing-refresh-race` - Red (expected): - `make pairing-race-negative` (non-atomic begin/commit cap race) - `make pairing-idempotency-negative` - `make pairing-refresh-negative` - `make pairing-refresh-race-negative` ### Ingress trace correlation / idempotency \*\*Claim:\*\* ingestion should preserve trace correlation across fan-out and be idempotent under provider retries. What it means: - When one external event becomes multiple internal messages, every part keeps the same trace/event identity. - Retries do not result in double-processing. - If provider event IDs are missing, dedupe falls back to a safe key (e.g., trace ID) to avoid dropping distinct events. - Green: - `make ingress-trace` - `make ingress-trace2` - `make ingress-idempotency` - `make ingress-dedupe-fallback` - Red (expected): - `make ingress-trace-negative` - `make ingress-trace2-negative` - `make ingress-idempotency-negative` - `make ingress-dedupe-fallback-negative` ### Routing dmScope precedence + identityLinks \*\*Claim:\*\* routing must keep DM sessions isolated by default, and only collapse sessions when explicitly configured (channel precedence + identity links). What it means: - Channel-specific dmScope overrides must win over global defaults. - identityLinks should collapse only within explicit linked groups, not across unrelated peers. - Green: - `make routing-precedence` - `make routing-identitylinks` - Red (expected): - `make routing-precedence-negative` - `make routing-identitylinks-negative` | https://github.com/openclaw/openclaw/blob/main//docs/security/formal-verification.md | main | opebclaw | [
-0.07720604538917542,
-0.03144066408276558,
0.0428042858839035,
0.04927466809749603,
0.03971710428595543,
-0.022040003910660744,
0.04703069478273392,
-0.017408231273293495,
0.03183220326900482,
0.020588520914316177,
0.07097671926021576,
-0.058085184544324875,
0.008594868704676628,
-0.06984959542751312,
-0.006070554256439209,
0.05803729221224785,
-0.018002139404416084,
-0.028339827433228493,
-0.11445917934179306,
-0.03402934968471527,
-0.06719083338975906,
-0.15503986179828644,
-0.062093622982501984,
-0.004628363065421581,
-0.0048303185030817986,
-0.07816430926322937,
-0.005291248206049204,
0.051028843969106674,
0.03575655445456505,
-0.0892799124121666,
0.04332660138607025,
0.044219065457582474,
-0.0808008536696434,
-0.040306221693754196,
0.04258551076054573,
0.06773930788040161,
0.0024164302740246058,
0.0008507403545081615,
-0.07115369290113449,
-0.04666319489479065,
0.04974409565329552,
-0.018349498510360718,
-0.038068898022174835,
-0.025876851752400398,
0.02797473780810833,
-0.006049042101949453,
-0.05645188316702843,
0.08036033809185028,
-0.08331502228975296,
-0.032741859555244446,
0.029444213956594467,
0.07578693330287933,
-0.014896899461746216,
0.03952152654528618,
0.11263352632522583,
0.07745631039142609,
0.0005383561365306377,
-0.007214434910565615,
-0.04118683189153671,
-0.003439839230850339,
0.03818751499056816,
0.036158379167318344,
-0.056677818298339844,
-0.03281782940030098,
0.01612803153693676,
0.014040994457900524,
0.05781412869691849,
0.0761101171374321,
0.03844812512397766,
0.07827288657426834,
0.01787363737821579,
-0.04542035982012749,
-0.10519634932279587,
-0.03197649121284485,
0.01901972107589245,
0.08464556932449341,
-0.07440996170043945,
-0.013634853065013885,
-0.027506884187459946,
-0.11506905406713486,
-0.042608100920915604,
-0.018400439992547035,
0.06528764963150024,
-0.04260942339897156,
0.07816962152719498,
-0.06150427833199501,
-0.012537546455860138,
-0.04585658758878708,
0.01038135215640068,
0.046507563441991806,
-0.04764055088162422,
-0.00009383161523146555,
0.07330341637134552,
-0.014070248231291771,
0.08979882299900055,
0.13394376635551453,
-0.05880078300833702,
0.11213389039039612,
0.04837951809167862,
0.031178321689367294,
-0.029886167496442795,
0.054387763142585754,
-0.07342993468046188,
0.07543325424194336,
-0.03486640378832817,
-0.058135390281677246,
-0.027252210304141045,
-0.02017492987215519,
-0.005209962371736765,
-0.0003988055686932057,
-0.000624334265012294,
-0.06954105198383331,
0.08755867183208466,
-0.006305611692368984,
0.018616896122694016,
0.13446082174777985,
0.003358331276103854,
0.09069781750440598,
-0.0050089405849576,
-0.01876409538090229,
-0.007372424937784672,
0.004924836102873087,
0.00927790254354477,
-0.02061375603079796,
-0.024531327188014984,
0.000716571172233671,
0.032479144632816315,
3.325168257287022e-33,
0.05753025785088539,
-0.010194361209869385,
-0.05419988930225372,
0.008074822835624218,
0.035569045692682266,
0.07396010309457779,
-0.056786611676216125,
-0.07360877096652985,
-0.07153026014566422,
0.016597583889961243,
-0.03231097757816315,
0.01639588177204132,
-0.003974182531237602,
-0.029304752126336098,
0.015153305605053902,
-0.0762137770652771,
0.029178427532315254,
0.0699133649468422,
0.0004895823076367378,
0.0362241193652153,
0.024372102692723274,
-0.023877743631601334,
-0.1127028539776802,
-0.03174475207924843,
0.06821084022521973,
0.04612851142883301,
0.033834680914878845,
0.06769116967916489,
-0.018687671050429344,
-0.00545469019562006,
0.010813893750309944,
0.002811579965054989,
0.009417880326509476,
0.04735814034938812,
-0.023133108392357826,
-0.03908146917819977,
-0.05346529558300972,
-0.027825331315398216,
-0.10267101973295212,
-0.013078277930617332,
-0.006303939502686262,
0.022852597758173943,
-0.10422500967979431,
-0.08022432774305344,
-0.011041924357414246,
-0.04258711263537407,
-0.019815584644675255,
0.022116582840681076,
0.03888457641005516,
-0.04434267431497574,
0.005960445385426283,
0.05149664729833603,
0.05539291724562645,
-0.057336363941431046,
0.008794337511062622,
0.007348025217652321,
0.0018942360766232014,
0.011769462376832962,
0.0019500453490763903,
0.05431376025080681,
-0.009114447981119156,
0.04557991400361061,
-0.1100754514336586,
0.01279821339994669,
0.06447676569223404,
0.08813715726137161,
-0.009620564058423042,
-0.06688493490219116,
0.035927534103393555,
0.022512461990118027,
-0.0486452654004097,
0.04146934300661087,
-0.014568799175322056,
-0.01604176126420498,
0.03013935312628746,
-0.062233515083789825,
-0.04823765531182289,
0.052663907408714294,
-0.03961456939578056,
-0.03762717917561531,
-0.10336718708276749,
0.01924394629895687,
-0.023012621328234673,
0.04600568488240242,
-0.029224354773759842,
-0.07458214461803436,
-0.06585969775915146,
-0.03671363368630409,
-0.05605071410536766,
0.07180368155241013,
0.05105602741241455,
0.05282701924443245,
0.058876730501651764,
-0.004034584388136864,
-0.06072848662734032,
-3.636360182858068e-33,
-0.07839128375053406,
0.009826033376157284,
0.015347737818956375,
-0.019309209659695625,
0.010326709598302841,
0.022112715989351273,
0.040834106504917145,
-0.05049601569771767,
0.07170329242944717,
0.001602627569809556,
-0.008708088658750057,
-0.026278052479028702,
0.0584825836122036,
0.02738741971552372,
-0.010999098420143127,
-0.010323310270905495,
-0.003314787754788995,
0.013465385884046555,
0.048382777720689774,
-0.007664361968636513,
0.04248957335948944,
0.03258340060710907,
0.02039644494652748,
0.037866733968257904,
-0.010132638737559319,
0.013274435885250568,
0.0726422369480133,
-0.012814524583518505,
-0.001504038111306727,
-0.07534109801054001,
0.028529448434710503,
-0.007274814415723085,
-0.1008026972413063,
0.021273817867040634,
0.02292104810476303,
-0.029214350506663322,
-0.02742571197450161,
-0.00574359530583024,
-0.03152623772621155,
-0.01670275256037712,
0.053407277911901474,
0.0779808908700943,
-0.11509589850902557,
-0.001195473363623023,
0.011183463037014008,
0.010306616313755512,
-0.02132437564432621,
-0.026608705520629883,
-0.012179696932435036,
-0.040784187614917755,
0.04535225033760071,
-0.0016176929930225015,
0.0032295272685587406,
0.04463339224457741,
-0.07019215077161789,
-0.017253976315259933,
0.09371515363454819,
0.023440323770046234,
-0.047620274126529694,
0.07531760632991791,
0.05902332812547684,
-0.03342694416642189,
0.045477576553821564,
0.05945129320025444,
0.05908029153943062,
0.01260547898709774,
0.05920853465795517,
0.011503559537231922,
0.043338146060705185,
0.0014649915974587202,
0.03657831251621246,
-0.04351292550563812,
-0.07473994046449661,
-0.007620195392519236,
0.07125385850667953,
-0.04035886377096176,
-0.08328843116760254,
-0.11199995875358582,
0.003202750813215971,
0.016506485641002655,
-0.11156576871871948,
0.03893403708934784,
0.047450143843889236,
0.016360005363821983,
0.023145198822021484,
-0.0028118069749325514,
-0.019834419712424278,
0.15497662127017975,
0.09057367593050003,
0.05806145444512367,
-0.03791307657957077,
-0.025855939835309982,
-0.01534260157495737,
0.07119373232126236,
-0.08013275265693665,
-4.633743699855586e-8,
0.025548340752720833,
-0.028198476880788803,
-0.044204894453287125,
0.068020761013031,
0.0035564687568694353,
-0.05717124789953232,
0.003305588150396943,
-0.061174776405096054,
-0.004214220214635134,
-0.020030610263347626,
-0.03228351101279259,
0.03893103078007698,
-0.04729914665222168,
-0.014437561854720116,
0.11696474999189377,
-0.053141962736845016,
-0.020003583282232285,
-0.040027227252721786,
-0.08240607380867004,
-0.13717493414878845,
0.020699437707662582,
0.027954624965786934,
-0.08413856476545334,
0.06192946061491966,
-0.057892754673957825,
-0.0022827014327049255,
0.13209295272827148,
0.032368481159210205,
0.05338704586029053,
-0.007145625539124012,
-0.012684578076004982,
-0.00015043691382743418,
0.019854551181197166,
-0.0064204391092062,
-0.0403035506606102,
0.038299914449453354,
-0.00020019673684146255,
0.04725460335612297,
0.056460246443748474,
-0.008011305704712868,
-0.001587399048730731,
0.029616206884384155,
-0.04620889574289322,
0.05977613851428032,
0.07572679221630096,
-0.02207380346953869,
-0.07135002315044403,
-0.0474095456302166,
-0.00767055619508028,
0.025749873369932175,
-0.050174567848443985,
-0.042976293712854385,
0.04727231711149216,
0.010232772678136826,
0.04315771907567978,
-0.02114669419825077,
-0.021728811785578728,
0.01025392021983862,
0.14166656136512756,
-0.00912510883063078,
0.04744455963373184,
-0.017867816612124443,
0.017991729080677032,
-0.048397574573755264
] | 0.106575 |
# Image & Media Support — 2025-12-05 The WhatsApp channel runs via \*\*Baileys Web\*\*. This document captures the current media handling rules for send, gateway, and agent replies. ## Goals - Send media with optional captions via `openclaw message send --media`. - Allow auto-replies from the web inbox to include media alongside text. - Keep per-type limits sane and predictable. ## CLI Surface - `openclaw message send --media [--message ]` - `--media` optional; caption can be empty for media-only sends. - `--dry-run` prints the resolved payload; `--json` emits `{ channel, to, messageId, mediaUrl, caption }`. ## WhatsApp Web channel behavior - Input: local file path \*\*or\*\* HTTP(S) URL. - Flow: load into a Buffer, detect media kind, and build the correct payload: - \*\*Images:\*\* resize & recompress to JPEG (max side 2048px) targeting `agents.defaults.mediaMaxMb` (default 5 MB), capped at 6 MB. - \*\*Audio/Voice/Video:\*\* pass-through up to 16 MB; audio is sent as a voice note (`ptt: true`). - \*\*Documents:\*\* anything else, up to 100 MB, with filename preserved when available. - WhatsApp GIF-style playback: send an MP4 with `gifPlayback: true` (CLI: `--gif-playback`) so mobile clients loop inline. - MIME detection prefers magic bytes, then headers, then file extension. - Caption comes from `--message` or `reply.text`; empty caption is allowed. - Logging: non-verbose shows `↩️`/`✅`; verbose includes size and source path/URL. ## Auto-Reply Pipeline - `getReplyFromConfig` returns `{ text?, mediaUrl?, mediaUrls? }`. - When media is present, the web sender resolves local paths or URLs using the same pipeline as `openclaw message send`. - Multiple media entries are sent sequentially if provided. ## Inbound Media to Commands (Pi) - When inbound web messages include media, OpenClaw downloads to a temp file and exposes templating variables: - `{{MediaUrl}}` pseudo-URL for the inbound media. - `{{MediaPath}}` local temp path written before running the command. - When a per-session Docker sandbox is enabled, inbound media is copied into the sandbox workspace and `MediaPath`/`MediaUrl` are rewritten to a relative path like `media/inbound/`. - Media understanding (if configured via `tools.media.\*` or shared `tools.media.models`) runs before templating and can insert `[Image]`, `[Audio]`, and `[Video]` blocks into `Body`. - Audio sets `{{Transcript}}` and uses the transcript for command parsing so slash commands still work. - Video and image descriptions preserve any caption text for command parsing. - By default only the first matching image/audio/video attachment is processed; set `tools.media..attachments` to process multiple attachments. ## Limits & Errors \*\*Outbound send caps (WhatsApp web send)\*\* - Images: ~6 MB cap after recompression. - Audio/voice/video: 16 MB cap; documents: 100 MB cap. - Oversize or unreadable media → clear error in logs and the reply is skipped. \*\*Media understanding caps (transcription/description)\*\* - Image default: 10 MB (`tools.media.image.maxBytes`). - Audio default: 20 MB (`tools.media.audio.maxBytes`). - Video default: 50 MB (`tools.media.video.maxBytes`). - Oversize media skips understanding, but replies still go through with the original body. ## Notes for Tests - Cover send + reply flows for image/audio/document cases. - Validate recompression for images (size bound) and voice-note flag for audio. - Ensure multi-media replies fan out as sequential sends. | https://github.com/openclaw/openclaw/blob/main//docs/nodes/images.md | main | opebclaw | [
-0.013548489660024643,
-0.011462226510047913,
0.05842042714357376,
-0.03654424846172333,
0.10612328350543976,
-0.07961173355579376,
-0.023779597133398056,
-0.002274664118885994,
0.04086361080408096,
0.0546758808195591,
0.02590910904109478,
-0.048970550298690796,
0.0313551127910614,
0.13833072781562805,
0.06904323399066925,
-0.007281349040567875,
0.041564375162124634,
-0.1613844335079193,
-0.06338012218475342,
0.038880202919244766,
0.05041725933551788,
0.00952197052538395,
0.0744466781616211,
-0.05642375722527504,
-0.0778035819530487,
0.005064535886049271,
-0.021054154261946678,
-0.013943805359303951,
-0.008562261238694191,
-0.01864074170589447,
0.031808286905288696,
-0.03847691789269447,
0.031691160053014755,
0.076197549700737,
0.012642824091017246,
0.026372581720352173,
0.038521163165569305,
-0.02023600973188877,
0.021596847102046013,
0.049786124378442764,
-0.006849606521427631,
-0.012326023541390896,
-0.015595300123095512,
-0.062390636652708054,
0.014235462993383408,
-0.08904112875461578,
-0.029490794986486435,
-0.07936539500951767,
-0.08045219630002975,
0.018268991261720657,
-0.07686025649309158,
0.01037339586764574,
0.012542995624244213,
0.08856257796287537,
0.022921670228242874,
-0.022184189409017563,
-0.044997673481702805,
0.05922206491231918,
0.06842266768217087,
0.006536638364195824,
-0.03225130960345268,
-0.07362723350524902,
0.028397347778081894,
0.011945236474275589,
-0.015359356999397278,
0.044854797422885895,
-0.06139177456498146,
-0.046452563256025314,
-0.06712975353002548,
-0.051529038697481155,
-0.053648822009563446,
0.018034860491752625,
0.03506017476320267,
0.03645951300859451,
0.033622901886701584,
-0.04890965297818184,
0.06794419139623642,
0.04933646321296692,
-0.0775330513715744,
-0.04679020866751671,
0.04961003363132477,
-0.06631655246019363,
-0.07365256547927856,
0.04138563945889473,
0.039665210992097855,
0.026955055072903633,
-0.06968793272972107,
0.016409624367952347,
0.009003222920000553,
-0.05698224902153015,
-0.06347527354955673,
-0.13702484965324402,
-0.05881214886903763,
0.12416049093008041,
0.009172582067549229,
0.018283626064658165,
-0.003447922645136714,
-0.05133578181266785,
-0.02220344915986061,
0.0113658607006073,
0.00901790987700224,
-0.050819650292396545,
0.043620411306619644,
-0.06855431199073792,
0.022394688799977303,
-0.016811726614832878,
0.03385074809193611,
0.12372557073831558,
0.055161651223897934,
-0.0477469377219677,
-0.04198327660560608,
-0.04693814367055893,
0.003148185322061181,
-0.01458063255995512,
0.016768693923950195,
0.0029984356369823217,
-0.06431921571493149,
-0.04648333415389061,
-0.03520790860056877,
-0.05409808084368706,
0.13091063499450684,
-0.011585497297346592,
-0.07328633964061737,
0.05139429494738579,
0.0047128875739872456,
-0.024641752243041992,
0.06391046196222305,
3.6934550455034605e-33,
0.008049668744206429,
-0.022143520414829254,
-0.004172098822891712,
0.04512643814086914,
0.05343492329120636,
-0.02142483741044998,
0.017041780054569244,
0.002413207897916436,
-0.059050675481557846,
-0.048561908304691315,
-0.020448077470064163,
0.027254585176706314,
-0.07738155871629715,
0.040600985288619995,
-0.04380560293793678,
0.027524543926119804,
-0.05141715332865715,
0.026323437690734863,
0.10024348646402359,
0.026158474385738373,
-0.016209878027439117,
-0.014827840030193329,
-0.06427036225795746,
0.0016235370421782136,
0.029710128903388977,
0.011262251995503902,
0.05958995595574379,
-0.0687478706240654,
0.02902834303677082,
0.004051774740219116,
-0.014018156565725803,
0.01246369257569313,
0.03428171947598457,
0.0076208095997571945,
0.014032799750566483,
-0.0658760666847229,
-0.11463568359613419,
0.0316070020198822,
-0.04517180472612381,
0.04679187759757042,
0.03257167711853981,
-0.009929382242262363,
-0.09269373118877411,
0.008251883089542389,
0.019465338438749313,
-0.09737605601549149,
-0.010906661860644817,
0.05099797248840332,
-0.06111551821231842,
0.032259684056043625,
0.0239971112459898,
0.023137424141168594,
0.026589807122945786,
-0.011016500182449818,
0.007908439263701439,
-0.03853420913219452,
0.033314045518636703,
-0.045727070420980453,
0.011090809479355812,
-0.03374554589390755,
0.08010993152856827,
0.004955880343914032,
-0.02153252623975277,
-0.03596774488687515,
0.012714345008134842,
-0.04538719356060028,
0.0001653180952416733,
0.04203871637582779,
-0.11192407459020615,
0.00948141049593687,
-0.017843186855316162,
0.05931595712900162,
0.013224788010120392,
0.05897537246346474,
-0.044783979654312134,
-0.03257283940911293,
0.02271662838757038,
0.08113519102334976,
0.04805620387196541,
0.016349440440535545,
0.019255371764302254,
0.0593031607568264,
0.025516968220472336,
-0.021391352638602257,
-0.027686206623911858,
0.019681183621287346,
0.023174144327640533,
-0.12415262311697006,
-0.07947906106710434,
0.04140108823776245,
-0.0472007654607296,
0.0314876064658165,
-0.03044946677982807,
0.029482441022992134,
0.00014270201791077852,
-4.47445679826765e-33,
0.013223791494965553,
0.05924762040376663,
-0.08154131472110748,
0.006424596067517996,
-0.013558435253798962,
-0.017092332243919373,
0.08491969853639603,
0.033380601555109024,
0.09757985919713974,
-0.07248289883136749,
-0.010649890638887882,
0.005577628035098314,
-0.04201618954539299,
-0.11554644256830215,
-0.018302135169506073,
-0.00871106144040823,
-0.003684838069602847,
-0.0890040248632431,
-0.03498385101556778,
-0.03868779167532921,
0.047202982008457184,
0.038990557193756104,
0.032310616225004196,
0.08145280927419662,
-0.0007735507097095251,
0.014034687541425228,
0.11462843418121338,
0.05337357521057129,
0.0013253286015242338,
-0.017689375206828117,
0.008114594966173172,
-0.04293980076909065,
-0.009712091647088528,
-0.007940297946333885,
0.0403272844851017,
-0.01808222569525242,
0.05314502865076065,
0.03634636104106903,
0.04233410209417343,
-0.030801741406321526,
0.12750114500522614,
-0.0452871136367321,
-0.10611876845359802,
0.03145851567387581,
0.005526719149202108,
0.05123899504542351,
-0.06229349598288536,
-0.06669727712869644,
0.014867080375552177,
0.0855649933218956,
0.0627710223197937,
-0.057088397443294525,
0.004595560021698475,
-0.02460486814379692,
0.04996686428785324,
0.05056353285908699,
0.02098596841096878,
0.0017050419701263309,
0.02566475234925747,
-0.1049819365143776,
0.032800883054733276,
-0.012420162558555603,
-0.021460779011249542,
-0.05366649851202965,
0.007289377506822348,
-0.005835424177348614,
-0.022385142743587494,
-0.021236028522253036,
-0.04963977634906769,
0.01885140687227249,
0.0030632547568529844,
-0.11092483997344971,
-0.03056907095015049,
-0.0057707177475094795,
0.08817961066961288,
0.019960829988121986,
-0.06480034440755844,
-0.06442919373512268,
0.0053742327727377415,
0.054143041372299194,
-0.03810711205005646,
0.039207346737384796,
0.04024627059698105,
0.017928471788764,
0.10554178804159164,
0.04150691255927086,
-0.003244027029722929,
0.04165133833885193,
-0.009155714884400368,
0.0021379259414970875,
-0.03395857661962509,
0.02357793226838112,
0.07802194356918335,
-0.008826925419270992,
0.053620047867298126,
-5.5542695776011897e-8,
-0.0644734725356102,
-0.07743337005376816,
-0.0810592994093895,
-0.004189189523458481,
-0.08679121732711792,
-0.0005610536318272352,
0.020319059491157532,
-0.037344790995121,
0.07659449428319931,
-0.08816985785961151,
0.0361698642373085,
0.002274214057251811,
-0.034454796463251114,
0.051041487604379654,
-0.029501747339963913,
0.036268025636672974,
-0.04976606369018555,
-0.06904633343219757,
0.015486723743379116,
-0.11567297577857971,
0.009400799870491028,
-0.07063017785549164,
0.024005383253097534,
0.03026512637734413,
0.021964173763990402,
-0.01490676961839199,
0.00857204757630825,
0.026888670399785042,
-0.04450894519686699,
-0.0702805295586586,
-0.08265336602926254,
-0.10010862350463867,
-0.023979175835847855,
0.015466703101992607,
0.0087313586845994,
0.038802724331617355,
-0.0459679514169693,
-0.06619023531675339,
-0.029063258320093155,
0.05244620889425278,
0.09525978565216064,
0.02750309556722641,
-0.023175429552793503,
-0.061608921736478806,
0.06286237388849258,
0.0483427494764328,
0.014889989048242569,
0.03279149532318115,
0.009657447226345539,
0.06161949038505554,
0.01277913711965084,
-0.04505748301744461,
-0.01123262569308281,
0.07145408540964127,
0.017366498708724976,
-0.03100033476948738,
0.1475035548210144,
-0.05115809291601181,
0.05809897556900978,
0.08205005526542664,
0.037715937942266464,
0.08785119652748108,
0.05868967995047569,
0.02929740585386753
] | 0.001668 |
# Camera capture (agent) OpenClaw supports \*\*camera capture\*\* for agent workflows: - \*\*iOS node\*\* (paired via Gateway): capture a \*\*photo\*\* (`jpg`) or \*\*short video clip\*\* (`mp4`, with optional audio) via `node.invoke`. - \*\*Android node\*\* (paired via Gateway): capture a \*\*photo\*\* (`jpg`) or \*\*short video clip\*\* (`mp4`, with optional audio) via `node.invoke`. - \*\*macOS app\*\* (node via Gateway): capture a \*\*photo\*\* (`jpg`) or \*\*short video clip\*\* (`mp4`, with optional audio) via `node.invoke`. All camera access is gated behind \*\*user-controlled settings\*\*. ## iOS node ### User setting (default on) - iOS Settings tab → \*\*Camera\*\* → \*\*Allow Camera\*\* (`camera.enabled`) - Default: \*\*on\*\* (missing key is treated as enabled). - When off: `camera.\*` commands return `CAMERA\_DISABLED`. ### Commands (via Gateway `node.invoke`) - `camera.list` - Response payload: - `devices`: array of `{ id, name, position, deviceType }` - `camera.snap` - Params: - `facing`: `front|back` (default: `front`) - `maxWidth`: number (optional; default `1600` on the iOS node) - `quality`: `0..1` (optional; default `0.9`) - `format`: currently `jpg` - `delayMs`: number (optional; default `0`) - `deviceId`: string (optional; from `camera.list`) - Response payload: - `format: "jpg"` - `base64: "<...>"` - `width`, `height` - Payload guard: photos are recompressed to keep the base64 payload under 5 MB. - `camera.clip` - Params: - `facing`: `front|back` (default: `front`) - `durationMs`: number (default `3000`, clamped to a max of `60000`) - `includeAudio`: boolean (default `true`) - `format`: currently `mp4` - `deviceId`: string (optional; from `camera.list`) - Response payload: - `format: "mp4"` - `base64: "<...>"` - `durationMs` - `hasAudio` ### Foreground requirement Like `canvas.\*`, the iOS node only allows `camera.\*` commands in the \*\*foreground\*\*. Background invocations return `NODE\_BACKGROUND\_UNAVAILABLE`. ### CLI helper (temp files + MEDIA) The easiest way to get attachments is via the CLI helper, which writes decoded media to a temp file and prints `MEDIA:`. Examples: ```bash openclaw nodes camera snap --node # default: both front + back (2 MEDIA lines) openclaw nodes camera snap --node --facing front openclaw nodes camera clip --node --duration 3000 openclaw nodes camera clip --node --no-audio ``` Notes: - `nodes camera snap` defaults to \*\*both\*\* facings to give the agent both views. - Output files are temporary (in the OS temp directory) unless you build your own wrapper. ## Android node ### User setting (default on) - Android Settings sheet → \*\*Camera\*\* → \*\*Allow Camera\*\* (`camera.enabled`) - Default: \*\*on\*\* (missing key is treated as enabled). - When off: `camera.\*` commands return `CAMERA\_DISABLED`. ### Permissions - Android requires runtime permissions: - `CAMERA` for both `camera.snap` and `camera.clip`. - `RECORD\_AUDIO` for `camera.clip` when `includeAudio=true`. If permissions are missing, the app will prompt when possible; if denied, `camera.\*` requests fail with a `\*\_PERMISSION\_REQUIRED` error. ### Foreground requirement Like `canvas.\*`, the Android node only allows `camera.\*` commands in the \*\*foreground\*\*. Background invocations return `NODE\_BACKGROUND\_UNAVAILABLE`. ### Payload guard Photos are recompressed to keep the base64 payload under 5 MB. ## macOS app ### User setting (default off) The macOS companion app exposes a checkbox: - \*\*Settings → General → Allow Camera\*\* (`openclaw.cameraEnabled`) - Default: \*\*off\*\* - When off: camera requests return “Camera disabled by user”. ### CLI helper (node invoke) Use the main `openclaw` CLI to invoke camera commands on the macOS node. Examples: ```bash openclaw nodes camera list --node # list camera ids openclaw nodes camera snap --node # prints MEDIA: openclaw nodes camera snap --node --max-width 1280 openclaw nodes camera snap --node --delay-ms 2000 openclaw nodes camera snap --node --device-id openclaw nodes camera clip --node --duration 10s # prints MEDIA: openclaw nodes camera clip --node --duration-ms 3000 # prints MEDIA: (legacy flag) openclaw nodes camera clip --node --device-id openclaw nodes camera clip --node --no-audio ``` Notes: - | https://github.com/openclaw/openclaw/blob/main//docs/nodes/camera.md | main | opebclaw | [
-0.01817391999065876,
-0.0031540472991764545,
-0.021768907085061073,
-0.05240272358059883,
0.09736499935388565,
-0.04590609669685364,
-0.04226541146636009,
-0.02529667504131794,
0.037127792835235596,
-0.03282056748867035,
0.029955053701996803,
-0.09497477114200592,
0.007797740865498781,
0.03482308238744736,
0.10836390405893326,
0.03300932049751282,
0.05171942338347435,
0.03189171850681305,
-0.02296053059399128,
0.015361039899289608,
0.0003154570877086371,
-0.05765809118747711,
0.07812807708978653,
-0.08687970042228699,
0.015453404746949673,
-0.021459857001900673,
0.01342842634767294,
-0.06297679990530014,
0.026450149714946747,
0.05121483653783798,
0.08285114169120789,
0.017499594017863274,
0.011814979836344719,
0.07447687536478043,
0.035667784512043,
0.006119831930845976,
0.032267216593027115,
-0.025443237274885178,
-0.14247894287109375,
-0.030958475545048714,
0.053546302020549774,
0.07504146546125412,
0.03250689432024956,
-0.043138738721609116,
-0.07762032747268677,
0.0026061146054416895,
-0.024152878671884537,
-0.07610488682985306,
-0.018501175567507744,
-0.02716759219765663,
-0.10458224266767502,
-0.05370995029807091,
-0.026305709034204483,
0.02429467998445034,
-0.03331807628273964,
0.01154613122344017,
-0.007452123332768679,
-0.03879695013165474,
0.0669311061501503,
0.027908029034733772,
-0.009384585544466972,
-0.06321699917316437,
-0.033267565071582794,
0.04461031034588814,
-0.03309379145503044,
0.02639814466238022,
-0.00890783965587616,
-0.01818693056702614,
-0.003777533769607544,
-0.013538436964154243,
-0.055305372923612595,
0.03197761997580528,
0.017001595348119736,
-0.005014315713196993,
-0.06746409088373184,
-0.04679177328944206,
0.059367403388023376,
-0.0060042403638362885,
-0.1262868195772171,
-0.1197584867477417,
0.07793354988098145,
-0.03861173987388611,
-0.03681328520178795,
0.03530868515372276,
0.019680162891745567,
0.10006621479988098,
-0.0629403293132782,
0.02003157138824463,
-0.03494478389620781,
0.022098952904343605,
-0.16535013914108276,
-0.058628492057323456,
-0.03903098404407501,
-0.07243455201387405,
0.02183901146054268,
-0.012792414985597134,
-0.030106887221336365,
-0.02933422289788723,
0.00048082825378514826,
0.05258224904537201,
0.01002699974924326,
-0.020140159875154495,
-0.02300148271024227,
-0.03995424509048462,
0.024397529661655426,
0.0061537958681583405,
0.011003863997757435,
0.04786474630236626,
0.03017602488398552,
0.08026629686355591,
-0.0012724498519673944,
0.020436450839042664,
0.07651690393686295,
-0.04051073640584946,
0.0648224726319313,
0.07073166221380234,
-0.021480176597833633,
-0.0043325964361429214,
0.012408563867211342,
0.05905916541814804,
0.05564096197485924,
-0.02556973695755005,
-0.052623990923166275,
-0.0006844063173048198,
0.07775034010410309,
0.0009897105628624558,
0.08230370283126831,
3.080356497706911e-33,
0.07536406815052032,
-0.029896024614572525,
0.08676695078611374,
-0.01394418440759182,
0.09408684819936752,
0.015431849285960197,
0.05728624016046524,
0.008285703137516975,
-0.0691504254937172,
-0.0023109938483685255,
0.022563042119145393,
-0.045690055936574936,
-0.03901280462741852,
-0.031408559530973434,
-0.015996672213077545,
0.010698597878217697,
-0.05104702338576317,
0.02256385236978531,
0.049155715852975845,
0.07195819914340973,
-0.003335381392389536,
-0.03146541118621826,
-0.019711054861545563,
0.10524886846542358,
-0.05499068275094032,
0.014285632409155369,
0.013336572796106339,
-0.05822107568383217,
0.10460662096738815,
0.003060496412217617,
-0.0058806403540074825,
0.041630540043115616,
-0.0020380611531436443,
0.01416268665343523,
-0.02114812657237053,
0.006110876798629761,
-0.0875922366976738,
0.006210867315530777,
-0.020832840353250504,
-0.05898015946149826,
-0.05822612717747688,
0.017381511628627777,
-0.08256956934928894,
-0.0654895156621933,
-0.06857948750257492,
-0.1430465430021286,
-0.09387603402137756,
0.10009072721004486,
-0.04054122418165207,
0.07485384494066238,
0.07041655480861664,
0.016517017036676407,
0.018767453730106354,
-0.11018269509077072,
-0.06659306585788727,
0.00635110680013895,
0.013059201650321484,
-0.005870511289685965,
-0.02309338189661503,
-0.003880247473716736,
0.01857597753405571,
0.07030770182609558,
-0.01817852072417736,
0.0066956523805856705,
-0.057605110108852386,
0.03156178444623947,
0.05461372435092926,
0.005751511547714472,
-0.036114104092121124,
-0.000026452953534317203,
-0.06758705526590347,
0.054679568856954575,
-0.032909419387578964,
-0.047252107411623,
0.0030562044121325016,
0.05260554328560829,
-0.04092598333954811,
-0.049151334911584854,
-0.012927999719977379,
0.0692678764462471,
-0.11188384890556335,
0.06422662734985352,
0.05003208667039871,
0.0434826985001564,
-0.0040062423795461655,
0.0075124031864106655,
-0.03488580510020256,
-0.08571766316890717,
-0.008435932919383049,
0.09864640235900879,
-0.06443110853433609,
0.010514309629797935,
-0.05487871915102005,
0.006744324695318937,
-0.009656884707510471,
-3.8202229276900284e-33,
0.06793955713510513,
0.10270201414823532,
-0.05346043407917023,
-0.03927670419216156,
0.00203383294865489,
-0.03198368474841118,
0.044524677097797394,
-0.015247846022248268,
0.009128306992352009,
-0.03755216300487518,
-0.00933031365275383,
-0.02268053963780403,
-0.016804231330752373,
-0.108236163854599,
0.025616738945245743,
-0.10321031510829926,
0.0013216324150562286,
-0.058648768812417984,
-0.056011565029621124,
0.025965135544538498,
0.018908346071839333,
0.014513598755002022,
0.1276232749223709,
0.08048548549413681,
0.014331466518342495,
0.02018200233578682,
0.044325653463602066,
0.09590067714452744,
0.05277964472770691,
-0.08094009757041931,
0.07408759742975235,
0.007773666642606258,
-0.030279790982604027,
-0.07592153549194336,
0.02910173498094082,
0.04573235660791397,
-0.03173518553376198,
0.11079578846693039,
0.029066098853945732,
0.04113943502306938,
0.028412792831659317,
-0.038331761956214905,
-0.04970935732126236,
0.0007800261373631656,
0.023484695702791214,
-0.00918497983366251,
-0.04552373290061951,
0.061321280896663666,
-0.05022725462913513,
-0.0014586005127057433,
0.014105599373579025,
-0.008265999145805836,
-0.06710106134414673,
0.03722424432635307,
0.04296189546585083,
0.06358491629362106,
0.07987453788518906,
-0.019652750343084335,
0.03421195596456528,
-0.06266431510448456,
0.027659092098474503,
-0.07618981599807739,
-0.08865141123533249,
0.006570023484528065,
-0.006393168121576309,
0.0051077003590762615,
-0.0175656545907259,
0.013018950819969177,
-0.05271405726671219,
0.04161066934466362,
0.006314075086265802,
-0.019453559070825577,
0.02419408969581127,
0.06222387030720711,
0.031983207911252975,
0.03871075436472893,
-0.06710675358772278,
-0.06485238671302795,
0.0037414836697280407,
0.007737664971500635,
-0.02291145734488964,
0.053913842886686325,
0.07745181024074554,
0.03668968752026558,
0.07521291077136993,
0.05543997883796692,
0.0030107798520475626,
0.034619368612766266,
0.042067985981702805,
0.010417716577649117,
-0.10044650733470917,
0.059554655104875565,
0.03526976332068443,
-0.0513957217335701,
-0.06742013245820999,
-4.6555026500527674e-8,
-0.08377837389707565,
-0.02709696814417839,
-0.006929355673491955,
0.03484543785452843,
-0.11714355647563934,
-0.09794531762599945,
0.010182290337979794,
0.023248331621289253,
0.11435224860906601,
-0.03905974328517914,
0.08548789471387863,
-0.0029897820204496384,
0.04110851138830185,
-0.018919549882411957,
-0.030225377529859543,
0.04452107101678848,
0.06635017693042755,
-0.016158754006028175,
0.007034557405859232,
-0.025881167501211166,
-0.018264444544911385,
-0.04960041120648384,
-0.04328124597668648,
0.04180707409977913,
-0.061611030250787735,
-0.023177925497293472,
-0.02135971374809742,
-0.013921194709837437,
0.010600041598081589,
0.024037379771471024,
-0.02802584134042263,
-0.003803596133366227,
0.0226279366761446,
-0.0016700036358088255,
-0.059696026146411896,
0.014805733226239681,
-0.04640330746769905,
-0.04440135136246681,
-0.005440711043775082,
-0.01253786776214838,
-0.04347865656018257,
0.005958798807114363,
-0.025312943384051323,
-0.038157619535923004,
-0.026108186691999435,
0.05911233648657799,
0.06758712232112885,
0.01063516829162836,
0.0048011066392064095,
0.0714542418718338,
-0.06712770462036133,
0.004067016299813986,
-0.018355177715420723,
0.0847746878862381,
0.027971388772130013,
-0.0035180733539164066,
0.09926280379295349,
-0.1348995715379715,
-0.0014561229618266225,
0.03697703033685684,
0.023102354258298874,
0.021659817546606064,
0.01938369683921337,
0.038123294711112976
] | 0.035785 |
openclaw nodes camera snap --node --delay-ms 2000 openclaw nodes camera snap --node --device-id openclaw nodes camera clip --node --duration 10s # prints MEDIA: openclaw nodes camera clip --node --duration-ms 3000 # prints MEDIA: (legacy flag) openclaw nodes camera clip --node --device-id openclaw nodes camera clip --node --no-audio ``` Notes: - `openclaw nodes camera snap` defaults to `maxWidth=1600` unless overridden. - On macOS, `camera.snap` waits `delayMs` (default 2000ms) after warm-up/exposure settle before capturing. - Photo payloads are recompressed to keep base64 under 5 MB. ## Safety + practical limits - Camera and microphone access trigger the usual OS permission prompts (and require usage strings in Info.plist). - Video clips are capped (currently `<= 60s`) to avoid oversized node payloads (base64 overhead + message limits). ## macOS screen video (OS-level) For \_screen\_ video (not camera), use the macOS companion: ```bash openclaw nodes screen record --node --duration 10s --fps 15 # prints MEDIA: ``` Notes: - Requires macOS \*\*Screen Recording\*\* permission (TCC). | https://github.com/openclaw/openclaw/blob/main//docs/nodes/camera.md | main | opebclaw | [
-0.02893754281103611,
-0.013260300271213055,
-0.015595242381095886,
-0.030932625755667686,
0.10456803441047668,
-0.11060779541730881,
-0.053314726799726486,
-0.027252091094851494,
0.0003929771191906184,
-0.005492422264069319,
0.08169692754745483,
-0.054871995002031326,
-0.03989511355757713,
-0.004344077315181494,
0.02835768274962902,
0.03483491390943527,
0.0440700426697731,
-0.013472936116158962,
-0.013833347707986832,
0.025670168921351433,
0.031222308054566383,
-0.05650590732693672,
0.04600309953093529,
-0.03919561952352524,
0.010178927332162857,
-0.0022475675214082003,
-0.03874088451266289,
0.00016337865963578224,
0.01587563380599022,
0.03453600034117699,
0.0400279238820076,
-0.0004534948675427586,
0.09827544540166855,
0.06684356182813644,
0.061087217181921005,
0.01697469688951969,
0.04160279780626297,
-0.09050903469324112,
-0.17573809623718262,
0.010781567543745041,
0.018134061247110367,
0.04701430723071098,
0.04245411977171898,
-0.017528807744383812,
-0.05545932427048683,
-0.002996037947013974,
0.007559877820312977,
-0.05936026573181152,
-0.020771987736225128,
-0.04187407344579697,
-0.10294265300035477,
-0.05740143358707428,
-0.028216544538736343,
0.003955939318984747,
-0.023518972098827362,
0.012084746733307838,
-0.048787228763103485,
-0.026234405115246773,
0.07116618007421494,
0.0004916865727864206,
-0.010881990194320679,
-0.034284040331840515,
-0.03919314220547676,
0.06049962341785431,
0.008554854430258274,
0.09488324075937271,
0.04498116299510002,
-0.07565430551767349,
-0.014824040234088898,
0.02310195565223694,
-0.020764479413628578,
0.06479739397764206,
-0.01169675588607788,
0.018855907022953033,
-0.06963629275560379,
-0.046098288148641586,
0.0901433601975441,
-0.00701946159824729,
-0.09605278819799423,
-0.09154829382896423,
-0.0018752148607745767,
-0.08427346497774124,
-0.062317490577697754,
-0.002546647097915411,
-0.02165128104388714,
0.09980899095535278,
-0.012821617536246777,
0.04613346606492996,
-0.06529535353183746,
0.047023169696331024,
-0.11014389246702194,
-0.0805952176451683,
-0.08137546479701996,
-0.017819471657276154,
-0.014070188626646996,
-0.022353000938892365,
0.014449718408286572,
-0.008574549108743668,
-0.03181799128651619,
0.01819472387433052,
0.019715819507837296,
-0.06336934119462967,
0.03253328800201416,
-0.007789206225425005,
-0.02161358669400215,
-0.0017545375740155578,
-0.04543958231806755,
0.08376435935497284,
-0.020708497613668442,
0.0944523736834526,
0.03932640701532364,
0.07152032852172852,
0.012657822109758854,
-0.018774613738059998,
0.007733285427093506,
0.031550172716379166,
-0.10808439552783966,
-0.06347483396530151,
0.03154628723859787,
0.02840125374495983,
0.10716229677200317,
0.014042503200471401,
-0.07616936415433884,
-0.03860344737768173,
0.05717190355062485,
0.03252844884991646,
0.08868661522865295,
3.479684785650704e-33,
0.018876051530241966,
-0.053824882954359055,
-0.0020014659967273474,
-0.004052021540701389,
0.1012474074959755,
0.027725739404559135,
0.013064323924481869,
0.03763173893094063,
-0.058191895484924316,
0.016238229349255562,
-0.001244356739334762,
-0.05289686471223831,
-0.03396153450012207,
-0.06048833578824997,
0.07746925950050354,
-0.019710373133420944,
-0.017643382772803307,
0.010922239162027836,
-0.0020814496092498302,
0.09388426691293716,
0.046755045652389526,
-0.11631178110837936,
-0.032702237367630005,
0.0929645374417305,
-0.00034711509943008423,
0.062003035098314285,
-0.011593343690037727,
-0.011556127108633518,
0.06275412440299988,
0.03802429139614105,
-0.012928641401231289,
0.045859698206186295,
-0.003876178525388241,
-0.04711068421602249,
0.03498852625489235,
-0.0029053750913590193,
-0.007074546068906784,
-0.01853729598224163,
-0.05332017317414284,
-0.0673532709479332,
-0.022304177284240723,
0.05648845434188843,
-0.06221204996109009,
-0.04258275404572487,
0.005096443463116884,
-0.17855994403362274,
-0.04764009639620781,
0.1295035183429718,
-0.0919305682182312,
0.14578016102313995,
0.06365823745727539,
-0.014699348248541355,
0.04118833690881729,
-0.06821127235889435,
-0.07721108198165894,
-0.019681619480252266,
0.05410122126340866,
-0.03381546959280968,
-0.04356735199689865,
0.05165205895900726,
0.020157337188720703,
-0.004676802083849907,
0.043170299381017685,
-0.029295288026332855,
-0.006052485667169094,
0.09249632060527802,
0.03361473232507706,
0.03434370830655098,
-0.027585584670305252,
0.0461517795920372,
-0.047651275992393494,
0.01608806475996971,
-0.010024216957390308,
-0.02333192341029644,
-0.024207325652241707,
0.0388350673019886,
-0.07218024879693985,
-0.0446508564054966,
-0.01797005534172058,
0.0995035395026207,
-0.040437497198581696,
0.03691893815994263,
0.026005176827311516,
-0.0015117714647203684,
0.027285980060696602,
-0.031976789236068726,
-0.002158349845558405,
-0.0005996723775751889,
-0.06716272234916687,
0.08827295154333115,
-0.03235536068677902,
0.014409825205802917,
0.015591294504702091,
-0.03755461424589157,
-0.04090794175863266,
-3.814136438346661e-33,
0.04683183878660202,
0.03805099427700043,
-0.040699075907468796,
0.03995364531874657,
0.010348616167902946,
-0.011447244323790073,
0.022340569645166397,
0.06991951167583466,
0.002036881633102894,
-0.08646475523710251,
-0.036755889654159546,
-0.05062878131866455,
-0.023203199729323387,
-0.06282653659582138,
-0.0027234090957790613,
-0.03663398325443268,
-0.013508724980056286,
-0.05934080109000206,
-0.01081124134361744,
-0.008316602557897568,
0.034948065876960754,
0.01098810974508524,
0.11117397993803024,
0.07935889810323715,
0.03248077258467674,
0.02748054265975952,
-0.019789937883615494,
0.06940949708223343,
0.05510593578219414,
-0.10409378260374069,
0.04394105449318886,
0.019215188920497894,
-0.008644741959869862,
-0.023452483117580414,
0.035577692091464996,
0.047409508377313614,
0.01697157882153988,
0.0823071226477623,
0.07132852077484131,
0.03065778687596321,
0.08153866976499557,
-0.0004567519936244935,
-0.02514459565281868,
0.005851690657436848,
-0.02973368763923645,
0.054032690823078156,
-0.0181280504912138,
0.030530638992786407,
-0.09795954078435898,
-0.020787306129932404,
-0.01187121495604515,
0.021783212199807167,
0.024551892653107643,
0.0818457379937172,
0.04396979138255119,
0.028912264853715897,
-0.061037447303533554,
-0.023001426830887794,
0.04450720176100731,
-0.05010022222995758,
0.06296489387750626,
-0.05202373117208481,
-0.0938703641295433,
-0.00785314105451107,
0.050758130848407745,
-0.006761311553418636,
-0.030076200142502785,
0.009287286549806595,
-0.09050867706537247,
0.025394491851329803,
0.03413873165845871,
-0.002897156635299325,
0.03130320459604263,
-0.021648896858096123,
-0.033962491899728775,
-0.027114836499094963,
-0.05536624416708946,
-0.049905333667993546,
0.034156933426856995,
0.03000210039317608,
-0.03552570566534996,
0.04729093611240387,
0.017518311738967896,
0.0761745497584343,
0.04280037805438042,
0.0600847564637661,
0.04034509137272835,
0.025238560512661934,
0.03969950973987579,
0.02364100143313408,
-0.08629240095615387,
0.025722835212945938,
-0.01178027968853712,
0.024900589138269424,
-0.0349467396736145,
-4.2597310567771274e-8,
-0.06991482526063919,
0.01008435245603323,
-0.06018765643239021,
0.019165698438882828,
0.008981875143945217,
-0.05935709923505783,
0.024417223408818245,
0.07946781069040298,
0.050618160516023636,
-0.02676423080265522,
0.16594740748405457,
0.00844243261963129,
0.0036143437027931213,
-0.00667812442407012,
0.018965288996696472,
-0.0011773502919822931,
-0.0219715666025877,
-0.035365741699934006,
-0.010695701465010643,
-0.01686789095401764,
-0.020139498636126518,
-0.05092884972691536,
-0.03486819192767143,
-0.007435110863298178,
-0.0648452490568161,
-0.080482117831707,
-0.0015126625075936317,
0.028738785535097122,
0.022814719006419182,
-0.03067369945347309,
-0.13228419423103333,
-0.007391825783997774,
-0.015512987971305847,
0.004444601014256477,
-0.008404652588069439,
-0.036001089960336685,
-0.09081685543060303,
0.04817447438836098,
0.08616539090871811,
0.018504925072193146,
-0.017714401707053185,
-0.01135639101266861,
-0.04441447556018829,
-0.001729284878820181,
-0.08702676743268967,
0.038662753999233246,
0.030183058232069016,
0.045221831649541855,
-0.05903139337897301,
0.05525266006588936,
-0.015626003965735435,
0.01310643833130598,
-0.03875400871038437,
0.04264064133167267,
0.004786765202879906,
0.022945508360862732,
0.12857463955879211,
-0.10523711889982224,
-0.021497758105397224,
0.047956060618162155,
0.03772139921784401,
-0.009941860102117062,
-0.010175307281315327,
0.0737607553601265
] | 0.047413 |
# Location command (nodes) ## TL;DR - `location.get` is a node command (via `node.invoke`). - Off by default. - Settings use a selector: Off / While Using / Always. - Separate toggle: Precise Location. ## Why a selector (not just a switch) OS permissions are multi-level. We can expose a selector in-app, but the OS still decides the actual grant. - iOS/macOS: user can choose \*\*While Using\*\* or \*\*Always\*\* in system prompts/Settings. App can request upgrade, but OS may require Settings. - Android: background location is a separate permission; on Android 10+ it often requires a Settings flow. - Precise location is a separate grant (iOS 14+ “Precise”, Android “fine” vs “coarse”). Selector in UI drives our requested mode; actual grant lives in OS settings. ## Settings model Per node device: - `location.enabledMode`: `off | whileUsing | always` - `location.preciseEnabled`: bool UI behavior: - Selecting `whileUsing` requests foreground permission. - Selecting `always` first ensures `whileUsing`, then requests background (or sends user to Settings if required). - If OS denies requested level, revert to the highest granted level and show status. ## Permissions mapping (node.permissions) Optional. macOS node reports `location` via the permissions map; iOS/Android may omit it. ## Command: `location.get` Called via `node.invoke`. Params (suggested): ```json { "timeoutMs": 10000, "maxAgeMs": 15000, "desiredAccuracy": "coarse|balanced|precise" } ``` Response payload: ```json { "lat": 48.20849, "lon": 16.37208, "accuracyMeters": 12.5, "altitudeMeters": 182.0, "speedMps": 0.0, "headingDeg": 270.0, "timestamp": "2026-01-03T12:34:56.000Z", "isPrecise": true, "source": "gps|wifi|cell|unknown" } ``` Errors (stable codes): - `LOCATION\_DISABLED`: selector is off. - `LOCATION\_PERMISSION\_REQUIRED`: permission missing for requested mode. - `LOCATION\_BACKGROUND\_UNAVAILABLE`: app is backgrounded but only While Using allowed. - `LOCATION\_TIMEOUT`: no fix in time. - `LOCATION\_UNAVAILABLE`: system failure / no providers. ## Background behavior (future) Goal: model can request location even when node is backgrounded, but only when: - User selected \*\*Always\*\*. - OS grants background location. - App is allowed to run in background for location (iOS background mode / Android foreground service or special allowance). Push-triggered flow (future): 1. Gateway sends a push to the node (silent push or FCM data). 2. Node wakes briefly and requests location from the device. 3. Node forwards payload to Gateway. Notes: - iOS: Always permission + background location mode required. Silent push may be throttled; expect intermittent failures. - Android: background location may require a foreground service; otherwise, expect denial. ## Model/tooling integration - Tool surface: `nodes` tool adds `location\_get` action (node required). - CLI: `openclaw nodes location get --node `. - Agent guidelines: only call when user enabled location and understands the scope. ## UX copy (suggested) - Off: “Location sharing is disabled.” - While Using: “Only when OpenClaw is open.” - Always: “Allow background location. Requires system permission.” - Precise: “Use precise GPS location. Toggle off to share approximate location.” | https://github.com/openclaw/openclaw/blob/main//docs/nodes/location-command.md | main | opebclaw | [
0.0017758336616680026,
0.022992737591266632,
0.030467895790934563,
-0.023815440014004707,
0.0474730059504509,
-0.06156577169895172,
0.008416837081313133,
0.014611483551561832,
-0.01590288244187832,
0.0075998855754733086,
0.034203968942165375,
-0.029532553628087044,
0.027102338150143623,
-0.01606633886694908,
0.10009782761335373,
0.03905590996146202,
0.08079800754785538,
-0.024132251739501953,
-0.016518447548151016,
0.05003151670098305,
0.05201496556401253,
0.02664046548306942,
0.090462826192379,
-0.026273837313055992,
0.019514618441462517,
-0.05203530937433243,
-0.05611652508378029,
-0.07211930304765701,
0.0694289281964302,
0.034964822232723236,
-0.000049655904149403796,
0.04463106766343117,
-0.017377406358718872,
0.004778845235705376,
-0.03209399804472923,
-0.004387570545077324,
-0.012147849425673485,
-0.019554603844881058,
-0.04266207665205002,
0.005293680354952812,
0.010169431567192078,
0.05027012899518013,
0.013336404226720333,
0.04405732825398445,
-0.06812628358602524,
-0.012103419750928879,
0.04538341984152794,
0.0011003053514286876,
-0.030388401821255684,
-0.03151702135801315,
0.08682771027088165,
0.00403241254389286,
0.031205404549837112,
-0.01663924939930439,
-0.014969034120440483,
0.12305068224668503,
-0.007772654294967651,
0.0992768183350563,
0.08721328526735306,
0.011519115418195724,
-0.050377257168293,
-0.05688505247235298,
-0.06393498927354813,
0.00259711523540318,
0.011345929466187954,
0.018373314291238785,
-0.036891113966703415,
-0.039315689355134964,
0.04306645691394806,
-0.07083898782730103,
0.06681093573570251,
-0.001650626421906054,
0.07012325525283813,
-0.06922032684087753,
0.06875478476285934,
-0.0012443336891010404,
-0.01956486701965332,
0.03521572798490524,
-0.0763128474354744,
-0.15254732966423035,
0.051485512405633926,
0.034791000187397,
-0.03846214339137077,
0.06336014717817307,
-0.05267440155148506,
0.004447623621672392,
-0.011742847971618176,
-0.03147369995713234,
0.0334247425198555,
0.07525389641523361,
0.0477774553000927,
-0.025769369676709175,
-0.008582239970564842,
-0.047419678419828415,
-0.014458289369940758,
-0.023504914715886116,
-0.05533912032842636,
-0.030512448400259018,
-0.0448739118874073,
0.0034848456270992756,
-0.006240444723516703,
-0.07450680434703827,
-0.033741872757673264,
0.017820168286561966,
0.04886993393301964,
-0.047494083642959595,
-0.00004865422306465916,
-0.03498425334692001,
-0.0027595749124884605,
0.08483154326677322,
0.010013355873525143,
-0.007522284053266048,
-0.01356733962893486,
0.023779213428497314,
-0.05013183504343033,
0.0032770801335573196,
0.0334446094930172,
-0.021603824570775032,
0.06152857467532158,
0.05999401584267616,
-0.0023749240208417177,
-0.06503848731517792,
0.006935392040759325,
-0.07679234445095062,
0.02488158829510212,
0.0409771203994751,
-0.03288247436285019,
2.4933092924474834e-33,
0.024995500221848488,
-0.05911070853471756,
0.006932529155164957,
0.02841022238135338,
0.002105118939653039,
-0.045185890048742294,
0.0004363949119579047,
0.008771827444434166,
-0.06511277705430984,
0.01278910506516695,
0.0009543430642224848,
0.04963623732328415,
0.00044849078403785825,
-0.022374900057911873,
0.12709471583366394,
0.029729345813393593,
0.07682359218597412,
-0.02270665019750595,
0.10302218049764633,
0.027740349993109703,
0.024699565023183823,
-0.03109242208302021,
-0.04888174682855606,
0.012546321377158165,
0.018198007717728615,
0.01513442862778902,
-0.019922923296689987,
0.04340378940105438,
0.025913631543517113,
0.018200090155005455,
-0.04727224260568619,
0.00994286872446537,
0.04972279071807861,
0.010719656944274902,
-0.048109933733940125,
0.04110854119062424,
-0.022639429196715355,
-0.013281128369271755,
0.00039509774069301784,
-0.09726687520742416,
-0.07246188819408417,
-0.06282133609056473,
-0.0036444866564124823,
0.026220519095659256,
0.03951197490096092,
-0.09299056231975555,
-0.1053197830915451,
-0.06610700488090515,
-0.06891800463199615,
0.09549764543771744,
-0.0405212827026844,
0.04814748093485832,
0.006194701883941889,
-0.10334344953298569,
0.0036578476428985596,
-0.07898154854774475,
-0.10075745731592178,
0.035584431141614914,
0.023940924555063248,
-0.02910682186484337,
0.05701877176761627,
0.03203774243593216,
0.031548872590065,
0.04993635043501854,
-0.021534616127610207,
0.014395502395927906,
0.03673575818538666,
-0.10176931321620941,
0.01692165993154049,
0.0455428771674633,
-0.10730472207069397,
0.022426223382353783,
0.01963687501847744,
-0.013016702607274055,
-0.06706482917070389,
-0.0059011937119066715,
-0.02748674713075161,
-0.010885227471590042,
-0.024918682873249054,
-0.04160057753324509,
0.012861325405538082,
-0.005473262630403042,
-0.005815435200929642,
0.07676322758197784,
0.05016940459609032,
-0.02718384563922882,
-0.0443682037293911,
-0.07067558914422989,
-0.02962607704102993,
0.05169164016842842,
0.029231678694486618,
0.0011759764747694135,
-0.005269115325063467,
0.0051117632538080215,
-0.08568000048398972,
-5.1814402431544525e-33,
0.06461235135793686,
-0.025053691118955612,
0.0032787038944661617,
-0.04372171685099602,
-0.05113295093178749,
-0.02433336153626442,
-0.05381051078438759,
-0.07347084581851959,
-0.0049216533079743385,
0.007564113009721041,
-0.08787161111831665,
0.05639425665140152,
0.06852230429649353,
-0.08492765575647354,
0.013426135294139385,
0.06828673183917999,
-0.04590688273310661,
-0.004851751960813999,
-0.02143767476081848,
0.04013265296816826,
-0.047031696885824203,
0.036781828850507736,
0.006946901325136423,
0.08850741386413574,
-0.004908478818833828,
-0.07101637125015259,
-0.05874955654144287,
0.06442756205797195,
-0.0098298704251647,
-0.010486959479749203,
-0.02072622999548912,
-0.044865213334560394,
-0.07442889362573624,
-0.03693785518407822,
-0.04344002157449722,
0.004405433777719736,
-0.10765042901039124,
0.10452257096767426,
-0.013226930052042007,
0.09353698045015335,
-0.000746126810554415,
-0.0397007055580616,
0.07012855261564255,
0.011238368228077888,
-0.005256112199276686,
0.07287145406007767,
0.04498662054538727,
0.003610635409131646,
-0.05119111016392708,
-0.08001154661178589,
0.11025873571634293,
0.025444045662879944,
0.0696159228682518,
0.09425386041402817,
0.04525570571422577,
0.0683838278055191,
0.016148343682289124,
-0.016915997490286827,
0.04875693842768669,
-0.038276053965091705,
0.10727891325950623,
-0.08644790947437286,
-0.08605295419692993,
0.06157313659787178,
-0.06884857267141342,
-0.01693221740424633,
-0.001674981671385467,
0.0006263925461098552,
0.007292094640433788,
0.05802444741129875,
0.05416012555360794,
-0.1491902470588684,
-0.010331975296139717,
0.006076759658753872,
-0.054736409336328506,
0.08101078867912292,
0.07518119364976883,
-0.07884874939918518,
-0.10982339829206467,
0.03358052298426628,
-0.02311587706208229,
0.0836864709854126,
-0.05361583083868027,
0.03301406651735306,
-0.009980089031159878,
0.008504391647875309,
-0.040383145213127136,
-0.010466854088008404,
0.03823883458971977,
0.021042048931121826,
-0.07863923162221909,
0.004641232080757618,
-0.07106306403875351,
-0.058116890490055084,
-0.10895732790231705,
-5.689742010872578e-8,
0.03533081337809563,
0.006782159674912691,
0.0031973656732589006,
0.019069256260991096,
-0.0016407689545303583,
0.0033277932088822126,
0.019774796441197395,
0.0068336050026118755,
0.05387076735496521,
0.051416780799627304,
-0.009279816411435604,
0.012102346867322922,
-0.035949502140283585,
-0.03808867558836937,
0.04268617928028107,
0.0583183579146862,
0.03390461951494217,
0.06077442690730095,
-0.021723955869674683,
0.05737142637372017,
-0.07301497459411621,
-0.03365406394004822,
-0.02489200048148632,
0.05433385446667671,
0.016275765374302864,
-0.009719735011458397,
-0.016854364424943924,
-0.03002791292965412,
0.013332679867744446,
0.09873069077730179,
0.039699699729681015,
-0.045480601489543915,
0.01390833966434002,
0.07320975512266159,
-0.04219686612486839,
0.07096721976995468,
-0.056420452892780304,
0.009321929886937141,
0.02636794000864029,
-0.020305106416344643,
-0.004217107314616442,
-0.054745152592659,
0.021761000156402588,
0.06353762000799179,
-0.17201068997383118,
-0.0580565370619297,
0.08247631043195724,
-0.0028549341950565577,
0.034107428044080734,
0.051243871450424194,
-0.05170382559299469,
-0.04054000601172447,
-0.09112543612718582,
0.03399849310517311,
0.08504529297351837,
0.017186500132083893,
0.001498925150372088,
-0.13934390246868134,
-0.005708698648959398,
0.044909242540597916,
0.02560194581747055,
0.09355621039867401,
-0.09833135455846786,
-0.0032770743127912283
] | 0.040102 |
# Audio / Voice Notes — 2026-01-17 ## What works - \*\*Media understanding (audio)\*\*: If audio understanding is enabled (or auto‑detected), OpenClaw: 1. Locates the first audio attachment (local path or URL) and downloads it if needed. 2. Enforces `maxBytes` before sending to each model entry. 3. Runs the first eligible model entry in order (provider or CLI). 4. If it fails or skips (size/timeout), it tries the next entry. 5. On success, it replaces `Body` with an `[Audio]` block and sets `{{Transcript}}`. - \*\*Command parsing\*\*: When transcription succeeds, `CommandBody`/`RawBody` are set to the transcript so slash commands still work. - \*\*Verbose logging\*\*: In `--verbose`, we log when transcription runs and when it replaces the body. ## Auto-detection (default) If you \*\*don’t configure models\*\* and `tools.media.audio.enabled` is \*\*not\*\* set to `false`, OpenClaw auto-detects in this order and stops at the first working option: 1. \*\*Local CLIs\*\* (if installed) - `sherpa-onnx-offline` (requires `SHERPA\_ONNX\_MODEL\_DIR` with encoder/decoder/joiner/tokens) - `whisper-cli` (from `whisper-cpp`; uses `WHISPER\_CPP\_MODEL` or the bundled tiny model) - `whisper` (Python CLI; downloads models automatically) 2. \*\*Gemini CLI\*\* (`gemini`) using `read\_many\_files` 3. \*\*Provider keys\*\* (OpenAI → Groq → Deepgram → Google) To disable auto-detection, set `tools.media.audio.enabled: false`. To customize, set `tools.media.audio.models`. Note: Binary detection is best-effort across macOS/Linux/Windows; ensure the CLI is on `PATH` (we expand `~`), or set an explicit CLI model with a full command path. ## Config examples ### Provider + CLI fallback (OpenAI + Whisper CLI) ```json5 { tools: { media: { audio: { enabled: true, maxBytes: 20971520, models: [ { provider: "openai", model: "gpt-4o-mini-transcribe" }, { type: "cli", command: "whisper", args: ["--model", "base", "{{MediaPath}}"], timeoutSeconds: 45, }, ], }, }, }, } ``` ### Provider-only with scope gating ```json5 { tools: { media: { audio: { enabled: true, scope: { default: "allow", rules: [{ action: "deny", match: { chatType: "group" } }], }, models: [{ provider: "openai", model: "gpt-4o-mini-transcribe" }], }, }, }, } ``` ### Provider-only (Deepgram) ```json5 { tools: { media: { audio: { enabled: true, models: [{ provider: "deepgram", model: "nova-3" }], }, }, }, } ``` ## Notes & limits - Provider auth follows the standard model auth order (auth profiles, env vars, `models.providers.\*.apiKey`). - Deepgram picks up `DEEPGRAM\_API\_KEY` when `provider: "deepgram"` is used. - Deepgram setup details: [Deepgram (audio transcription)](/providers/deepgram). - Audio providers can override `baseUrl`, `headers`, and `providerOptions` via `tools.media.audio`. - Default size cap is 20MB (`tools.media.audio.maxBytes`). Oversize audio is skipped for that model and the next entry is tried. - Default `maxChars` for audio is \*\*unset\*\* (full transcript). Set `tools.media.audio.maxChars` or per-entry `maxChars` to trim output. - OpenAI auto default is `gpt-4o-mini-transcribe`; set `model: "gpt-4o-transcribe"` for higher accuracy. - Use `tools.media.audio.attachments` to process multiple voice notes (`mode: "all"` + `maxAttachments`). - Transcript is available to templates as `{{Transcript}}`. - CLI stdout is capped (5MB); keep CLI output concise. ## Gotchas - Scope rules use first-match wins. `chatType` is normalized to `direct`, `group`, or `room`. - Ensure your CLI exits 0 and prints plain text; JSON needs to be massaged via `jq -r .text`. - Keep timeouts reasonable (`timeoutSeconds`, default 60s) to avoid blocking the reply queue. | https://github.com/openclaw/openclaw/blob/main//docs/nodes/audio.md | main | opebclaw | [
-0.051172588020563126,
-0.10053499788045883,
0.010068290866911411,
-0.033214278519153595,
0.01616477407515049,
-0.033568210899829865,
-0.06031237542629242,
-0.051341380923986435,
-0.008613783866167068,
-0.053769808262586594,
0.028664197772741318,
-0.06257861852645874,
-0.06156190484762192,
0.058200735598802567,
-0.007983075454831123,
0.0186300128698349,
0.03520544245839119,
-0.010141336359083652,
-0.05863822624087334,
0.023617707192897797,
0.053754765540361404,
0.11614932119846344,
0.06224888563156128,
0.0020199890714138746,
-0.002252962440252304,
-0.021352849900722504,
-0.05134742707014084,
-0.03841681778430939,
0.023896588012576103,
-0.04452729597687721,
0.0666288435459137,
0.005305308382958174,
0.13081227242946625,
0.04149087890982628,
0.0646091178059578,
0.005545618012547493,
0.04296175017952919,
-0.08355581760406494,
-0.056496232748031616,
-0.06186361238360405,
0.051273856312036514,
-0.014476208947598934,
-0.0060872239992022514,
-0.05600279942154884,
-0.03600647673010826,
-0.10825768858194351,
-0.10897441953420639,
-0.09334742277860641,
-0.0415336973965168,
0.014910073950886726,
-0.11038795858621597,
-0.05593229457736015,
0.025108760222792625,
0.05784415453672409,
-0.011441360227763653,
0.04024769365787506,
0.06985975801944733,
0.06190267950296402,
0.0244354996830225,
-0.024736903607845306,
0.0226136427372694,
-0.10180606693029404,
-0.05980346351861954,
0.008044285699725151,
-0.01956096664071083,
-0.040561873465776443,
-0.035822443664073944,
0.0001474788732593879,
-0.03187766671180725,
0.015176885761320591,
-0.08324751257896423,
0.014696803875267506,
-0.04511747881770134,
0.0593307800590992,
0.06122823804616928,
-0.0007435570587404072,
0.06692839413881302,
0.04264519736170769,
-0.052840735763311386,
-0.11369147151708603,
-0.02076571248471737,
-0.09669824689626694,
0.03292455896735191,
-0.012865918688476086,
0.001055061467923224,
0.07692470401525497,
-0.028944220393896103,
-0.009786028414964676,
0.008110021241009235,
0.01929629221558571,
-0.07080303877592087,
-0.14512282609939575,
0.021807251498103142,
0.012721904553472996,
0.017486386001110077,
0.06464759260416031,
-0.03201086074113846,
0.003291521919891238,
0.029442964121699333,
0.024868955835700035,
-0.008386562578380108,
0.01815749518573284,
-0.003125157207250595,
-0.01998395286500454,
-0.02420157752931118,
-0.06505708396434784,
0.02502773329615593,
0.07068583369255066,
0.01157903391867876,
-0.059390660375356674,
0.06331939995288849,
-0.00017889568698592484,
0.054743442684412,
-0.03396925330162048,
0.04619539529085159,
0.05405006557703018,
-0.04636266827583313,
-0.009053805842995644,
0.025265496224164963,
0.08455514162778854,
-0.02667604386806488,
-0.013837081380188465,
-0.01668797992169857,
0.016590936109423637,
0.06465814262628555,
0.007222147658467293,
0.05070924386382103,
3.583080901407048e-33,
0.075579933822155,
-0.02074901945888996,
0.009962017647922039,
0.014002770185470581,
0.06293594092130661,
-0.025348715484142303,
-0.03574899211525917,
0.047684505581855774,
-0.028749290853738785,
0.02471598982810974,
-0.03161047026515007,
-0.020143581554293633,
-0.02396586164832115,
-0.022176865488290787,
-0.04488660767674446,
0.04582932963967323,
-0.07506103813648224,
0.061978619545698166,
0.007919589057564735,
0.0356312021613121,
0.06620465964078903,
0.01630394719541073,
-0.03985380381345749,
0.014913690276443958,
0.03480139374732971,
0.09047982096672058,
0.030850738286972046,
-0.08096497505903244,
0.018428128212690353,
0.042071666568517685,
-0.06869006156921387,
-0.03928722068667412,
0.023884208872914314,
-0.020586976781487465,
0.03914714232087135,
0.0457385890185833,
-0.024103838950395584,
0.027002813294529915,
-0.04717223346233368,
-0.10148168355226517,
0.025156894698739052,
-0.03148626908659935,
-0.0834471732378006,
-0.06648308783769608,
-0.10478243976831436,
-0.1327461153268814,
-0.056454405188560486,
0.05291495472192764,
0.007671481929719448,
0.08271289616823196,
0.05902370065450668,
0.0487758070230484,
0.06413917988538742,
-0.009465167298913002,
-0.02940252609550953,
-0.046738237142562866,
0.014229875057935715,
-0.030168045312166214,
0.06321637332439423,
-0.0019809198565781116,
0.11886259913444519,
0.03939111530780792,
0.05663794279098511,
-0.036906249821186066,
0.02496781200170517,
0.020724685862660408,
0.014291656203567982,
-0.012802554294466972,
0.015449900180101395,
0.03319951519370079,
-0.11717230826616287,
-0.007390472572296858,
-0.029852254316210747,
-0.015574809163808823,
-0.007342456374317408,
-0.03381754830479622,
-0.00817832164466381,
-0.037061434239149094,
0.02067827433347702,
0.05220121517777443,
0.0021813984494656324,
0.054403889924287796,
-0.004957105498760939,
-0.008800549432635307,
-0.02193659171462059,
0.008303547278046608,
-0.005593947600573301,
-0.15073561668395996,
-0.005985754542052746,
0.02303563617169857,
-0.017628435045480728,
0.003962664864957333,
-0.07215972989797592,
0.017094209790229797,
0.008072355762124062,
-5.249822790303616e-33,
0.09707802534103394,
0.11602994799613953,
-0.002960278419777751,
-0.011434865184128284,
-0.04090460017323494,
-0.04922330006957054,
0.030258765444159508,
0.05300675705075264,
0.02246994711458683,
-0.07761824876070023,
0.049098726361989975,
0.011105057783424854,
0.023608865216374397,
-0.07186972349882126,
0.007010802160948515,
-0.012540461495518684,
-0.06307277083396912,
-0.0988239124417305,
0.012279246933758259,
0.04217721149325371,
-0.012586497701704502,
-0.00570102920755744,
-0.004458128474652767,
0.1176830381155014,
-0.03259927034378052,
0.0019274932565167546,
-0.011934781447052956,
0.0735321193933487,
0.02450021356344223,
-0.0628524124622345,
0.059599801898002625,
0.04957691580057144,
-0.11082746088504791,
-0.027291228994727135,
-0.02050870656967163,
0.0038334792479872704,
0.016344064846634865,
0.12378229945898056,
0.062410689890384674,
0.017709076404571533,
0.11719735711812973,
0.0390249602496624,
-0.07536166906356812,
-0.021778585389256477,
0.005021408200263977,
-0.03257258981466293,
-0.03682950139045715,
0.008973737247288227,
-0.0766717866063118,
-0.008369590155780315,
0.05813955143094063,
-0.04232656583189964,
0.07554739713668823,
0.004394496791064739,
0.017774313688278198,
0.030265798792243004,
0.03357340767979622,
-0.04745538532733917,
-0.06444482505321503,
-0.010913814418017864,
-0.02319439873099327,
-0.0005318161565810442,
-0.04452227056026459,
-0.034470535814762115,
-0.03266323357820511,
0.03478741645812988,
0.026625029742717743,
0.001633556094020605,
-0.03737027570605278,
-0.025827661156654358,
-0.026625072583556175,
-0.0022964817471802235,
0.02856360375881195,
0.04505171626806259,
-0.0005279030301608145,
0.024803785607218742,
-0.15132823586463928,
-0.13056263327598572,
-0.05167645961046219,
0.027910469099879265,
-0.06996419280767441,
0.002115651499480009,
0.045770060271024704,
0.04789647459983826,
0.05289595574140549,
0.059925150126218796,
0.008511163294315338,
0.06596968322992325,
-0.01870214380323887,
0.010083039291203022,
-0.08938968926668167,
0.07984014600515366,
0.05875501409173012,
0.02076777070760727,
-0.0604066364467144,
-5.515762069308039e-8,
-0.08710059523582458,
-0.053337644785642624,
-0.022246800363063812,
0.01834392547607422,
-0.034613944590091705,
-0.011000353842973709,
-0.029746387153863907,
-0.04452913627028465,
0.04073169827461243,
0.01676500216126442,
0.06528804451227188,
-0.03376605361700058,
-0.005458960775285959,
0.02608582004904747,
-0.08508574217557907,
0.06475101411342621,
-0.007725506089627743,
0.0331466943025589,
-0.033968210220336914,
-0.14588125050067902,
0.0270448699593544,
0.008984226733446121,
0.07241792231798172,
0.02457587420940399,
0.05093459412455559,
-0.027017517015337944,
-0.00472089322283864,
0.12311672419309616,
-0.05454544350504875,
-0.026661556214094162,
0.011784937232732773,
0.045008037239313126,
-0.008324893191456795,
0.0068192258477211,
-0.058214932680130005,
0.04384249448776245,
0.0527912899851799,
-0.027023743838071823,
-0.023847879841923714,
-0.001322666765190661,
0.06339503824710846,
0.04994044825434685,
-0.07834655791521072,
-0.05439125373959541,
-0.024438828229904175,
0.0034589094575494528,
0.04750389978289604,
-0.0019157064380124211,
-0.001109558274038136,
0.014555397443473339,
-0.007204743567854166,
0.06233774498105049,
-0.06397287547588348,
0.11512145400047302,
0.03839970380067825,
0.03400345891714096,
0.04946146160364151,
-0.011622786521911621,
-0.0004999602679163218,
0.03122963011264801,
0.031066538766026497,
0.020475560799241066,
0.05591848865151405,
-0.03803326562047005
] | 0.10996 |
# Talk Mode Talk mode is a continuous voice conversation loop: 1. Listen for speech 2. Send transcript to the model (main session, chat.send) 3. Wait for the response 4. Speak it via ElevenLabs (streaming playback) ## Behavior (macOS) - \*\*Always-on overlay\*\* while Talk mode is enabled. - \*\*Listening → Thinking → Speaking\*\* phase transitions. - On a \*\*short pause\*\* (silence window), the current transcript is sent. - Replies are \*\*written to WebChat\*\* (same as typing). - \*\*Interrupt on speech\*\* (default on): if the user starts talking while the assistant is speaking, we stop playback and note the interruption timestamp for the next prompt. ## Voice directives in replies The assistant may prefix its reply with a \*\*single JSON line\*\* to control voice: ```json { "voice": "", "once": true } ``` Rules: - First non-empty line only. - Unknown keys are ignored. - `once: true` applies to the current reply only. - Without `once`, the voice becomes the new default for Talk mode. - The JSON line is stripped before TTS playback. Supported keys: - `voice` / `voice\_id` / `voiceId` - `model` / `model\_id` / `modelId` - `speed`, `rate` (WPM), `stability`, `similarity`, `style`, `speakerBoost` - `seed`, `normalize`, `lang`, `output\_format`, `latency\_tier` - `once` ## Config (`~/.openclaw/openclaw.json`) ```json5 { talk: { voiceId: "elevenlabs\_voice\_id", modelId: "eleven\_v3", outputFormat: "mp3\_44100\_128", apiKey: "elevenlabs\_api\_key", interruptOnSpeech: true, }, } ``` Defaults: - `interruptOnSpeech`: true - `voiceId`: falls back to `ELEVENLABS\_VOICE\_ID` / `SAG\_VOICE\_ID` (or first ElevenLabs voice when API key is available) - `modelId`: defaults to `eleven\_v3` when unset - `apiKey`: falls back to `ELEVENLABS\_API\_KEY` (or gateway shell profile if available) - `outputFormat`: defaults to `pcm\_44100` on macOS/iOS and `pcm\_24000` on Android (set `mp3\_\*` to force MP3 streaming) ## macOS UI - Menu bar toggle: \*\*Talk\*\* - Config tab: \*\*Talk Mode\*\* group (voice id + interrupt toggle) - Overlay: - \*\*Listening\*\*: cloud pulses with mic level - \*\*Thinking\*\*: sinking animation - \*\*Speaking\*\*: radiating rings - Click cloud: stop speaking - Click X: exit Talk mode ## Notes - Requires Speech + Microphone permissions. - Uses `chat.send` against session key `main`. - TTS uses ElevenLabs streaming API with `ELEVENLABS\_API\_KEY` and incremental playback on macOS/iOS/Android for lower latency. - `stability` for `eleven\_v3` is validated to `0.0`, `0.5`, or `1.0`; other models accept `0..1`. - `latency\_tier` is validated to `0..4` when set. - Android supports `pcm\_16000`, `pcm\_22050`, `pcm\_24000`, and `pcm\_44100` output formats for low-latency AudioTrack streaming. | https://github.com/openclaw/openclaw/blob/main//docs/nodes/talk.md | main | opebclaw | [
-0.10376711189746857,
-0.06301382184028625,
0.03811930865049362,
-0.029814468696713448,
-0.005224213469773531,
-0.04803598299622536,
0.08139262348413467,
-0.03888880833983421,
0.01898139901459217,
-0.06625205278396606,
0.0028875633142888546,
-0.007389344274997711,
-0.07947024703025818,
0.027381639927625656,
0.06876879185438156,
-0.005717950873076916,
0.013003437779843807,
-0.025531407445669174,
-0.009381975047290325,
-0.038220446556806564,
0.11146508157253265,
0.04706880450248718,
0.02299617789685726,
0.026502450928092003,
-0.0238356776535511,
-0.0005358342896215618,
-0.02011554129421711,
-0.025720464065670967,
0.04813629016280174,
-0.019021179527044296,
-0.018209509551525116,
0.020929692313075066,
0.09805579483509064,
0.04361120983958244,
-0.09600353240966797,
0.01335405744612217,
0.08757739514112473,
0.03615006059408188,
-0.06903432309627533,
-0.057988476008176804,
-0.07165583968162537,
-0.009806020185351372,
-0.0021237186156213284,
-0.02368633635342121,
0.004575205035507679,
-0.07839833945035934,
-0.10620855540037155,
-0.020688068121671677,
-0.04669976606965065,
0.06823164969682693,
-0.04326683655381203,
-0.014230208471417427,
0.055000804364681244,
0.12867332994937897,
-0.018367018550634384,
0.04286004230380058,
0.0121180210262537,
0.09572533518075943,
0.03227321803569794,
0.009054416790604591,
-0.07729756832122803,
-0.06405533850193024,
-0.03091750293970108,
0.007384427823126316,
-0.031792618334293365,
0.06191256269812584,
-0.04844757169485092,
0.017688864842057228,
-0.006086342502385378,
0.04459283873438835,
-0.02610393427312374,
-0.04635798931121826,
-0.0013861191691830754,
-0.02402924932539463,
0.012121709063649178,
-0.011869973503053188,
0.07013764977455139,
-0.035502735525369644,
-0.015343147329986095,
0.05696719512343407,
0.03158534690737724,
-0.08932124823331833,
0.013771126978099346,
0.0053275758400559425,
-0.02072928100824356,
-0.034695856273174286,
-0.03654075786471367,
-0.027961336076259613,
-0.02613462135195732,
0.07831120491027832,
-0.09396505355834961,
-0.06861065328121185,
0.0216045081615448,
0.010074771009385586,
0.01258116401731968,
0.05124077573418617,
-0.025531867519021034,
-0.019026948139071465,
0.018986456096172333,
0.037019092589616776,
0.017931368201971054,
-0.03528035432100296,
-0.007675729691982269,
-0.10967636108398438,
-0.008854457177221775,
-0.04861218482255936,
0.03127887845039368,
0.029814064502716064,
0.037630464881658554,
0.00024239487538579851,
-0.06498014181852341,
-0.03826787322759628,
0.0020667617209255695,
-0.0009239100036211312,
0.00938599742949009,
0.09206244349479675,
-0.012218762189149857,
0.019249748438596725,
0.07116048038005829,
0.02554338239133358,
0.11929869651794434,
-0.0036249826662242413,
-0.0498938225209713,
-0.014124012552201748,
0.11246984452009201,
0.009599941782653332,
0.048552561551332474,
4.3005853880756945e-33,
0.0648200660943985,
-0.05896364524960518,
-0.07613556832075119,
0.07561647891998291,
0.03773945942521095,
0.006893698591738939,
0.03765565901994705,
-0.014372015371918678,
-0.048952940851449966,
-0.055883269757032394,
-0.005197776481509209,
-0.05099688842892647,
-0.02294088341295719,
0.001132903271354735,
-0.054155346006155014,
-0.03303312137722969,
0.02306407317519188,
0.03918080031871796,
0.007913288660347462,
0.0009852531366050243,
0.0893591120839119,
0.020710788667201996,
-0.005990191362798214,
0.06046022102236748,
0.09826809167861938,
0.06804803013801575,
-0.009340829215943813,
-0.05834291875362396,
-0.01314623560756445,
0.04044589400291443,
-0.02744961902499199,
-0.017275044694542885,
-0.08689070492982864,
0.007040750235319138,
0.06357282400131226,
0.002031476702541113,
-0.03220859542489052,
0.028514105826616287,
-0.003591305809095502,
-0.08303306996822357,
-0.07556256651878357,
-0.04634334519505501,
-0.10208252817392349,
-0.06770755350589752,
-0.055228184908628464,
-0.13414964079856873,
-0.05269038677215576,
0.013039140030741692,
-0.03339707478880882,
0.05048002302646637,
-0.0487675666809082,
0.09200730919837952,
-0.030018139630556107,
0.005790694151073694,
0.026740645989775658,
-0.06363826245069504,
0.049944501370191574,
0.0231559406965971,
-0.022913403809070587,
0.026031041517853737,
0.06697370857000351,
-0.021631315350532532,
0.040529765188694,
-0.03505707532167435,
0.040925029665231705,
0.0019011178519576788,
-0.1094600185751915,
-0.03366206958889961,
-0.014721325598657131,
-0.015872126445174217,
-0.04737154766917229,
0.027179637923836708,
0.0015308961737900972,
0.05661308020353317,
-0.09524020552635193,
-0.004269363358616829,
-0.024678438901901245,
0.047393396496772766,
0.003812644397839904,
0.06778118759393692,
0.052613213658332825,
-0.003981166519224644,
-0.050391703844070435,
0.023948291316628456,
0.02553115226328373,
-0.007618157658725977,
0.01981297694146633,
-0.06690758466720581,
-0.038403742015361786,
0.027797261252999306,
-0.07086190581321716,
0.03710971772670746,
0.0425870344042778,
0.003494041506201029,
-0.0719236508011818,
-6.071739460658098e-33,
0.04771091416478157,
0.08962398022413254,
-0.04647140949964523,
0.05734899640083313,
-0.05487188324332237,
-0.005105189047753811,
0.11803407222032547,
0.07956773042678833,
-0.004462024196982384,
-0.05452596768736839,
0.0020982702262699604,
-0.010122881270945072,
0.016971509903669357,
-0.024407705292105675,
0.06810326129198074,
0.00910277385264635,
0.005838183220475912,
-0.04361394792795181,
0.01871560327708721,
0.025519968941807747,
0.0390826053917408,
-0.08218895643949509,
-0.003923221956938505,
0.03594721108675003,
-0.012502138502895832,
-0.11573432385921478,
-0.0594884529709816,
0.05707894638180733,
0.013988119550049305,
-0.025369102135300636,
-0.02012931928038597,
0.05597994104027748,
-0.03223642334342003,
-0.006523079704493284,
0.014453195035457611,
-0.0018642160575836897,
0.011828279122710228,
0.06585804373025894,
0.0071667758747935295,
0.00922971498221159,
0.18410901725292206,
-0.05437009409070015,
-0.05162550508975983,
0.002600747626274824,
0.03412795066833496,
0.01043779868632555,
-0.08396759629249573,
0.045797161757946014,
-0.134717658162117,
-0.01256994903087616,
0.0614214725792408,
-0.03870554640889168,
0.06597338616847992,
-0.022120868787169456,
-0.05168894678354263,
-0.03669452667236328,
0.03736482188105583,
0.006320646032691002,
-0.04008898138999939,
-0.011449658311903477,
0.007794894743710756,
-0.10402711480855942,
0.00884209293872118,
-0.059350647032260895,
0.07007322460412979,
-0.011453144252300262,
-0.014546600170433521,
-0.034245606511831284,
0.07523088902235031,
-0.01671961136162281,
0.0989195927977562,
-0.013414273969829082,
0.015254552476108074,
0.038655515760183334,
0.04205283522605896,
-0.03428430110216141,
-0.05898015573620796,
-0.1458769291639328,
-0.018691079691052437,
0.019032930955290794,
-0.03669949248433113,
0.08143491297960281,
0.028661951422691345,
0.08927730470895767,
0.04487505182623863,
0.12041062116622925,
-0.007958240807056427,
0.10767246782779694,
-0.011561851017177105,
0.03203056380152702,
-0.03424876928329468,
0.06887423992156982,
-0.027298301458358765,
0.013464377261698246,
-0.009680681861937046,
-5.5084921513071095e-8,
-0.08311788737773895,
-0.12479877471923828,
0.014314201660454273,
0.01774265617132187,
0.03996047377586365,
-0.01290037389844656,
0.010910826735198498,
-0.09537076950073242,
0.05624624341726303,
-0.015064145438373089,
0.04398779198527336,
0.034114256501197815,
0.02431936375796795,
-0.020106324926018715,
0.005481685511767864,
0.008220147341489792,
-0.004291702527552843,
0.03133661672472954,
0.0013679427793249488,
-0.041216857731342316,
0.07063736021518707,
-0.032512012869119644,
-0.06483355164527893,
0.039575494825839996,
0.004039332270622253,
0.017120175063610077,
0.039965223520994186,
0.11604057997465134,
-0.0790608674287796,
-0.08286457508802414,
-0.020890306681394577,
0.0034469622187316418,
-0.09393575042486191,
-0.04784730449318886,
-0.09208919107913971,
0.01197741087526083,
-0.0019318340346217155,
-0.04596273601055145,
-0.007702415343374014,
-0.015827905386686325,
0.02590830996632576,
-0.016125673428177834,
-0.06315912306308746,
-0.0027006305754184723,
0.01290262769907713,
0.058839116245508194,
-0.02998795360326767,
-0.028413202613592148,
-0.01683744043111801,
0.005744184833019972,
-0.0030674757435917854,
-0.004230658523738384,
0.050338052213191986,
0.036877937614917755,
0.05353129282593727,
0.0058494494296610355,
0.10063326358795166,
-0.06142951548099518,
0.035799335688352585,
0.04019137844443321,
0.046224918216466904,
0.054248496890068054,
-0.050221268087625504,
-0.0667550265789032
] | 0.156431 |
# Voice Wake (Global Wake Words) OpenClaw treats \*\*wake words as a single global list\*\* owned by the \*\*Gateway\*\*. - There are \*\*no per-node custom wake words\*\*. - \*\*Any node/app UI may edit\*\* the list; changes are persisted by the Gateway and broadcast to everyone. - Each device still keeps its own \*\*Voice Wake enabled/disabled\*\* toggle (local UX + permissions differ). ## Storage (Gateway host) Wake words are stored on the gateway machine at: - `~/.openclaw/settings/voicewake.json` Shape: ```json { "triggers": ["openclaw", "claude", "computer"], "updatedAtMs": 1730000000000 } ``` ## Protocol ### Methods - `voicewake.get` → `{ triggers: string[] }` - `voicewake.set` with params `{ triggers: string[] }` → `{ triggers: string[] }` Notes: - Triggers are normalized (trimmed, empties dropped). Empty lists fall back to defaults. - Limits are enforced for safety (count/length caps). ### Events - `voicewake.changed` payload `{ triggers: string[] }` Who receives it: - All WebSocket clients (macOS app, WebChat, etc.) - All connected nodes (iOS/Android), and also on node connect as an initial “current state” push. ## Client behavior ### macOS app - Uses the global list to gate `VoiceWakeRuntime` triggers. - Editing “Trigger words” in Voice Wake settings calls `voicewake.set` and then relies on the broadcast to keep other clients in sync. ### iOS node - Uses the global list for `VoiceWakeManager` trigger detection. - Editing Wake Words in Settings calls `voicewake.set` (over the Gateway WS) and also keeps local wake-word detection responsive. ### Android node - Exposes a Wake Words editor in Settings. - Calls `voicewake.set` over the Gateway WS so edits sync everywhere. | https://github.com/openclaw/openclaw/blob/main//docs/nodes/voicewake.md | main | opebclaw | [
-0.039588358253240585,
-0.0007161643588915467,
-0.010111669078469276,
0.04098718613386154,
-0.007082563824951649,
-0.04889209568500519,
0.007707606535404921,
-0.06881005316972733,
0.07000987976789474,
-0.0584976002573967,
-0.03135949745774269,
-0.02235225960612297,
0.02251366525888443,
-0.06938939541578293,
0.05059965327382088,
0.06196355074644089,
-0.001532875350676477,
-0.026486335322260857,
0.004983704071491957,
-0.06949779391288757,
0.030683130025863647,
0.10574460029602051,
0.07565020024776459,
-0.001631417777389288,
0.008739563636481762,
-0.0401349700987339,
-0.02712472714483738,
-0.005216242745518684,
0.04042420536279678,
0.005529426503926516,
0.07882855087518692,
0.04271397367119789,
0.02299635298550129,
-0.0010727641638368368,
0.029479648917913437,
0.02619396150112152,
0.003852331778034568,
0.013687201775610447,
-0.10653355717658997,
-0.013252055272459984,
0.10532451421022415,
-0.007302901707589626,
-0.006264811847358942,
-0.0061968243680894375,
-0.03160271793603897,
-0.018646826967597008,
-0.12461172044277191,
-0.03627002611756325,
-0.036928702145814896,
0.04018386825919151,
-0.049549419432878494,
-0.14465144276618958,
0.00294818845577538,
-0.009635557420551777,
-0.021765608340501785,
0.07116510719060898,
0.060180094093084335,
0.017670881003141403,
0.08883155137300491,
-0.0028530654963105917,
-0.003133452031761408,
-0.04924146085977554,
0.014895863831043243,
0.0015635297168046236,
-0.0765591710805893,
0.018654996529221535,
-0.1104600727558136,
-0.025578787550330162,
0.022804774343967438,
-0.02172504924237728,
-0.015500752255320549,
0.06772404164075851,
0.05717286095023155,
-0.06912925094366074,
-0.003232944756746292,
-0.020411061123013496,
0.09957880526781082,
-0.0382661372423172,
-0.01841222681105137,
-0.013906232081353664,
0.01908031851053238,
-0.02192925103008747,
-0.00004692721267929301,
-0.024236313998699188,
0.029589418321847916,
0.07420225441455841,
0.005152038764208555,
-0.043132491409778595,
-0.0300130695104599,
0.0008792876033112407,
-0.07753994315862656,
-0.17538204789161682,
0.032351016998291016,
-0.023183265700936317,
-0.02235381491482258,
0.020481791347265244,
-0.048976294696331024,
-0.05222469940781593,
-0.04819604009389877,
0.0327674075961113,
0.010373692028224468,
-0.05222931504249573,
0.003766482463106513,
0.007157724816352129,
-0.03570669889450073,
-0.029859354719519615,
-0.031904447823762894,
0.055035050958395004,
0.006492049898952246,
-0.013280870392918587,
0.001281517674215138,
-0.007983178831636906,
0.06421321630477905,
-0.03159593045711517,
-0.04045693576335907,
0.009983561001718044,
-0.04944005236029625,
0.02905229665338993,
0.08087535947561264,
0.10266904532909393,
0.021799298003315926,
-0.02867535687983036,
0.030437292531132698,
-0.10314197838306427,
0.051686350256204605,
0.011946842074394226,
0.047293540090322495,
2.8549846596245155e-33,
0.06475353240966797,
-0.004566693212836981,
-0.08034443110227585,
0.00361530389636755,
0.11376845836639404,
-0.11505047231912613,
0.0671018585562706,
0.029091492295265198,
-0.014772510156035423,
-0.02365938574075699,
-0.008766667917370796,
0.08233785629272461,
-0.04402763769030571,
-0.03723176196217537,
0.0052740490064024925,
-0.0022933692671358585,
-0.03197009488940239,
0.03992556408047676,
0.03898327052593231,
-0.05249250307679176,
0.031093034893274307,
0.014340291731059551,
0.03667481988668442,
0.0390072800219059,
0.02605719305574894,
0.01598619855940342,
-0.03828706592321396,
-0.03848230093717575,
-0.027606822550296783,
0.04436659812927246,
0.08158886432647705,
-0.0025267067831009626,
-0.0054045808501541615,
0.03723204508423805,
-0.026386627927422523,
0.04862404614686966,
-0.056469086557626724,
-0.03149278461933136,
-0.0719023123383522,
-0.08633073419332504,
-0.0013209087774157524,
0.009092001244425774,
-0.04863474518060684,
-0.09252084791660309,
-0.04456450790166855,
-0.1314031183719635,
-0.10333183407783508,
0.05207029730081558,
0.030703026801347733,
0.0032174107618629932,
0.01038180012255907,
0.01868600957095623,
-0.053825270384550095,
-0.008281723596155643,
-0.006059040315449238,
-0.05300893262028694,
0.007102268747985363,
-0.00879951473325491,
0.04582185670733452,
0.012279241345822811,
-0.035127900540828705,
0.009836060926318169,
0.07563530653715134,
-0.0047176433727145195,
0.07800322771072388,
0.05569165199995041,
0.07230593264102936,
-0.008547290228307247,
-0.03903542086482048,
-0.025599021464586258,
0.020813554525375366,
-0.0338575579226017,
0.019154610112309456,
0.040776778012514114,
-0.09076226502656937,
0.02096262387931347,
-0.02992543950676918,
-0.05464590713381767,
-0.023865077644586563,
0.006371037568897009,
0.12712286412715912,
-0.03566466644406319,
-0.06238522753119469,
0.07224851101636887,
0.026779228821396828,
-0.03007008135318756,
0.019118722528219223,
-0.10127303004264832,
-0.02155180275440216,
0.1620597392320633,
-0.06460931897163391,
-0.013122699223458767,
0.02498704195022583,
-0.0005002279067412019,
-0.12483614683151245,
-4.437443787238118e-33,
-0.015764256939291954,
0.03869432210922241,
-0.065602608025074,
0.016945021227002144,
-0.052997250109910965,
-0.032977908849716187,
0.08468184620141983,
0.04913511127233505,
-0.053407371044158936,
0.0027650436386466026,
-0.03087455965578556,
0.04057684913277626,
0.04817235469818115,
-0.029998110607266426,
0.07099275290966034,
-0.07976391911506653,
0.009813746437430382,
-0.007587483152747154,
0.01903659477829933,
0.10285573452711105,
-0.04628731310367584,
-0.014255146495997906,
-0.0514662079513073,
0.029004639014601707,
0.053146809339523315,
0.008236682042479515,
-0.0291896965354681,
0.04369858652353287,
-0.011744021438062191,
-0.0472000390291214,
-0.0806167870759964,
0.023299921303987503,
-0.06805037707090378,
0.025277631357312202,
-0.005961581598967314,
0.005776320118457079,
-0.05255909636616707,
0.046327315270900726,
0.05042979493737221,
0.003190593561157584,
0.124623604118824,
0.008995721116662025,
-0.07119397819042206,
-0.05912170186638832,
-0.02476705051958561,
0.012922275811433792,
-0.0845036506652832,
0.024082805961370468,
-0.05323898792266846,
-0.04830898717045784,
0.06714535504579544,
-0.030750589445233345,
0.0437341183423996,
0.05582650005817413,
-0.03667325899004936,
0.06814225018024445,
0.08604437112808228,
-0.07734855264425278,
0.040666282176971436,
-0.0681905597448349,
0.026802444830536842,
-0.13345427811145782,
-0.04174410179257393,
0.0370454415678978,
0.013344881124794483,
0.023843709379434586,
-0.007215063087642193,
-0.01645573601126671,
0.010752594098448753,
-0.07939013838768005,
-0.015630759298801422,
-0.017952095717191696,
0.038872040808200836,
-0.005757220089435577,
-0.06910128891468048,
0.027099525555968285,
-0.04285707324743271,
-0.11629301309585571,
-0.059837449342012405,
-0.013263811357319355,
-0.007515784353017807,
0.01690545305609703,
0.04404722899198532,
-0.014600531198084354,
0.04919111356139183,
-0.02901812642812729,
-0.008205966092646122,
0.10465210676193237,
0.11739493161439896,
0.11530260741710663,
-0.05472159385681152,
0.07668045908212662,
-0.02796724997460842,
-0.020630929619073868,
-0.031002603471279144,
-4.570476619392139e-8,
-0.11169641464948654,
-0.050812866538763046,
0.02225916087627411,
0.06456952542066574,
-0.019045976921916008,
-0.08398722857236862,
0.08562250435352325,
-0.03615106642246246,
-0.003224149812012911,
0.03039436973631382,
0.07703549414873123,
0.028792619705200195,
0.005597057286649942,
0.017805621027946472,
-0.012209613807499409,
0.08322258293628693,
-0.031540971249341965,
0.0449838824570179,
-0.005112315062433481,
-0.07206398248672485,
-0.017327358946204185,
0.051712069660425186,
0.07353489100933075,
0.03326674923300743,
0.022228209301829338,
-0.03137668967247009,
-0.02294110506772995,
0.04186587035655975,
-0.027473725378513336,
0.012958299368619919,
-0.025782592594623566,
-0.01281648501753807,
0.017958423122763634,
0.04503761604428291,
-0.1177523210644722,
0.026479456573724747,
-0.028503157198429108,
-0.009997986257076263,
0.035649023950099945,
0.024450665339827538,
0.049490902572870255,
0.00012945182970725,
-0.1161387637257576,
-0.0076751066371798515,
-0.03176353871822357,
0.02466675080358982,
-0.003671717131510377,
-0.024619467556476593,
0.009460831992328167,
0.042427126318216324,
-0.039834000170230865,
0.0043900408782064915,
0.04485753923654556,
0.0062444210052490234,
0.02593022771179676,
0.014893940649926662,
0.0421186164021492,
-0.0492965504527092,
0.04222482815384865,
0.0354587659239769,
0.0038114539347589016,
0.06965865194797516,
0.06272895634174347,
-0.043033964931964874
] | 0.066735 |
# Nodes A \*\*node\*\* is a companion device (macOS/iOS/Android/headless) that connects to the Gateway \*\*WebSocket\*\* (same port as operators) with `role: "node"` and exposes a command surface (e.g. `canvas.\*`, `camera.\*`, `system.\*`) via `node.invoke`. Protocol details: [Gateway protocol](/gateway/protocol). Legacy transport: [Bridge protocol](/gateway/bridge-protocol) (TCP JSONL; deprecated/removed for current nodes). macOS can also run in \*\*node mode\*\*: the menubar app connects to the Gateway’s WS server and exposes its local canvas/camera commands as a node (so `openclaw nodes …` works against this Mac). Notes: - Nodes are \*\*peripherals\*\*, not gateways. They don’t run the gateway service. - Telegram/WhatsApp/etc. messages land on the \*\*gateway\*\*, not on nodes. ## Pairing + status \*\*WS nodes use device pairing.\*\* Nodes present a device identity during `connect`; the Gateway creates a device pairing request for `role: node`. Approve via the devices CLI (or UI). Quick CLI: ```bash openclaw devices list openclaw devices approve openclaw devices reject openclaw nodes status openclaw nodes describe --node ``` Notes: - `nodes status` marks a node as \*\*paired\*\* when its device pairing role includes `node`. - `node.pair.\*` (CLI: `openclaw nodes pending/approve/reject`) is a separate gateway-owned node pairing store; it does \*\*not\*\* gate the WS `connect` handshake. ## Remote node host (system.run) Use a \*\*node host\*\* when your Gateway runs on one machine and you want commands to execute on another. The model still talks to the \*\*gateway\*\*; the gateway forwards `exec` calls to the \*\*node host\*\* when `host=node` is selected. ### What runs where - \*\*Gateway host\*\*: receives messages, runs the model, routes tool calls. - \*\*Node host\*\*: executes `system.run`/`system.which` on the node machine. - \*\*Approvals\*\*: enforced on the node host via `~/.openclaw/exec-approvals.json`. ### Start a node host (foreground) On the node machine: ```bash openclaw node run --host --port 18789 --display-name "Build Node" ``` ### Remote gateway via SSH tunnel (loopback bind) If the Gateway binds to loopback (`gateway.bind=loopback`, default in local mode), remote node hosts cannot connect directly. Create an SSH tunnel and point the node host at the local end of the tunnel. Example (node host -> gateway host): ```bash # Terminal A (keep running): forward local 18790 -> gateway 127.0.0.1:18789 ssh -N -L 18790:127.0.0.1:18789 user@gateway-host # Terminal B: export the gateway token and connect through the tunnel export OPENCLAW\_GATEWAY\_TOKEN="" openclaw node run --host 127.0.0.1 --port 18790 --display-name "Build Node" ``` Notes: - The token is `gateway.auth.token` from the gateway config (`~/.openclaw/openclaw.json` on the gateway host). - `openclaw node run` reads `OPENCLAW\_GATEWAY\_TOKEN` for auth. ### Start a node host (service) ```bash openclaw node install --host --port 18789 --display-name "Build Node" openclaw node restart ``` ### Pair + name On the gateway host: ```bash openclaw nodes pending openclaw nodes approve openclaw nodes list ``` Naming options: - `--display-name` on `openclaw node run` / `openclaw node install` (persists in `~/.openclaw/node.json` on the node). - `openclaw nodes rename --node --name "Build Node"` (gateway override). ### Allowlist the commands Exec approvals are \*\*per node host\*\*. Add allowlist entries from the gateway: ```bash openclaw approvals allowlist add --node "/usr/bin/uname" openclaw approvals allowlist add --node "/usr/bin/sw\_vers" ``` Approvals live on the node host at `~/.openclaw/exec-approvals.json`. ### Point exec at the node Configure defaults (gateway config): ```bash openclaw config set tools.exec.host node openclaw config set tools.exec.security allowlist openclaw config set tools.exec.node "" ``` Or per session: ``` /exec host=node security=allowlist node= ``` Once set, any `exec` call with `host=node` runs on the node host (subject to the node allowlist/approvals). Related: - [Node host CLI](/cli/node) - [Exec tool](/tools/exec) - [Exec approvals](/tools/exec-approvals) ## Invoking commands Low-level (raw RPC): ```bash openclaw nodes invoke --node --command canvas.eval --params '{"javaScript":"location.href"}' ``` Higher-level helpers exist for the common “give the agent a MEDIA attachment” | https://github.com/openclaw/openclaw/blob/main//docs/nodes/index.md | main | opebclaw | [
-0.05354846268892288,
0.022823521867394447,
0.001271652290597558,
-0.0094020776450634,
0.014117425307631493,
-0.08867969363927841,
0.013406744226813316,
-0.015633177012205124,
0.04106898605823517,
0.04793519154191017,
0.035720810294151306,
-0.007752072066068649,
0.04412161931395531,
0.011229516938328743,
0.11752984672784805,
0.03747287765145302,
0.09064105898141861,
-0.08777250349521637,
0.07774946838617325,
0.012962046079337597,
-0.01807926408946514,
-0.04451831057667732,
-0.0353504978120327,
-0.05124397948384285,
-0.02276112511754036,
0.0007816540310159326,
0.023403296247124672,
-0.05401470884680748,
0.006631456781178713,
0.02813108265399933,
-0.007362511940300465,
-0.002186775906011462,
-0.04662236571311951,
0.07697722315788269,
-0.05550433322787285,
0.028922230005264282,
0.12570500373840332,
-0.01801527477800846,
-0.16448983550071716,
-0.005027234088629484,
0.08015525341033936,
0.026190640404820442,
0.005483290646225214,
0.03588927909731865,
0.036230336874723434,
-0.03802049905061722,
-0.06504559516906738,
-0.01711622253060341,
-0.0602237768471241,
-0.03687909618020058,
-0.0328281931579113,
-0.08498518168926239,
-0.009277628734707832,
0.09752447158098221,
0.03202294930815697,
0.027819233015179634,
-0.07136654853820801,
0.01383247971534729,
0.09353140741586685,
0.03280136361718178,
-0.021680515259504318,
-0.025239726528525352,
-0.00029956508660688996,
0.0517386756837368,
-0.04456999897956848,
-0.013313248753547668,
-0.026462456211447716,
0.010676386766135693,
-0.011390137486159801,
-0.028173724189400673,
0.01442657969892025,
-0.011072077788412571,
0.01475881040096283,
0.010414624586701393,
-0.040827445685863495,
-0.002575914841145277,
0.05220532417297363,
-0.006494486704468727,
-0.1467333287000656,
-0.06637299805879593,
0.0183856338262558,
0.023432737216353416,
-0.07113505899906158,
0.09149150550365448,
-0.016630122438073158,
0.08669501543045044,
-0.097500279545784,
-0.036801986396312714,
-0.021656235679984093,
0.09763216972351074,
-0.09953498840332031,
-0.09238991886377335,
-0.05885074660181999,
-0.028751833364367485,
0.03930993005633354,
-0.04268164560198784,
0.017423002049326897,
-0.026466956362128258,
-0.06651221215724945,
0.04869503900408745,
0.005162317771464586,
-0.023860715329647064,
0.012687334790825844,
-0.04926617816090584,
0.011808469891548157,
0.02713872864842415,
-0.02041292004287243,
0.0013180960668250918,
0.09850435703992844,
0.06524206697940826,
-0.07409006357192993,
0.010701949708163738,
-0.02644806168973446,
-0.019165951758623123,
-0.054202064871788025,
-0.050378236919641495,
0.03331360965967178,
-0.012028936296701431,
0.054641906172037125,
0.10551703721284866,
0.07165674865245819,
0.016710355877876282,
-0.040190406143665314,
0.0011585871689021587,
0.034694354981184006,
0.020306296646595,
0.007736369967460632,
3.272964920508989e-33,
0.019922200590372086,
-0.0579211562871933,
0.0042956918478012085,
0.04757105931639671,
0.09442269057035446,
0.015432087704539299,
0.04885376989841461,
-0.015543636865913868,
-0.05420904979109764,
-0.006295451428741217,
-0.08704618364572525,
-0.006060186307877302,
-0.007998314686119556,
0.04776294156908989,
0.05634153261780739,
-0.015793928876519203,
0.00724673131480813,
-0.04075963422656059,
0.08948548138141632,
0.0030479703564196825,
-0.009642469696700573,
-0.05642291530966759,
-0.03992876410484314,
0.03707365691661835,
0.004408634267747402,
0.08078408986330032,
0.004612131509929895,
-0.04004073143005371,
0.022782454267144203,
0.028134485706686974,
-0.028490087017416954,
0.03313129022717476,
0.025207528844475746,
0.02393297478556633,
-0.06022704392671585,
0.012876106426119804,
-0.04915498569607735,
-0.06761811673641205,
-0.053167521953582764,
-0.06984932720661163,
-0.10394075512886047,
-0.051120202988386154,
-0.10380784422159195,
-0.017396317794919014,
-0.01301388256251812,
-0.10923375189304352,
-0.1002306118607521,
0.010706799104809761,
0.0016503133811056614,
0.03129172697663307,
-0.036728378385305405,
0.014681465923786163,
0.017900634557008743,
-0.054616529494524,
-0.008896961808204651,
0.009072808548808098,
-0.034532301127910614,
-0.008393763564527035,
-0.042048629373311996,
0.004569780547171831,
0.02192787453532219,
0.044856589287519455,
-0.002777019515633583,
0.018966276198625565,
0.016667982563376427,
0.0801161453127861,
-0.020190894603729248,
-0.013622257858514786,
-0.08215879648923874,
0.035083431750535965,
-0.06896867603063583,
0.08629769086837769,
-0.015390589833259583,
0.09705857932567596,
-0.03009001910686493,
0.0697280541062355,
-0.06398149579763412,
-0.007021727040410042,
-0.010552793741226196,
0.031566325575113297,
-0.037263382226228714,
-0.0214421134442091,
0.056472230702638626,
0.07090442627668381,
0.06447453051805496,
0.024342814460396767,
0.05869513005018234,
-0.08392160385847092,
0.0029938288498669863,
0.09869447350502014,
-0.0034988694824278355,
0.03458699956536293,
0.009995697066187859,
-0.00023021199740469456,
-0.1095932126045227,
-5.4960914281947775e-33,
0.006221696734428406,
0.07273203879594803,
-0.06257124245166779,
-0.010972779244184494,
-0.05534158647060394,
-0.05405035987496376,
-0.023473994806408882,
-0.05771070718765259,
-0.029382972046732903,
0.01755150593817234,
-0.015645399689674377,
0.037167344242334366,
0.05307742580771446,
-0.07009270787239075,
0.04147693142294884,
-0.007428152486681938,
-0.02597760036587715,
-0.09533007442951202,
-0.04925856739282608,
-0.023034820333123207,
-0.02827387861907482,
0.027925625443458557,
0.03135804831981659,
-0.025712041184306145,
0.004151920787990093,
-0.04312692582607269,
0.06905149668455124,
0.07724545150995255,
-0.053788986057043076,
-0.0514817051589489,
0.023477284237742424,
0.009529545903205872,
0.0632433071732521,
-0.0364227220416069,
0.08392603695392609,
0.08941300958395004,
-0.002406732179224491,
0.07042194157838821,
0.045534662902355194,
-0.03783638775348663,
0.10014913231134415,
-0.051706116646528244,
-0.013574810698628426,
0.014564202167093754,
-0.021528853103518486,
0.0710207149386406,
-0.08962772786617279,
0.02978026494383812,
-0.09104267507791519,
-0.050894174724817276,
0.022919761016964912,
-0.006214400753378868,
-0.02217288315296173,
0.09438680112361908,
0.030006365850567818,
0.07521186769008636,
0.0376567468047142,
0.05341492220759392,
-0.0004387552908156067,
-0.08346237242221832,
0.08283277601003647,
-0.11236323416233063,
-0.07334105670452118,
0.06052801012992859,
0.024458030238747597,
-0.050974175333976746,
-0.061698105186223984,
-0.022957855835556984,
-0.07802329957485199,
0.03244563937187195,
0.05019153282046318,
0.0345737487077713,
0.008386342786252499,
0.005874415393918753,
0.028575412929058075,
-0.007217005826532841,
0.03362910822033882,
-0.08899030089378357,
-0.016554005444049835,
-0.007470931392163038,
-0.035428889095783234,
0.08017541468143463,
0.02505137212574482,
-0.004396784584969282,
0.036091066896915436,
-0.000581795466132462,
-0.03264539688825607,
0.07933163642883301,
-0.00170209351927042,
0.033639974892139435,
-0.04982089251279831,
0.026499826461076736,
-0.062453743070364,
-0.01772664673626423,
-0.024106286466121674,
-5.4683891193008094e-8,
-0.08969414234161377,
-0.048799220472574234,
-0.09973210841417313,
-0.01918700896203518,
-0.08535612374544144,
0.007944977842271328,
0.034476134926080704,
-0.03329062461853027,
0.06400242447853088,
0.06052166596055031,
0.018370436504483223,
-0.02686407044529915,
-0.035632647573947906,
-0.0707550197839737,
0.040008969604969025,
0.07123782485723495,
0.01844324730336666,
0.0029079741798341274,
0.037940818816423416,
0.0018809180473908782,
0.0037125898525118828,
-0.021269788965582848,
-0.05644863843917847,
0.08701066672801971,
-0.022487454116344452,
-0.031319957226514816,
-0.009678387083113194,
0.0437115915119648,
-0.05439217388629913,
0.011938098818063736,
-0.08030099421739578,
-0.006235911510884762,
-0.005993657745420933,
0.0374341644346714,
-0.06082046777009964,
0.059874825179576874,
-0.07368532568216324,
0.003870027605444193,
0.046767447143793106,
0.05255185440182686,
-0.024564580991864204,
-0.018708959221839905,
-0.0555281825363636,
-0.005231350194662809,
-0.04742984101176262,
0.04662299156188965,
0.012267479673027992,
0.08544208109378815,
-0.02878623455762863,
0.054511185735464096,
0.03485722839832306,
-0.02476435899734497,
0.07646942138671875,
0.008482136763632298,
-0.018531255424022675,
0.006502816453576088,
0.09420765191316605,
-0.16099464893341064,
-0.03913884237408638,
0.0363655760884285,
0.016354436054825783,
0.06390819698572159,
0.05377010256052017,
0.004960913211107254
] | 0.186038 |
`host=node` runs on the node host (subject to the node allowlist/approvals). Related: - [Node host CLI](/cli/node) - [Exec tool](/tools/exec) - [Exec approvals](/tools/exec-approvals) ## Invoking commands Low-level (raw RPC): ```bash openclaw nodes invoke --node --command canvas.eval --params '{"javaScript":"location.href"}' ``` Higher-level helpers exist for the common “give the agent a MEDIA attachment” workflows. ## Screenshots (canvas snapshots) If the node is showing the Canvas (WebView), `canvas.snapshot` returns `{ format, base64 }`. CLI helper (writes to a temp file and prints `MEDIA:`): ```bash openclaw nodes canvas snapshot --node --format png openclaw nodes canvas snapshot --node --format jpg --max-width 1200 --quality 0.9 ``` ### Canvas controls ```bash openclaw nodes canvas present --node --target https://example.com openclaw nodes canvas hide --node openclaw nodes canvas navigate https://example.com --node openclaw nodes canvas eval --node --js "document.title" ``` Notes: - `canvas present` accepts URLs or local file paths (`--target`), plus optional `--x/--y/--width/--height` for positioning. - `canvas eval` accepts inline JS (`--js`) or a positional arg. ### A2UI (Canvas) ```bash openclaw nodes canvas a2ui push --node --text "Hello" openclaw nodes canvas a2ui push --node --jsonl ./payload.jsonl openclaw nodes canvas a2ui reset --node ``` Notes: - Only A2UI v0.8 JSONL is supported (v0.9/createSurface is rejected). ## Photos + videos (node camera) Photos (`jpg`): ```bash openclaw nodes camera list --node openclaw nodes camera snap --node # default: both facings (2 MEDIA lines) openclaw nodes camera snap --node --facing front ``` Video clips (`mp4`): ```bash openclaw nodes camera clip --node --duration 10s openclaw nodes camera clip --node --duration 3000 --no-audio ``` Notes: - The node must be \*\*foregrounded\*\* for `canvas.\*` and `camera.\*` (background calls return `NODE\_BACKGROUND\_UNAVAILABLE`). - Clip duration is clamped (currently `<= 60s`) to avoid oversized base64 payloads. - Android will prompt for `CAMERA`/`RECORD\_AUDIO` permissions when possible; denied permissions fail with `\*\_PERMISSION\_REQUIRED`. ## Screen recordings (nodes) Nodes expose `screen.record` (mp4). Example: ```bash openclaw nodes screen record --node --duration 10s --fps 10 openclaw nodes screen record --node --duration 10s --fps 10 --no-audio ``` Notes: - `screen.record` requires the node app to be foregrounded. - Android will show the system screen-capture prompt before recording. - Screen recordings are clamped to `<= 60s`. - `--no-audio` disables microphone capture (supported on iOS/Android; macOS uses system capture audio). - Use `--screen ` to select a display when multiple screens are available. ## Location (nodes) Nodes expose `location.get` when Location is enabled in settings. CLI helper: ```bash openclaw nodes location get --node openclaw nodes location get --node --accuracy precise --max-age 15000 --location-timeout 10000 ``` Notes: - Location is \*\*off by default\*\*. - “Always” requires system permission; background fetch is best-effort. - The response includes lat/lon, accuracy (meters), and timestamp. ## SMS (Android nodes) Android nodes can expose `sms.send` when the user grants \*\*SMS\*\* permission and the device supports telephony. Low-level invoke: ```bash openclaw nodes invoke --node --command sms.send --params '{"to":"+15555550123","message":"Hello from OpenClaw"}' ``` Notes: - The permission prompt must be accepted on the Android device before the capability is advertised. - Wi-Fi-only devices without telephony will not advertise `sms.send`. ## System commands (node host / mac node) The macOS node exposes `system.run`, `system.notify`, and `system.execApprovals.get/set`. The headless node host exposes `system.run`, `system.which`, and `system.execApprovals.get/set`. Examples: ```bash openclaw nodes run --node -- echo "Hello from mac node" openclaw nodes notify --node --title "Ping" --body "Gateway ready" ``` Notes: - `system.run` returns stdout/stderr/exit code in the payload. - `system.notify` respects notification permission state on the macOS app. - `system.run` supports `--cwd`, `--env KEY=VAL`, `--command-timeout`, and `--needs-screen-recording`. - `system.notify` supports `--priority ` and `--delivery `. - macOS nodes drop `PATH` overrides; headless node hosts only accept `PATH` when it prepends the node host PATH. - On macOS node mode, `system.run` is | https://github.com/openclaw/openclaw/blob/main//docs/nodes/index.md | main | opebclaw | [
-0.040597762912511826,
0.01919928751885891,
-0.04336981102824211,
0.009629569016397,
0.10585490614175797,
-0.09474817663431168,
-0.018679024651646614,
0.0029278702568262815,
0.001119487569667399,
-0.0038674119859933853,
0.031660981476306915,
-0.028643621131777763,
0.027250057086348534,
0.09514687210321426,
0.0371268168091774,
0.04902057349681854,
0.0738384798169136,
-0.02935389056801796,
0.004241942428052425,
-0.021042989566922188,
-0.020379383116960526,
0.014071940444409847,
0.08008749783039093,
-0.10642112046480179,
0.0016485396772623062,
-0.06509269773960114,
-0.055036623030900955,
-0.05836823210120201,
0.013744535855948925,
-0.018640993162989616,
0.1199338287115097,
-0.020473258569836617,
0.015278602950274944,
0.06592857837677002,
0.051222410053014755,
0.1548653542995453,
0.06884824484586716,
-0.050245292484760284,
-0.055019836872816086,
0.018737589940428734,
0.06931693851947784,
0.06896872073411942,
-0.056854188442230225,
-0.0528394840657711,
-0.10183629393577576,
-0.11356925964355469,
-0.042420290410518646,
-0.06359279900789261,
-0.06683698296546936,
0.018333956599235535,
-0.11001177877187729,
-0.07957495003938675,
-0.04723193496465683,
-0.03418030962347984,
-0.03592376783490181,
-0.0026325162034481764,
-0.0045485603623092175,
0.0027225695084780455,
0.07986744493246078,
0.0287930965423584,
-0.008293019607663155,
-0.048457417637109756,
-0.006045053247362375,
0.02367258258163929,
0.08108217269182205,
0.03967100381851196,
-0.03929169476032257,
-0.0048313685692846775,
-0.014916850253939629,
-0.08008302748203278,
0.007908627390861511,
0.0025513500440865755,
-0.061474330723285675,
-0.03199893236160278,
-0.06826402992010117,
-0.09012671560049057,
0.01080534141510725,
0.07707773894071579,
-0.0875508263707161,
-0.09911221265792847,
-0.023219790309667587,
-0.06662864983081818,
-0.03807486966252327,
0.11628751456737518,
-0.01012446265667677,
0.10960495471954346,
-0.029704665765166283,
0.04616381600499153,
0.043661974370479584,
0.0630221888422966,
-0.04757283627986908,
-0.005423936527222395,
-0.05615215376019478,
-0.01330324076116085,
0.04012063145637512,
0.0009984646458178759,
-0.027285784482955933,
0.012576705776154995,
-0.07321197539567947,
0.04005441442131996,
-0.0105045260861516,
-0.0671764686703682,
0.010004215873777866,
-0.1050720363855362,
-0.028775887563824654,
-0.028642307966947556,
0.004665892105549574,
0.027719585224986076,
0.010854840278625488,
0.020475532859563828,
-0.07005937397480011,
0.04048056900501251,
-0.04090466722846031,
-0.00651503074914217,
0.006274862214922905,
-0.0051561142317950726,
0.05000796541571617,
0.025456389412283897,
0.049051977694034576,
0.0375671423971653,
0.12317541986703873,
0.07493555545806885,
-0.0035667677875608206,
-0.025361834093928337,
0.09355328232049942,
-0.07323266565799713,
0.014993853867053986,
2.368569689029061e-33,
0.07751011848449707,
-0.03512939065694809,
0.027314480394124985,
0.04836239293217659,
0.08695505559444427,
0.02890615165233612,
0.03882687911391258,
-0.01078775990754366,
-0.11711856722831726,
0.008161552250385284,
0.02539593167603016,
0.09588492661714554,
0.009722575545310974,
-0.020887795835733414,
0.030922239646315575,
-0.04078879952430725,
-0.024323515594005585,
0.05025527626276016,
0.06602928042411804,
0.05067670717835426,
0.010865745134651661,
-0.07151059061288834,
-0.05265039950609207,
0.10327012836933136,
-0.06170108541846275,
-0.01794811710715294,
-0.0406646765768528,
0.047199491411447525,
0.060641802847385406,
0.002287656534463167,
0.0041504972614347935,
0.030208811163902283,
0.018644869327545166,
0.05036463961005211,
-0.04182915762066841,
0.02108146622776985,
-0.09047950059175491,
-0.010289330966770649,
0.009212348610162735,
-0.0051444899290800095,
-0.026992468163371086,
0.026076888665556908,
-0.05784855782985687,
0.031633347272872925,
-0.02295149676501751,
-0.10303591191768646,
-0.12301788479089737,
0.004898299463093281,
0.04242565855383873,
0.07599072903394699,
0.03048524260520935,
-0.017761889845132828,
0.10671325027942657,
-0.0723668783903122,
0.03679140284657478,
-0.03746264800429344,
0.009549909271299839,
0.015154814347624779,
-0.0254334956407547,
-0.003941180184483528,
0.08414503931999207,
0.06782682985067368,
-0.06797323375940323,
-0.012024173513054848,
-0.011352041736245155,
-0.027183210477232933,
0.018700050190091133,
-0.0038659200072288513,
-0.01304534263908863,
0.016299882903695107,
-0.06779041886329651,
0.04548538476228714,
0.02789028361439705,
0.03772159665822983,
0.013312293216586113,
-0.07917490601539612,
-0.08400551974773407,
-0.055986188352108,
0.022752981632947922,
-0.0012852046638727188,
-0.04424678534269333,
-0.03839775174856186,
-0.0010725761530920863,
-0.003034408902749419,
0.04263189435005188,
-0.013713840395212173,
-0.020666079595685005,
0.019728824496269226,
-0.024576948955655098,
0.025310860946774483,
0.041135273873806,
0.008194087073206902,
-0.028868062421679497,
-0.03610526770353317,
-0.004137812647968531,
-3.543990204112437e-33,
0.0317620225250721,
0.005280043464154005,
-0.052099186927080154,
0.013059940189123154,
-0.00023812444123905152,
-0.0371597483754158,
-0.018598686903715134,
-0.06623687595129013,
0.03658967837691307,
-0.03270876035094261,
-0.01917191594839096,
0.015987969934940338,
-0.05252555385231972,
-0.01392308622598648,
-0.029971294105052948,
-0.04382888600230217,
-0.025355027988553047,
-0.09809273481369019,
0.0033931580837816,
-0.09113699197769165,
-0.026710813865065575,
0.0958746001124382,
0.14412204921245575,
0.1135207936167717,
0.021035395562648773,
-0.02101963944733143,
0.05528399348258972,
0.05762043967843056,
-0.014597872272133827,
-0.08481013029813766,
-0.03119497373700142,
-0.022023778408765793,
-0.04402977600693703,
0.07100687175989151,
0.10922721773386002,
-0.01082366518676281,
0.015813834965229034,
0.08150751888751984,
0.07363399863243103,
-0.000847519317176193,
0.07066411525011063,
-0.05378874018788338,
-0.032296840101480484,
0.08923844248056412,
-0.025972381234169006,
0.04176734387874603,
-0.03275943547487259,
0.06187562271952629,
-0.022636258974671364,
0.0024376967921853065,
-0.0267002172768116,
-0.01176602952182293,
0.027485579252243042,
-0.01445023249834776,
0.036080069839954376,
0.029289552941918373,
0.03314219415187836,
-0.03530300036072731,
0.012846157886087894,
-0.05517316237092018,
0.05861697345972061,
-0.02194870449602604,
-0.04714068025350571,
0.052321162074804306,
-0.08115085959434509,
-0.04004417359828949,
-0.06016886979341507,
0.010836055502295494,
-0.051072873175144196,
0.018625587224960327,
0.028494494035840034,
-0.04843807965517044,
-0.003385721705853939,
0.009222214110195637,
0.018144112080335617,
0.008893520571291447,
0.034200381487607956,
-0.08599095791578293,
0.0023213427048176527,
-0.006307205650955439,
-0.025889772921800613,
0.13665610551834106,
-0.019607430323958397,
-0.04068910330533981,
0.07272379100322723,
-0.015685904771089554,
-0.057205259799957275,
0.02243013307452202,
0.023233963176608086,
-0.000009858471457846463,
-0.008677170611917973,
0.030240830034017563,
0.0485743023455143,
0.00690534757450223,
-0.01001036912202835,
-5.5844832758111806e-8,
-0.0658494383096695,
-0.0433739498257637,
-0.04157034307718277,
-0.07751592248678207,
-0.051344044506549835,
-0.005255285184830427,
-0.0009354937355965376,
-0.0427304171025753,
0.09618466347455978,
-0.01668684184551239,
0.1078706607222557,
-0.05035519227385521,
-0.006355285178869963,
-0.031383246183395386,
0.040053099393844604,
-0.01102543342858553,
0.09530526399612427,
0.051384080201387405,
0.001368316705338657,
-0.041647784411907196,
-0.032706402242183685,
-0.0334903746843338,
0.0015678490744903684,
0.04800507053732872,
-0.06032492592930794,
-0.042270198464393616,
-0.02822413668036461,
0.025433070957660675,
-0.0644443929195404,
0.021485738456249237,
-0.027828644961118698,
-0.030840737745165825,
0.05604652687907219,
0.04610550403594971,
-0.056654151529073715,
0.02349451743066311,
-0.05683290958404541,
-0.06787308305501938,
0.03284483402967453,
0.0074692475609481335,
0.012597249820828438,
0.044689714908599854,
-0.007679783273488283,
-0.020148316398262978,
-0.028230780735611916,
0.011326618492603302,
0.04251284524798393,
-0.015096418559551239,
0.042717598378658295,
-0.001420617219991982,
-0.030182838439941406,
-0.025049054995179176,
-0.009731183759868145,
0.09012775868177414,
0.012119360268115997,
0.04061546176671982,
0.033294934779405594,
-0.11807991564273834,
0.02853308990597725,
0.09600311517715454,
-0.01471505407243967,
0.06079959496855736,
0.07417254894971848,
0.032064858824014664
] | 0.135586 |
notification permission state on the macOS app. - `system.run` supports `--cwd`, `--env KEY=VAL`, `--command-timeout`, and `--needs-screen-recording`. - `system.notify` supports `--priority ` and `--delivery `. - macOS nodes drop `PATH` overrides; headless node hosts only accept `PATH` when it prepends the node host PATH. - On macOS node mode, `system.run` is gated by exec approvals in the macOS app (Settings → Exec approvals). Ask/allowlist/full behave the same as the headless node host; denied prompts return `SYSTEM\_RUN\_DENIED`. - On headless node host, `system.run` is gated by exec approvals (`~/.openclaw/exec-approvals.json`). ## Exec node binding When multiple nodes are available, you can bind exec to a specific node. This sets the default node for `exec host=node` (and can be overridden per agent). Global default: ```bash openclaw config set tools.exec.node "node-id-or-name" ``` Per-agent override: ```bash openclaw config get agents.list openclaw config set agents.list[0].tools.exec.node "node-id-or-name" ``` Unset to allow any node: ```bash openclaw config unset tools.exec.node openclaw config unset agents.list[0].tools.exec.node ``` ## Permissions map Nodes may include a `permissions` map in `node.list` / `node.describe`, keyed by permission name (e.g. `screenRecording`, `accessibility`) with boolean values (`true` = granted). ## Headless node host (cross-platform) OpenClaw can run a \*\*headless node host\*\* (no UI) that connects to the Gateway WebSocket and exposes `system.run` / `system.which`. This is useful on Linux/Windows or for running a minimal node alongside a server. Start it: ```bash openclaw node run --host --port 18789 ``` Notes: - Pairing is still required (the Gateway will show a node approval prompt). - The node host stores its node id, token, display name, and gateway connection info in `~/.openclaw/node.json`. - Exec approvals are enforced locally via `~/.openclaw/exec-approvals.json` (see [Exec approvals](/tools/exec-approvals)). - On macOS, the headless node host prefers the companion app exec host when reachable and falls back to local execution if the app is unavailable. Set `OPENCLAW\_NODE\_EXEC\_HOST=app` to require the app, or `OPENCLAW\_NODE\_EXEC\_FALLBACK=0` to disable fallback. - Add `--tls` / `--tls-fingerprint` when the Gateway WS uses TLS. ## Mac node mode - The macOS menubar app connects to the Gateway WS server as a node (so `openclaw nodes …` works against this Mac). - In remote mode, the app opens an SSH tunnel for the Gateway port and connects to `localhost`. | https://github.com/openclaw/openclaw/blob/main//docs/nodes/index.md | main | opebclaw | [
0.026076804846525192,
0.027230719104409218,
-0.04466302692890167,
0.017002085223793983,
0.11847054213285446,
-0.11958472430706024,
0.013146508485078812,
-0.014280053786933422,
0.01919858157634735,
0.03685765713453293,
0.034224361181259155,
-0.026477478444576263,
0.023942474275827408,
0.0450519435107708,
0.03796108812093735,
0.05319768935441971,
0.13705697655677795,
-0.026928570121526718,
0.011097753420472145,
-0.026107128709554672,
0.053971610963344574,
0.0487537644803524,
0.044534116983413696,
0.027903899550437927,
-0.10837006568908691,
-0.08160003274679184,
-0.053711503744125366,
-0.04403792321681976,
-0.01256934180855751,
-0.0008466059807687998,
0.02556886151432991,
-0.0760103166103363,
0.06978020817041397,
0.010618003085255623,
0.023351695388555527,
0.054029762744903564,
0.1301603466272354,
-0.06652390956878662,
-0.11633419245481491,
-0.011565210297703743,
0.06108003854751587,
0.04403986409306526,
-0.029485078528523445,
-0.011241255328059196,
-0.055738415569067,
-0.031079843640327454,
0.01251212414354086,
-0.08517071604728699,
-0.041711270809173584,
0.013488458469510078,
0.03589824587106705,
-0.047822751104831696,
0.031188970431685448,
-0.08188962191343307,
0.014818100258708,
0.04396713897585869,
-0.028790757060050964,
0.014808486215770245,
0.04923885688185692,
0.018590422347187996,
-0.024701744318008423,
-0.0379643477499485,
-0.01494602020829916,
0.039928171783685684,
-0.00987686961889267,
0.011718254536390305,
-0.036314185708761215,
-0.005830631125718355,
-0.0851634070277214,
-0.022564319893717766,
0.09629546850919724,
0.002947485540062189,
-0.03467952087521553,
-0.04926665499806404,
-0.0129552586004138,
-0.005790500435978174,
0.0292448028922081,
-0.004483240656554699,
-0.08778990805149078,
-0.06941086053848267,
-0.10226887464523315,
-0.03098062239587307,
-0.0739053338766098,
0.019469643011689186,
-0.09272294491529465,
0.06791955232620239,
-0.010064135305583477,
0.04951050877571106,
0.052171457558870316,
0.12533323466777802,
-0.00038091643364168704,
-0.01909037120640278,
-0.09580780565738678,
-0.06660716235637665,
0.05790412798523903,
0.006557467859238386,
-0.028505444526672363,
0.029471252113580704,
-0.08504809439182281,
0.019084706902503967,
0.009589199908077717,
-0.05150625854730606,
-0.020100660622119904,
0.012814893387258053,
0.013248499482870102,
-0.004807869903743267,
-0.016690975055098534,
-0.017633989453315735,
0.014582015573978424,
0.00011927360901609063,
-0.05538643151521683,
-0.05400531738996506,
0.0638381689786911,
0.03704668954014778,
-0.024796610698103905,
0.01768927462399006,
0.06693436950445175,
0.002732383320108056,
0.03408454358577728,
0.021240277215838432,
0.11558867245912552,
-0.018356380984187126,
0.04440384730696678,
-0.011123176664113998,
0.0870838463306427,
0.05967668071389198,
0.015554428100585938,
-5.813669043155673e-34,
0.026124058291316032,
-0.07297097891569138,
0.015279167331755161,
-0.0053413258865475655,
0.126381516456604,
-0.0209367536008358,
-0.0022250069305300713,
-0.03976195305585861,
-0.08196260780096054,
0.06220695376396179,
-0.036566361784935,
0.023395011201500893,
0.0574587807059288,
-0.08676376193761826,
0.09498628973960876,
-0.004114388953894377,
0.0659690648317337,
-0.006194789428263903,
0.02878253534436226,
-0.0072584860026836395,
0.03245449811220169,
-0.016397399827837944,
-0.06791876256465912,
0.06474722921848297,
-0.01203574426472187,
-0.058793097734451294,
-0.0978965237736702,
0.01936343125998974,
0.1013602614402771,
0.02569734677672386,
0.027256323024630547,
0.04015558212995529,
-0.028588972985744476,
0.01871063932776451,
-0.07208916544914246,
0.006616387516260147,
-0.029140455648303032,
0.021188532933592796,
0.024618081748485565,
-0.09655032306909561,
0.04748190566897392,
-0.019113395363092422,
-0.07231953740119934,
0.02021156996488571,
-0.03973022848367691,
-0.10438266396522522,
-0.06879214942455292,
-0.008290091529488564,
0.04836425557732582,
0.09191945940256119,
0.038401976227760315,
-0.022925283759832382,
0.046124909073114395,
-0.041468292474746704,
0.043099019676446915,
-0.001975779654458165,
-0.06291192770004272,
-0.043013326823711395,
0.0021676209289580584,
0.007000051438808441,
-0.01687013916671276,
0.06292856484651566,
-0.028764981776475906,
0.0007679514237679541,
-0.003145687747746706,
-0.019128138199448586,
0.026457589119672775,
-0.043246615678071976,
-0.009571818634867668,
-0.003649516263976693,
-0.0606660395860672,
0.015533811412751675,
0.0033398023806512356,
0.04508158937096596,
-0.03581257537007332,
-0.056152958422899246,
-0.008997896686196327,
-0.06330392509698868,
-0.00975784007459879,
-0.01052140723913908,
0.010920150205492973,
-0.034622672945261,
-0.03702007979154587,
0.018588228151202202,
0.06809502840042114,
0.04961762949824333,
-0.04669734463095665,
0.05678635835647583,
0.014880805276334286,
0.02832164615392685,
0.06750492751598358,
0.02260727807879448,
0.0373840257525444,
-0.00039273331640288234,
-0.05976657196879387,
-2.4021081958969516e-33,
0.030181702226400375,
-0.026743249967694283,
-0.04988013952970505,
-0.005278636701405048,
-0.047597095370292664,
0.01963074319064617,
-0.09891427308320999,
-0.08583866059780121,
0.006300582084804773,
-0.034378405660390854,
-0.04451373592019081,
0.022076435387134552,
0.0015913707902655005,
0.008340155705809593,
-0.04269411042332649,
-0.07317869365215302,
-0.025462180376052856,
0.027388224378228188,
-0.03313655033707619,
-0.05556245893239975,
-0.046964168548583984,
0.0807725265622139,
0.054455265402793884,
0.05182652175426483,
0.011575393378734589,
-0.03423238545656204,
-0.03313450142741203,
0.09349416941404343,
-0.042719677090644836,
-0.09009189158678055,
-0.030122866854071617,
-0.018533620983362198,
-0.05152597650885582,
0.054639823734760284,
0.015618585050106049,
-0.06778355687856674,
-0.07082105427980423,
0.13841117918491364,
0.022736290469765663,
0.05549006164073944,
0.04252125695347786,
-0.017373524606227875,
0.006146468222141266,
0.060454580932855606,
-0.037734098732471466,
0.08879058808088303,
0.0217365100979805,
-0.03395521640777588,
-0.04303307458758354,
0.0058463397435843945,
-0.023592781275510788,
0.01806488446891308,
0.14597178995609283,
0.08888200670480728,
0.0340970903635025,
-0.001896135276183486,
0.0026253259275108576,
0.0189923495054245,
0.008730425499379635,
-0.02942909672856331,
0.09624006599187851,
-0.06819028407335281,
-0.023193838074803352,
0.03187950327992439,
-0.004887088667601347,
-0.07954873889684677,
-0.019360993057489395,
0.053455352783203125,
0.08807030320167542,
0.005089458078145981,
0.00972238089889288,
-0.0025425483472645283,
-0.10551325976848602,
0.00333280093036592,
0.03543895483016968,
0.02983863279223442,
-0.05637621507048607,
-0.17323312163352966,
-0.07587818056344986,
0.03714335709810257,
-0.03249668702483177,
0.11130481213331223,
-0.02660001441836357,
-0.05299157276749611,
0.006045705638825893,
-0.018353810533881187,
0.003810545662418008,
0.027507837861776352,
0.05173221975564957,
0.06716246157884598,
0.0015351177426055074,
0.023629704490303993,
0.002133674453943968,
-0.020059926435351372,
-0.07557535916566849,
-5.060620722474596e-8,
-0.026144729927182198,
-0.0528985932469368,
-0.0488484688103199,
-0.03332281857728958,
0.01641605608165264,
0.019719311967492104,
0.021784426644444466,
-0.05972634628415108,
0.029196741059422493,
0.011291153728961945,
0.021035056561231613,
-0.04528181999921799,
-0.04915405064821243,
-0.04462042823433876,
0.0657014399766922,
0.024418840184807777,
0.04968959838151932,
0.013529805466532707,
0.010145413689315319,
0.004396060947328806,
-0.052923452109098434,
-0.013088151812553406,
-0.09700099378824234,
0.05525628849864006,
-0.09099274128675461,
-0.07622459530830383,
0.021437836810946465,
-0.011815376579761505,
-0.08979853242635727,
0.07847355306148529,
-0.07068702578544617,
-0.062080711126327515,
-0.019372593611478806,
0.05193052813410759,
-0.013906754553318024,
0.029831722378730774,
-0.029687173664569855,
0.0066573540680110455,
0.013587444089353085,
-0.0186674352735281,
-0.009197344072163105,
0.06629792600870132,
0.020471859723329544,
-0.026086853817105293,
-0.08284109085798264,
0.02844587154686451,
0.04551204666495323,
-0.031200556084513664,
0.007387831807136536,
-0.0015538223087787628,
0.06390341371297836,
0.022432450205087662,
0.000176051544258371,
0.055403705686330795,
0.0152245182543993,
0.07172074168920517,
0.08927474915981293,
-0.10080260038375854,
-0.04187159612774849,
0.09432575851678848,
0.032943807542324066,
0.012262181378901005,
0.04808539152145386,
0.040466852486133575
] | 0.132309 |
# Media Understanding (Inbound) — 2026-01-17 OpenClaw can \*\*summarize inbound media\*\* (image/audio/video) before the reply pipeline runs. It auto‑detects when local tools or provider keys are available, and can be disabled or customized. If understanding is off, models still receive the original files/URLs as usual. ## Goals - Optional: pre‑digest inbound media into short text for faster routing + better command parsing. - Preserve original media delivery to the model (always). - Support \*\*provider APIs\*\* and \*\*CLI fallbacks\*\*. - Allow multiple models with ordered fallback (error/size/timeout). ## High‑level behavior 1. Collect inbound attachments (`MediaPaths`, `MediaUrls`, `MediaTypes`). 2. For each enabled capability (image/audio/video), select attachments per policy (default: \*\*first\*\*). 3. Choose the first eligible model entry (size + capability + auth). 4. If a model fails or the media is too large, \*\*fall back to the next entry\*\*. 5. On success: - `Body` becomes `[Image]`, `[Audio]`, or `[Video]` block. - Audio sets `{{Transcript}}`; command parsing uses caption text when present, otherwise the transcript. - Captions are preserved as `User text:` inside the block. If understanding fails or is disabled, \*\*the reply flow continues\*\* with the original body + attachments. ## Config overview `tools.media` supports \*\*shared models\*\* plus per‑capability overrides: - `tools.media.models`: shared model list (use `capabilities` to gate). - `tools.media.image` / `tools.media.audio` / `tools.media.video`: - defaults (`prompt`, `maxChars`, `maxBytes`, `timeoutSeconds`, `language`) - provider overrides (`baseUrl`, `headers`, `providerOptions`) - Deepgram audio options via `tools.media.audio.providerOptions.deepgram` - optional \*\*per‑capability `models` list\*\* (preferred before shared models) - `attachments` policy (`mode`, `maxAttachments`, `prefer`) - `scope` (optional gating by channel/chatType/session key) - `tools.media.concurrency`: max concurrent capability runs (default \*\*2\*\*). ```json5 { tools: { media: { models: [ /\* shared list \*/ ], image: { /\* optional overrides \*/ }, audio: { /\* optional overrides \*/ }, video: { /\* optional overrides \*/ }, }, }, } ``` ### Model entries Each `models[]` entry can be \*\*provider\*\* or \*\*CLI\*\*: ```json5 { type: "provider", // default if omitted provider: "openai", model: "gpt-5.2", prompt: "Describe the image in <= 500 chars.", maxChars: 500, maxBytes: 10485760, timeoutSeconds: 60, capabilities: ["image"], // optional, used for multi‑modal entries profile: "vision-profile", preferredProfile: "vision-fallback", } ``` ```json5 { type: "cli", command: "gemini", args: [ "-m", "gemini-3-flash", "--allowed-tools", "read\_file", "Read the media at {{MediaPath}} and describe it in <= {{MaxChars}} characters.", ], maxChars: 500, maxBytes: 52428800, timeoutSeconds: 120, capabilities: ["video", "image"], } ``` CLI templates can also use: - `{{MediaDir}}` (directory containing the media file) - `{{OutputDir}}` (scratch dir created for this run) - `{{OutputBase}}` (scratch file base path, no extension) ## Defaults and limits Recommended defaults: - `maxChars`: \*\*500\*\* for image/video (short, command‑friendly) - `maxChars`: \*\*unset\*\* for audio (full transcript unless you set a limit) - `maxBytes`: - image: \*\*10MB\*\* - audio: \*\*20MB\*\* - video: \*\*50MB\*\* Rules: - If media exceeds `maxBytes`, that model is skipped and the \*\*next model is tried\*\*. - If the model returns more than `maxChars`, output is trimmed. - `prompt` defaults to simple “Describe the {media}.” plus the `maxChars` guidance (image/video only). - If `.enabled: true` but no models are configured, OpenClaw tries the \*\*active reply model\*\* when its provider supports the capability. ### Auto-detect media understanding (default) If `tools.media..enabled` is \*\*not\*\* set to `false` and you haven’t configured models, OpenClaw auto-detects in this order and \*\*stops at the first working option\*\*: 1. \*\*Local CLIs\*\* (audio only; if installed) - `sherpa-onnx-offline` (requires `SHERPA\_ONNX\_MODEL\_DIR` with encoder/decoder/joiner/tokens) - `whisper-cli` (`whisper-cpp`; uses `WHISPER\_CPP\_MODEL` or the bundled tiny model) - `whisper` (Python CLI; downloads models automatically) 2. \*\*Gemini CLI\*\* (`gemini`) using `read\_many\_files` 3. \*\*Provider keys\*\* - Audio: OpenAI → Groq → Deepgram → Google - Image: OpenAI → Anthropic → Google → MiniMax - | https://github.com/openclaw/openclaw/blob/main//docs/nodes/media-understanding.md | main | opebclaw | [
-0.012207893654704094,
-0.0833781436085701,
0.001102064154110849,
0.014058738946914673,
0.09657713770866394,
-0.06552339345216751,
-0.06606169790029526,
-0.011619143187999725,
0.07344844937324524,
-0.02300981432199478,
0.007059450261294842,
0.016574271023273468,
-0.0001796479191398248,
0.06980851292610168,
-0.03303902968764305,
0.03662191703915596,
0.04164882004261017,
0.005352996755391359,
-0.10420046001672745,
-0.015841111540794373,
0.015769511461257935,
0.04149983450770378,
0.04275580868124962,
-0.05021687224507332,
-0.040565893054008484,
-0.06511498987674713,
-0.05136898159980774,
-0.02795192413032055,
0.026588544249534607,
-0.08312823623418808,
0.07774189859628677,
0.009662077762186527,
0.0019646126311272383,
0.04136212170124054,
0.07293044030666351,
0.018084947019815445,
0.025715840980410576,
-0.08908087760210037,
-0.04842400923371315,
-0.0265944916754961,
0.06883522868156433,
0.007216969039291143,
0.02664163149893284,
-0.07482921332120895,
-0.0429379940032959,
-0.10225389897823334,
-0.025142857804894447,
-0.0509648434817791,
-0.053130052983760834,
0.017837146297097206,
-0.09683609753847122,
-0.042059533298015594,
-0.11004026234149933,
0.07446333765983582,
-0.007953941822052002,
0.0026570542249828577,
-0.019477587193250656,
-0.012427142821252346,
-0.021706480532884598,
0.014499207958579063,
0.01633920520544052,
-0.1363503336906433,
-0.08414039760828018,
0.015163606032729149,
-0.016574924811720848,
0.017828237265348434,
0.016388339921832085,
0.0018335663480684161,
-0.032978180795907974,
-0.0011536997044458985,
-0.05443079024553299,
0.04519195854663849,
-0.02269723266363144,
0.07777240872383118,
0.048023469746112823,
0.004033233039081097,
0.12174290418624878,
0.09140018373727798,
-0.0645381510257721,
-0.1344737559556961,
0.028081800788640976,
-0.07873749732971191,
-0.00671740248799324,
-0.0029110366012901068,
0.05090872570872307,
0.050538502633571625,
-0.03696309030056,
0.02840021811425686,
0.01437811367213726,
-0.0016963162925094366,
-0.11998600512742996,
-0.06472253054380417,
0.022682715207338333,
0.0245128832757473,
-0.005574777722358704,
0.004951332695782185,
0.012963103130459785,
-0.0842231810092926,
0.008478088304400444,
0.0649624615907669,
-0.014598646201193333,
0.021045038476586342,
0.043320246040821075,
-0.08601361513137817,
-0.0006460216245613992,
-0.05966011434793472,
0.028003890067338943,
0.11473563313484192,
-0.04012391343712807,
-0.017808061093091965,
0.019308166578412056,
0.013676954433321953,
0.06759815663099289,
-0.08802394568920135,
0.017180185765028,
0.024152331054210663,
-0.050211697816848755,
-0.005980284418910742,
0.010468811728060246,
-0.01454639621078968,
0.035322584211826324,
0.011159730143845081,
0.02635071612894535,
0.001262559904716909,
0.008432405069470406,
-0.03237345814704895,
0.03464819863438606,
6.467550081757056e-33,
0.01780332624912262,
-0.03748123347759247,
0.06517215073108673,
0.006821854971349239,
0.08379227668046951,
0.008848807774484158,
0.06506609171628952,
0.0353274904191494,
-0.06912542134523392,
-0.03098450042307377,
-0.004373734816908836,
0.02991965226829052,
-0.06668099761009216,
-0.0607871487736702,
-0.05255434289574623,
0.028595855459570885,
-0.07439067959785461,
0.10607108473777771,
0.033468104898929596,
0.06683909147977829,
0.010208254680037498,
-0.04068192094564438,
-0.06451008468866348,
0.049288034439086914,
0.037271078675985336,
0.00204673083499074,
0.04766445234417915,
-0.06135047599673271,
0.003303380450233817,
0.02628050372004509,
0.043083615601062775,
0.006181342527270317,
0.023161020129919052,
-0.012558226473629475,
0.027320751920342445,
0.014354772865772247,
-0.05770518258213997,
-0.005557897500693798,
-0.010317119769752026,
-0.03203991800546646,
0.013943260535597801,
0.015153617598116398,
-0.12486705929040909,
-0.048474185168743134,
-0.1487869918346405,
-0.09337147325277328,
-0.021151376888155937,
0.019525254145264626,
-0.04564247652888298,
0.017235754057765007,
0.11206621676683426,
0.020771635696291924,
0.039923254400491714,
-0.03539919853210449,
-0.017240583896636963,
-0.046175483614206314,
-0.000487657031044364,
0.009052194654941559,
0.03915124386548996,
0.01295922789722681,
0.11344583332538605,
0.011228744871914387,
0.0062845610082149506,
0.01099905651062727,
0.015530064702033997,
-0.03430580720305443,
0.07623393833637238,
0.01833888702094555,
0.03511197492480278,
0.0098206652328372,
-0.04087356477975845,
0.02673235535621643,
-0.04036927968263626,
-0.045722078531980515,
0.044625669717788696,
-0.09582854807376862,
-0.008007406257092953,
-0.02568645030260086,
0.07845175266265869,
0.025782091543078423,
-0.02892947383224964,
0.020717894658446312,
0.05632255598902702,
-0.006498373579233885,
-0.037940531969070435,
0.03771831467747688,
0.015955209732055664,
-0.11852575838565826,
-0.05736382305622101,
-0.040227726101875305,
-0.05691513791680336,
0.02088772878050804,
-0.030187459662556648,
0.016168838366866112,
0.0588468536734581,
-5.727337615624415e-33,
0.06645047664642334,
0.06396970897912979,
0.0029137064702808857,
-0.028910689055919647,
-0.004247511737048626,
-0.030439745634794235,
0.04700179398059845,
0.0518343448638916,
0.04014698043465614,
-0.10021499544382095,
0.012085878290235996,
-0.026211874559521675,
-0.013793175108730793,
-0.11401375383138657,
-0.021215790882706642,
-0.10973554104566574,
-0.006279559340327978,
-0.177358016371727,
-0.0019544351380318403,
0.0575893260538578,
-0.05496583506464958,
-0.012730521149933338,
0.05868930369615555,
0.07288846373558044,
-0.029240990057587624,
0.06813541799783707,
-0.010416911914944649,
0.020178187638521194,
-0.015555012971162796,
-0.05159911885857582,
0.0366346500813961,
-0.0112891411408782,
-0.057724419981241226,
-0.0761806070804596,
-0.025555558502674103,
0.015723973512649536,
0.03171689435839653,
0.10997094959020615,
0.0580630823969841,
0.07189193367958069,
0.07627397030591965,
0.021496806293725967,
-0.09417524933815002,
0.01212979108095169,
-0.007351208478212357,
-0.03109402023255825,
0.019181648269295692,
-0.03199554607272148,
-0.04263506829738617,
0.0019217929802834988,
0.012530850246548653,
0.005710737779736519,
0.016350599005818367,
0.026166988536715508,
0.050953060388565063,
0.08444023877382278,
0.04026377201080322,
-0.07404036074876785,
-0.019206644967198372,
-0.033010102808475494,
-0.009254897944629192,
-0.01243190374225378,
-0.04558098316192627,
-0.013057716190814972,
0.0017152340151369572,
0.02101910673081875,
0.01716262474656105,
-0.054269980639219284,
-0.09542366117238998,
0.001822146587073803,
-0.021426042541861534,
-0.03184259682893753,
-0.0008944845758378506,
0.027434902265667915,
0.0873645693063736,
-0.009506745263934135,
-0.029283354058861732,
-0.05346548184752464,
0.00288948486559093,
0.0345844067633152,
-0.11487096548080444,
0.03722240775823593,
0.029794836416840553,
0.05988941714167595,
0.08167129009962082,
0.008840277791023254,
0.03940322622656822,
0.04016507789492607,
0.043799761682748795,
0.06568469852209091,
-0.09122984111309052,
0.06573387235403061,
0.049000319093465805,
-0.007348714862018824,
0.0031486102379858494,
-5.5442505697556044e-8,
-0.1252640187740326,
-0.028426017612218857,
-0.04036793112754822,
0.06062466278672218,
-0.054407816380262375,
0.0360628217458725,
-0.026958158239722252,
0.09132254868745804,
0.04874482750892639,
-0.01765349507331848,
0.06679130345582962,
-0.011124934069812298,
-0.02978418953716755,
0.03872871398925781,
-0.07195690274238586,
0.06853192299604416,
0.07634393870830536,
-0.009452451020479202,
-0.03718549385666847,
-0.056692786514759064,
-0.0027254032902419567,
0.0212121419608593,
0.08313557505607605,
-0.02144368551671505,
-0.006754320580512285,
0.0016344350297003984,
-0.04607853293418884,
0.004971289075911045,
0.019721128046512604,
0.00204060529358685,
-0.023955583572387695,
-0.02521098032593727,
-0.024843009188771248,
0.019192783161997795,
-0.04967714473605156,
0.06402738392353058,
-0.009968006983399391,
0.0024346166756004095,
-0.015769099816679955,
0.016339324414730072,
0.09722106158733368,
0.06004518270492554,
-0.05009983107447624,
-0.007479923311620951,
0.06749726831912994,
0.06137380003929138,
0.013040134683251381,
-0.008830402977764606,
-0.03114965185523033,
0.05091331526637077,
-0.022753095254302025,
-0.024646751582622528,
-0.06643661856651306,
0.11697649955749512,
0.0013124620309099555,
0.005343484692275524,
0.10678771138191223,
-0.049197375774383545,
0.037699539214372635,
0.07337331771850586,
0.01037154532968998,
-0.006643663160502911,
0.04562665894627571,
0.04084238409996033
] | 0.022292 |
`sherpa-onnx-offline` (requires `SHERPA\_ONNX\_MODEL\_DIR` with encoder/decoder/joiner/tokens) - `whisper-cli` (`whisper-cpp`; uses `WHISPER\_CPP\_MODEL` or the bundled tiny model) - `whisper` (Python CLI; downloads models automatically) 2. \*\*Gemini CLI\*\* (`gemini`) using `read\_many\_files` 3. \*\*Provider keys\*\* - Audio: OpenAI → Groq → Deepgram → Google - Image: OpenAI → Anthropic → Google → MiniMax - Video: Google To disable auto-detection, set: ```json5 { tools: { media: { audio: { enabled: false, }, }, }, } ``` Note: Binary detection is best-effort across macOS/Linux/Windows; ensure the CLI is on `PATH` (we expand `~`), or set an explicit CLI model with a full command path. ## Capabilities (optional) If you set `capabilities`, the entry only runs for those media types. For shared lists, OpenClaw can infer defaults: - `openai`, `anthropic`, `minimax`: \*\*image\*\* - `google` (Gemini API): \*\*image + audio + video\*\* - `groq`: \*\*audio\*\* - `deepgram`: \*\*audio\*\* For CLI entries, \*\*set `capabilities` explicitly\*\* to avoid surprising matches. If you omit `capabilities`, the entry is eligible for the list it appears in. ## Provider support matrix (OpenClaw integrations) | Capability | Provider integration | Notes | | ---------- | ------------------------------------------------ | ------------------------------------------------- | | Image | OpenAI / Anthropic / Google / others via `pi-ai` | Any image-capable model in the registry works. | | Audio | OpenAI, Groq, Deepgram, Google | Provider transcription (Whisper/Deepgram/Gemini). | | Video | Google (Gemini API) | Provider video understanding. | ## Recommended providers \*\*Image\*\* - Prefer your active model if it supports images. - Good defaults: `openai/gpt-5.2`, `anthropic/claude-opus-4-5`, `google/gemini-3-pro-preview`. \*\*Audio\*\* - `openai/gpt-4o-mini-transcribe`, `groq/whisper-large-v3-turbo`, or `deepgram/nova-3`. - CLI fallback: `whisper-cli` (whisper-cpp) or `whisper`. - Deepgram setup: [Deepgram (audio transcription)](/providers/deepgram). \*\*Video\*\* - `google/gemini-3-flash-preview` (fast), `google/gemini-3-pro-preview` (richer). - CLI fallback: `gemini` CLI (supports `read\_file` on video/audio). ## Attachment policy Per‑capability `attachments` controls which attachments are processed: - `mode`: `first` (default) or `all` - `maxAttachments`: cap the number processed (default \*\*1\*\*) - `prefer`: `first`, `last`, `path`, `url` When `mode: "all"`, outputs are labeled `[Image 1/2]`, `[Audio 2/2]`, etc. ## Config examples ### 1) Shared models list + overrides ```json5 { tools: { media: { models: [ { provider: "openai", model: "gpt-5.2", capabilities: ["image"] }, { provider: "google", model: "gemini-3-flash-preview", capabilities: ["image", "audio", "video"], }, { type: "cli", command: "gemini", args: [ "-m", "gemini-3-flash", "--allowed-tools", "read\_file", "Read the media at {{MediaPath}} and describe it in <= {{MaxChars}} characters.", ], capabilities: ["image", "video"], }, ], audio: { attachments: { mode: "all", maxAttachments: 2 }, }, video: { maxChars: 500, }, }, }, } ``` ### 2) Audio + Video only (image off) ```json5 { tools: { media: { audio: { enabled: true, models: [ { provider: "openai", model: "gpt-4o-mini-transcribe" }, { type: "cli", command: "whisper", args: ["--model", "base", "{{MediaPath}}"], }, ], }, video: { enabled: true, maxChars: 500, models: [ { provider: "google", model: "gemini-3-flash-preview" }, { type: "cli", command: "gemini", args: [ "-m", "gemini-3-flash", "--allowed-tools", "read\_file", "Read the media at {{MediaPath}} and describe it in <= {{MaxChars}} characters.", ], }, ], }, }, }, } ``` ### 3) Optional image understanding ```json5 { tools: { media: { image: { enabled: true, maxBytes: 10485760, maxChars: 500, models: [ { provider: "openai", model: "gpt-5.2" }, { provider: "anthropic", model: "claude-opus-4-5" }, { type: "cli", command: "gemini", args: [ "-m", "gemini-3-flash", "--allowed-tools", "read\_file", "Read the media at {{MediaPath}} and describe it in <= {{MaxChars}} characters.", ], }, ], }, }, }, } ``` ### 4) Multi‑modal single entry (explicit capabilities) ```json5 { tools: { media: { image: { models: [ { provider: "google", model: "gemini-3-pro-preview", capabilities: ["image", "video", "audio"], }, ], }, audio: { models: [ { provider: "google", model: "gemini-3-pro-preview", capabilities: ["image", "video", "audio"], }, ], }, video: | https://github.com/openclaw/openclaw/blob/main//docs/nodes/media-understanding.md | main | opebclaw | [
-0.03901542350649834,
-0.10387963801622391,
0.007222057320177555,
-0.04413345456123352,
0.07326270639896393,
-0.025269614532589912,
-0.03599574416875839,
-0.06097572296857834,
-0.0151349613443017,
-0.07292379438877106,
0.05425696447491646,
-0.03184477239847183,
-0.0422641783952713,
0.040071383118629456,
0.020928911864757538,
0.014510253444314003,
0.073212169110775,
0.0050793178379535675,
-0.07369381934404373,
-0.07878873497247696,
-0.00794609822332859,
0.013891237787902355,
0.07260315865278244,
0.05227959528565407,
-0.04805520921945572,
-0.030580490827560425,
0.0016954641323536634,
-0.022635824978351593,
0.017952583730220795,
-0.031071286648511887,
0.02492889203131199,
0.04611165076494217,
0.0903293639421463,
0.007448247633874416,
0.060211505740880966,
0.05345037952065468,
0.0006084346096031368,
-0.07056273519992828,
-0.08481207489967346,
-0.09298165142536163,
0.09199731796979904,
-0.0023603076115250587,
-0.03943704813718796,
-0.07594534754753113,
0.0036680251359939575,
-0.04719042778015137,
0.008528588339686394,
-0.08742350339889526,
0.023873217403888702,
0.0018381769768893719,
-0.06638370454311371,
0.0016601512907072902,
-0.026201525703072548,
0.058879368007183075,
-0.005089474841952324,
0.008958343416452408,
-0.07936360687017441,
0.019304733723402023,
0.07538016140460968,
0.024056697264313698,
-0.04345737397670746,
0.02499580569565296,
-0.012773977592587471,
-0.011520955711603165,
0.030867593362927437,
0.04711029306054115,
0.02232314832508564,
-0.034014590084552765,
0.02231631986796856,
0.01433120109140873,
0.051755938678979874,
0.03960605338215828,
0.0037746757734566927,
0.030930519104003906,
-0.02997528947889805,
-0.003984062001109123,
0.11204676330089569,
0.011957724578678608,
-0.044234748929739,
-0.06299369037151337,
-0.018901174888014793,
-0.08955935388803482,
0.07558592408895493,
0.016740528866648674,
0.026916248723864555,
0.0027455391827970743,
-0.05142125487327576,
-0.013297399505972862,
0.0326671227812767,
-0.03501274809241295,
-0.12825171649456024,
-0.06538671255111694,
-0.03262326493859291,
0.014633143320679665,
0.04265322908759117,
-0.003351271850988269,
-0.021064627915620804,
-0.04575338214635849,
-0.007004081271588802,
0.06881467252969742,
0.0013771202648058534,
-0.027306431904435158,
0.026423480361700058,
-0.021574199199676514,
-0.018075328320264816,
-0.017869165167212486,
0.0966254249215126,
0.05719880387187004,
0.05031808093190193,
0.02883004955947399,
0.006323971785604954,
0.01748928800225258,
0.05113263428211212,
-0.09300961345434189,
0.005354955326765776,
0.09039559960365295,
-0.0630626231431961,
0.005856768693774939,
0.04257356747984886,
0.047378554940223694,
-0.005969310645014048,
-0.07360445708036423,
-0.05847860872745514,
0.008510597981512547,
0.030542582273483276,
0.008853291161358356,
-0.05996670573949814,
2.2155688136939704e-33,
0.04835272207856178,
-0.049695227295160294,
0.061588212847709656,
-0.014625024981796741,
0.0323629155755043,
-0.034533947706222534,
0.030415218323469162,
-0.024108652025461197,
-0.1242881566286087,
0.004366525914520025,
-0.07180430740118027,
0.03858639672398567,
-0.10887255519628525,
0.03186674416065216,
0.019688978791236877,
-0.033736974000930786,
-0.012280945666134357,
0.02976762130856514,
0.0844024270772934,
0.02638840861618519,
0.045929327607154846,
0.01699180342257023,
-0.016369711607694626,
-0.06660734117031097,
0.034260958433151245,
0.04670683667063713,
0.0536394864320755,
-0.07961362600326538,
0.08490807563066483,
0.032914645969867706,
-0.007300594821572304,
-0.008159986697137356,
0.014661545865237713,
0.03802675008773804,
-0.003753563854843378,
-0.024908045306801796,
-0.1501561552286148,
0.047396667301654816,
-0.07987069338560104,
-0.059833671897649765,
0.023437419906258583,
-0.001565122278407216,
-0.11923975497484207,
-0.09999612718820572,
-0.07392025738954544,
-0.035066425800323486,
0.008730476722121239,
-0.023811034858226776,
0.017009159550070763,
-0.0064592803828418255,
0.0392686203122139,
0.0527159757912159,
-0.0820082351565361,
-0.004252035170793533,
0.0056451670825481415,
-0.051772311329841614,
0.10741176456212997,
0.0007092526648193598,
0.027235617861151695,
-0.05277561768889427,
0.06683161854743958,
0.04908737540245056,
0.09206609427928925,
-0.018471842631697655,
0.10753472149372101,
0.022796906530857086,
-0.0313359797000885,
-0.01455408800393343,
0.0017793363658711314,
0.03313073143362999,
-0.10001733154058456,
0.004983459133654833,
0.01840185932815075,
0.006359458900988102,
0.007225375156849623,
-0.04113513231277466,
-0.02740023098886013,
-0.029690565541386604,
0.037309348583221436,
0.07856692373752594,
0.009065316058695316,
-0.03455615043640137,
0.006401952356100082,
0.03383427485823631,
-0.002851644065231085,
0.002714099595323205,
0.02575729973614216,
-0.06449367851018906,
-0.10520413517951965,
0.03379134461283684,
-0.0381239578127861,
0.0016918155597522855,
-0.02425927110016346,
-0.01130221039056778,
-0.11093839257955551,
-3.29096504509794e-33,
-0.002950992900878191,
0.032950352877378464,
0.02843686193227768,
0.04134363308548927,
-0.06624138355255127,
-0.06618862599134445,
0.05196214094758034,
0.054563216865062714,
0.01454828679561615,
0.009808305650949478,
0.07157037407159805,
-0.0752166137099266,
0.05096433684229851,
-0.04621328413486481,
-0.012562925927340984,
-0.03759905323386192,
-0.012298171408474445,
-0.06101885437965393,
0.033905092626810074,
0.030576810240745544,
-0.03672495856881142,
0.0415906198322773,
0.007838265039026737,
0.033122479915618896,
-0.041596073657274246,
-0.0038596552331000566,
0.06138768047094345,
0.08542915433645248,
0.006067917216569185,
-0.062381841242313385,
-0.022391609847545624,
0.08195268362760544,
-0.14284585416316986,
-0.07364983856678009,
0.0641791820526123,
0.029363736510276794,
0.0004171665059402585,
0.07208224385976791,
0.028780683875083923,
-0.02066967450082302,
0.08031383901834488,
0.05721631646156311,
-0.046161502599716187,
-0.03443972021341324,
0.029420534148812294,
-0.0062161642126739025,
-0.08495936542749405,
0.06910236924886703,
-0.06356450915336609,
0.007295152172446251,
0.11150219291448593,
-0.01292664185166359,
0.022299086675047874,
-0.011161780916154385,
0.04000534117221832,
0.023491619154810905,
0.002474583685398102,
-0.017377860844135284,
-0.00300269084982574,
0.003286200575530529,
0.05341993272304535,
-0.17873194813728333,
-0.12951521575450897,
-0.07411468774080276,
-0.053182732313871384,
0.012393774464726448,
-0.01517464779317379,
0.04416237771511078,
0.020933184772729874,
0.01658931002020836,
-0.004141110461205244,
-0.043447352945804596,
0.08085647970438004,
0.09400132298469543,
-0.0053186663426458836,
0.0404876284301281,
-0.07758176326751709,
-0.05959117412567139,
0.08909778296947479,
-0.02298438362777233,
-0.030170254409313202,
0.03129152953624725,
0.07218071073293686,
0.07454437762498856,
0.11121228337287903,
0.06246037781238556,
0.04221063107252121,
0.08551596850156784,
0.056067533791065216,
0.05663950368762016,
-0.014456074684858322,
0.056917570531368256,
0.031221620738506317,
0.007371662650257349,
-0.059263646602630615,
-5.465008001692695e-8,
-0.028750089928507805,
-0.07129606604576111,
-0.016770068556070328,
-0.026635069400072098,
-0.0048289247788488865,
-0.015486972406506538,
0.031518131494522095,
-0.0708407536149025,
0.05648120865225792,
0.013687710277736187,
0.08244844526052475,
-0.019766561686992645,
-0.07136647403240204,
0.008518138900399208,
-0.08663158118724823,
0.04168570414185524,
-0.02207527868449688,
0.03723672777414322,
0.03415187448263168,
-0.08703569322824478,
0.007785847410559654,
0.022847114130854607,
-0.0046869367361068726,
-0.01902146078646183,
0.0388275608420372,
-0.07050149887800217,
0.05306109040975571,
0.05321215093135834,
-0.05626947432756424,
-0.06026497483253479,
-0.030113229528069496,
-0.019147131592035294,
-0.009727743454277515,
-0.07135593891143799,
-0.03287181258201599,
0.05770646408200264,
0.0030964864417910576,
0.00992843508720398,
-0.013128816150128841,
-0.024591630324721336,
0.0395139642059803,
0.00004665897722588852,
-0.03862343356013298,
-0.06692541390657425,
-0.021881679072976112,
0.01483354065567255,
0.06605838984251022,
-0.0061668166890740395,
-0.03891385346651077,
0.06931627541780472,
-0.0012084981426596642,
-0.013238266110420227,
0.029841560870409012,
0.03939772769808769,
0.0608769953250885,
-0.0705442801117897,
0.06621518731117249,
-0.04910049960017204,
-0.0236315056681633,
0.0695725828409195,
0.027494413778185844,
0.04064413532614708,
-0.014608745463192463,
-0.007864297367632389
] | 0.101472 |
}, }, } ``` ### 4) Multi‑modal single entry (explicit capabilities) ```json5 { tools: { media: { image: { models: [ { provider: "google", model: "gemini-3-pro-preview", capabilities: ["image", "video", "audio"], }, ], }, audio: { models: [ { provider: "google", model: "gemini-3-pro-preview", capabilities: ["image", "video", "audio"], }, ], }, video: { models: [ { provider: "google", model: "gemini-3-pro-preview", capabilities: ["image", "video", "audio"], }, ], }, }, }, } ``` ## Status output When media understanding runs, `/status` includes a short summary line: ``` 📎 Media: image ok (openai/gpt-5.2) · audio skipped (maxBytes) ``` This shows per‑capability outcomes and the chosen provider/model when applicable. ## Notes - Understanding is \*\*best‑effort\*\*. Errors do not block replies. - Attachments are still passed to models even when understanding is disabled. - Use `scope` to limit where understanding runs (e.g. only DMs). ## Related docs - [Configuration](/gateway/configuration) - [Image & Media Support](/nodes/images) | https://github.com/openclaw/openclaw/blob/main//docs/nodes/media-understanding.md | main | opebclaw | [
-0.020647726953029633,
-0.019139068201184273,
0.029051143676042557,
-0.036485522985458374,
0.11020271480083466,
-0.018392497673630714,
-0.00566929392516613,
-0.03869856148958206,
0.011784622445702553,
-0.04807300493121147,
0.035585060715675354,
-0.010361708700656891,
-0.02394907735288143,
0.045212745666503906,
0.07252561300992966,
0.056460700929164886,
-0.0408494807779789,
-0.05256862938404083,
-0.1172952875494957,
-0.09617867320775986,
0.06249108165502548,
-0.009055041708052158,
0.07691274583339691,
-0.013093098066747189,
0.003666085423901677,
0.0388481430709362,
-0.014069261029362679,
0.030568180605769157,
0.035028599202632904,
-0.04531148076057434,
0.05260260030627251,
-0.003004291793331504,
0.03530033305287361,
0.027761952951550484,
0.04806602746248245,
0.02270158939063549,
-0.05008087307214737,
-0.1250128298997879,
-0.025989282876253128,
-0.05826984718441963,
0.07742443680763245,
0.025200722739100456,
-0.04053568094968796,
-0.08522642403841019,
-0.01672813855111599,
-0.0827006995677948,
-0.0775768831372261,
-0.10526711493730545,
-0.014771722257137299,
0.023933958262205124,
-0.07336282730102539,
-0.04456809535622597,
-0.06706753373146057,
0.0036766543053090572,
0.007818033918738365,
0.034415945410728455,
-0.11889369785785675,
-0.0448923259973526,
0.05252748727798462,
-0.004629441071301699,
0.017398850992321968,
-0.039362646639347076,
-0.07865217328071594,
-0.016955869272351265,
0.03731728717684746,
0.01651366986334324,
-0.002485073870047927,
-0.032391153275966644,
-0.033983755856752396,
-0.010450290516018867,
-0.007902697660028934,
0.0062167225405573845,
0.007455460261553526,
-0.005368345882743597,
-0.007434327621012926,
-0.031100783497095108,
0.08572404831647873,
0.007936439476907253,
-0.03446849435567856,
-0.0755351185798645,
-0.0020043831318616867,
-0.07287885248661041,
-0.0293427687138319,
-0.0005063062417320907,
0.016429586336016655,
0.03526529297232628,
-0.06212799251079559,
-0.01040357444435358,
0.020792897790670395,
-0.03397905454039574,
-0.1248147115111351,
-0.06576329469680786,
0.008494368754327297,
0.04884323105216026,
0.050029367208480835,
0.01957489177584648,
-0.026009054854512215,
-0.14769437909126282,
-0.024875102564692497,
0.09585545212030411,
-0.0003534607822075486,
-0.02727099321782589,
0.09670473635196686,
0.018038498237729073,
-0.009898718446493149,
-0.07354056090116501,
-0.020652785897254944,
0.1314985454082489,
-0.03303663805127144,
0.0330362506210804,
0.024098249152302742,
0.0393185056746006,
0.006792725995182991,
-0.022491566836833954,
-0.04716770350933075,
0.04283110052347183,
-0.09561823308467865,
0.02248482219874859,
0.07736173272132874,
0.023370003327727318,
0.0889802947640419,
-0.009143777191638947,
0.01348712295293808,
-0.03593265637755394,
-0.023120705038309097,
-0.034184686839580536,
-0.03846237435936928,
-9.066993840785322e-34,
0.06724707782268524,
-0.05699292942881584,
0.04060320928692818,
0.050704147666692734,
0.045730289071798325,
0.03412696719169617,
-0.02546513080596924,
-0.0005387840792536736,
-0.07326304167509079,
-0.016616621986031532,
-0.055254872888326645,
0.0749334767460823,
-0.089632548391819,
0.04325447231531143,
-0.0207627285271883,
-0.013341902755200863,
0.010268363170325756,
0.08349095284938812,
0.021156063303351402,
0.08147739619016647,
0.018767882138490677,
0.05010535567998886,
-0.07252094149589539,
0.060867007821798325,
0.02033776044845581,
0.05099886283278465,
0.03471368923783302,
-0.012207785621285439,
-0.04525446146726608,
0.018159501254558563,
-0.026519775390625,
-0.010626987554132938,
0.05898861587047577,
0.00601769145578146,
0.062475528568029404,
0.013943830505013466,
-0.04494044557213783,
0.005391858052462339,
-0.05799427628517151,
-0.04420456662774086,
0.013905123807489872,
-0.020425066351890564,
-0.13178963959217072,
-0.04384223744273186,
-0.10314089804887772,
-0.02339208871126175,
-0.005106388125568628,
0.016524208709597588,
-0.018140792846679688,
0.05453763157129288,
-0.03693271428346634,
0.08139736205339432,
-0.014009956270456314,
-0.03118814527988434,
0.007879236713051796,
-0.06458703428506851,
0.039272550493478775,
0.051342446357011795,
0.05831141769886017,
-0.06740086525678635,
0.03907577320933342,
0.05189796909689903,
0.03191787376999855,
-0.026070132851600647,
0.03666926547884941,
0.07001256197690964,
-0.022757042199373245,
0.011975974775850773,
0.07178190350532532,
0.04099564254283905,
-0.08288209140300751,
0.09017136693000793,
0.011129246093332767,
-0.027889687567949295,
-0.0315420888364315,
-0.07945438474416733,
-0.003566947067156434,
-0.017002437263727188,
-0.004285669885575771,
0.06797812134027481,
-0.0391821525990963,
0.004159700591117144,
0.004464983940124512,
0.055296365171670914,
-0.0069047389551997185,
-0.008310257457196712,
0.013666288927197456,
-0.09101955592632294,
-0.05504758283495903,
-0.026993630453944206,
-0.07547207176685333,
0.07210928201675415,
-0.022649025544524193,
-0.047014717012643814,
-0.047835346311330795,
-8.091051594629618e-34,
0.04864826425909996,
0.01974717155098915,
0.04666115343570709,
0.0020126558374613523,
0.03483603522181511,
-0.09315834939479828,
0.08047741651535034,
0.05625287815928459,
0.06981932371854782,
-0.027551405131816864,
0.0797833576798439,
-0.07859721779823303,
-0.012729918584227562,
-0.10299689322710037,
-0.08152922242879868,
0.023255106061697006,
-0.03885301202535629,
-0.10508313030004501,
0.06105875223875046,
0.05774063616991043,
-0.01730489358305931,
0.06357289850711823,
0.048657581210136414,
0.10592072457075119,
-0.028837034478783607,
0.009606326930224895,
0.04946747422218323,
-0.01658589392900467,
-0.036137502640485764,
-0.07423677295446396,
0.051520220935344696,
-0.02477968856692314,
-0.03607115149497986,
0.021472619846463203,
0.0716804638504982,
-0.0047766417264938354,
0.08321421593427658,
0.09603183716535568,
-0.030625207349658012,
0.033941030502319336,
0.048196569085121155,
0.06782158464193344,
-0.009637312032282352,
0.029807081446051598,
0.0025771302171051502,
-0.0024564487393945456,
0.07450473308563232,
0.003346147248521447,
-0.028076021000742912,
-0.0348992757499218,
0.05565568804740906,
-0.05066275596618652,
-0.010062888264656067,
0.006687325891107321,
-0.008704093284904957,
-0.06013277545571327,
0.03341269865632057,
-0.09559722244739532,
0.05098709836602211,
0.004951117094606161,
0.016352979466319084,
-0.12299345433712006,
-0.06282465904951096,
-0.011585780419409275,
0.032327208667993546,
-0.04568927362561226,
-0.011277636513113976,
0.0014659056905657053,
0.004704825114458799,
0.022823931649327278,
-0.029955914244055748,
-0.05083343759179115,
0.09479901939630508,
-0.017408151179552078,
0.037595778703689575,
0.012005629949271679,
-0.06442663073539734,
-0.06521101295948029,
0.07109218090772629,
-0.037856265902519226,
-0.06906114518642426,
-0.010955299250781536,
0.03216248378157616,
0.04640297219157219,
0.05220278725028038,
0.08159828186035156,
0.06222447007894516,
0.0526546984910965,
0.034649159759283066,
0.04860326275229454,
-0.052254579961299896,
0.06393056362867355,
0.02175133116543293,
0.05884402245283127,
-0.012983904220163822,
-4.7652587653601586e-8,
-0.043319184333086014,
-0.024536030367016792,
-0.09729700535535812,
-0.013856818899512291,
0.002745094709098339,
-0.024291398003697395,
0.037173908203840256,
-0.06829981505870819,
0.10696687549352646,
-0.048485834151506424,
0.08123300969600677,
0.017896974459290504,
-0.12038065493106842,
0.0030671146232634783,
-0.02981528826057911,
0.00627634022384882,
-0.07540293782949448,
0.13186465203762054,
-0.005458531901240349,
-0.012497295625507832,
0.023797310888767242,
0.03538113832473755,
0.0801655501127243,
-0.08813077211380005,
0.04913903400301933,
-0.04696842283010483,
-0.030653709545731544,
0.011561378836631775,
-0.0058328527957201,
0.0013893377035856247,
-0.023042090237140656,
-0.013746087439358234,
0.045122865587472916,
-0.06484328955411911,
-0.012812941335141659,
-0.025390973314642906,
0.06452233344316483,
0.0184340700507164,
0.02098667435348034,
0.032892320305109024,
0.04506295546889305,
0.034192219376564026,
-0.09965778887271881,
0.016106432303786278,
0.026798296719789505,
-0.019386552274227142,
0.02978585846722126,
0.004139076918363571,
-0.021628685295581818,
0.025563614442944527,
-0.030999166890978813,
-0.01416300144046545,
-0.011963540688157082,
0.05050580948591232,
0.012795336544513702,
-0.03701099008321762,
0.11032714694738388,
0.011659023351967335,
0.0041823796927928925,
-0.0022868900559842587,
0.08011764287948608,
-0.01933354139328003,
0.028860852122306824,
0.022710703313350677
] | 0.04782 |
# Voice Call (plugin) Voice calls for OpenClaw via a plugin. Supports outbound notifications and multi-turn conversations with inbound policies. Current providers: - `twilio` (Programmable Voice + Media Streams) - `telnyx` (Call Control v2) - `plivo` (Voice API + XML transfer + GetInput speech) - `mock` (dev/no network) Quick mental model: - Install plugin - Restart Gateway - Configure under `plugins.entries.voice-call.config` - Use `openclaw voicecall ...` or the `voice\_call` tool ## Where it runs (local vs remote) The Voice Call plugin runs \*\*inside the Gateway process\*\*. If you use a remote Gateway, install/configure the plugin on the \*\*machine running the Gateway\*\*, then restart the Gateway to load it. ## Install ### Option A: install from npm (recommended) ```bash openclaw plugins install @openclaw/voice-call ``` Restart the Gateway afterwards. ### Option B: install from a local folder (dev, no copying) ```bash openclaw plugins install ./extensions/voice-call cd ./extensions/voice-call && pnpm install ``` Restart the Gateway afterwards. ## Config Set config under `plugins.entries.voice-call.config`: ```json5 { plugins: { entries: { "voice-call": { enabled: true, config: { provider: "twilio", // or "telnyx" | "plivo" | "mock" fromNumber: "+15550001234", toNumber: "+15550005678", twilio: { accountSid: "ACxxxxxxxx", authToken: "...", }, plivo: { authId: "MAxxxxxxxxxxxxxxxxxxxx", authToken: "...", }, // Webhook server serve: { port: 3334, path: "/voice/webhook", }, // Webhook security (recommended for tunnels/proxies) webhookSecurity: { allowedHosts: ["voice.example.com"], trustedProxyIPs: ["100.64.0.1"], }, // Public exposure (pick one) // publicUrl: "https://example.ngrok.app/voice/webhook", // tunnel: { provider: "ngrok" }, // tailscale: { mode: "funnel", path: "/voice/webhook" } outbound: { defaultMode: "notify", // notify | conversation }, streaming: { enabled: true, streamPath: "/voice/stream", }, }, }, }, }, } ``` Notes: - Twilio/Telnyx require a \*\*publicly reachable\*\* webhook URL. - Plivo requires a \*\*publicly reachable\*\* webhook URL. - `mock` is a local dev provider (no network calls). - `skipSignatureVerification` is for local testing only. - If you use ngrok free tier, set `publicUrl` to the exact ngrok URL; signature verification is always enforced. - `tunnel.allowNgrokFreeTierLoopbackBypass: true` allows Twilio webhooks with invalid signatures \*\*only\*\* when `tunnel.provider="ngrok"` and `serve.bind` is loopback (ngrok local agent). Use for local dev only. - Ngrok free tier URLs can change or add interstitial behavior; if `publicUrl` drifts, Twilio signatures will fail. For production, prefer a stable domain or Tailscale funnel. ## Webhook Security When a proxy or tunnel sits in front of the Gateway, the plugin reconstructs the public URL for signature verification. These options control which forwarded headers are trusted. `webhookSecurity.allowedHosts` allowlists hosts from forwarding headers. `webhookSecurity.trustForwardingHeaders` trusts forwarded headers without an allowlist. `webhookSecurity.trustedProxyIPs` only trusts forwarded headers when the request remote IP matches the list. Example with a stable public host: ```json5 { plugins: { entries: { "voice-call": { config: { publicUrl: "https://voice.example.com/voice/webhook", webhookSecurity: { allowedHosts: ["voice.example.com"], }, }, }, }, }, } ``` ## TTS for calls Voice Call uses the core `messages.tts` configuration (OpenAI or ElevenLabs) for streaming speech on calls. You can override it under the plugin config with the \*\*same shape\*\* — it deep‑merges with `messages.tts`. ```json5 { tts: { provider: "elevenlabs", elevenlabs: { voiceId: "pMsXgVXv3BLzUgSXRplE", modelId: "eleven\_multilingual\_v2", }, }, } ``` Notes: - \*\*Edge TTS is ignored for voice calls\*\* (telephony audio needs PCM; Edge output is unreliable). - Core TTS is used when Twilio media streaming is enabled; otherwise calls fall back to provider native voices. ### More examples Use core TTS only (no override): ```json5 { messages: { tts: { provider: "openai", openai: { voice: "alloy" }, }, }, } ``` Override to ElevenLabs just for calls (keep core default elsewhere): ```json5 { plugins: { entries: { "voice-call": { config: { tts: { provider: "elevenlabs", elevenlabs: { apiKey: "elevenlabs\_key", voiceId: "pMsXgVXv3BLzUgSXRplE", modelId: | https://github.com/openclaw/openclaw/blob/main//docs/plugins/voice-call.md | main | opebclaw | [
-0.061170898377895355,
-0.06408998370170593,
-0.043885793536901474,
-0.07679952681064606,
-0.06675535440444946,
-0.060947343707084656,
-0.021665474399924278,
0.02900116890668869,
0.06133012846112251,
-0.0033240888733416796,
-0.027066240087151527,
-0.025311792269349098,
-0.02157597802579403,
-0.02017461322247982,
0.09277030825614929,
0.054513391107320786,
0.07399395853281021,
-0.06882217526435852,
0.019795985892415047,
-0.0811157152056694,
0.0915641263127327,
0.10306905210018158,
0.025731828063726425,
0.0066083273850381374,
-0.016032466664910316,
-0.0880231186747551,
0.027094364166259766,
0.023158008232712746,
0.04160601645708084,
0.019171709194779396,
0.06761491298675537,
0.09858515858650208,
0.003038817085325718,
-0.028823118656873703,
-0.06997055560350418,
0.03813833370804787,
0.00904772337526083,
0.020338671281933784,
-0.07430820912122726,
-0.07195544242858887,
0.044301360845565796,
-0.05921537056565285,
-0.047142598778009415,
-0.0352398157119751,
-0.03745664656162262,
-0.11520498991012573,
-0.0600922666490078,
-0.011752079240977764,
0.0176317747682333,
-0.0010146147105842829,
-0.01958143711090088,
-0.06975676864385605,
0.051965564489364624,
0.04846746101975441,
-0.02793731540441513,
0.034984853118658066,
0.05308994650840759,
0.03187384828925133,
0.007349027786403894,
-0.0005138966953381896,
-0.01128934696316719,
-0.035393428057432175,
-0.032428205013275146,
-0.0014051353791728616,
-0.12465547025203705,
0.051034726202487946,
-0.10228077322244644,
0.011412751860916615,
-0.015966767445206642,
-0.00779933063313365,
-0.0496213436126709,
0.04777729511260986,
0.012979214079678059,
-0.06976446509361267,
-0.039439860731363297,
0.0008031196775846183,
0.04984840750694275,
-0.055677056312561035,
-0.035963162779808044,
0.013993168249726295,
0.029935456812381744,
0.00867312029004097,
0.006741308141499758,
-0.02208893559873104,
0.02022343873977661,
0.04491015151143074,
0.008487642742693424,
0.00822376273572445,
0.00045762138324789703,
-0.0165023822337389,
-0.04660680517554283,
-0.04562412574887276,
-0.04199713468551636,
0.025729652494192123,
-0.06404462456703186,
0.013436781242489815,
-0.046002112329006195,
-0.10298945009708405,
0.01844852790236473,
0.038486298173666,
-0.047468699514865875,
-0.04732627049088478,
-0.032370686531066895,
-0.06360914558172226,
-0.019790304824709892,
0.007927327416837215,
0.011120492592453957,
0.017097769305109978,
0.10034701228141785,
0.017755728214979172,
-0.07452664524316788,
-0.07043348252773285,
0.10205655544996262,
-0.00469174375757575,
-0.05851167067885399,
0.05156391113996506,
0.005755042191594839,
0.010154089890420437,
0.0794525071978569,
0.035833656787872314,
-0.009729062207043171,
0.026258504018187523,
-0.045839227735996246,
0.06076938658952713,
0.1358744353055954,
0.08036249876022339,
0.09088335186243057,
4.1191915487224456e-33,
0.07517711073160172,
0.003905627178028226,
0.00873769260942936,
0.06812644004821777,
0.08269333094358444,
-0.00848655216395855,
0.06656642258167267,
-0.03320235759019852,
-0.05084935575723648,
0.005762934684753418,
0.006162881851196289,
-0.0015618028119206429,
-0.010833230800926685,
-0.05647125095129013,
-0.0025791916996240616,
-0.03716954216361046,
-0.07075311243534088,
-0.008566085249185562,
0.08613382279872894,
-0.019014980643987656,
-0.00157379568554461,
-0.002748094964772463,
0.024667611345648766,
0.07472719997167587,
0.11968272924423218,
-0.023467127233743668,
0.016689378768205643,
-0.062246374785900116,
0.0522463358938694,
0.02775069884955883,
0.031794797629117966,
0.006565413437783718,
-0.06970708817243576,
0.030373046174645424,
-0.012438940815627575,
0.015294264070689678,
-0.15341797471046448,
0.00676368735730648,
-0.06207927688956261,
-0.035897307097911835,
-0.004090983420610428,
-0.03720970079302788,
-0.09678792953491211,
-0.05880168080329895,
-0.061072997748851776,
-0.09417606145143509,
-0.08298099040985107,
-0.007569556590169668,
0.08557381480932236,
0.01244738232344389,
-0.0025021329056471586,
0.0281565822660923,
-0.009483936242759228,
0.014340277761220932,
0.022244123741984367,
-0.09002014249563217,
-0.010440959595143795,
0.02335275523364544,
0.035408008843660355,
-0.017669204622507095,
0.015915537253022194,
-0.03271421417593956,
0.0010490620043128729,
-0.01056118868291378,
0.0475136898458004,
0.013345861807465553,
-0.04540442302823067,
0.01735316403210163,
0.046334587037563324,
-0.02234543487429619,
-0.025499586015939713,
0.06736324727535248,
0.036263179033994675,
0.042826298624277115,
-0.047532327473163605,
0.07149273157119751,
-0.030681008473038673,
-0.027145633473992348,
0.05885123461484909,
0.031424570828676224,
0.07782906293869019,
0.001992026576772332,
-0.030677078291773796,
0.03710106015205383,
0.1021672859787941,
-0.007796721998602152,
-0.014391769655048847,
-0.083591990172863,
-0.02707148902118206,
0.09215991199016571,
-0.0988156870007515,
0.023181915283203125,
-0.06762011349201202,
0.06952350586652756,
-0.05081486701965332,
-5.405756524044008e-33,
-0.05905402451753616,
0.06812502443790436,
0.027972925454378128,
0.062311459332704544,
-0.015603633597493172,
-0.02614698000252247,
0.03654090687632561,
0.027274712920188904,
-0.04178357869386673,
-0.011133340187370777,
-0.042001161724328995,
0.030483484268188477,
0.0861142948269844,
-0.059957511723041534,
0.04426480829715729,
-0.07199317216873169,
0.006072136573493481,
-0.07242490351200104,
-0.022311372682452202,
0.07431603223085403,
-0.03272732347249985,
-0.032943643629550934,
-0.006753562018275261,
0.019740350544452667,
0.009419594891369343,
0.007023251615464687,
-0.04285886138677597,
0.03875397890806198,
0.010366705246269703,
-0.0508069284260273,
-0.06759167462587357,
0.007502223365008831,
-0.04943351820111275,
0.045178454369306564,
0.04715053737163544,
0.012649908661842346,
0.06651706248521805,
0.11565260589122772,
0.05571023002266884,
-0.0040574511513113976,
0.12455546855926514,
-0.055210668593645096,
-0.02785767801105976,
-0.055448416620492935,
-0.043805044144392014,
-0.03299300745129585,
-0.07190082967281342,
-0.04503726214170456,
-0.16826298832893372,
-0.053630705922842026,
0.006991995964199305,
0.03694543614983559,
0.04113001376390457,
0.1304144412279129,
0.017744634300470352,
-0.014938785694539547,
0.10929552465677261,
-0.048185765743255615,
0.03041798062622547,
-0.005656784400343895,
0.010848456993699074,
-0.08749864250421524,
-0.022629229351878166,
0.02741808257997036,
0.004761470016092062,
0.03293024003505707,
-0.026334218680858612,
-0.011852823197841644,
0.04801357537508011,
0.017448484897613525,
-0.037409596145153046,
0.014308667741715908,
0.03086150623857975,
-0.03589021787047386,
0.025184091180562973,
0.010270453989505768,
-0.0874892994761467,
-0.15531854331493378,
-0.0664210096001625,
-0.0025828888174146414,
-0.011465892195701599,
-0.015368051826953888,
0.07164908945560455,
-0.04726574569940567,
0.018477952107787132,
0.050309665501117706,
0.06164734065532684,
0.047170788049697876,
0.06786161661148071,
0.0007537663914263248,
-0.06467121839523315,
0.09728164225816727,
0.01679566130042076,
0.005305280908942223,
0.02428664080798626,
-5.5021271094801705e-8,
-0.0065320394933223724,
-0.09272278845310211,
0.06298282742500305,
-0.03790567070245743,
-0.036237768828868866,
-0.04632030054926872,
0.07888507843017578,
-0.04386398196220398,
-0.009776868857443333,
0.044609423726797104,
-0.002562682144343853,
-0.019838139414787292,
0.02201947756111622,
0.08984406292438507,
-0.0007956686313264072,
0.05715737119317055,
0.02630867436528206,
-0.025921469554305077,
0.03108064830303192,
-0.06787963956594467,
-0.018238624557852745,
-0.00607294263318181,
0.06686769425868988,
0.081244096159935,
-0.04788796603679657,
-0.031320665031671524,
-0.03575203940272331,
0.020642751827836037,
-0.026604952290654182,
-0.03586313873529434,
-0.04174291342496872,
0.018302548676729202,
-0.02769284136593342,
0.03367745131254196,
-0.06980160623788834,
0.04447809234261513,
-0.06401469558477402,
-0.024117114022374153,
0.0015731538878753781,
0.0015396269736811519,
0.054215315729379654,
0.026845265179872513,
-0.09471848607063293,
-0.0477922223508358,
0.07644417136907578,
0.026846757158637047,
-0.025479326024651527,
-0.04347088560461998,
0.04744883254170418,
0.024334361776709557,
0.004432047251611948,
0.05928990617394447,
0.02838127315044403,
0.016751788556575775,
0.0308414027094841,
0.0042081861756742,
0.023398084565997124,
-0.05226175859570503,
0.004936200566589832,
0.05038470774888992,
-0.023681195452809334,
0.03681909665465355,
-0.002331982832401991,
-0.07919181138277054
] | 0.114928 |
(no override): ```json5 { messages: { tts: { provider: "openai", openai: { voice: "alloy" }, }, }, } ``` Override to ElevenLabs just for calls (keep core default elsewhere): ```json5 { plugins: { entries: { "voice-call": { config: { tts: { provider: "elevenlabs", elevenlabs: { apiKey: "elevenlabs\_key", voiceId: "pMsXgVXv3BLzUgSXRplE", modelId: "eleven\_multilingual\_v2", }, }, }, }, }, }, } ``` Override only the OpenAI model for calls (deep‑merge example): ```json5 { plugins: { entries: { "voice-call": { config: { tts: { openai: { model: "gpt-4o-mini-tts", voice: "marin", }, }, }, }, }, }, } ``` ## Inbound calls Inbound policy defaults to `disabled`. To enable inbound calls, set: ```json5 { inboundPolicy: "allowlist", allowFrom: ["+15550001234"], inboundGreeting: "Hello! How can I help?", } ``` Auto-responses use the agent system. Tune with: - `responseModel` - `responseSystemPrompt` - `responseTimeoutMs` ## CLI ```bash openclaw voicecall call --to "+15555550123" --message "Hello from OpenClaw" openclaw voicecall continue --call-id --message "Any questions?" openclaw voicecall speak --call-id --message "One moment" openclaw voicecall end --call-id openclaw voicecall status --call-id openclaw voicecall tail openclaw voicecall expose --mode funnel ``` ## Agent tool Tool name: `voice\_call` Actions: - `initiate\_call` (message, to?, mode?) - `continue\_call` (callId, message) - `speak\_to\_user` (callId, message) - `end\_call` (callId) - `get\_status` (callId) This repo ships a matching skill doc at `skills/voice-call/SKILL.md`. ## Gateway RPC - `voicecall.initiate` (`to?`, `message`, `mode?`) - `voicecall.continue` (`callId`, `message`) - `voicecall.speak` (`callId`, `message`) - `voicecall.end` (`callId`) - `voicecall.status` (`callId`) | https://github.com/openclaw/openclaw/blob/main//docs/plugins/voice-call.md | main | opebclaw | [
-0.0914185419678688,
-0.010648779571056366,
0.02317926101386547,
-0.0018480472499504685,
-0.030196864157915115,
-0.023343965411186218,
-0.025263387709856033,
-0.0013756086118519306,
0.0289742574095726,
-0.08812892436981201,
0.04226655885577202,
-0.04701050743460655,
-0.07068140059709549,
0.07860001921653748,
0.12716719508171082,
0.030863838270306587,
-0.030479801818728447,
0.03155844286084175,
-0.11312203854322433,
-0.04672315716743469,
0.05245273560285568,
0.12255853414535522,
0.030695855617523193,
0.0042543536983430386,
-0.005422990303486586,
0.01017419621348381,
-0.04247564449906349,
-0.011206278577446938,
0.04346620291471481,
-0.006862949579954147,
0.008792613632977009,
0.09142667800188065,
0.004816803149878979,
0.01823493465781212,
0.005528387147933245,
0.06985921412706375,
-0.0719841793179512,
-0.05145043507218361,
0.0012434422969818115,
-0.03169119358062744,
0.097601018846035,
0.037696950137615204,
-0.05064018815755844,
-0.03653964027762413,
0.021764272823929787,
-0.06444770842790604,
-0.05473965033888817,
-0.04050350934267044,
0.025167839601635933,
0.02351268194615841,
-0.023546263575553894,
0.00020054529886692762,
0.045218028128147125,
0.017047720029950142,
-0.005370691418647766,
0.02568821795284748,
-0.07272543013095856,
-0.0027887392789125443,
0.01960318349301815,
-0.00507101695984602,
0.008491273038089275,
-0.017071761190891266,
-0.041879236698150635,
-0.018221409991383553,
-0.0918634906411171,
0.005033557768911123,
-0.04062162712216377,
-0.001467397902160883,
-0.03474742919206619,
0.024432167410850525,
0.11053477227687836,
0.02402353100478649,
0.07862750440835953,
-0.08876097202301025,
0.0015770276077091694,
0.0754757970571518,
0.044964905828237534,
-0.05175511911511421,
-0.022450052201747894,
-0.0313846729695797,
0.011349973268806934,
-0.047331202775239944,
0.021311605349183083,
-0.033901333808898926,
0.048421770334243774,
0.05450505018234253,
-0.036184508353471756,
-0.0729052945971489,
-0.019843515008687973,
-0.022536570206284523,
-0.06890489161014557,
-0.08818285912275314,
0.0029318719170987606,
-0.016041120514273643,
0.01340335700660944,
0.005190573167055845,
-0.07555411756038666,
-0.027917519211769104,
-0.049696967005729675,
0.0968625396490097,
-0.051497653126716614,
-0.049981970340013504,
0.0257789958268404,
0.06413855403661728,
-0.03644406422972679,
-0.030459633097052574,
-0.017153000459074974,
0.033893316984176636,
-0.06315307319164276,
0.016550282016396523,
0.05201488360762596,
-0.01227002777159214,
0.0668594241142273,
-0.023287184536457062,
-0.03481292724609375,
0.040325913578271866,
-0.055651113390922546,
-0.009059330448508263,
0.046596135944128036,
0.07143424451351166,
-0.021839981898665428,
-0.011890645138919353,
-0.04184281826019287,
0.021895350888371468,
-0.013033688999712467,
0.04217229783535004,
0.0035414888989180326,
1.5733675971649535e-33,
0.05257945507764816,
-0.002781968330964446,
0.008840786293148994,
0.0026411444414407015,
0.07350623607635498,
-0.01861228048801422,
-0.03822522610425949,
-0.029618216678500175,
-0.00005875826900592074,
-0.045507315546274185,
-0.0376017801463604,
0.09506717324256897,
-0.054088469594717026,
0.006176954600960016,
0.00460713030770421,
0.02705412544310093,
0.004863768350332975,
0.05279044434428215,
0.0709017962217331,
-0.00048816873459145427,
0.05275961384177208,
0.08376336097717285,
-0.016100268810987473,
-0.004525105003267527,
-0.04752395674586296,
0.06449204683303833,
0.009672248736023903,
-0.07462113350629807,
-0.013801763765513897,
0.014663337729871273,
-0.03846597671508789,
-0.017816102132201195,
0.04933103173971176,
0.09377236664295197,
0.002631938084959984,
0.060692958533763885,
-0.015454406850039959,
0.025946592912077904,
-0.1270061731338501,
-0.06066759675741196,
0.03717094659805298,
0.07204322516918182,
-0.13896425068378448,
-0.03131479397416115,
-0.028775500133633614,
-0.049241337925195694,
-0.02106126956641674,
-0.0016754195094108582,
0.04690689593553543,
-0.014310290105640888,
-0.08588984608650208,
-0.015124805271625519,
-0.026136821135878563,
0.019141746684908867,
0.044066838920116425,
-0.10460531711578369,
0.0732874795794487,
0.014273984357714653,
0.011551858857274055,
0.0004440899647306651,
-0.03779444843530655,
-0.03186124935746193,
0.04756227880716324,
0.013629766181111336,
0.07638701796531677,
0.08801405876874924,
-0.04373398795723915,
0.019224319607019424,
0.051743362098932266,
-0.052577707916498184,
-0.06332343071699142,
0.058207497000694275,
-0.06795691698789597,
0.08616618812084198,
-0.06925754994153976,
-0.051646895706653595,
0.03460131213068962,
0.001219643629156053,
0.07453320920467377,
0.05348360538482666,
0.053116776049137115,
0.025860002264380455,
-0.037045277655124664,
0.10746008902788162,
0.0013412167318165302,
0.013454833999276161,
-0.013541385531425476,
-0.04711003601551056,
0.08387250453233719,
0.06682120263576508,
-0.04129229485988617,
0.0033751686569303274,
-0.015482823364436626,
-0.008269297890365124,
-0.07637713104486465,
-2.7746974771083917e-33,
-0.03349648416042328,
-0.0182175375521183,
0.013442627154290676,
0.06617442518472672,
-0.04019453749060631,
-0.09448685497045517,
0.09309937804937363,
0.06240624189376831,
0.03163784742355347,
0.012469522655010223,
0.07168515026569366,
-0.06192183122038841,
0.13452380895614624,
-0.018684551119804382,
-0.012885858304798603,
-0.02986891381442547,
-0.02381214313209057,
-0.013150804676115513,
0.043202925473451614,
0.006767936050891876,
-0.00955911073833704,
0.04029901325702667,
0.01191437616944313,
0.009249260649085045,
0.06772897392511368,
-0.025676866993308067,
-0.045796819031238556,
-0.028738735243678093,
0.031882394105196,
-0.0705714076757431,
-0.02993048168718815,
0.027381740510463715,
-0.11148755997419357,
0.02543511427938938,
0.023041775450110435,
0.0558636412024498,
0.010251828469336033,
0.11246447265148163,
0.0099838487803936,
-0.002890116535127163,
0.007346749771386385,
-0.006893314886838198,
-0.07076717913150787,
0.05016909912228584,
-0.04918837919831276,
-0.06091056019067764,
-0.014976234175264835,
0.004960089456290007,
-0.057635337114334106,
-0.11705098301172256,
0.05395778641104698,
-0.020177461206912994,
0.007927377708256245,
0.019121365621685982,
-0.050487786531448364,
-0.06859444081783295,
0.14599278569221497,
-0.07684265822172165,
-0.0003442795714363456,
0.025917835533618927,
0.025822777301073074,
-0.09877981245517731,
-0.03144100680947304,
-0.0481858067214489,
0.019816547632217407,
-0.046521369367837906,
0.0020481429528445005,
0.0039840033277869225,
0.060600169003009796,
-0.10270107537508011,
-0.05852746218442917,
-0.09968899935483932,
0.015527554787695408,
0.0305233895778656,
0.014409739524126053,
-0.03781362995505333,
-0.07835133373737335,
-0.0354674868285656,
0.11786291003227234,
-0.020587420091032982,
-0.0643177404999733,
-0.040649473667144775,
-0.005539121106266975,
0.07841382175683975,
0.07094299048185349,
0.01258817594498396,
0.07516292482614517,
0.14757348597049713,
0.054671771824359894,
0.1148289367556572,
-0.06119866296648979,
0.06216755881905556,
0.0035361882764846087,
0.08006005734205246,
-0.03904563561081886,
-4.759876404136776e-8,
-0.06657711416482925,
-0.04196305200457573,
-0.011197498068213463,
0.049711551517248154,
0.00758379977196455,
-0.0568351149559021,
0.032492585480213165,
-0.006481269374489784,
0.07712363451719284,
0.019045231863856316,
0.03440660983324051,
0.06264938414096832,
-0.06790024042129517,
-0.05882250890135765,
-0.0856688991189003,
0.029302317649126053,
-0.028626205399632454,
0.08844086527824402,
0.022305920720100403,
-0.034869108349084854,
-0.021996278315782547,
0.029837267473340034,
0.029578348621726036,
-0.06566839665174484,
0.013299931772053242,
-0.0789022371172905,
-0.024532092735171318,
0.07576821744441986,
-0.03708673641085625,
-0.041859254240989685,
-0.006547041703015566,
0.0031582179944962263,
-0.008387758396565914,
-0.0011672191321849823,
-0.06615079194307327,
0.003355167806148529,
0.03810989856719971,
0.02058045193552971,
-0.00047513257595710456,
0.020939426496624947,
-0.01060820184648037,
0.01688944362103939,
-0.1529589742422104,
-0.018251493573188782,
0.020882008597254753,
0.010507255792617798,
-0.003171449527144432,
-0.015692999586462975,
0.054082196205854416,
0.01199427805840969,
-0.045814599841833115,
0.00215980620123446,
0.06052419915795326,
0.01851768232882023,
-0.022001657634973526,
-0.02555132657289505,
0.05887771397829056,
-0.01920667663216591,
0.03142014890909195,
0.04449813440442085,
-0.0005930916522629559,
-0.05899842083454132,
-0.012317515909671783,
-0.015358577482402325
] | 0.121796 |
# Plugin manifest (openclaw.plugin.json) Every plugin \*\*must\*\* ship a `openclaw.plugin.json` file in the \*\*plugin root\*\*. OpenClaw uses this manifest to validate configuration \*\*without executing plugin code\*\*. Missing or invalid manifests are treated as plugin errors and block config validation. See the full plugin system guide: [Plugins](/plugin). ## Required fields ```json { "id": "voice-call", "configSchema": { "type": "object", "additionalProperties": false, "properties": {} } } ``` Required keys: - `id` (string): canonical plugin id. - `configSchema` (object): JSON Schema for plugin config (inline). Optional keys: - `kind` (string): plugin kind (example: `"memory"`). - `channels` (array): channel ids registered by this plugin (example: `["matrix"]`). - `providers` (array): provider ids registered by this plugin. - `skills` (array): skill directories to load (relative to the plugin root). - `name` (string): display name for the plugin. - `description` (string): short plugin summary. - `uiHints` (object): config field labels/placeholders/sensitive flags for UI rendering. - `version` (string): plugin version (informational). ## JSON Schema requirements - \*\*Every plugin must ship a JSON Schema\*\*, even if it accepts no config. - An empty schema is acceptable (for example, `{ "type": "object", "additionalProperties": false }`). - Schemas are validated at config read/write time, not at runtime. ## Validation behavior - Unknown `channels.\*` keys are \*\*errors\*\*, unless the channel id is declared by a plugin manifest. - `plugins.entries.`, `plugins.allow`, `plugins.deny`, and `plugins.slots.\*` must reference \*\*discoverable\*\* plugin ids. Unknown ids are \*\*errors\*\*. - If a plugin is installed but has a broken or missing manifest or schema, validation fails and Doctor reports the plugin error. - If plugin config exists but the plugin is \*\*disabled\*\*, the config is kept and a \*\*warning\*\* is surfaced in Doctor + logs. ## Notes - The manifest is \*\*required for all plugins\*\*, including local filesystem loads. - Runtime still loads the plugin module separately; the manifest is only for discovery + validation. - If your plugin depends on native modules, document the build steps and any package-manager allowlist requirements (for example, pnpm `allow-build-scripts` - `pnpm rebuild `). | https://github.com/openclaw/openclaw/blob/main//docs/plugins/manifest.md | main | opebclaw | [
-0.08147796243429184,
-0.024696988984942436,
-0.02491246722638607,
-0.02095799706876278,
-0.005777735263109207,
-0.05795128270983696,
-0.0500422939658165,
-0.010334590449929237,
-0.03214700520038605,
-0.028378333896398544,
0.0415409617125988,
-0.06064614653587341,
-0.023502962663769722,
0.07822280377149582,
0.09264028072357178,
0.10428225994110107,
-0.04439162462949753,
-0.04767883941531181,
-0.049320146441459656,
-0.030219251289963722,
0.0380052849650383,
0.07585855573415756,
-0.041199393570423126,
-0.05083758011460304,
-0.04623139277100563,
-0.03308764100074768,
-0.05739501118659973,
0.06496845185756683,
-0.009263540618121624,
-0.006001784931868315,
0.05380202457308769,
0.05161310359835625,
-0.014237002469599247,
-0.03759603947401047,
0.10386312752962112,
0.0408523865044117,
0.019599732011556625,
-0.08959897607564926,
-0.05597706884145737,
0.0142971808090806,
0.06791196018457413,
0.054890476167201996,
-0.0007625503931194544,
-0.031170349568128586,
-0.03537246957421303,
-0.14759297668933868,
-0.05109632387757301,
-0.10590663552284241,
-0.001498479745350778,
0.004051349125802517,
-0.05334482714533806,
-0.0033245994709432125,
0.019077202305197716,
-0.0518762543797493,
0.03114715963602066,
-0.03758806362748146,
-0.009945194236934185,
0.03449930250644684,
0.0476798377931118,
-0.04366253688931465,
0.06605944037437439,
-0.030351048335433006,
-0.08203710615634918,
-0.012488944455981255,
-0.14479666948318481,
0.01168015692383051,
-0.1256323754787445,
-0.07790296524763107,
-0.039793774485588074,
-0.013045249506831169,
-0.028286661952733994,
-0.007301162928342819,
-0.012070135213434696,
-0.047576263546943665,
-0.01232621818780899,
0.0012962500331923366,
0.02833740785717964,
-0.0061951372772455215,
-0.060141775757074356,
-0.07062427699565887,
0.03499649837613106,
-0.036081019788980484,
-0.06389914453029633,
0.04522514343261719,
0.0075483680702745914,
0.12170810997486115,
-0.022406557574868202,
-0.062138691544532776,
-0.0501401387155056,
0.035880304872989655,
-0.0057352883741259575,
-0.17306259274482727,
-0.044332001358270645,
-0.029593346640467644,
-0.021094713360071182,
0.01977303996682167,
-0.03767500817775726,
-0.03576797991991043,
-0.014226813800632954,
0.0945991799235344,
-0.03390533849596977,
-0.0750773698091507,
0.02182542160153389,
0.001122221234254539,
0.017904862761497498,
0.016804028302431107,
-0.03526868298649788,
0.07996878772974014,
-0.024896394461393356,
0.045218437910079956,
0.029279334470629692,
-0.010051366873085499,
0.11320914328098297,
-0.05647895857691765,
-0.04458025470376015,
0.07048135995864868,
-0.0199746061116457,
-0.0257386714220047,
0.06827955693006516,
0.09944871813058853,
0.0586509145796299,
0.024442754685878754,
0.061248112469911575,
0.01796913519501686,
0.054924074560403824,
0.015801481902599335,
0.06810459494590759,
7.253519400179423e-33,
0.07215753942728043,
-0.09775364398956299,
0.016952073201537132,
0.07708105444908142,
0.06290590018033981,
-0.039538510143756866,
-0.02828255668282509,
0.014571578241884708,
-0.028515798971056938,
0.04188153147697449,
0.01964895986020565,
0.03506386652588844,
-0.09520501643419266,
0.014019524678587914,
-0.000480616552522406,
0.023423584178090096,
-0.019908951595425606,
-0.0005197171121835709,
0.05456959456205368,
-0.04838153347373009,
0.025997856631875038,
-0.04744084179401398,
-0.01947215013206005,
-0.005358947440981865,
0.008839807473123074,
0.04159350320696831,
0.0240291990339756,
-0.008561203256249428,
-0.005284047219902277,
0.017906442284584045,
0.08205818384885788,
-0.021995335817337036,
0.062250711023807526,
0.04664425551891327,
0.017533833160996437,
0.052146438509225845,
-0.04510597884654999,
-0.029409678652882576,
-0.06887821108102798,
-0.0736420750617981,
0.04943039268255234,
0.009514610283076763,
-0.1108180433511734,
0.0086841881275177,
0.042650725692510605,
-0.06923677772283554,
0.01268499530851841,
0.027935046702623367,
0.12122746556997299,
-0.024921821430325508,
-0.00862380675971508,
0.028773190453648567,
0.04808003082871437,
0.029335299506783485,
0.03150423243641853,
-0.03982288017868996,
-0.005165938753634691,
-0.0012103528715670109,
0.03475497290492058,
-0.07220874726772308,
-0.016108069568872452,
-0.04125625640153885,
-0.08955905586481094,
0.029077045619487762,
0.004465396981686354,
0.005367066711187363,
-0.024157783016562462,
0.011231211014091969,
-0.01725880801677704,
-0.042548056691884995,
-0.01903429999947548,
-0.01212470792233944,
-0.0401090569794178,
-0.01743067242205143,
-0.04040272533893585,
-0.07351315766572952,
0.051615383476018906,
0.00870465487241745,
0.04115714505314827,
0.023835627362132072,
0.00015877844998613,
-0.020728174597024918,
-0.05013551190495491,
0.0563853420317173,
-0.007532825693488121,
0.01579130068421364,
0.05408461391925812,
-0.007150426506996155,
0.038677383214235306,
0.02067756839096546,
-0.016197500750422478,
0.04913737624883652,
-0.12679317593574524,
0.0017380801727995276,
-0.012749886140227318,
-9.618877785578832e-33,
-0.030127478763461113,
-0.020811159163713455,
0.04080907627940178,
-0.004774490837007761,
0.004389884416013956,
-0.0406692735850811,
-0.013420063070952892,
0.0044408817775547504,
0.06231945380568504,
0.0014856514753773808,
-0.03689059987664223,
0.0023168253246694803,
0.09240075945854187,
-0.060984306037425995,
0.0373309962451458,
0.0072882045060396194,
-0.16310188174247742,
-0.06381193548440933,
0.07121378928422928,
0.05685560777783394,
0.04654580354690552,
0.059487130492925644,
0.04609416425228119,
0.056035932153463364,
0.011780093424022198,
-0.06406176835298538,
-0.09155799448490143,
0.006087809335440397,
-0.022527528926730156,
0.013088026084005833,
0.04337179660797119,
0.09889162331819534,
-0.12974223494529724,
0.03152584284543991,
-0.05551707744598389,
0.006727945990860462,
0.016105538234114647,
0.12544523179531097,
0.00491337850689888,
0.013487652875483036,
0.01611221395432949,
0.029624413698911667,
-0.054646093398332596,
-0.0011912932386621833,
-0.006471957545727491,
-0.010101504623889923,
0.048006586730480194,
-0.03810399770736694,
-0.08016481250524521,
-0.0731121376156807,
-0.02574569173157215,
0.026865515857934952,
0.029454153031110764,
0.04761558026075363,
0.05511762946844101,
0.053020380437374115,
0.03278364986181259,
-0.03150848299264908,
-0.008845142088830471,
-0.02073425054550171,
0.0337454229593277,
-0.11455971002578735,
-0.034324921667575836,
0.01693730801343918,
0.007771009113639593,
0.014952385798096657,
0.007048590574413538,
0.006121019367128611,
0.02460538037121296,
-0.04433199763298035,
-0.10518702864646912,
-0.04271231219172478,
-0.0040858737193048,
-0.04184533655643463,
0.017276067286729813,
-0.001616353401914239,
-0.04687560722231865,
-0.05012856423854828,
0.017824826762080193,
0.04316249489784241,
-0.01360347867012024,
0.008907757699489594,
0.008258976973593235,
-0.016684258356690407,
0.025775201618671417,
-0.006303753703832626,
0.04069000855088234,
0.06200190633535385,
-0.00025806602207012475,
0.08710671216249466,
-0.0499204583466053,
0.07965341955423355,
-0.011074608191847801,
-0.010023064911365509,
-0.04861006885766983,
-5.5790994935023264e-8,
-0.12094606459140778,
-0.04353521391749382,
-0.08102763444185257,
-0.018935002386569977,
-0.00547954672947526,
-0.09418638795614243,
0.08405279368162155,
-0.018583867698907852,
0.01925288513302803,
-0.014717377722263336,
0.12215769290924072,
0.0844871774315834,
-0.101993128657341,
0.03028404898941517,
-0.054337721318006516,
0.025034787133336067,
-0.04059582203626633,
0.09676900506019592,
0.009012648835778236,
0.03919507935643196,
0.016159776598215103,
0.0409645177423954,
0.05780331790447235,
0.029456833377480507,
-0.0038820274639874697,
-0.02877024933695793,
-0.04051659628748894,
0.045412953943014145,
-0.050202008336782455,
0.05684953182935715,
-0.007257979363203049,
0.0027421917766332626,
0.012645550072193146,
-0.02857351489365101,
-0.08967812359333038,
0.06377530843019485,
0.05333872139453888,
0.009420803748071194,
-0.011361226439476013,
-0.045949216932058334,
0.07995415478944778,
0.04885737597942352,
-0.10313932597637177,
-0.04473738744854927,
-0.041293565183877945,
0.04751603305339813,
0.015928609296679497,
0.018802406266331673,
0.04745164513587952,
-0.019291946664452553,
-0.03457937017083168,
0.02151409164071083,
0.0056521594524383545,
0.013585709035396576,
-0.024020545184612274,
0.053512848913669586,
0.059250518679618835,
0.0584634393453598,
0.05131273716688156,
0.008987350389361382,
-0.0015402960125356913,
0.016124514862895012,
0.11704149842262268,
-0.04253431782126427
] | 0.050673 |
# Plugin agent tools OpenClaw plugins can register \*\*agent tools\*\* (JSON‑schema functions) that are exposed to the LLM during agent runs. Tools can be \*\*required\*\* (always available) or \*\*optional\*\* (opt‑in). Agent tools are configured under `tools` in the main config, or per‑agent under `agents.list[].tools`. The allowlist/denylist policy controls which tools the agent can call. ## Basic tool ```ts import { Type } from "@sinclair/typebox"; export default function (api) { api.registerTool({ name: "my\_tool", description: "Do a thing", parameters: Type.Object({ input: Type.String(), }), async execute(\_id, params) { return { content: [{ type: "text", text: params.input }] }; }, }); } ``` ## Optional tool (opt‑in) Optional tools are \*\*never\*\* auto‑enabled. Users must add them to an agent allowlist. ```ts export default function (api) { api.registerTool( { name: "workflow\_tool", description: "Run a local workflow", parameters: { type: "object", properties: { pipeline: { type: "string" }, }, required: ["pipeline"], }, async execute(\_id, params) { return { content: [{ type: "text", text: params.pipeline }] }; }, }, { optional: true }, ); } ``` Enable optional tools in `agents.list[].tools.allow` (or global `tools.allow`): ```json5 { agents: { list: [ { id: "main", tools: { allow: [ "workflow\_tool", // specific tool name "workflow", // plugin id (enables all tools from that plugin) "group:plugins", // all plugin tools ], }, }, ], }, } ``` Other config knobs that affect tool availability: - Allowlists that only name plugin tools are treated as plugin opt-ins; core tools remain enabled unless you also include core tools or groups in the allowlist. - `tools.profile` / `agents.list[].tools.profile` (base allowlist) - `tools.byProvider` / `agents.list[].tools.byProvider` (provider‑specific allow/deny) - `tools.sandbox.tools.\*` (sandbox tool policy when sandboxed) ## Rules + tips - Tool names must \*\*not\*\* clash with core tool names; conflicting tools are skipped. - Plugin ids used in allowlists must not clash with core tool names. - Prefer `optional: true` for tools that trigger side effects or require extra binaries/credentials. | https://github.com/openclaw/openclaw/blob/main//docs/plugins/agent-tools.md | main | opebclaw | [
-0.060856837779283524,
0.020916549488902092,
-0.08072912693023682,
0.10817796736955643,
-0.024419860914349556,
0.01913372613489628,
-0.025324005633592606,
0.006955364719033241,
0.019403116777539253,
-0.020798800513148308,
-0.011270553804934025,
-0.04025496914982796,
-0.00019902140775229782,
0.06378895789384842,
0.1281079649925232,
0.1264161467552185,
0.055381890386343,
-0.05706614628434181,
-0.01935206912457943,
-0.04730892553925514,
0.06720191240310669,
0.051442164927721024,
-0.012789872474968433,
-0.021538453176617622,
-0.07815442979335785,
-0.08701679855585098,
-0.04512793943285942,
-0.006565476302057505,
0.022070985287427902,
0.049185238778591156,
-0.003924674354493618,
-0.024665718898177147,
-0.06243732199072838,
0.038904279470443726,
0.08281316608190536,
0.07560425996780396,
-0.03997508063912392,
-0.06205684319138527,
0.03457165136933327,
-0.003432569559663534,
0.054690007120370865,
0.04967150092124939,
-0.09750876575708389,
-0.08378975838422775,
-0.03266832232475281,
-0.09508705139160156,
-0.011214254423975945,
-0.07687867432832718,
-0.08705443143844604,
0.03304281085729599,
-0.06176263093948364,
-0.009813982993364334,
-0.024446193128824234,
-0.07286339998245239,
0.020051421597599983,
-0.047196753323078156,
-0.013299977406859398,
-0.009672408923506737,
0.029541971161961555,
-0.01016857847571373,
0.007612766232341528,
-0.07939831167459488,
-0.01553020067512989,
-0.0009296880452893674,
-0.09212891757488251,
0.04195379093289375,
-0.0741972029209137,
0.0282570980489254,
-0.022020764648914337,
-0.03946966305375099,
-0.023631924763321877,
-0.034096408635377884,
-0.029726525768637657,
-0.010820959694683552,
0.041658662259578705,
-0.08702482283115387,
-0.017330888658761978,
0.020188454538583755,
0.015123032964766026,
-0.08023396134376526,
0.030173394829034805,
-0.023993423208594322,
-0.008896877989172935,
0.10199195146560669,
-0.03836963325738907,
0.1599787175655365,
-0.009850762784481049,
0.03958186134696007,
0.054704565554857254,
0.00005154764585313387,
0.028965840116143227,
-0.13027334213256836,
0.001092978985980153,
0.02485264278948307,
0.03746497631072998,
0.036170367151498795,
-0.050666067749261856,
-0.04744865000247955,
-0.08493366837501526,
0.07748319208621979,
-0.029920587316155434,
-0.06986775249242783,
0.024947870522737503,
0.0014866726705804467,
0.014959140680730343,
-0.011530762538313866,
0.03888007998466492,
-0.01777741126716137,
-0.04688016325235367,
0.05716050788760185,
0.028430558741092682,
0.023104269057512283,
0.0325583778321743,
-0.03048907034099102,
-0.03958222642540932,
-0.00812249444425106,
0.04053062945604324,
0.020102713257074356,
0.05294063687324524,
0.029447954148054123,
0.10815790295600891,
-0.00649583525955677,
0.01422032993286848,
0.024767201393842697,
0.13418394327163696,
0.07044277340173721,
0.06449108570814133,
5.466953127289801e-33,
0.08748442679643631,
-0.037480637431144714,
-0.0000765953300287947,
0.04973777011036873,
0.02325662225484848,
0.0018346697324886918,
0.10018176585435867,
0.04209268093109131,
-0.07494054734706879,
0.0512993186712265,
-0.005540143232792616,
0.051071710884571075,
-0.09011227637529373,
-0.0030010805930942297,
0.0031387025956064463,
-0.021408619359135628,
0.0021637387108057737,
0.028481896966695786,
0.07364707440137863,
0.035901475697755814,
0.027449024841189384,
0.0043622758239507675,
-0.021432580426335335,
0.06105398014187813,
-0.03893513232469559,
0.04296255484223366,
-0.06924430280923843,
-0.031080057844519615,
-0.0028593202587217093,
0.021560881286859512,
0.033992305397987366,
0.05024222284555435,
0.016583574935793877,
0.12097904086112976,
-0.01520789135247469,
0.05024776980280876,
-0.08124338835477829,
-0.01246811542659998,
-0.01480995025485754,
-0.031912725418806076,
0.05912315100431442,
0.009756703861057758,
-0.04902294650673866,
-0.055873025208711624,
-0.05647214129567146,
-0.0966826006770134,
-0.002704284153878689,
0.02251889556646347,
0.061286523938179016,
-0.07141166925430298,
-0.010789737105369568,
0.1166580393910408,
0.04170750081539154,
0.006684985011816025,
0.08066083490848541,
-0.051304690539836884,
-0.02768201008439064,
0.03145276755094528,
0.0753890872001648,
0.00547310896217823,
-0.03882136568427086,
0.00010591730824671686,
-0.01028472650796175,
0.04113926738500595,
0.07509605586528778,
-0.01929912157356739,
-0.04250452294945717,
0.07557432353496552,
-0.013348759151995182,
-0.06456363201141357,
0.024218281731009483,
0.014100726693868637,
-0.07624194771051407,
-0.012855601496994495,
-0.034210704267024994,
-0.105554960668087,
0.013121246360242367,
-0.008277821354568005,
0.05733516439795494,
-0.04801318794488907,
0.04514738917350769,
-0.047724902629852295,
-0.026737326756119728,
0.024418385699391365,
0.0051675718277692795,
-0.01689385622739792,
-0.007773947436362505,
-0.04297425597906113,
0.058306094259023666,
-0.01922178827226162,
-0.07655550539493561,
-0.003543140832334757,
-0.1492011696100235,
0.03433519974350929,
-0.05293076112866402,
-6.37835430510063e-33,
0.026307368651032448,
-0.06033927574753761,
-0.017943959683179855,
0.07192404568195343,
-0.012771626934409142,
-0.033022720366716385,
0.023986849933862686,
-0.04932256415486336,
0.07377687841653824,
0.019879639148712158,
0.014697189442813396,
-0.01798226684331894,
0.03945651650428772,
-0.06968048959970474,
0.07019303739070892,
-0.0379474051296711,
-0.13243211805820465,
-0.06266511231660843,
0.027004746720194817,
-0.03898702189326286,
-0.0003687622374854982,
0.03459317982196808,
0.013067754916846752,
0.03510668873786926,
-0.006365112494677305,
-0.02836671471595764,
-0.02767820656299591,
0.07825230062007904,
0.00817745178937912,
0.02236802689731121,
0.029942573979496956,
0.04930831864476204,
-0.06777133792638779,
-0.007961848750710487,
-0.05266258493065834,
-0.00990775041282177,
0.014921268448233604,
0.2058817595243454,
-0.014765425585210323,
0.041798315942287445,
0.054848913103342056,
-0.029143452644348145,
-0.07432436943054199,
0.037438321858644485,
-0.008624444715678692,
-0.0029137551318854094,
-0.012569930404424667,
-0.02053002640604973,
0.019762884825468063,
-0.007913687266409397,
-0.021620476618409157,
-0.005596785340458155,
-0.017965326085686684,
-0.04440835863351822,
-0.02564704418182373,
-0.008516096509993076,
0.06506970524787903,
-0.11910878121852875,
0.02547227218747139,
-0.05253923311829567,
-0.005702217109501362,
-0.05520261451601982,
-0.024942094460129738,
0.04544370621442795,
0.04812585562467575,
-0.06167095899581909,
-0.027404267340898514,
0.004400233272463083,
0.012004154734313488,
-0.0244591161608696,
-0.01789972186088562,
-0.05654960125684738,
0.001826880732551217,
-0.04390544071793556,
0.073878213763237,
-0.047447044402360916,
-0.0323936827480793,
-0.06396973878145218,
0.07580062747001648,
0.035268690437078476,
0.01180269755423069,
0.020472247153520584,
0.07354430109262466,
0.03281604126095772,
-0.018541183322668076,
-0.032606106251478195,
-0.026761548593640327,
0.1099894791841507,
-0.019943606108427048,
0.08379867672920227,
-0.024551892653107643,
0.009461898356676102,
-0.016891727223992348,
0.019677530974149704,
-0.040015365928411484,
-5.7826273547334495e-8,
-0.09070080518722534,
-0.06304289400577545,
-0.0530642531812191,
-0.014736267738044262,
-0.02762177772819996,
-0.0764537900686264,
0.03881557658314705,
0.018296901136636734,
-0.0004020899359602481,
-0.017573975026607513,
0.07137776911258698,
0.03272267058491707,
-0.04449314996600151,
0.005800667684525251,
-0.011604036204516888,
0.022381886839866638,
-0.0015556797152385116,
0.02652188576757908,
-0.017128199338912964,
-0.030140772461891174,
-0.0014647525968030095,
-0.02935779094696045,
0.050187982618808746,
-0.01961088366806507,
0.035386063158512115,
0.01149630919098854,
-0.09527113288640976,
0.03258385881781578,
-0.01533613819628954,
0.12675601243972778,
-0.04176235944032669,
-0.0654459223151207,
0.0182533897459507,
0.011679180897772312,
-0.09129462391138077,
0.030847102403640747,
0.020673053339123726,
-0.05706252530217171,
0.016006002202630043,
-0.01197375450283289,
0.09519734233617783,
-0.0020155981183052063,
-0.06948136538267136,
-0.030035115778446198,
0.004732894245535135,
0.014183335937559605,
-0.005975139327347279,
-0.060406506061553955,
0.0943305492401123,
-0.0025776305701583624,
-0.05642997473478317,
0.02153843455016613,
0.014468954876065254,
0.0872017964720726,
-0.03629222884774208,
0.010230720974504948,
0.07597686350345612,
-0.001062080729752779,
0.024183470755815506,
0.04186130315065384,
-0.018970077857375145,
0.01129873562604189,
0.08921634405851364,
-0.0454610139131546
] | 0.099852 |
# Zalo Personal (plugin) Zalo Personal support for OpenClaw via a plugin, using `zca-cli` to automate a normal Zalo user account. > \*\*Warning:\*\* Unofficial automation may lead to account suspension/ban. Use at your own risk. ## Naming Channel id is `zalouser` to make it explicit this automates a \*\*personal Zalo user account\*\* (unofficial). We keep `zalo` reserved for a potential future official Zalo API integration. ## Where it runs This plugin runs \*\*inside the Gateway process\*\*. If you use a remote Gateway, install/configure it on the \*\*machine running the Gateway\*\*, then restart the Gateway. ## Install ### Option A: install from npm ```bash openclaw plugins install @openclaw/zalouser ``` Restart the Gateway afterwards. ### Option B: install from a local folder (dev) ```bash openclaw plugins install ./extensions/zalouser cd ./extensions/zalouser && pnpm install ``` Restart the Gateway afterwards. ## Prerequisite: zca-cli The Gateway machine must have `zca` on `PATH`: ```bash zca --version ``` ## Config Channel config lives under `channels.zalouser` (not `plugins.entries.\*`): ```json5 { channels: { zalouser: { enabled: true, dmPolicy: "pairing", }, }, } ``` ## CLI ```bash openclaw channels login --channel zalouser openclaw channels logout --channel zalouser openclaw channels status --probe openclaw message send --channel zalouser --target --message "Hello from OpenClaw" openclaw directory peers list --channel zalouser --query "name" ``` ## Agent tool Tool name: `zalouser` Actions: `send`, `image`, `link`, `friends`, `groups`, `me`, `status` | https://github.com/openclaw/openclaw/blob/main//docs/plugins/zalouser.md | main | opebclaw | [
-0.05171244218945503,
0.010079428553581238,
-0.1317577362060547,
0.044081032276153564,
-0.031153324991464615,
-0.12551625072956085,
0.0542517825961113,
0.004598110914230347,
-0.01573137193918228,
0.023661179468035698,
0.020996281877160072,
-0.00323856552131474,
0.09402735531330109,
0.0454004667699337,
0.0830451101064682,
0.05360700190067291,
0.06612525135278702,
-0.05574541911482811,
0.01254438329488039,
-0.042323701083660126,
-0.0054461280815303326,
0.003433990990743041,
0.02047874592244625,
-0.05363830551505089,
-0.10974705964326859,
-0.09043754637241364,
0.03941924870014191,
0.07544465363025665,
-0.0324554517865181,
-0.021101191639900208,
0.0540611669421196,
0.026090478524565697,
-0.07210289686918259,
-0.03812414035201073,
0.02890673652291298,
-0.004228497389703989,
0.05002779886126518,
0.04848712682723999,
-0.0735182836651802,
-0.057789094746112823,
0.12158457189798355,
-0.023615842685103416,
-0.03369868919253349,
-0.017464090138673782,
-0.05429314821958542,
-0.027179870754480362,
0.014658347703516483,
-0.07557503134012222,
-0.04111975058913231,
-0.041311994194984436,
-0.06690900772809982,
-0.0881478413939476,
0.019473787397146225,
0.0107355872169137,
0.02463807538151741,
0.0011028953595086932,
0.0025137439370155334,
-0.05503710359334946,
0.03634451702237129,
-0.03962545096874237,
-0.00992774497717619,
-0.029769577085971832,
-0.054594848304986954,
0.04360359534621239,
-0.09304439276456833,
0.00555438594892621,
0.0020290068350732327,
-0.022523628547787666,
-0.05481314659118652,
0.005394726060330868,
-0.030098989605903625,
-0.009731819853186607,
-0.05244879424571991,
-0.00894962064921856,
-0.031905315816402435,
-0.03262133523821831,
0.0747000128030777,
-0.012375017628073692,
-0.08976089954376221,
-0.024501115083694458,
0.012028297409415245,
0.00706394761800766,
-0.02516179159283638,
0.013129905797541142,
0.03128150850534439,
0.1355816274881363,
0.021535029634833336,
0.0016710335621610284,
0.0377097986638546,
0.022961659356951714,
0.032090019434690475,
-0.014074921607971191,
0.03681840002536774,
-0.027015123516321182,
-0.01174887828528881,
-0.031793806701898575,
0.0019683477003127337,
-0.0755915641784668,
-0.047649215906858444,
0.10614510625600815,
0.0010869269026443362,
-0.05681335926055908,
0.05322455242276192,
0.03258436173200607,
-0.01908249780535698,
0.07033634185791016,
0.0643504336476326,
0.1113128811120987,
-0.01803876832127571,
0.07105483114719391,
-0.055495381355285645,
-0.03237273544073105,
0.08145952969789505,
-0.06116888299584389,
-0.05863424390554428,
0.08594191074371338,
0.005811688955873251,
0.011047817766666412,
-0.008793482556939125,
0.07052958756685257,
0.04634356126189232,
0.005297532770782709,
-0.024934057146310806,
0.03085211105644703,
0.10940294712781906,
0.06603727489709854,
0.05050741508603096,
5.949669882454973e-33,
0.01592717133462429,
0.04225083440542221,
-0.09143447130918503,
-0.0073904842138290405,
0.08214834332466125,
0.03607618063688278,
0.06411457806825638,
0.055236127227544785,
-0.10798247158527374,
0.05973199009895325,
0.016724495217204094,
-0.008418364450335503,
0.02841395139694214,
0.004170638974756002,
-0.004585153888911009,
0.028746826574206352,
-0.035734448581933975,
0.025111494585871696,
0.06086292117834091,
0.0011254196288064122,
0.03928704187273979,
-0.0951843187212944,
-0.014178923331201077,
0.0029237563721835613,
0.010118036530911922,
0.08014890551567078,
-0.020491141825914383,
-0.04881171137094498,
0.022623838856816292,
0.015798553824424744,
0.12364964187145233,
0.011236833408474922,
-0.05272907763719559,
0.05294591188430786,
-0.07964441180229187,
-0.028652964159846306,
-0.14379669725894928,
-0.05277585983276367,
-0.009198161773383617,
-0.05337374657392502,
-0.03328924998641014,
-0.0074125779792666435,
-0.08687273412942886,
-0.00006219264469109476,
-0.024197353050112724,
-0.08502667397260666,
-0.017738966271281242,
0.054524559527635574,
0.09584963321685791,
-0.03202833607792854,
-0.04183637723326683,
0.012265510857105255,
-0.060180775821208954,
0.017815111204981804,
-0.0494215227663517,
0.01380131021142006,
-0.07950270920991898,
-0.029351986944675446,
0.05136800557374954,
-0.04895615205168724,
0.05461249127984047,
0.020849766209721565,
-0.03418116271495819,
0.0346577987074852,
0.025178847834467888,
-0.08002156764268875,
0.0055319396778941154,
0.02221306413412094,
-0.024214783683419228,
0.03201356157660484,
-0.033078715205192566,
-0.0005302237113937736,
0.008190265856683254,
0.06695995479822159,
-0.03365818038582802,
-0.05260101705789566,
0.009818820282816887,
0.012087658978998661,
0.07194524258375168,
0.011622404679656029,
0.024828558787703514,
-0.01676996424794197,
-0.001729916431941092,
0.025131462141871452,
0.020385297015309334,
0.034236032515764236,
0.009562448598444462,
0.005246403627097607,
-0.005970695987343788,
0.041135042905807495,
0.014397285878658295,
-0.04207547754049301,
-0.034930504858493805,
-0.004002779722213745,
-0.03291728347539902,
-6.576952606304117e-33,
-0.008403350599110126,
0.032274242490530014,
-0.02242189832031727,
0.023122187703847885,
0.03715014457702637,
-0.03480887413024902,
-0.00889594480395317,
-0.0625988319516182,
-0.06948618590831757,
-0.011110980063676834,
-0.04168059676885605,
0.11448360234498978,
0.07910050451755524,
-0.07436393946409225,
0.08823198825120926,
-0.0941481664776802,
-0.05058654397726059,
-0.04245099052786827,
0.0022771500516682863,
0.032803233712911606,
-0.057369865477085114,
0.029862258583307266,
-0.029335901141166687,
-0.0634610578417778,
0.009727446362376213,
-0.014014161191880703,
0.06355022639036179,
0.06793666630983353,
-0.022887617349624634,
0.047952909022569656,
-0.07262430340051651,
0.01136704720556736,
-0.08191975206136703,
-0.043352797627449036,
0.006016254425048828,
0.0197649747133255,
-0.04667879641056061,
0.08883725106716156,
0.007860220968723297,
0.016850648447871208,
0.06349775940179825,
0.01896698586642742,
-0.06981523334980011,
-0.03356155753135681,
-0.008521839044988155,
0.03932851925492287,
-0.0344981923699379,
-0.07127778977155685,
-0.05707579478621483,
-0.0194855909794569,
-0.0006675260956399143,
0.08135813474655151,
-0.005171655677258968,
0.09408106654882431,
0.07582583278417587,
0.0780012458562851,
0.1185695007443428,
-0.04790619760751724,
-0.014669282361865044,
-0.09039206802845001,
-0.024003656581044197,
-0.08491294085979462,
0.03244654834270477,
0.07997288554906845,
-0.013452598825097084,
-0.03134753182530403,
0.028772257268428802,
0.03259678930044174,
-0.05090652033686638,
0.014451346360147,
-0.0416317880153656,
0.0037932521663606167,
-0.010595795698463917,
-0.05992135405540466,
-0.008177187293767929,
0.004183108918368816,
0.00842010136693716,
0.0019764031749218702,
-0.0448613278567791,
0.0047375219874084,
0.03135444223880768,
-0.027474338188767433,
0.04724138230085373,
-0.03447462245821953,
-0.0238192081451416,
-0.07770394533872604,
-0.0017337441677227616,
0.08810409903526306,
0.09627758711576462,
0.024371080100536346,
-0.056534212082624435,
-0.02510925941169262,
0.01410462986677885,
-0.02693404071033001,
-0.013045735657215118,
-5.26622976337876e-8,
-0.07621197402477264,
-0.0741577222943306,
-0.05741864815354347,
0.0924566313624382,
-0.0059947180561721325,
0.0010313212405890226,
0.009504797868430614,
-0.042719386518001556,
-0.09315219521522522,
0.04448827728629112,
0.08934705704450607,
0.03761748597025871,
0.017045482993125916,
0.0698222741484642,
-0.03271549195051193,
0.11422612518072128,
0.043559640645980835,
0.023983988910913467,
0.011694394052028656,
-0.010340198874473572,
-0.07975747436285019,
-0.0031980674248188734,
0.0452699214220047,
0.02946287766098976,
-0.035720814019441605,
0.02261817827820778,
-0.04074600711464882,
-0.029302727431058884,
-0.016682418063282967,
-0.05596747249364853,
-0.06427273154258728,
0.0037150897551327944,
0.0741695761680603,
-0.007504072040319443,
-0.07557239383459091,
0.0462605245411396,
-0.055321116000413895,
0.023379260674118996,
-0.02534654550254345,
-0.02102542668581009,
0.05101754516363144,
0.015592058189213276,
0.006622761022299528,
-0.03823525458574295,
-0.04366052523255348,
0.014312714338302612,
-0.07282339036464691,
-0.0869167372584343,
0.04870882257819176,
0.04507109522819519,
0.020702531561255455,
-0.016780896112322807,
0.05794942378997803,
0.09278444945812225,
0.07410681992769241,
0.05171509087085724,
0.01547474879771471,
-0.1280832588672638,
-0.0014284244971349835,
0.08257550001144409,
0.007596623618155718,
0.051968205720186234,
0.013110985048115253,
-0.10887669771909714
] | 0.12422 |
# Dashboard (Control UI) The Gateway dashboard is the browser Control UI served at `/` by default (override with `gateway.controlUi.basePath`). Quick open (local Gateway): - http://127.0.0.1:18789/ (or http://localhost:18789/) Key references: - [Control UI](/web/control-ui) for usage and UI capabilities. - [Tailscale](/gateway/tailscale) for Serve/Funnel automation. - [Web surfaces](/web) for bind modes and security notes. Authentication is enforced at the WebSocket handshake via `connect.params.auth` (token or password). See `gateway.auth` in [Gateway configuration](/gateway/configuration). Security note: the Control UI is an \*\*admin surface\*\* (chat, config, exec approvals). Do not expose it publicly. The UI stores the token in `localStorage` after first load. Prefer localhost, Tailscale Serve, or an SSH tunnel. ## Fast path (recommended) - After onboarding, the CLI now auto-opens the dashboard with your token and prints the same tokenized link. - Re-open anytime: `openclaw dashboard` (copies link, opens browser if possible, shows SSH hint if headless). - The token stays local (query param only); the UI strips it after first load and saves it in localStorage. ## Token basics (local vs remote) - \*\*Localhost\*\*: open `http://127.0.0.1:18789/`. If you see “unauthorized,” run `openclaw dashboard` and use the tokenized link (`?token=...`). - \*\*Token source\*\*: `gateway.auth.token` (or `OPENCLAW\_GATEWAY\_TOKEN`); the UI stores it after first load. - \*\*Not localhost\*\*: use Tailscale Serve (tokenless if `gateway.auth.allowTailscale: true`), tailnet bind with a token, or an SSH tunnel. See [Web surfaces](/web). ## If you see “unauthorized” / 1008 - Run `openclaw dashboard` to get a fresh tokenized link. - Ensure the gateway is reachable (local: `openclaw status`; remote: SSH tunnel `ssh -N -L 18789:127.0.0.1:18789 user@host` then open `http://127.0.0.1:18789/?token=...`). - In the dashboard settings, paste the same token you configured in `gateway.auth.token` (or `OPENCLAW\_GATEWAY\_TOKEN`). | https://github.com/openclaw/openclaw/blob/main//docs/web/dashboard.md | main | opebclaw | [
-0.08083789795637131,
-0.03683168813586235,
-0.08229577541351318,
0.024305058643221855,
-0.014972308650612831,
-0.039921995252370834,
0.04553647339344025,
0.0653466209769249,
0.04272417351603508,
-0.02623308263719082,
0.04583542048931122,
0.013601306825876236,
0.019065648317337036,
0.003730479162186384,
0.06444375962018967,
0.01671542599797249,
0.09290245175361633,
-0.10483181476593018,
0.018211498856544495,
-0.08596108853816986,
0.019237831234931946,
-0.07534245401620865,
-0.010185332037508488,
0.023825135082006454,
-0.037452332675457,
-0.00764806941151619,
-0.029017513617873192,
-0.007088324520736933,
0.05172819644212723,
0.04696393013000488,
-0.05059375986456871,
-0.03938392922282219,
-0.07376305758953094,
-0.005031881853938103,
-0.128233402967453,
-0.040795352309942245,
0.1194181814789772,
0.0044054328463971615,
0.026731807738542557,
-0.024549763649702072,
0.04364341124892235,
-0.03328116610646248,
-0.04496317729353905,
-0.045798104256391525,
0.044700950384140015,
-0.026568017899990082,
-0.040539249777793884,
-0.027970267459750175,
-0.05937475711107254,
0.06759429723024368,
0.011732750572264194,
0.02623651921749115,
0.047987546771764755,
0.08300675451755524,
-0.031280629336833954,
0.06956629455089569,
0.030314670875668526,
0.03859434276819229,
0.07967937737703323,
0.035787682980298996,
-0.025331852957606316,
-0.05282656475901604,
0.022212445735931396,
0.0331074483692646,
-0.06611161679029465,
-0.04000920057296753,
-0.047571782022714615,
-0.04701415076851845,
0.058429695665836334,
-0.016704102978110313,
-0.046339843422174454,
-0.03835394233465195,
-0.006630229763686657,
-0.038025304675102234,
0.018796684220433235,
0.015280897729098797,
-0.017687754705548286,
-0.02926364354789257,
-0.10886473953723907,
-0.059441208839416504,
0.07846593856811523,
0.029693646356463432,
0.0032858054619282484,
0.10927953571081161,
0.021137965843081474,
0.0313129648566246,
-0.003416188294067979,
-0.0022378794383257627,
0.054756905883550644,
0.03249944746494293,
-0.0019866980146616697,
-0.03217040002346039,
-0.05570147559046745,
-0.0284817423671484,
0.03895549476146698,
-0.0029913748148828745,
-0.04250207915902138,
0.02612423337996006,
-0.08882851898670197,
0.011800230480730534,
-0.01817619614303112,
-0.0202394537627697,
0.025752663612365723,
0.04045935720205307,
0.0548078753054142,
-0.001742301625199616,
-0.03618350997567177,
0.04992135986685753,
0.10871021449565887,
0.07745181024074554,
-0.028070610016584396,
-0.023210685700178146,
-0.000016565496480325237,
0.044246792793273926,
-0.019716419279575348,
0.024607351049780846,
-0.045077741146087646,
-0.018863433972001076,
-0.01703118160367012,
0.11253450065851212,
0.040893226861953735,
0.020267454907298088,
-0.024666745215654373,
-0.05471270531415939,
0.07668756693601608,
0.019839972257614136,
-0.007466401904821396,
3.799089375972167e-33,
-0.013303863815963268,
0.039176542311906815,
-0.0588478222489357,
-0.010034334845840931,
0.08038706332445145,
0.02829357050359249,
0.03941746801137924,
-0.02846699208021164,
-0.017462637275457382,
0.05216045305132866,
0.019272249191999435,
0.050080589950084686,
-0.008174233138561249,
-0.0017779225017875433,
0.010504554025828838,
0.00878129992634058,
-0.029331250116229057,
-0.024257896468043327,
0.09097317606210709,
-0.06221750006079674,
0.041654814034700394,
-0.08637296408414841,
-0.011024422012269497,
-0.003132003592327237,
0.04813363775610924,
0.015497962944209576,
-0.03584805503487587,
0.04507902264595032,
0.000027221105483477004,
0.042345862835645676,
0.00361966947093606,
-0.01443221140652895,
0.0175947118550539,
-0.006319586653262377,
0.005327144172042608,
-0.031210511922836304,
-0.011828053742647171,
-0.08781497180461884,
-0.024415088817477226,
-0.014245016500353813,
-0.04752412065863609,
-0.06355968862771988,
-0.09999492764472961,
0.031551290303468704,
-0.1147659495472908,
-0.084401436150074,
-0.059582337737083435,
0.038388077169656754,
0.11756771802902222,
-0.03799225389957428,
-0.1672249585390091,
-0.04471062123775482,
-0.006996562704443932,
0.00753673305734992,
0.06665681302547455,
-0.0506148636341095,
-0.04393346980214119,
0.003970937803387642,
-0.04725997522473335,
-0.07260642945766449,
0.0007092384621500969,
-0.006046928931027651,
-0.08173349499702454,
0.01592826284468174,
0.023328905925154686,
0.044456567615270615,
-0.055634040385484695,
0.07232866436243057,
-0.019886335358023643,
-0.06293641775846481,
-0.07629046589136124,
0.06909874081611633,
-0.018164390698075294,
0.08053998649120331,
-0.034669242799282074,
-0.08653375506401062,
0.056089334189891815,
0.0836097002029419,
0.05160645395517349,
-0.013020209968090057,
0.007165115792304277,
-0.01627838984131813,
-0.012067349627614021,
0.11259828507900238,
0.0592743344604969,
-0.024344133213162422,
0.040115125477313995,
0.0010495176538825035,
-0.03892969340085983,
-0.006272076163440943,
-0.0015231602592393756,
-0.003576108021661639,
0.0756610631942749,
0.09858774393796921,
-0.1614294797182083,
-4.665160920221396e-33,
-0.03675306588411331,
0.03536749258637428,
-0.055704955011606216,
0.053333964198827744,
-0.008514367043972015,
0.01259523257613182,
0.05983107164502144,
0.008068797178566456,
-0.026997938752174377,
-0.03575070574879646,
0.011315504088997841,
0.09745733439922333,
0.042338091880083084,
-0.026658549904823303,
0.019546156749129295,
-0.0009105344070121646,
-0.019882602617144585,
-0.06880910694599152,
-0.030353141948580742,
-0.06990153342485428,
-0.052170831710100174,
-0.03583795204758644,
-0.008632535114884377,
-0.023035049438476562,
-0.03464537486433983,
0.012091298587620258,
0.05436672642827034,
-0.030686577782034874,
-0.09084609895944595,
0.04232955724000931,
0.00687367981299758,
0.018192460760474205,
-0.02841467782855034,
-0.030249563977122307,
0.029025021940469742,
-0.028476780280470848,
0.05738561600446701,
0.045705605298280716,
-0.02225383371114731,
0.0017546333838254213,
0.054100316017866135,
-0.03073444776237011,
0.019464366137981415,
0.030223548412322998,
-0.012027248740196228,
0.11036717146635056,
-0.0212558601051569,
0.005141205154359341,
-0.10122600197792053,
0.023280419409275055,
0.04309519752860069,
0.0014994889497756958,
0.06896964460611343,
0.06347766518592834,
-0.05926692113280296,
0.024573449045419693,
0.09478722512722015,
-0.01366512943059206,
0.014001819305121899,
-0.09458106011152267,
0.04319504275918007,
-0.057632263749837875,
-0.03534602001309395,
0.12764330208301544,
-0.006591398734599352,
-0.018434934318065643,
-0.042243193835020065,
0.1016925722360611,
0.03856728971004486,
0.001450208481401205,
0.015430432744324207,
-0.06435757875442505,
0.06329241394996643,
-0.007353578228503466,
0.06375497579574585,
-0.034504737704992294,
0.0733199194073677,
-0.08567029982805252,
0.017983905971050262,
-0.011599551886320114,
-0.0020186039619147778,
0.023937897756695747,
-0.009995064698159695,
-0.12642282247543335,
0.01114859338849783,
-0.031205493956804276,
-0.101365827023983,
0.10902778804302216,
0.06612002104520798,
0.07370830327272415,
-0.03706958144903183,
0.01663757674396038,
-0.05677328631281853,
-0.015344605781137943,
0.10180995613336563,
-5.6770140588469076e-8,
-0.007666969206184149,
-0.018199050799012184,
0.01939547061920166,
-0.01631704717874527,
0.009600301273167133,
0.04167403280735016,
-0.0024993622209876776,
-0.021808018907904625,
-0.01962849497795105,
0.028269676491618156,
0.027524568140506744,
0.030928825959563255,
-0.04810160771012306,
-0.05381013825535774,
-0.03786411136388779,
-0.012817912735044956,
0.010708040557801723,
0.019561540335416794,
0.01938394084572792,
-0.07512915134429932,
-0.02539842575788498,
-0.05533745139837265,
0.03732120245695114,
0.014865291304886341,
0.016430113464593887,
-0.01664755865931511,
-0.008434988558292389,
0.0446658618748188,
-0.13101288676261902,
0.004683930426836014,
-0.10999727994203568,
-0.004288188647478819,
-0.0027271911967545748,
-0.01752888597548008,
-0.07272197306156158,
0.07688573747873306,
-0.09482517838478088,
-0.02085469476878643,
0.02270245924592018,
-0.005732833873480558,
0.04720812663435936,
-0.03134656697511673,
-0.0300401970744133,
-0.031063633039593697,
-0.03051808290183544,
0.09273193031549454,
0.005408788099884987,
0.07364708930253983,
0.06961698085069656,
0.02110115811228752,
-0.027999090030789375,
-0.058276884257793427,
0.09887728095054626,
0.040480706840753555,
0.011045055463910103,
0.007598188240081072,
0.058736857026815414,
-0.08542757481336594,
0.033354584127664566,
-0.0315806083381176,
-0.039057280868291855,
0.08483821153640747,
0.028347786515951157,
-0.06826494634151459
] | 0.116932 |
# WebChat (Gateway WebSocket UI) Status: the macOS/iOS SwiftUI chat UI talks directly to the Gateway WebSocket. ## What it is - A native chat UI for the gateway (no embedded browser and no local static server). - Uses the same sessions and routing rules as other channels. - Deterministic routing: replies always go back to WebChat. ## Quick start 1. Start the gateway. 2. Open the WebChat UI (macOS/iOS app) or the Control UI chat tab. 3. Ensure gateway auth is configured (required by default, even on loopback). ## How it works (behavior) - The UI connects to the Gateway WebSocket and uses `chat.history`, `chat.send`, and `chat.inject`. - `chat.inject` appends an assistant note directly to the transcript and broadcasts it to the UI (no agent run). - History is always fetched from the gateway (no local file watching). - If the gateway is unreachable, WebChat is read-only. ## Remote use - Remote mode tunnels the gateway WebSocket over SSH/Tailscale. - You do not need to run a separate WebChat server. ## Configuration reference (WebChat) Full configuration: [Configuration](/gateway/configuration) Channel options: - No dedicated `webchat.\*` block. WebChat uses the gateway endpoint + auth settings below. Related global options: - `gateway.port`, `gateway.bind`: WebSocket host/port. - `gateway.auth.mode`, `gateway.auth.token`, `gateway.auth.password`: WebSocket auth. - `gateway.remote.url`, `gateway.remote.token`, `gateway.remote.password`: remote gateway target. - `session.\*`: session storage and main key defaults. | https://github.com/openclaw/openclaw/blob/main//docs/web/webchat.md | main | opebclaw | [
-0.032038647681474686,
-0.09569598734378815,
0.021521976217627525,
0.012174524366855621,
-0.029861167073249817,
-0.07807376235723495,
0.045117128640413284,
-0.022539472207427025,
0.032429348677396774,
-0.013464868068695068,
0.012587248347699642,
0.02171298675239086,
-0.060806792229413986,
0.03145284578204155,
0.05150030553340912,
-0.021879367530345917,
0.06778974831104279,
-0.1217312291264534,
0.0036503439769148827,
-0.07966571301221848,
0.026879146695137024,
-0.03274475410580635,
0.03839683160185814,
0.04201443865895271,
0.006595664191991091,
-0.007288155611604452,
0.02735590562224388,
-0.03112787939608097,
0.011078939773142338,
-0.0001461011852370575,
-0.002808332210406661,
-0.03412731736898422,
-0.07434283941984177,
0.03849368542432785,
-0.10117622464895248,
-0.05043745040893555,
0.10930789262056351,
0.03840707987546921,
-0.013985409401357174,
0.033050455152988434,
-0.05435929074883461,
-0.015346094965934753,
0.014769092202186584,
0.019025126472115517,
0.04203137755393982,
-0.0073187341913580894,
-0.11268815398216248,
-0.01994643546640873,
-0.07888786494731903,
0.043813273310661316,
-0.031897298991680145,
0.019262567162513733,
0.033716604113578796,
0.188210591673851,
0.06623024493455887,
0.09929050505161285,
0.024193331599235535,
0.0633397325873375,
0.042930327355861664,
-0.0071654957719147205,
-0.05082298815250397,
-0.037029705941677094,
0.06628359854221344,
-0.00509348651394248,
-0.05007387697696686,
-0.00383832398802042,
0.00611074035987258,
0.005108596757054329,
0.06126353517174721,
-0.03657304123044014,
0.021020326763391495,
-0.017296262085437775,
0.014300945214927197,
0.0025491041596978903,
-0.0012129946844652295,
-0.0032278245780617,
0.05832384526729584,
-0.0008152308873832226,
-0.09277892112731934,
-0.025431858375668526,
0.027803288772702217,
0.03198139742016792,
0.02664775587618351,
0.08444239944219589,
-0.000938459939789027,
-0.023304609581828117,
-0.03964318707585335,
-0.010482141748070717,
0.05128394439816475,
0.15065380930900574,
-0.03942986577749252,
-0.05361618101596832,
-0.008270286954939365,
0.021424375474452972,
0.05706656351685524,
0.03490879759192467,
0.019155850633978844,
0.027758559212088585,
-0.03977133706212044,
0.010625354945659637,
-0.0067965141497552395,
0.02229527197778225,
-0.018454916775226593,
0.008505803532898426,
0.07573197782039642,
-0.007345999125391245,
0.03817146271467209,
-0.0197021272033453,
0.13189609348773956,
0.07013798505067825,
-0.051762644201517105,
-0.05120415613055229,
0.07149305194616318,
0.11561482399702072,
-0.004495467059314251,
0.013016888871788979,
0.018513869494199753,
0.0424666702747345,
-0.019089996814727783,
0.07470081746578217,
0.06354004144668579,
0.039377808570861816,
0.01685747504234314,
-0.032943181693553925,
-0.0010214624926447868,
-0.006614093668758869,
0.07270875573158264,
5.228584546120134e-33,
0.03153243288397789,
0.007557498756796122,
-0.10581161826848984,
0.0317058265209198,
0.057258062064647675,
-0.0034887578804045916,
0.04819619655609131,
-0.012526489794254303,
0.009993272833526134,
-0.009597184136509895,
-0.03050745092332363,
0.012806009501218796,
-0.02810395322740078,
-0.01578846201300621,
-0.03076169267296791,
0.010821682401001453,
-0.026967812329530716,
-0.022363075986504555,
0.09120667725801468,
0.0009816351812332869,
0.044799432158470154,
-0.05167584866285324,
0.02919016405940056,
-0.007595080882310867,
0.04945048689842224,
0.019958816468715668,
-0.005320217926055193,
0.010851276107132435,
-0.06594802439212799,
0.03397630527615547,
0.00728988042101264,
-0.029835587367415428,
-0.03471599519252777,
-0.002715161768719554,
0.03971097990870476,
-0.09809477627277374,
0.021349746733903885,
-0.0718529000878334,
-0.043031733483076096,
0.04841369390487671,
-0.08047454059123993,
-0.05009216070175171,
-0.1177094578742981,
-0.05784660577774048,
-0.02425597421824932,
-0.08764994889497757,
-0.0794125571846962,
0.002643127692863345,
0.035088710486888885,
0.021428091451525688,
-0.12121525406837463,
0.024534426629543304,
-0.019616302102804184,
-0.018207522109150887,
0.019198236986994743,
-0.03841050714254379,
-0.0011545066954568028,
-0.04476052522659302,
-0.01992117054760456,
-0.0019570705480873585,
0.00398733327165246,
-0.0024916077964007854,
-0.043984923511743546,
-0.024158164858818054,
0.05287756025791168,
0.07760953158140182,
-0.07863575965166092,
-0.00006739242962794378,
-0.022624284029006958,
-0.07398481667041779,
-0.02337834984064102,
0.014083601534366608,
-0.030179902911186218,
0.030744584277272224,
-0.06259888410568237,
0.03143469989299774,
-0.03803013637661934,
0.04321273788809776,
0.0379343219101429,
-0.06099987030029297,
0.0004942045197822154,
0.02644917741417885,
-0.02277100645005703,
0.06947965919971466,
0.029676849022507668,
0.027153870090842247,
0.036017850041389465,
-0.08093766868114471,
-0.04091264307498932,
0.0994577407836914,
-0.0733269527554512,
-0.0023749517276883125,
0.07714518904685974,
0.02778281830251217,
-0.029889347031712532,
-4.684552168906148e-33,
-0.00008412290480919182,
0.058078162372112274,
-0.11216916888952255,
0.02529381588101387,
-0.05892043188214302,
-0.04900689050555229,
0.03363170847296715,
0.044658362865448,
0.040707286447286606,
-0.009049762971699238,
-0.03522547706961632,
0.02804061956703663,
0.042093321681022644,
-0.005403583403676748,
-0.00356060778722167,
0.007950575090944767,
0.0344209261238575,
-0.09300068020820618,
-0.020888905972242355,
-0.022447919473052025,
0.04247250035405159,
-0.026613086462020874,
-0.08427596092224121,
-0.060285840183496475,
0.04094918072223663,
0.03550552576780319,
0.03468441218137741,
0.007368413731455803,
-0.04465506225824356,
-0.06303056329488754,
0.03443365916609764,
-0.023400094360113144,
-0.007500483188778162,
-0.03968186676502228,
0.03628268092870712,
0.055730726569890976,
0.03802099823951721,
0.03998536244034767,
-0.06515941023826599,
-0.03972313180565834,
0.13236987590789795,
-0.006689256057143211,
-0.03936125338077545,
-0.030657298862934113,
-0.03286042436957359,
0.11150556802749634,
-0.15279197692871094,
0.05426137521862984,
-0.0722389817237854,
0.016645090654492378,
0.08987720310688019,
-0.02060791105031967,
0.051517922431230545,
0.018506160005927086,
-0.08109142631292343,
0.02189137227833271,
0.0804591178894043,
0.019329413771629333,
0.005029100459069014,
-0.06402768939733505,
0.020094599574804306,
-0.08651071786880493,
0.028202814981341362,
0.048925578594207764,
0.004734048619866371,
-0.044855259358882904,
-0.03072923608124256,
-0.006005978211760521,
0.11220279335975647,
0.0381416454911232,
0.06594227999448776,
-0.03164903074502945,
0.0681576132774353,
-5.876463546883315e-7,
0.05997467041015625,
0.035711344331502914,
0.01372998021543026,
-0.11007217317819595,
0.016278188675642014,
-0.030997660011053085,
-0.023137375712394714,
0.06965681165456772,
0.04025789350271225,
-0.04761391133069992,
0.06646504253149033,
0.044128406792879105,
-0.014355053193867207,
0.1139659509062767,
0.05081188306212425,
0.046725209802389145,
-0.018787134438753128,
-0.005729982629418373,
-0.02812042273581028,
-0.02644588053226471,
0.06252851337194443,
-5.191417074001947e-8,
-0.08040939271450043,
-0.04761843383312225,
-0.05021071434020996,
0.06710684299468994,
0.02104032039642334,
0.02309376187622547,
-0.012949380092322826,
-0.059564393013715744,
0.05958782136440277,
-0.027351191267371178,
-0.010651471093297005,
0.06991905719041824,
-0.03924666345119476,
-0.010782095603644848,
-0.008197899907827377,
0.0004836118023376912,
0.014327028766274452,
-0.062311798334121704,
0.011532419361174107,
-0.07519445568323135,
0.0006008725613355637,
-0.08787216991186142,
-0.08302436023950577,
0.06433632969856262,
-0.04819884151220322,
0.012136554345488548,
0.017528111115098,
0.03992456570267677,
-0.14101862907409668,
0.02926088497042656,
-0.0761980190873146,
0.00004090302900294773,
-0.000332609168253839,
-0.036389924585819244,
-0.019057245925068855,
0.04551290348172188,
-0.037115562707185745,
-0.11005052179098129,
0.02022615447640419,
-0.02475118637084961,
0.013861987739801407,
-0.045696936547756195,
-0.0060758525505661964,
-0.04249487444758415,
0.0051315161399543285,
0.008266828954219818,
-0.03927101939916611,
-0.0033503060694783926,
0.018140560016036034,
0.047515448182821274,
-0.005336424335837364,
-0.11838071048259735,
0.03351990878582001,
0.041699644178152084,
0.05069582909345627,
-0.025175858289003372,
0.1134389340877533,
-0.10399237275123596,
-0.008611449971795082,
0.013699261471629143,
0.021749665960669518,
0.08818627148866653,
-0.011822129599750042,
-0.08480618894100189
] | 0.105374 |
# Web (Gateway) The Gateway serves a small \*\*browser Control UI\*\* (Vite + Lit) from the same port as the Gateway WebSocket: - default: `http://:18789/` - optional prefix: set `gateway.controlUi.basePath` (e.g. `/openclaw`) Capabilities live in [Control UI](/web/control-ui). This page focuses on bind modes, security, and web-facing surfaces. ## Webhooks When `hooks.enabled=true`, the Gateway also exposes a small webhook endpoint on the same HTTP server. See [Gateway configuration](/gateway/configuration) → `hooks` for auth + payloads. ## Config (default-on) The Control UI is \*\*enabled by default\*\* when assets are present (`dist/control-ui`). You can control it via config: ```json5 { gateway: { controlUi: { enabled: true, basePath: "/openclaw" }, // basePath optional }, } ``` ## Tailscale access ### Integrated Serve (recommended) Keep the Gateway on loopback and let Tailscale Serve proxy it: ```json5 { gateway: { bind: "loopback", tailscale: { mode: "serve" }, }, } ``` Then start the gateway: ```bash openclaw gateway ``` Open: - `https:///` (or your configured `gateway.controlUi.basePath`) ### Tailnet bind + token ```json5 { gateway: { bind: "tailnet", controlUi: { enabled: true }, auth: { mode: "token", token: "your-token" }, }, } ``` Then start the gateway (token required for non-loopback binds): ```bash openclaw gateway ``` Open: - `http://:18789/` (or your configured `gateway.controlUi.basePath`) ### Public internet (Funnel) ```json5 { gateway: { bind: "loopback", tailscale: { mode: "funnel" }, auth: { mode: "password" }, // or OPENCLAW\_GATEWAY\_PASSWORD }, } ``` ## Security notes - Gateway auth is required by default (token/password or Tailscale identity headers). - Non-loopback binds still \*\*require\*\* a shared token/password (`gateway.auth` or env). - The wizard generates a gateway token by default (even on loopback). - The UI sends `connect.params.auth.token` or `connect.params.auth.password`. - The Control UI sends anti-clickjacking headers and only accepts same-origin browser websocket connections unless `gateway.controlUi.allowedOrigins` is set. - With Serve, Tailscale identity headers can satisfy auth when `gateway.auth.allowTailscale` is `true` (no token/password required). Set `gateway.auth.allowTailscale: false` to require explicit credentials. See [Tailscale](/gateway/tailscale) and [Security](/gateway/security). - `gateway.tailscale.mode: "funnel"` requires `gateway.auth.mode: "password"` (shared password). ## Building the UI The Gateway serves static files from `dist/control-ui`. Build them with: ```bash pnpm ui:build # auto-installs UI deps on first run ``` | https://github.com/openclaw/openclaw/blob/main//docs/web/index.md | main | opebclaw | [
-0.09366974234580994,
0.035594914108514786,
-0.08881273865699768,
0.047002825886011124,
-0.01714714802801609,
-0.05932673439383507,
-0.014069942757487297,
0.011776041239500046,
0.019305754452943802,
-0.0440579392015934,
0.03997354954481125,
-0.007655092049390078,
-0.022440453991293907,
-0.02096712216734886,
0.12389688938856125,
0.04484216123819351,
0.0762660801410675,
-0.0612880177795887,
0.0017891997704282403,
-0.06352580338716507,
0.023994091898202896,
-0.03165745735168457,
-0.005181526765227318,
-0.054274119436740875,
-0.07339154928922653,
-0.03399376943707466,
0.001731451484374702,
0.020986728370189667,
0.04114682599902153,
-0.025191808119416237,
0.010402629151940346,
-0.0690523162484169,
-0.1419183611869812,
0.05612969398498535,
-0.16426992416381836,
0.03899846971035004,
0.06593503803014755,
-0.03325134143233299,
-0.03119359351694584,
0.0007574980845674872,
0.08519397675991058,
0.0015850327908992767,
-0.019204629585146904,
-0.06031333655118942,
-0.014274492859840393,
-0.017620639875531197,
-0.04274415597319603,
-0.05171831324696541,
-0.08310805261135101,
-0.0012546115322038531,
-0.012819887138903141,
-0.04547326639294624,
0.009313344955444336,
0.07532062381505966,
-0.04305107146501541,
-0.02324064075946808,
0.012639722786843777,
0.001991169760003686,
0.02774466760456562,
0.029566824436187744,
0.021081367507576942,
-0.03458872064948082,
0.05147288739681244,
0.02199767529964447,
-0.06741765141487122,
-0.031435899436473846,
0.008851551450788975,
-0.029882390052080154,
-0.00809163972735405,
-0.04062926769256592,
-0.03551128879189491,
-0.04734424129128456,
-0.011277913115918636,
-0.04035291448235512,
0.023261476308107376,
0.027659470215439796,
-0.018614331260323524,
-0.024468405172228813,
-0.03475619852542877,
-0.05534172058105469,
0.07390404492616653,
0.02589569054543972,
-0.020574277266860008,
0.1099928542971611,
-0.017255153506994247,
0.07452139258384705,
-0.014758741483092308,
-0.010890875943005085,
0.04154012352228165,
0.039544444531202316,
-0.012844623066484928,
-0.08555099368095398,
-0.04140562191605568,
0.00988719891756773,
-0.035056255757808685,
-0.031140603125095367,
-0.02250717766582966,
-0.03201200067996979,
-0.12910321354866028,
0.037868715822696686,
-0.04626532644033432,
-0.018580734729766846,
0.0734163373708725,
0.07825147360563278,
0.04248654469847679,
0.00770243676379323,
0.006918747443705797,
0.08686105906963348,
0.08281280100345612,
0.03426710143685341,
-0.04378326237201691,
-0.005117182619869709,
0.048920486122369766,
-0.024234319105744362,
-0.0386987179517746,
0.06526757776737213,
-0.01120290718972683,
0.0011904023122042418,
0.02522251568734646,
0.07421781122684479,
0.06877509504556656,
0.03653119504451752,
0.030134037137031555,
-0.031204670667648315,
0.07467245310544968,
0.0005881604156456888,
0.0007708792109042406,
4.808418784098093e-33,
0.02483469806611538,
0.014686067588627338,
-0.04218810424208641,
0.010965888388454914,
0.08997809886932373,
0.005198715720325708,
0.05941217392683029,
-0.028343351557850838,
-0.04917111620306969,
0.03753679245710373,
0.044791027903556824,
0.015701521188020706,
0.023137584328651428,
0.007594614755362272,
-0.002166264457628131,
-0.013489825651049614,
-0.06306950002908707,
-0.029149865731596947,
0.11736739426851273,
-0.00033231405541300774,
0.03940797224640846,
-0.0861583799123764,
-0.006514106411486864,
0.010264716111123562,
-0.02371380850672722,
0.01012030802667141,
-0.05556207522749901,
0.06268948316574097,
-0.04980932176113129,
0.04424114525318146,
0.05411626771092415,
0.038910165429115295,
0.01806594803929329,
0.0327608548104763,
-0.03653979301452637,
-0.008270961232483387,
-0.0575740747153759,
-0.08848882466554642,
-0.013064270839095116,
-0.025843722745776176,
0.011187924072146416,
-0.043003231287002563,
-0.16822004318237305,
-0.002813908504322171,
-0.0782022476196289,
-0.0965719074010849,
-0.08549018949270248,
-0.007517628371715546,
0.04503864422440529,
-0.016144050285220146,
-0.1262568235397339,
-0.0009086733916774392,
0.034639835357666016,
0.015944017097353935,
0.01875956915318966,
-0.020907867699861526,
-0.017821872606873512,
0.011532031930983067,
-0.025833193212747574,
-0.05037475377321243,
0.031045302748680115,
0.011305566877126694,
-0.02698933146893978,
0.00959837343543768,
0.026217270642518997,
0.05264347791671753,
0.005474433768540621,
0.06960397958755493,
-0.07451317459344864,
-0.03282056003808975,
-0.030296973884105682,
0.04189610481262207,
-0.010428624227643013,
0.04409867525100708,
-0.0727350190281868,
-0.056567028164863586,
-0.010277790017426014,
0.017382748425006866,
0.07648856192827225,
-0.013876009732484818,
0.04120954871177673,
0.02901150844991207,
0.03774047642946243,
0.09120874851942062,
0.03705288842320442,
-0.03738432005047798,
0.039066120982170105,
-0.07365532964468002,
-0.038144391030073166,
0.06580564379692078,
0.013671821914613247,
0.02909122407436371,
0.08390500396490097,
0.019212428480386734,
-0.08051436394453049,
-6.215396257930105e-33,
-0.013930677436292171,
0.00790727511048317,
-0.09978138655424118,
0.062213361263275146,
-0.01923026517033577,
-0.011346811428666115,
0.09108927845954895,
-0.0431404635310173,
-0.028460290282964706,
0.022202761843800545,
0.05777008458971977,
0.04431775212287903,
0.03601108863949776,
-0.042463283985853195,
0.021358270198106766,
-0.00972005631774664,
-0.013769354671239853,
-0.08907303959131241,
0.06357502192258835,
-0.029829300940036774,
-0.009091917425394058,
-0.008740551769733429,
0.021284935995936394,
-0.023919880390167236,
0.025220109149813652,
-0.005052308086305857,
0.019894292578101158,
0.01115493755787611,
-0.12639471888542175,
-0.014775138348340988,
0.013567577116191387,
0.025688787922263145,
0.043554067611694336,
-0.017150001600384712,
0.02879624255001545,
-0.01292018499225378,
0.004036070313304663,
0.10345850884914398,
0.055550456047058105,
-0.0219128355383873,
0.07269617915153503,
-0.03614773601293564,
-0.01865452527999878,
0.055297426879405975,
-0.04527401924133301,
0.09591635316610336,
-0.07174843549728394,
-0.012991145253181458,
-0.060887765139341354,
-0.05583742633461952,
-0.006741383112967014,
0.07718247920274734,
-0.015586485154926777,
0.07589946687221527,
-0.08256198465824127,
0.10962928086519241,
0.09278969466686249,
-0.002837133128196001,
0.016969755291938782,
-0.04352302476763725,
0.013570264913141727,
-0.0651048868894577,
-0.05501503124833107,
0.1206427738070488,
0.03672323003411293,
-0.01689443364739418,
-0.020343346521258354,
0.05576780065894127,
0.0489383302628994,
-0.03398000821471214,
0.03321637958288193,
-0.05247832462191582,
0.09925374388694763,
-0.03137108311057091,
0.04117082059383392,
-0.06928796321153641,
0.09242366999387741,
-0.08875901997089386,
-0.010051708668470383,
-0.04687250778079033,
-0.05074061080813408,
-0.009334607981145382,
0.007322715595364571,
-0.09681428223848343,
0.01865472085773945,
0.003240768564864993,
-0.10414674133062363,
0.11647046357393265,
0.049161456525325775,
0.03583499416708946,
-0.0416504330933094,
0.027575913816690445,
-0.07813545316457748,
-0.059364378452301025,
0.06797923147678375,
-5.9124172224755966e-8,
-0.03805779293179512,
-0.05025997385382652,
-0.015805421397089958,
-0.004901504144072533,
-0.027980364859104156,
0.0019525530515238643,
0.02053963579237461,
-0.031545739620923996,
-0.005256852135062218,
0.06631491333246231,
0.03169663995504379,
0.06950897723436356,
-0.04222109913825989,
0.001506736152805388,
-0.0027246002573519945,
0.060017745941877365,
-0.01758408173918724,
0.04415120929479599,
0.01336368266493082,
-0.05820039287209511,
-0.031558141112327576,
-0.07798835635185242,
0.048594698309898376,
-0.01426310557872057,
-0.003997563384473324,
0.013214108534157276,
-0.048295531421899796,
0.005841245409101248,
-0.07732867449522018,
0.012458071112632751,
-0.07498569786548615,
-0.02082306146621704,
-0.010938722640275955,
0.01023054588586092,
-0.08668867498636246,
0.08547241985797882,
-0.08640815317630768,
-0.015358058735728264,
-0.017176590859889984,
0.015788106247782707,
0.05909445509314537,
-0.06390509009361267,
-0.04812571778893471,
-0.012952122837305069,
-0.003033669898286462,
0.13005854189395905,
0.002293758327141404,
0.06803078949451447,
0.08062710613012314,
0.04626455903053284,
-0.020851291716098785,
-0.021618319675326347,
0.1315198838710785,
0.02864876016974449,
0.02413591556251049,
0.0007399755995720625,
0.09407099336385727,
-0.07174348831176758,
0.01904541812837124,
0.011820864863693714,
0.0006997468299232423,
0.020370658487081528,
0.04437505081295967,
-0.06030723825097084
] | 0.120225 |
# Control UI (browser) The Control UI is a small \*\*Vite + Lit\*\* single-page app served by the Gateway: - default: `http://:18789/` - optional prefix: set `gateway.controlUi.basePath` (e.g. `/openclaw`) It speaks \*\*directly to the Gateway WebSocket\*\* on the same port. ## Quick open (local) If the Gateway is running on the same computer, open: - http://127.0.0.1:18789/ (or http://localhost:18789/) If the page fails to load, start the Gateway first: `openclaw gateway`. Auth is supplied during the WebSocket handshake via: - `connect.params.auth.token` - `connect.params.auth.password` The dashboard settings panel lets you store a token; passwords are not persisted. The onboarding wizard generates a gateway token by default, so paste it here on first connect. ## Device pairing (first connection) When you connect to the Control UI from a new browser or device, the Gateway requires a \*\*one-time pairing approval\*\* — even if you're on the same Tailnet with `gateway.auth.allowTailscale: true`. This is a security measure to prevent unauthorized access. \*\*What you'll see:\*\* "disconnected (1008): pairing required" \*\*To approve the device:\*\* ```bash # List pending requests openclaw devices list # Approve by request ID openclaw devices approve ``` Once approved, the device is remembered and won't require re-approval unless you revoke it with `openclaw devices revoke --device --role `. See [Devices CLI](/cli/devices) for token rotation and revocation. \*\*Notes:\*\* - Local connections (`127.0.0.1`) are auto-approved. - Remote connections (LAN, Tailnet, etc.) require explicit approval. - Each browser profile generates a unique device ID, so switching browsers or clearing browser data will require re-pairing. ## What it can do (today) - Chat with the model via Gateway WS (`chat.history`, `chat.send`, `chat.abort`, `chat.inject`) - Stream tool calls + live tool output cards in Chat (agent events) - Channels: WhatsApp/Telegram/Discord/Slack + plugin channels (Mattermost, etc.) status + QR login + per-channel config (`channels.status`, `web.login.\*`, `config.patch`) - Instances: presence list + refresh (`system-presence`) - Sessions: list + per-session thinking/verbose overrides (`sessions.list`, `sessions.patch`) - Cron jobs: list/add/run/enable/disable + run history (`cron.\*`) - Skills: status, enable/disable, install, API key updates (`skills.\*`) - Nodes: list + caps (`node.list`) - Exec approvals: edit gateway or node allowlists + ask policy for `exec host=gateway/node` (`exec.approvals.\*`) - Config: view/edit `~/.openclaw/openclaw.json` (`config.get`, `config.set`) - Config: apply + restart with validation (`config.apply`) and wake the last active session - Config writes include a base-hash guard to prevent clobbering concurrent edits - Config schema + form rendering (`config.schema`, including plugin + channel schemas); Raw JSON editor remains available - Debug: status/health/models snapshots + event log + manual RPC calls (`status`, `health`, `models.list`) - Logs: live tail of gateway file logs with filter/export (`logs.tail`) - Update: run a package/git update + restart (`update.run`) with a restart report Cron jobs panel notes: - For isolated jobs, delivery defaults to announce summary. You can switch to none if you want internal-only runs. - Channel/target fields appear when announce is selected. ## Chat behavior - `chat.send` is \*\*non-blocking\*\*: it acks immediately with `{ runId, status: "started" }` and the response streams via `chat` events. - Re-sending with the same `idempotencyKey` returns `{ status: "in\_flight" }` while running, and `{ status: "ok" }` after completion. - `chat.inject` appends an assistant note to the session transcript and broadcasts a `chat` event for UI-only updates (no agent run, no channel delivery). - Stop: - Click \*\*Stop\*\* (calls `chat.abort`) - Type `/stop` (or `stop|esc|abort|wait|exit|interrupt`) to abort out-of-band - `chat.abort` supports `{ sessionKey }` (no `runId`) to abort all active runs for that session ## Tailnet access (recommended) ### Integrated Tailscale Serve (preferred) Keep the Gateway on loopback and let Tailscale Serve proxy it with HTTPS: ```bash openclaw gateway --tailscale serve ``` Open: - `https:///` (or your | https://github.com/openclaw/openclaw/blob/main//docs/web/control-ui.md | main | opebclaw | [
-0.07776135206222534,
-0.04491820186376572,
-0.0697316899895668,
0.04449273645877838,
-0.031278252601623535,
-0.0050142561085522175,
-0.02917458303272724,
0.05951850116252899,
0.0008366333204321563,
-0.04663414880633354,
0.04588472843170166,
0.010837933048605919,
-0.004049497656524181,
-0.017635410651564598,
0.06016978994011879,
0.040568746626377106,
0.08475950360298157,
-0.10415803641080856,
0.023143691942095757,
-0.013076351024210453,
-0.0031514267902821302,
-0.06447441130876541,
-0.03167799487709999,
-0.05324111878871918,
-0.04756574332714081,
-0.036388445645570755,
-0.032692939043045044,
0.03133891522884369,
0.08538124710321426,
-0.013500421307981014,
-0.00020931015023961663,
-0.03428714722394943,
-0.0928841158747673,
0.064635269343853,
-0.0589776448905468,
0.00909112486988306,
0.0727313831448555,
-0.03912000358104706,
-0.09983129799365997,
-0.04180382192134857,
0.07515083253383636,
0.0019743680022656918,
-0.03664807602763176,
0.03932153806090355,
0.05894700810313225,
-0.0053957123309373856,
-0.04285421222448349,
0.005922249983996153,
-0.03412000462412834,
-0.028928179293870926,
-0.043124545365571976,
-0.02724790759384632,
0.02858230657875538,
0.03269874304533005,
-0.049983903765678406,
0.062495581805706024,
0.005678227171301842,
-0.008093664422631264,
0.03499378636479378,
-0.01965821161866188,
-0.002836620667949319,
0.0291752889752388,
0.07034432142972946,
0.006455432623624802,
-0.11119087785482407,
0.009937763214111328,
-0.027027295902371407,
-0.07075759768486023,
-0.003477310063317418,
-0.03663241118192673,
-0.05039490386843681,
-0.019266461953520775,
-0.07816178351640701,
-0.00662717130035162,
-0.012247067876160145,
0.002446268917992711,
0.006614916957914829,
-0.038796111941337585,
-0.07189101725816727,
-0.08800633996725082,
0.033111728727817535,
-0.01600259356200695,
-0.046631474047899246,
0.10855864733457565,
0.06557814031839371,
0.033296357840299606,
0.033787138760089874,
0.017448725178837776,
0.03234601765871048,
0.06114528328180313,
-0.03332037478685379,
-0.02732313610613346,
-0.011012041009962559,
-0.004669454414397478,
0.030425889417529106,
0.03730257600545883,
-0.005360144190490246,
-0.003956772852689028,
-0.10521702468395233,
0.040664367377758026,
-0.020993519574403763,
-0.016732534393668175,
0.06042277812957764,
0.07762469351291656,
0.012680713087320328,
-0.012295745313167572,
0.030046356841921806,
0.06838397681713104,
0.09260421246290207,
-0.0147826187312603,
-0.015196332708001137,
0.0026640810538083315,
0.039237018674612045,
0.028661897405982018,
-0.04953967407345772,
0.053683165460824966,
-0.06781114637851715,
0.025887075811624527,
0.027422431856393814,
0.08093415200710297,
0.02189771458506584,
0.004535522311925888,
0.012228991836309433,
-0.0716855376958847,
0.05531281605362892,
-0.0026165286544710398,
0.03597556799650192,
4.667670233318417e-33,
-0.010008279234170914,
-0.014327065087854862,
-0.09314921498298645,
0.0484386682510376,
0.056624699383974075,
-0.010744571685791016,
0.07749805599451065,
-0.022240877151489258,
-0.06460122764110565,
0.07326685637235641,
-0.0017132324865087867,
-0.0064109754748642445,
0.00849282369017601,
-0.0006091383984312415,
-0.009335815906524658,
-0.01206452026963234,
-0.05715935304760933,
-0.0382457934319973,
0.07569295167922974,
-0.04897325485944748,
0.04535577446222305,
-0.13582658767700195,
0.01760139688849449,
0.0038517951034009457,
0.018622765317559242,
0.054106175899505615,
-0.08017995953559875,
0.08085639774799347,
0.012045891024172306,
0.03257591649889946,
0.011273002251982689,
-0.00039841237594373524,
-0.02340594306588173,
-0.017003854736685753,
-0.024076681584119797,
-0.08087374269962311,
0.008296876214444637,
-0.1021638810634613,
-0.05587873235344887,
0.015337326563894749,
-0.042699266225099564,
-0.06022263318300247,
-0.09048254787921906,
-0.027337124571204185,
-0.05476968362927437,
-0.12099079042673111,
-0.08372881263494492,
0.06787832081317902,
0.0986730232834816,
0.013732661493122578,
-0.1767081469297409,
-0.01653352379798889,
-0.0071156881749629974,
0.004996131174266338,
-0.014859735034406185,
-0.005826096516102552,
-0.06267866492271423,
0.02558290772140026,
-0.02683207206428051,
-0.10715815424919128,
0.03551683574914932,
-0.014762633480131626,
-0.06860079616308212,
0.01112501323223114,
0.031374093145132065,
0.03810392692685127,
-0.0005098091205582023,
0.01839466392993927,
-0.11708901822566986,
-0.06925033777952194,
-0.06157885864377022,
0.019558126106858253,
-0.024680087342858315,
0.006177010480314493,
-0.024484975263476372,
-0.02293054200708866,
0.04586949571967125,
0.02504202164709568,
0.035529643297195435,
-0.009924356825649738,
0.02324817329645157,
-0.008886996656656265,
0.011850967071950436,
0.06730455905199051,
0.03867248818278313,
-0.031122442334890366,
0.053857509046792984,
-0.05145298317074776,
-0.02049230970442295,
0.06015540286898613,
0.002234549028798938,
0.01609850488603115,
0.10561206936836243,
0.03241319581866264,
-0.043528929352760315,
-5.525547112574476e-33,
-0.048125337809324265,
0.01901109144091606,
-0.018774574622511864,
0.04197109863162041,
0.015575375407934189,
-0.025386538356542587,
0.07834848016500473,
-0.025007154792547226,
-0.03588809072971344,
-0.015219101682305336,
0.054968561977148056,
0.08539701253175735,
0.03499985858798027,
-0.060209665447473526,
0.003417189000174403,
0.02831912599503994,
0.007002059370279312,
-0.031900081783533096,
0.040841370820999146,
0.013407138176262379,
-0.036114100366830826,
0.005129932425916195,
-0.010354758240282536,
-0.04812229424715042,
0.02037671022117138,
0.040781643241643906,
0.07629047334194183,
0.05586997792124748,
-0.1299557238817215,
0.0084230313077569,
0.082698293030262,
0.06498012691736221,
0.014942756853997707,
0.04837515950202942,
0.0003509676898829639,
0.08419163525104523,
0.06037215143442154,
0.024650048464536667,
0.004933237563818693,
0.011687776073813438,
0.08086801320314407,
0.018277183175086975,
-0.018008550629019737,
0.025575455278158188,
-0.008981912396848202,
0.08745399117469788,
-0.0016187549335882068,
-0.0014390222495421767,
-0.1257617473602295,
-0.008922156877815723,
0.032566461712121964,
0.04194742441177368,
0.021527865901589394,
0.068781279027462,
-0.03379444405436516,
0.08062412589788437,
0.12118470668792725,
-0.016537535935640335,
-0.038361769169569016,
-0.09740877151489258,
0.03479898348450661,
-0.04684078320860863,
-0.046441834419965744,
0.060644399374723434,
-0.0035555402282625437,
-0.012034989893436432,
-0.005011553876101971,
0.12791258096694946,
0.059265896677970886,
0.00848931074142456,
-0.020523719489574432,
0.0040609752759337425,
0.11367779225111008,
-0.02948310412466526,
0.033423710614442825,
0.013937650248408318,
0.023228667676448822,
-0.07117438316345215,
-0.0017937598749995232,
-0.07768119871616364,
0.0020490013994276524,
-0.01629914715886116,
-0.04534513130784035,
-0.13247528672218323,
-0.017453482374548912,
0.008147910237312317,
-0.06288018077611923,
0.140822634100914,
0.0704539492726326,
0.01053674053400755,
-0.0915127769112587,
0.008470870554447174,
-0.008435675874352455,
-0.005016252398490906,
0.06384845077991486,
-6.096168192470941e-8,
-0.0591561496257782,
-0.014815371483564377,
-0.02123050019145012,
-0.018824098631739616,
0.023683618754148483,
-0.024781828746199608,
0.0217617005109787,
-0.06814572215080261,
-0.04037358611822128,
0.02043820545077324,
0.0038126653525978327,
0.03429923579096794,
-0.042573947459459305,
-0.008626566268503666,
0.02180440165102482,
0.04448791220784187,
-0.028794581070542336,
0.04474267363548279,
0.016898034140467644,
-0.0604495108127594,
0.01758640445768833,
-0.05639989674091339,
0.07389399409294128,
0.05845481902360916,
0.022299472242593765,
-0.011004890315234661,
-0.030762892216444016,
0.007275850512087345,
-0.10411849617958069,
-0.00708447489887476,
-0.09618304669857025,
0.04580247029662132,
0.020723454654216766,
-0.003252793336287141,
-0.08851907402276993,
0.054144300520420074,
-0.024777080863714218,
0.03269294649362564,
0.022249525412917137,
-0.06967289745807648,
0.06703324615955353,
-0.022587837651371956,
-0.05574146285653114,
-0.05341360718011856,
-0.012407517060637474,
0.1210666075348854,
-0.041453585028648376,
0.06240445002913475,
0.07171385735273361,
0.0291066225618124,
-0.00803287047892809,
-0.05758402496576309,
0.07263688743114471,
0.04611929506063461,
-0.004977167584002018,
-0.01722421497106552,
0.08143544942140579,
-0.06315144896507263,
-0.0051462179981172085,
-0.05201137065887451,
-0.032450105994939804,
0.07382072508335114,
0.04386898875236511,
-0.09906387329101562
] | 0.047489 |
out-of-band - `chat.abort` supports `{ sessionKey }` (no `runId`) to abort all active runs for that session ## Tailnet access (recommended) ### Integrated Tailscale Serve (preferred) Keep the Gateway on loopback and let Tailscale Serve proxy it with HTTPS: ```bash openclaw gateway --tailscale serve ``` Open: - `https:///` (or your configured `gateway.controlUi.basePath`) By default, Serve requests can authenticate via Tailscale identity headers (`tailscale-user-login`) when `gateway.auth.allowTailscale` is `true`. OpenClaw verifies the identity by resolving the `x-forwarded-for` address with `tailscale whois` and matching it to the header, and only accepts these when the request hits loopback with Tailscale’s `x-forwarded-\*` headers. Set `gateway.auth.allowTailscale: false` (or force `gateway.auth.mode: "password"`) if you want to require a token/password even for Serve traffic. ### Bind to tailnet + token ```bash openclaw gateway --bind tailnet --token "$(openssl rand -hex 32)" ``` Then open: - `http://:18789/` (or your configured `gateway.controlUi.basePath`) Paste the token into the UI settings (sent as `connect.params.auth.token`). ## Insecure HTTP If you open the dashboard over plain HTTP (`http://` or `http://`), the browser runs in a \*\*non-secure context\*\* and blocks WebCrypto. By default, OpenClaw \*\*blocks\*\* Control UI connections without device identity. \*\*Recommended fix:\*\* use HTTPS (Tailscale Serve) or open the UI locally: - `https:///` (Serve) - `http://127.0.0.1:18789/` (on the gateway host) \*\*Downgrade example (token-only over HTTP):\*\* ```json5 { gateway: { controlUi: { allowInsecureAuth: true }, bind: "tailnet", auth: { mode: "token", token: "replace-me" }, }, } ``` This disables device identity + pairing for the Control UI (even on HTTPS). Use only if you trust the network. See [Tailscale](/gateway/tailscale) for HTTPS setup guidance. ## Building the UI The Gateway serves static files from `dist/control-ui`. Build them with: ```bash pnpm ui:build # auto-installs UI deps on first run ``` Optional absolute base (when you want fixed asset URLs): ```bash OPENCLAW\_CONTROL\_UI\_BASE\_PATH=/openclaw/ pnpm ui:build ``` For local development (separate dev server): ```bash pnpm ui:dev # auto-installs UI deps on first run ``` Then point the UI at your Gateway WS URL (e.g. `ws://127.0.0.1:18789`). ## Debugging/testing: dev server + remote Gateway The Control UI is static files; the WebSocket target is configurable and can be different from the HTTP origin. This is handy when you want the Vite dev server locally but the Gateway runs elsewhere. 1. Start the UI dev server: `pnpm ui:dev` 2. Open a URL like: ```text http://localhost:5173/?gatewayUrl=ws://:18789 ``` Optional one-time auth (if needed): ```text http://localhost:5173/?gatewayUrl=wss://:18789&token= ``` Notes: - `gatewayUrl` is stored in localStorage after load and removed from the URL. - `token` is stored in localStorage; `password` is kept in memory only. - When `gatewayUrl` is set, the UI does not fall back to config or environment credentials. Provide `token` (or `password`) explicitly. Missing explicit credentials is an error. - Use `wss://` when the Gateway is behind TLS (Tailscale Serve, HTTPS proxy, etc.). - `gatewayUrl` is only accepted in a top-level window (not embedded) to prevent clickjacking. - For cross-origin dev setups (e.g. `pnpm ui:dev` to a remote Gateway), add the UI origin to `gateway.controlUi.allowedOrigins`. Example: ```json5 { gateway: { controlUi: { allowedOrigins: ["http://localhost:5173"], }, }, } ``` Remote access setup details: [Remote access](/gateway/remote). | https://github.com/openclaw/openclaw/blob/main//docs/web/control-ui.md | main | opebclaw | [
-0.012754125520586967,
0.03233668953180313,
0.01428428664803505,
0.026802273467183113,
-0.022661160677671432,
-0.1021910309791565,
0.0422232411801815,
0.004581516608595848,
0.009096359834074974,
-0.004322899039834738,
-0.003835848066955805,
0.018526826053857803,
0.005502877291291952,
-0.013554857112467289,
0.08632534742355347,
0.03514185547828674,
0.09910410642623901,
-0.056352656334638596,
0.004006206523627043,
-0.03238987177610397,
0.05024822801351547,
0.019101819023489952,
0.052310146391391754,
0.0700235441327095,
-0.0719439834356308,
-0.10495129972696304,
-0.013221519999206066,
-0.022669760510325432,
-0.01969628781080246,
-0.02132370136678219,
0.057448819279670715,
0.05566839873790741,
-0.09753979742527008,
-0.03578618913888931,
-0.04681353643536568,
-0.0578295923769474,
0.07056035846471786,
0.037299152463674545,
0.0017056474462151527,
-0.028518615290522575,
0.0918322205543518,
-0.022225378081202507,
-0.0067653837613761425,
-0.058856669813394547,
0.00014558652765117586,
-0.07821804285049438,
-0.039898186922073364,
-0.02887471206486225,
0.013365928083658218,
0.09725172817707062,
0.02397569641470909,
-0.02418670617043972,
0.04548035189509392,
0.08261171728372574,
-0.03491860628128052,
0.10463995486497879,
0.013933372683823109,
0.05055251345038414,
0.09008035063743591,
0.005196786485612392,
0.02743552066385746,
-0.07407358288764954,
-0.03987676277756691,
0.02935178019106388,
-0.0706154927611351,
0.00505388667806983,
-0.011433393694460392,
-0.07193895429372787,
0.00277931266464293,
0.04719362035393715,
0.010360670275986195,
-0.015959758311510086,
-0.048452675342559814,
0.015546913258731365,
0.053272832185029984,
0.06746120750904083,
0.04767989739775658,
-0.04170486330986023,
-0.06455612927675247,
-0.04295659437775612,
-0.012401740998029709,
-0.026306945830583572,
-0.001083091483451426,
0.05082982778549194,
0.0065785483457148075,
0.039544496685266495,
0.025376658886671066,
0.028368329629302025,
0.020354406908154488,
0.025923049077391624,
-0.05901104956865311,
0.008400063030421734,
-0.001580942771397531,
0.008803506381809711,
0.08826959133148193,
0.009776274673640728,
0.0073832301422953606,
-0.0050849164836108685,
-0.07552487403154373,
0.04201434552669525,
-0.021669214591383934,
-0.007188692223280668,
0.013251963071525097,
-0.011295069940388203,
-0.011635963805019855,
0.014059414155781269,
-0.025689294561743736,
0.012450434267520905,
0.06293519586324692,
0.011736803688108921,
-0.0007775975973345339,
-0.08238834142684937,
0.10223269462585449,
0.039308205246925354,
-0.014255538582801819,
0.05547789856791496,
0.04343286529183388,
0.025741660967469215,
0.03448211029171944,
0.012441095896065235,
0.035513658076524734,
0.014832905493676662,
0.0442785881459713,
-0.023510605096817017,
0.08813249319791794,
0.03770219162106514,
0.08995337039232254,
3.233196109910748e-33,
0.005460616201162338,
-0.0223141610622406,
-0.07891799509525299,
-0.0273820161819458,
0.13662831485271454,
0.05511420592665672,
0.06243709847331047,
-0.03522508218884468,
-0.03833295404911041,
0.05270981043577194,
-0.03637738898396492,
0.011190061457455158,
0.01045435480773449,
-0.06798280775547028,
0.0433734655380249,
-0.007638216484338045,
-0.016230342909693718,
0.02307654172182083,
0.10116522014141083,
-0.017875846475362778,
0.040697451680898666,
-0.08985066413879395,
-0.013528297655284405,
-0.02726532705128193,
-0.006517685949802399,
0.009832805953919888,
-0.01414147112518549,
-0.03615334630012512,
-0.012425804510712624,
0.03868082910776138,
0.03470379114151001,
0.025919342413544655,
0.011963830329477787,
-0.035296835005283356,
0.02077621780335903,
-0.067824587225914,
-0.04796162620186806,
-0.06173726171255112,
-0.02596265636384487,
-0.04415453225374222,
-0.04853900149464607,
-0.02444840781390667,
-0.10258514434099197,
0.011507338844239712,
-0.11023037135601044,
-0.17386065423488617,
-0.026819610968232155,
0.031886033713817596,
0.11335855722427368,
0.016256006434559822,
-0.055856674909591675,
-0.01855047047138214,
0.018940094858407974,
-0.05384530499577522,
0.05645938590168953,
-0.042213525623083115,
-0.03446561098098755,
0.017422577366232872,
0.002670037094503641,
-0.056521788239479065,
0.032483309507369995,
-0.016746485605835915,
-0.08133594691753387,
-0.015779446810483932,
0.048076946288347244,
0.042168695479631424,
-0.045888084918260574,
0.0541096031665802,
-0.1050698459148407,
-0.06843391060829163,
-0.006809512618929148,
0.0038432241417467594,
-0.011511638760566711,
0.05500894412398338,
-0.034888748079538345,
-0.02380666323006153,
0.013581769540905952,
0.07819250226020813,
0.11266745626926422,
0.0012682386441156268,
0.05519294738769531,
0.006366780027747154,
-0.019087446853518486,
0.03314154967665672,
-0.027603276073932648,
0.03582962229847908,
0.019741125404834747,
-0.07964130491018295,
-0.04093696177005768,
0.04121454432606697,
-0.06541624665260315,
-0.03258737921714783,
0.02256472222507,
0.0767458975315094,
-0.07723002880811691,
-2.9189423888977946e-33,
-0.06138608232140541,
0.05919935181736946,
-0.02981702797114849,
0.04113946482539177,
0.023358521983027458,
0.02632511593401432,
0.08931654691696167,
-0.044777389615774155,
-0.03571493551135063,
-0.07361659407615662,
0.02028072439134121,
0.07211608439683914,
0.02546125464141369,
-0.0405748076736927,
0.00945797935128212,
-0.04175780341029167,
0.06419765204191208,
-0.0738939568400383,
-0.006073683965951204,
-0.065157450735569,
-0.010758960619568825,
-0.03531495854258537,
-0.06335173547267914,
-0.0005685368669219315,
0.023430688306689262,
0.007441806141287088,
0.0729404166340828,
0.029188675805926323,
-0.06876026839017868,
-0.013899262063205242,
0.037260059267282486,
0.039224132895469666,
0.02113138884305954,
-0.047118235379457474,
-0.033872079104185104,
-0.01818813756108284,
-0.013987602666020393,
0.14800718426704407,
-0.03786617890000343,
-0.04741310328245163,
0.05481354892253876,
-0.043797045946121216,
-0.04596361517906189,
-0.004004101734608412,
0.04471650347113609,
0.054456792771816254,
-0.04462616890668869,
-0.00873017031699419,
-0.12337058037519455,
0.08457387238740921,
0.023378605023026466,
0.020062977448105812,
0.11084220558404922,
0.05260668694972992,
-0.022353539243340492,
0.03894343972206116,
0.09693960100412369,
-0.04465004429221153,
0.00789737794548273,
-0.13801194727420807,
0.05552494898438454,
-0.047889839857816696,
0.051043108105659485,
0.10962780565023422,
0.00599665567278862,
-0.06089688464999199,
-0.08343567699193954,
0.06838420778512955,
0.014241039752960205,
-0.016683686524629593,
-0.05852825567126274,
-0.07531587034463882,
0.03701391816139221,
-0.000015242030713125132,
0.031880948692560196,
0.019230719655752182,
0.047162704169750214,
-0.06983514875173569,
0.0219526756554842,
0.028621472418308258,
-0.04537511244416237,
0.026192806661128998,
-0.003042740048840642,
-0.03470179811120033,
0.05126291885972023,
-0.02512502484023571,
-0.07679376751184464,
0.09496428072452545,
0.08166229724884033,
0.09149131923913956,
-0.03268195316195488,
-0.0032556233927607536,
-0.04215697944164276,
-0.015360867604613304,
0.09723109751939774,
-4.896795147146804e-8,
-0.0034578191116452217,
-0.014481370337307453,
-0.016406774520874023,
0.06526742875576019,
-0.02095836214721203,
0.03993423283100128,
-0.006804091855883598,
-0.033540837466716766,
-0.04085613414645195,
0.0022944235242903233,
0.005835275631397963,
0.02926558628678322,
-0.0011351278517395258,
0.03301575779914856,
-0.05111394822597504,
0.024932369589805603,
0.049661461263895035,
-0.04382157698273659,
-0.019717467948794365,
-0.0891994759440422,
-0.10771029442548752,
-0.05676420405507088,
-0.002183044794946909,
0.051717400550842285,
-0.07483746856451035,
0.046750448644161224,
-0.00612025847658515,
0.014571618288755417,
-0.054821062833070755,
-0.004616725258529186,
-0.1434904783964157,
-0.016441095620393753,
-0.014028704725205898,
-0.027414381504058838,
-0.10163899511098862,
0.07268571108579636,
-0.1254727840423584,
0.028633272275328636,
-0.010222033597528934,
0.01221267506480217,
0.04547883942723274,
0.025659026578068733,
0.04255187511444092,
-0.047078315168619156,
-0.015128899365663528,
0.04364544153213501,
-0.0348820686340332,
0.09876207262277603,
0.03516092523932457,
0.011159257031977177,
-0.016502877697348595,
-0.05330510810017586,
-0.010405851528048515,
0.03532992675900459,
0.042135827243328094,
0.017819173634052277,
0.05579390376806259,
-0.10365843027830124,
-0.04473663121461868,
0.02547391504049301,
0.012156102806329727,
-0.0390620157122612,
0.02165483683347702,
-0.03962009400129318
] | -0.00128 |
# Onboarding + Config Protocol Purpose: shared onboarding + config surfaces across CLI, macOS app, and Web UI. ## Components - Wizard engine (shared session + prompts + onboarding state). - CLI onboarding uses the same wizard flow as the UI clients. - Gateway RPC exposes wizard + config schema endpoints. - macOS onboarding uses the wizard step model. - Web UI renders config forms from JSON Schema + UI hints. ## Gateway RPC - `wizard.start` params: `{ mode?: "local"|"remote", workspace?: string }` - `wizard.next` params: `{ sessionId, answer?: { stepId, value? } }` - `wizard.cancel` params: `{ sessionId }` - `wizard.status` params: `{ sessionId }` - `config.schema` params: `{}` Responses (shape) - Wizard: `{ sessionId, done, step?, status?, error? }` - Config schema: `{ schema, uiHints, version, generatedAt }` ## UI Hints - `uiHints` keyed by path; optional metadata (label/help/group/order/advanced/sensitive/placeholder). - Sensitive fields render as password inputs; no redaction layer. - Unsupported schema nodes fall back to the raw JSON editor. ## Notes - This doc is the single place to track protocol refactors for onboarding/config. | https://github.com/openclaw/openclaw/blob/main//docs/experiments/onboarding-config-protocol.md | main | opebclaw | [
-0.04382573068141937,
0.004936982877552509,
-0.08511647582054138,
0.04306219890713692,
0.011068685911595821,
-0.018446320667862892,
0.021507086232304573,
0.02458043210208416,
-0.04651346057653427,
0.0055063096806406975,
-0.006098141893744469,
-0.03587520867586136,
0.02651660144329071,
0.05466242507100105,
0.07532495260238647,
0.01040989626199007,
0.021073095500469208,
-0.11869783699512482,
0.025098159909248352,
0.02049378491938114,
0.01801149547100067,
0.027807042002677917,
-0.01826454885303974,
0.02225220948457718,
-0.0726618766784668,
-0.04373272880911827,
0.040545377880334854,
0.017161894589662552,
-0.0006719204247929156,
0.019602283835411072,
-0.011150042526423931,
0.07317233085632324,
-0.12262006103992462,
0.02632991038262844,
0.025488179177045822,
0.05973606929183006,
0.10003099590539932,
-0.013903954066336155,
0.0016127789858728647,
-0.11167771369218826,
0.04132907837629318,
-0.019471919164061546,
-0.03601681813597679,
0.006488734390586615,
0.06744034588336945,
-0.048316437751054764,
-0.10693589597940445,
-0.05839965492486954,
0.0013494399609044194,
0.04758474603295326,
-0.04151482135057449,
-0.042909491807222366,
0.00640441058203578,
0.03227278217673302,
0.012314129620790482,
0.11919678747653961,
-0.09847123920917511,
0.03760981559753418,
0.041602641344070435,
-0.01854211464524269,
-0.05114942416548729,
-0.03156351298093796,
0.07843232154846191,
0.05714210122823715,
-0.06640906631946564,
0.007069156970828772,
-0.032325755804777145,
-0.05849459767341614,
0.02742833085358143,
-0.05329408869147301,
-0.034932997077703476,
-0.025218157097697258,
-0.018999116495251656,
-0.10404814779758453,
-0.01797652058303356,
0.06957840174436569,
-0.0012521202443167567,
-0.006559000350534916,
-0.052008386701345444,
-0.13432008028030396,
0.0008073471253737807,
0.022724121809005737,
-0.06283121556043625,
0.0763210579752922,
0.013237119652330875,
0.020962275564670563,
0.02647155523300171,
-0.01959601417183876,
0.02594868652522564,
0.06704558432102203,
0.033260446041822433,
-0.049245238304138184,
-0.053306322544813156,
-0.03765267878770828,
-0.0404391884803772,
0.051483601331710815,
-0.03469403460621834,
-0.00733029143884778,
-0.07941793650388718,
0.022300776094198227,
0.012337248772382736,
0.0168891791254282,
0.15448026359081268,
0.07696021348237991,
-0.01047907117754221,
-0.012842406518757343,
0.02556271106004715,
-0.03376919403672218,
0.026174813508987427,
0.007129355799406767,
-0.00038027166738174856,
0.03596118465065956,
0.021360401064157486,
0.01952577754855156,
0.0287882462143898,
0.10804962366819382,
0.0028904336504638195,
0.0439162515103817,
0.026036879047751427,
0.03414018824696541,
0.005976748652756214,
0.014449509792029858,
0.039677321910858154,
-0.03151041641831398,
0.0920548066496849,
-0.01046814862638712,
-0.0023285169154405594,
8.239633529560578e-33,
0.0016973119927570224,
-0.05673859268426895,
-0.11112500727176666,
0.06767752766609192,
0.11458829045295715,
0.002742581535130739,
0.0656237006187439,
0.003980034496635199,
-0.017549613490700722,
0.06521890312433243,
-0.08359820395708084,
0.07127206027507782,
0.014363688416779041,
-0.0004155368951614946,
-0.035987794399261475,
-0.026367396116256714,
-0.03652456775307655,
0.03345448151230812,
-0.03459976986050606,
0.016098152846097946,
0.03347387909889221,
-0.03582261502742767,
0.02177470177412033,
-0.049387168139219284,
0.05310056358575821,
0.03377936780452728,
-0.08362115919589996,
0.04228254780173302,
-0.022708436474204063,
0.010085872374475002,
0.04976770654320717,
-0.010108374059200287,
-0.013103872537612915,
0.00919941533356905,
-0.045645903795957565,
-0.08703559637069702,
0.03741064295172691,
-0.09023937582969666,
-0.02290070429444313,
0.020244579762220383,
-0.06195627152919769,
-0.027097385376691818,
-0.053188856691122055,
0.0008422642713412642,
-0.10694053024053574,
-0.12041987478733063,
-0.05739377439022064,
0.03266206383705139,
0.059553712606430054,
0.034711141139268875,
-0.14416027069091797,
0.009068411774933338,
0.05788035690784454,
-0.0972953587770462,
0.002782758790999651,
-0.0807376578450203,
-0.03775164112448692,
0.03675869479775429,
0.03308957442641258,
-0.06302589178085327,
-0.04594962298870087,
0.036636561155319214,
-0.12223979830741882,
-0.004679936449974775,
0.005647900048643351,
0.021381167694926262,
-0.06654772907495499,
-0.012258369475603104,
0.016125513240695,
-0.036314457654953,
-0.038328543305397034,
0.07109362632036209,
-0.05519659072160721,
0.01357362326234579,
0.06165366619825363,
-0.1319369524717331,
-0.03709838166832924,
0.024924084544181824,
0.04274698346853256,
0.0321352444589138,
0.04991038516163826,
0.05765344575047493,
-0.11901195347309113,
0.1267983764410019,
0.07706954330205917,
0.010018154978752136,
0.03193837031722069,
0.014003449119627476,
-0.04145864397287369,
0.018509797751903534,
0.013422991149127483,
0.024104733020067215,
0.0565294474363327,
-0.015171798877418041,
-0.002900905441492796,
-8.573393844641458e-33,
0.0651826411485672,
-0.05904319882392883,
-0.020436523482203484,
0.019865570589900017,
0.011743374168872833,
-0.023263338953256607,
0.11896201223134995,
-0.02897300198674202,
0.016169721260666847,
-0.09958883374929428,
0.030127039179205894,
0.06345904618501663,
0.00772801274433732,
-0.015177292749285698,
-0.011258557438850403,
0.036421872675418854,
-0.14255475997924805,
-0.005179187282919884,
0.10725768655538559,
-0.03270191326737404,
0.009315278381109238,
0.0520540289580822,
0.00857567135244608,
0.004602786153554916,
0.005027990788221359,
-0.018820418044924736,
0.027544250711798668,
0.033650271594524384,
-0.01970778778195381,
0.01686999574303627,
0.019441891461610794,
0.033211346715688705,
-0.032532352954149246,
0.030013656243681908,
-0.028341760858893394,
0.007497404236346483,
0.005083511583507061,
0.10391637682914734,
-0.07104270905256271,
-0.038530055433511734,
0.08843306452035904,
-0.010928302071988583,
-0.07341209799051285,
0.00767816137522459,
0.008746686391532421,
0.04598819091916084,
0.017240935936570168,
0.04147278517484665,
-0.10929210484027863,
-0.01192087959498167,
-0.053943388164043427,
-0.01768181473016739,
-0.04778177663683891,
0.013825359754264355,
-0.01300353929400444,
0.019870586693286896,
0.04028547555208206,
-0.06674125045537949,
0.009397813118994236,
-0.07203436642885208,
0.017579011619091034,
-0.05603676661849022,
0.023195495828986168,
0.005544064566493034,
0.03293948620557785,
0.026397109031677246,
-0.06442704051733017,
0.0804058238863945,
0.0258561410009861,
-0.023488854989409447,
-0.029315317049622536,
-0.06387197226285934,
0.047472573816776276,
0.027135511860251427,
0.07937036454677582,
-0.003893093904480338,
-0.0016191693721339107,
-0.09377812594175339,
0.08607020974159241,
0.02615436166524887,
-0.015595461241900921,
-0.0013785044429823756,
-0.04008005931973457,
-0.00602320022881031,
0.004926069639623165,
0.013311686925590038,
-0.013532616198062897,
0.15005186200141907,
-0.03044569119811058,
0.004083749372512102,
-0.04588407650589943,
0.005707164760679007,
0.018944991752505302,
0.053922250866889954,
-0.032888200134038925,
-5.598819896590612e-8,
-0.08327965438365936,
0.04179472103714943,
-0.014754368923604488,
0.0025753318332135677,
0.022442713379859924,
0.0019456084119156003,
0.055150795727968216,
-0.05599970370531082,
-0.023913133889436722,
-0.016860706731677055,
0.0210860725492239,
0.04236789792776108,
-0.023483427241444588,
0.026914704591035843,
-0.03915300965309143,
0.06594689190387726,
-0.0785587951540947,
0.08111103624105453,
-0.0014647472416982055,
-0.06346148997545242,
0.025817036628723145,
-0.06212572753429413,
-0.015740443021059036,
0.04830242320895195,
0.050096768885850906,
0.06523898243904114,
-0.014707050286233425,
0.017026569694280624,
-0.07205742597579956,
-0.009645669721066952,
-0.05469558387994766,
-0.02414998784661293,
0.040975987911224365,
0.10672181099653244,
-0.036811769008636475,
-0.010903528891503811,
-0.03630324453115463,
0.04980107769370079,
0.014994177035987377,
-0.06185678020119667,
-0.02532406710088253,
-0.031866732984781265,
-0.0518057607114315,
-0.08536886423826218,
0.04674585908651352,
0.03704211488366127,
-0.05623547360301018,
0.055519167333841324,
0.01594104804098606,
-0.018251115456223488,
-0.0019718518014997244,
-0.06731747835874557,
0.06750365346670151,
0.05890803784132004,
0.028550108894705772,
-0.018776511773467064,
0.07086855918169022,
-0.05062104016542435,
0.07201512902975082,
-0.0014079543761909008,
-0.018841516226530075,
0.03179327771067619,
0.009766016155481339,
-0.06360086798667908
] | 0.059927 |
# Workspace Memory v2 (offline): research notes Target: Clawd-style workspace (`agents.defaults.workspace`, default `~/.openclaw/workspace`) where “memory” is stored as one Markdown file per day (`memory/YYYY-MM-DD.md`) plus a small set of stable files (e.g. `memory.md`, `SOUL.md`). This doc proposes an \*\*offline-first\*\* memory architecture that keeps Markdown as the canonical, reviewable source of truth, but adds \*\*structured recall\*\* (search, entity summaries, confidence updates) via a derived index. ## Why change? The current setup (one file per day) is excellent for: - “append-only” journaling - human editing - git-backed durability + auditability - low-friction capture (“just write it down”) It’s weak for: - high-recall retrieval (“what did we decide about X?”, “last time we tried Y?”) - entity-centric answers (“tell me about Alice / The Castle / warelay”) without rereading many files - opinion/preference stability (and evidence when it changes) - time constraints (“what was true during Nov 2025?”) and conflict resolution ## Design goals - \*\*Offline\*\*: works without network; can run on laptop/Castle; no cloud dependency. - \*\*Explainable\*\*: retrieved items should be attributable (file + location) and separable from inference. - \*\*Low ceremony\*\*: daily logging stays Markdown, no heavy schema work. - \*\*Incremental\*\*: v1 is useful with FTS only; semantic/vector and graphs are optional upgrades. - \*\*Agent-friendly\*\*: makes “recall within token budgets” easy (return small bundles of facts). ## North star model (Hindsight × Letta) Two pieces to blend: 1. \*\*Letta/MemGPT-style control loop\*\* - keep a small “core” always in context (persona + key user facts) - everything else is out-of-context and retrieved via tools - memory writes are explicit tool calls (append/replace/insert), persisted, then re-injected next turn 2. \*\*Hindsight-style memory substrate\*\* - separate what’s observed vs what’s believed vs what’s summarized - support retain/recall/reflect - confidence-bearing opinions that can evolve with evidence - entity-aware retrieval + temporal queries (even without full knowledge graphs) ## Proposed architecture (Markdown source-of-truth + derived index) ### Canonical store (git-friendly) Keep `~/.openclaw/workspace` as canonical human-readable memory. Suggested workspace layout: ``` ~/.openclaw/workspace/ memory.md # small: durable facts + preferences (core-ish) memory/ YYYY-MM-DD.md # daily log (append; narrative) bank/ # “typed” memory pages (stable, reviewable) world.md # objective facts about the world experience.md # what the agent did (first-person) opinions.md # subjective prefs/judgments + confidence + evidence pointers entities/ Peter.md The-Castle.md warelay.md ... ``` Notes: - \*\*Daily log stays daily log\*\*. No need to turn it into JSON. - The `bank/` files are \*\*curated\*\*, produced by reflection jobs, and can still be edited by hand. - `memory.md` remains “small + core-ish”: the things you want Clawd to see every session. ### Derived store (machine recall) Add a derived index under the workspace (not necessarily git tracked): ``` ~/.openclaw/workspace/.memory/index.sqlite ``` Back it with: - SQLite schema for facts + entity links + opinion metadata - SQLite \*\*FTS5\*\* for lexical recall (fast, tiny, offline) - optional embeddings table for semantic recall (still offline) The index is always \*\*rebuildable from Markdown\*\*. ## Retain / Recall / Reflect (operational loop) ### Retain: normalize daily logs into “facts” Hindsight’s key insight that matters here: store \*\*narrative, self-contained facts\*\*, not tiny snippets. Practical rule for `memory/YYYY-MM-DD.md`: - at end of day (or during), add a `## Retain` section with 2–5 bullets that are: - narrative (cross-turn context preserved) - self-contained (standalone makes sense later) - tagged with type + entity mentions Example: ``` ## Retain - W @Peter: Currently in Marrakech (Nov 27–Dec 1, 2025) for Andy’s birthday. - B @warelay: I fixed the Baileys WS crash by wrapping connection.update handlers in try/catch (see memory/2025-11-27.md). - O(c=0.95) @Peter: Prefers concise replies (<1500 chars) on WhatsApp; long content goes into files. ``` Minimal parsing: - Type | https://github.com/openclaw/openclaw/blob/main//docs/experiments/research/memory.md | main | opebclaw | [
-0.06185341253876686,
0.0022692035418003798,
-0.05255093798041344,
0.09862551838159561,
0.049554262310266495,
0.05903305113315582,
-0.02974734641611576,
0.06293083727359772,
0.021039307117462158,
0.018236573785543442,
-0.029025640338659286,
0.1173701286315918,
0.013429427519440651,
-0.024558717384934425,
-0.016432154923677444,
0.0759839341044426,
-0.013205243274569511,
0.04714162275195122,
-0.038886647671461105,
0.037991274148225784,
0.059968844056129456,
0.09210256487131119,
0.06113561615347862,
0.006258520297706127,
-0.0379033200442791,
0.00811635609716177,
-0.055825985968112946,
-0.03280295059084892,
0.013652000576257706,
-0.05000811815261841,
0.019359897822141647,
0.11350324004888535,
-0.033782944083213806,
0.028195468708872795,
0.029839543625712395,
0.09477178007364273,
-0.025046270340681076,
-0.009066241793334484,
-0.01113363727927208,
-0.06820058822631836,
0.004092646297067404,
0.06858551502227783,
-0.04915459081530571,
0.03312207758426666,
0.013875806704163551,
-0.032235193997621536,
-0.008094378747045994,
-0.09060937166213989,
-0.04510492458939552,
0.04227958992123604,
-0.10233721137046814,
0.04388229548931122,
-0.03228530287742615,
0.050075460225343704,
0.023950258269906044,
0.07860511541366577,
0.01018572598695755,
0.0074303047731518745,
-0.051981378346681595,
-0.09101513773202896,
0.020663607865571976,
-0.05335013195872307,
-0.06273030489683151,
-0.06494896858930588,
-0.009248405694961548,
-0.04963231086730957,
0.03794204816222191,
-0.013397090137004852,
0.025492798537015915,
-0.030916601419448853,
-0.10438590496778488,
0.020451620221138,
-0.013046137988567352,
0.006379987578839064,
-0.02249230071902275,
0.08067645877599716,
0.01184624619781971,
0.002340625738725066,
0.013269700109958649,
-0.0928342193365097,
0.05274046212434769,
-0.009368576109409332,
0.06562439352273941,
0.019359251484274864,
-0.02066785655915737,
-0.0014336068416014314,
0.062460366636514664,
-0.03304039686918259,
0.049348242580890656,
-0.02797558903694153,
0.10550868511199951,
-0.018884316086769104,
0.08174236863851547,
-0.032506875693798065,
0.02366197668015957,
-0.05374501645565033,
0.02736719325184822,
0.0427643284201622,
0.017620723694562912,
0.06465943902730942,
0.08354257047176361,
0.11181656271219254,
0.0035497345961630344,
-0.018534786999225616,
-0.002851802622899413,
-0.012063686735928059,
0.06515071541070938,
0.026059020310640335,
-0.01087716780602932,
-0.07000041753053665,
0.051496993750333786,
0.03688120096921921,
-0.021633563563227654,
-0.035021305084228516,
0.07319799810647964,
-0.013855509459972382,
-0.012082104571163654,
-0.03700641170144081,
0.07500308752059937,
0.06901975721120834,
0.05573401600122452,
-0.04551772400736809,
0.03860946744680405,
-0.02085999771952629,
-0.04111158475279808,
-0.028421731665730476,
-0.06419885903596878,
3.488421647413191e-33,
0.10207019001245499,
-0.025912676006555557,
-0.04672739654779434,
0.018581895157694817,
0.027343222871422768,
-0.027618853375315666,
-0.05067940801382065,
0.029267288744449615,
-0.07414579391479492,
-0.0036948728375136852,
0.007890206761658192,
0.03347418084740639,
-0.027852939441800117,
0.09477569907903671,
0.0470631942152977,
-0.02206248603761196,
-0.048339515924453735,
0.08052749186754227,
0.04835109785199165,
0.03703777492046356,
-0.023567983880639076,
0.035735975950956345,
0.023915646597743034,
-0.06939290463924408,
0.018513476476073265,
-0.002956583397462964,
-0.010454628616571426,
-0.07717883586883545,
0.0025997108314186335,
-0.009296173229813576,
-0.024285251274704933,
-0.05250434949994087,
0.014383445493876934,
-0.034117504954338074,
0.005609197076410055,
0.09457976371049881,
-0.10748503357172012,
-0.08505645394325256,
-0.009650672785937786,
-0.11213824898004532,
0.041963234543800354,
0.06984956562519073,
0.07489163428544998,
-0.08226674050092697,
-0.05261590704321861,
-0.06552863121032715,
0.011294352822005749,
-0.07214807718992233,
0.005522828549146652,
-0.01137444656342268,
0.014907214790582657,
0.02173505537211895,
-0.04217464476823807,
0.012551368214190006,
-0.01750810816884041,
0.0037027187645435333,
-0.004833803977817297,
-0.008083946071565151,
0.06777822971343994,
0.12237311154603958,
-0.04154837131500244,
0.0037856537383049726,
0.05034712329506874,
0.06493327021598816,
0.004836666397750378,
0.03318663313984871,
0.020392943173646927,
0.05812327191233635,
0.014494414441287518,
0.025313539430499077,
-0.03209273889660835,
-0.019607344642281532,
0.02301069349050522,
-0.01832866668701172,
0.028832515701651573,
-0.08586998283863068,
0.014895251952111721,
-0.09282443672418594,
-0.03916214406490326,
-0.05701078847050667,
0.052502937614917755,
-0.007047796621918678,
-0.011667527258396149,
-0.06121327355504036,
0.014623763039708138,
-0.07904034107923508,
0.013490775600075722,
-0.08922897279262543,
-0.06286578625440598,
-0.011838557198643684,
0.044392019510269165,
-0.03641949221491814,
-0.009290632791817188,
0.014154684729874134,
-0.08132320642471313,
-4.466841798926229e-33,
0.008963081985712051,
-0.10080355405807495,
-0.04595224931836128,
0.0242377407848835,
-0.0887594148516655,
-0.03279190510511398,
-0.027957532554864883,
-0.03861439228057861,
-0.03787461668252945,
-0.020054170861840248,
-0.012069190852344036,
-0.026359301060438156,
0.019305715337395668,
-0.016330648213624954,
-0.03407188504934311,
-0.038958609104156494,
-0.01622435636818409,
-0.12001398950815201,
-0.022009270265698433,
0.05562824755907059,
0.001239317818544805,
0.0012038586428388953,
0.0199920441955328,
0.09835256636142731,
-0.01133618876338005,
0.05690933018922806,
-0.0113428495824337,
0.0008634646655991673,
-0.013997144065797329,
-0.04117337241768837,
-0.026987656950950623,
-0.02175799198448658,
-0.07688652724027634,
-0.0255589596927166,
-0.029868846759200096,
-0.00004690554487751797,
-0.07597944885492325,
0.008674616925418377,
-0.025012632831931114,
0.06695319712162018,
0.06956500560045242,
0.10898434370756149,
-0.047337669879198074,
-0.05088747665286064,
0.018092747777700424,
0.03778237849473953,
-0.11523869633674622,
0.1060076579451561,
0.04028463736176491,
0.00894942507147789,
0.008264736272394657,
-0.04000081494450569,
-0.0016463273204863071,
0.0015710241859778762,
-0.0010990859009325504,
-0.03191785886883736,
-0.01361018791794777,
-0.06913195550441742,
-0.11243737488985062,
0.03634009137749672,
-0.0018316629575565457,
0.04201502352952957,
-0.10827692598104477,
-0.017140567302703857,
0.02109382674098015,
-0.024996191263198853,
0.04264378175139427,
-0.005341758485883474,
-0.12083547562360764,
0.014455614611506462,
0.006559920497238636,
-0.04595751315355301,
-0.0160361360758543,
-0.050551313906908035,
0.009408398531377316,
0.03230813518166542,
0.07672480493783951,
-0.07557065039873123,
-0.00383113999851048,
-0.0029300402384251356,
-0.08702731877565384,
0.004773572087287903,
0.04107895866036415,
0.07980988919734955,
0.026955995708703995,
0.03752291575074196,
-0.07897011935710907,
0.11037371307611465,
-0.05255234241485596,
0.020908670499920845,
-0.013969352468848228,
-0.034818124026060104,
-0.025267599150538445,
0.04490141570568085,
0.003974268212914467,
-5.87422910314217e-8,
-0.07940729707479477,
-0.01626736856997013,
0.015998035669326782,
-0.01397920586168766,
0.0188567116856575,
-0.11046498268842697,
-0.0059073008596897125,
0.09805362671613693,
0.0025192066095769405,
-0.017349477857351303,
0.07927294075489044,
-0.07277023792266846,
-0.1503756046295166,
-0.04502555727958679,
-0.00025597886997275054,
0.07713228464126587,
0.00633915513753891,
0.03947563096880913,
-0.043020665645599365,
-0.041525185108184814,
-0.006398987490683794,
-0.02807399444282055,
0.012374313548207283,
0.02617926523089409,
0.054254427552223206,
0.014869371429085732,
0.09198877960443497,
0.10915843397378922,
0.030812891200184822,
0.0750521793961525,
0.07498382031917572,
0.019098591059446335,
0.008016670122742653,
-0.0036069124471396208,
0.059164028614759445,
0.002964035142213106,
0.05459203943610191,
0.02278389036655426,
0.034792210906744,
0.06304539740085602,
0.030397707596421242,
-0.003690080251544714,
-0.0020907858852297068,
0.018060561269521713,
0.006162584759294987,
-0.07647405564785004,
-0.12521885335445404,
0.010267596691846848,
0.028331872075796127,
-0.08608806878328323,
-0.033694472163915634,
0.0038378657773137093,
0.028459077700972557,
0.08160223066806793,
0.07323041558265686,
0.03608717396855354,
0.04661678150296211,
0.011712221428751945,
0.0474587120115757,
0.009948566555976868,
0.0860276147723198,
-0.07084999978542328,
-0.04502236470580101,
0.02476266212761402
] | 0.132429 |
- W @Peter: Currently in Marrakech (Nov 27–Dec 1, 2025) for Andy’s birthday. - B @warelay: I fixed the Baileys WS crash by wrapping connection.update handlers in try/catch (see memory/2025-11-27.md). - O(c=0.95) @Peter: Prefers concise replies (<1500 chars) on WhatsApp; long content goes into files. ``` Minimal parsing: - Type prefix: `W` (world), `B` (experience/biographical), `O` (opinion), `S` (observation/summary; usually generated) - Entities: `@Peter`, `@warelay`, etc (slugs map to `bank/entities/\*.md`) - Opinion confidence: `O(c=0.0..1.0)` optional If you don’t want authors to think about it: the reflect job can infer these bullets from the rest of the log, but having an explicit `## Retain` section is the easiest “quality lever”. ### Recall: queries over the derived index Recall should support: - \*\*lexical\*\*: “find exact terms / names / commands” (FTS5) - \*\*entity\*\*: “tell me about X” (entity pages + entity-linked facts) - \*\*temporal\*\*: “what happened around Nov 27” / “since last week” - \*\*opinion\*\*: “what does Peter prefer?” (with confidence + evidence) Return format should be agent-friendly and cite sources: - `kind` (`world|experience|opinion|observation`) - `timestamp` (source day, or extracted time range if present) - `entities` (`["Peter","warelay"]`) - `content` (the narrative fact) - `source` (`memory/2025-11-27.md#L12` etc) ### Reflect: produce stable pages + update beliefs Reflection is a scheduled job (daily or heartbeat `ultrathink`) that: - updates `bank/entities/\*.md` from recent facts (entity summaries) - updates `bank/opinions.md` confidence based on reinforcement/contradiction - optionally proposes edits to `memory.md` (“core-ish” durable facts) Opinion evolution (simple, explainable): - each opinion has: - statement - confidence `c ∈ [0,1]` - last\_updated - evidence links (supporting + contradicting fact IDs) - when new facts arrive: - find candidate opinions by entity overlap + similarity (FTS first, embeddings later) - update confidence by small deltas; big jumps require strong contradiction + repeated evidence ## CLI integration: standalone vs deep integration Recommendation: \*\*deep integration in OpenClaw\*\*, but keep a separable core library. ### Why integrate into OpenClaw? - OpenClaw already knows: - the workspace path (`agents.defaults.workspace`) - the session model + heartbeats - logging + troubleshooting patterns - You want the agent itself to call the tools: - `openclaw memory recall "…" --k 25 --since 30d` - `openclaw memory reflect --since 7d` ### Why still split a library? - keep memory logic testable without gateway/runtime - reuse from other contexts (local scripts, future desktop app, etc.) Shape: The memory tooling is intended to be a small CLI + library layer, but this is exploratory only. ## “S-Collide” / SuCo: when to use it (research) If “S-Collide” refers to \*\*SuCo (Subspace Collision)\*\*: it’s an ANN retrieval approach that targets strong recall/latency tradeoffs by using learned/structured collisions in subspaces (paper: arXiv 2411.14754, 2024). Pragmatic take for `~/.openclaw/workspace`: - \*\*don’t start\*\* with SuCo. - start with SQLite FTS + (optional) simple embeddings; you’ll get most UX wins immediately. - consider SuCo/HNSW/ScaNN-class solutions only once: - corpus is big (tens/hundreds of thousands of chunks) - brute-force embedding search becomes too slow - recall quality is meaningfully bottlenecked by lexical search Offline-friendly alternatives (in increasing complexity): - SQLite FTS5 + metadata filters (zero ML) - Embeddings + brute force (works surprisingly far if chunk count is low) - HNSW index (common, robust; needs a library binding) - SuCo (research-grade; attractive if there’s a solid implementation you can embed) Open question: - what’s the \*\*best\*\* offline embedding model for “personal assistant memory” on your machines (laptop + desktop)? - if you already have Ollama: embed with a local model; otherwise ship a small embedding model in the toolchain. ## Smallest useful pilot If you want a minimal, still-useful version: - Add `bank/` entity pages and a `## | https://github.com/openclaw/openclaw/blob/main//docs/experiments/research/memory.md | main | opebclaw | [
-0.08179530501365662,
0.0429006889462471,
-0.005853682290762663,
0.040721479803323746,
-0.01891755685210228,
-0.03589259833097458,
0.05601315572857857,
0.00465929601341486,
-0.021403897553682327,
0.014028261415660381,
0.011939258314669132,
-0.00956259947270155,
0.05655235797166824,
-0.04175218939781189,
-0.057954177260398865,
0.10018698126077652,
-0.036688949912786484,
-0.07002560049295425,
-0.06336796283721924,
-0.02135453373193741,
-0.041147444397211075,
0.0815906971693039,
0.033206332474946976,
-0.004098000470548868,
-0.012386470101773739,
0.05314260721206665,
-0.06398937106132507,
0.02331371419131756,
-0.03211209550499916,
-0.03433246910572052,
0.028540829196572304,
0.07703589648008347,
-0.010149934329092503,
0.04938537999987602,
0.03703823313117027,
0.1064755991101265,
0.025296492502093315,
0.027503490447998047,
0.038199860602617264,
-0.02691037952899933,
-0.057959821075201035,
-0.015702281147241592,
-0.029238536953926086,
0.08346288651227951,
-0.01664668321609497,
-0.0609063059091568,
-0.03804059326648712,
0.018101653084158897,
-0.06197350472211838,
0.090562604367733,
-0.1439007967710495,
-0.0397929847240448,
0.017331695184111595,
0.06665538996458054,
0.045901402831077576,
0.05552264302968979,
-0.08319263160228729,
0.04865365847945213,
-0.07587144523859024,
-0.08819236606359482,
-0.07250044494867325,
-0.019634593278169632,
-0.034283723682165146,
-0.02438516728579998,
0.012983465567231178,
-0.010714464820921421,
-0.042797669768333435,
0.033249642699956894,
-0.01633436046540737,
0.014922807924449444,
-0.09112974256277084,
-0.042624298483133316,
-0.10409189760684967,
0.06257320940494537,
-0.026326501742005348,
0.08145294338464737,
-0.01577492617070675,
-0.019681626930832863,
-0.05061572045087814,
-0.06989530473947525,
-0.0434744767844677,
-0.055674389004707336,
0.0009378513786941767,
0.05512575805187225,
0.03762810677289963,
0.006081402767449617,
0.016238229349255562,
-0.029452582821249962,
0.005638858303427696,
-0.0054780226200819016,
0.008962608873844147,
-0.1567506045103073,
0.08586198836565018,
0.05088426545262337,
0.022070350125432014,
0.08022061735391617,
0.04167822375893593,
0.025252822786569595,
-0.014036203734576702,
0.10519444197416306,
0.03475100174546242,
0.07421287894248962,
0.011758238077163696,
-0.07920210063457489,
-0.0437697172164917,
-0.009659145027399063,
-0.03361279144883156,
0.10217206925153732,
-0.01347305253148079,
-0.0751219168305397,
-0.0026593361981213093,
0.05848272144794464,
-0.03939580172300339,
-0.04814402759075165,
0.08312389254570007,
-0.04261937364935875,
-0.02600977011024952,
-0.0003376308304723352,
-0.009781816974282265,
0.015385887585580349,
0.06998522579669952,
0.080245740711689,
-0.041680872440338135,
0.03779395669698715,
-0.05385931581258774,
0.03439515084028244,
0.08078058809041977,
5.434091815370579e-33,
0.10515860468149185,
0.07147186994552612,
-0.039220765233039856,
0.06743314862251282,
-0.011333759874105453,
0.0006799822440370917,
-0.049846261739730835,
-0.017997480928897858,
-0.10620758682489395,
0.019245531409978867,
-0.040172040462493896,
-0.013840910978615284,
-0.045556504279375076,
-0.12052741646766663,
0.028196310624480247,
0.036642275750637054,
-0.03240182250738144,
0.08363744616508484,
0.01256988663226366,
0.0789220929145813,
0.010277634486556053,
0.020122818648815155,
-0.05043590068817139,
-0.04472478851675987,
0.07714233547449112,
0.06559556722640991,
0.08100619167089462,
-0.06244288384914398,
0.015770675614476204,
0.017841670662164688,
0.03644222021102905,
-0.004928580950945616,
0.00535389082506299,
-0.06078639253973961,
0.019265688955783844,
-0.020172668620944023,
-0.09508118033409119,
-0.04115332290530205,
-0.052916210144758224,
-0.03264433145523071,
-0.013643321581184864,
0.04311384633183479,
0.002379010897129774,
0.052078139036893845,
-0.010634337551891804,
-0.02561471052467823,
-0.0066632432863116264,
0.036073338240385056,
0.029563281685113907,
0.01812392845749855,
0.03403780981898308,
-0.05320525914430618,
0.010777049697935581,
0.06730267405509949,
-0.041814327239990234,
0.00011474677739897743,
0.04423617944121361,
0.03802490234375,
0.04493626207113266,
0.027250081300735474,
0.050844576209783554,
0.015371214598417282,
0.010160261765122414,
-0.01757602021098137,
0.03488733246922493,
-0.025332055985927582,
-0.0257257129997015,
0.06163866072893143,
-0.047039732336997986,
0.07388470321893692,
-0.06342259794473648,
0.03139569237828255,
0.030630502849817276,
0.01267656497657299,
-0.03373418748378754,
-0.04863586276769638,
0.008173230104148388,
-0.0033854825887829065,
-0.01617538556456566,
-0.005644670687615871,
0.030368082225322723,
0.0008236353751271963,
-0.03325529769062996,
-0.03212100639939308,
-0.0023900000378489494,
-0.06927728652954102,
0.06756464391946793,
-0.11071380972862244,
-0.1181829571723938,
-0.0034486623480916023,
-0.035304464399814606,
0.06123531982302666,
-0.013771852478384972,
-0.018748780712485313,
-0.054337333887815475,
-5.915072512316381e-33,
0.0003353385836817324,
-0.08096069097518921,
0.020979827269911766,
0.04150336608290672,
-0.08300844579935074,
-0.09531717747449875,
0.018186356872320175,
-0.004641779698431492,
0.04912659525871277,
-0.051563359797000885,
-0.04365427419543266,
0.028247682377696037,
-0.0002620734740048647,
-0.02500966005027294,
-0.001448771683499217,
-0.007936542853713036,
0.0026053376495838165,
-0.033759523183107376,
-0.04485136643052101,
0.0412711538374424,
0.04634609445929527,
0.04299989715218544,
-0.004777151625603437,
0.07120675593614578,
0.02142527885735035,
0.053328365087509155,
0.08191897720098495,
-0.04392298683524132,
-0.013694385066628456,
-0.041880346834659576,
-0.008107730187475681,
-0.012400300242006779,
-0.08313718438148499,
-0.023205839097499847,
-0.026996750384569168,
-0.03313543647527695,
-0.0095289908349514,
0.011075519025325775,
-0.0114271966740489,
0.014808572828769684,
0.10299690812826157,
0.06755928695201874,
-0.10811644792556763,
0.012992914766073227,
-0.0041366321966052055,
-0.03104024939239025,
-0.08911976963281631,
0.02348175086081028,
0.002868135692551732,
0.032115668058395386,
-0.004955565556883812,
-0.016003640368580818,
-0.01248179655522108,
0.08209699392318726,
0.02029748074710369,
-0.021256668493151665,
-0.02743406593799591,
-0.0848260447382927,
-0.024458514526486397,
-0.06062434986233711,
-0.10382673889398575,
0.0880800262093544,
-0.008205059915781021,
0.029671255499124527,
0.029853742569684982,
-0.09456019848585129,
-0.018227001652121544,
-0.06673803180456161,
-0.014668900519609451,
-0.05428459495306015,
0.04380947723984718,
-0.08286195248365402,
-0.04363404959440231,
-0.038389597088098526,
0.1284468173980713,
0.0008410504087805748,
-0.02427448332309723,
-0.05886280536651611,
-0.029897157102823257,
0.08379502594470978,
-0.057149335741996765,
0.07886486500501633,
0.04797935113310814,
0.07352951169013977,
0.07307957857847214,
0.015215136110782623,
0.007259232923388481,
0.06704304367303848,
-0.008899534121155739,
-0.04163746163249016,
0.04126783460378647,
0.020414691418409348,
0.028391342610120773,
0.005162910558283329,
-0.049661628901958466,
-7.810439228705945e-8,
-0.14106778800487518,
-0.00959879718720913,
-0.07758588343858719,
0.08383874595165253,
0.043620821088552475,
-0.03829306736588478,
-0.051780782639980316,
0.0351303331553936,
-0.019684772938489914,
-0.011224777437746525,
0.0742696076631546,
0.018397510051727295,
-0.17680305242538452,
-0.05376718193292618,
0.05264165624976158,
-0.07452704757452011,
-0.053520359098911285,
-0.0003722485853359103,
-0.08142963796854019,
-0.03115209750831127,
0.04455715790390968,
0.016124365851283073,
0.04972857981920242,
0.007338075898587704,
-0.0027312522288411856,
-0.01180183794349432,
0.08561132103204727,
0.010670901276171207,
-0.04597387835383415,
-0.0048906235024333,
0.01662505976855755,
-0.010089796036481857,
0.004003902897238731,
-0.018950236961245537,
-0.011719929985702038,
0.03708010911941528,
0.05380410701036453,
-0.0063190581277012825,
0.007653250824660063,
0.05521359667181969,
0.04760617017745972,
0.013309008441865444,
-0.0003672534367069602,
0.043574366718530655,
0.05760723352432251,
-0.03213947266340256,
0.004068384878337383,
0.034650471061468124,
0.07629576325416565,
-0.03138798847794533,
0.017604412510991096,
-0.05889943242073059,
0.025580961257219315,
0.03364479914307594,
0.018740525469183922,
0.055388011038303375,
0.10981052368879318,
-0.033586207777261734,
0.014203849248588085,
-0.008943875320255756,
0.10428056865930557,
0.005150442477315664,
0.04232960194349289,
0.019526485353708267
] | 0.034075 |
model for “personal assistant memory” on your machines (laptop + desktop)? - if you already have Ollama: embed with a local model; otherwise ship a small embedding model in the toolchain. ## Smallest useful pilot If you want a minimal, still-useful version: - Add `bank/` entity pages and a `## Retain` section in daily logs. - Use SQLite FTS for recall with citations (path + line numbers). - Add embeddings only if recall quality or scale demands it. ## References - Letta / MemGPT concepts: “core memory blocks” + “archival memory” + tool-driven self-editing memory. - Hindsight Technical Report: “retain / recall / reflect”, four-network memory, narrative fact extraction, opinion confidence evolution. - SuCo: arXiv 2411.14754 (2024): “Subspace Collision” approximate nearest neighbor retrieval. | https://github.com/openclaw/openclaw/blob/main//docs/experiments/research/memory.md | main | opebclaw | [
-0.016065122559666634,
-0.05894550308585167,
-0.10706628113985062,
0.025320222601294518,
-0.014473452232778072,
0.06481859087944031,
-0.03338101506233215,
0.06984344869852066,
0.006607095245271921,
-0.013462316244840622,
0.02585209347307682,
0.08427520841360092,
0.03650164604187012,
-0.006585178431123495,
-0.050356630235910416,
0.06922655552625656,
0.05212908983230591,
0.005785638466477394,
-0.02047911286354065,
-0.008767534978687763,
0.02090887725353241,
0.054672375321388245,
0.08170109242200851,
0.027205904945731163,
-0.010547366924583912,
-0.007377119269222021,
0.025657646358013153,
-0.030197130516171455,
-0.013130605220794678,
-0.10090071707963943,
0.042885731905698776,
0.030653120949864388,
-0.023112663999199867,
0.06023089960217476,
0.0520821139216423,
0.06340628862380981,
-0.038425952196121216,
0.0317549891769886,
-0.02535848505795002,
-0.09879462420940399,
-0.034100987017154694,
-0.001124929403886199,
-0.027226772159337997,
0.020838048309087753,
0.0697721466422081,
-0.026098493486642838,
-0.05497588589787483,
-0.007402830291539431,
-0.028666431084275246,
0.05767573043704033,
-0.052755724638700485,
-0.009980465285480022,
-0.024260444566607475,
0.043362412601709366,
-0.004192010965198278,
0.03744044527411461,
0.036264605820178986,
-0.054208748042583466,
-0.08446510881185532,
-0.02297636866569519,
0.01636497676372528,
-0.0661824643611908,
-0.04573546350002289,
-0.03707389533519745,
-0.04296376183629036,
-0.0022745581809431314,
0.048313483595848083,
0.08041561394929886,
0.027719367295503616,
-0.0148941520601511,
-0.037922732532024384,
0.006564909592270851,
-0.07238548249006271,
0.04443630576133728,
0.008263307623565197,
0.03852708637714386,
0.020100250840187073,
-0.054912131279706955,
0.03398614749312401,
-0.05876479297876358,
-0.05732092261314392,
0.03274725377559662,
0.019084731116890907,
0.01675027422606945,
0.04539120942354202,
-0.01689775101840496,
0.06710012257099152,
0.012462660670280457,
0.04634808748960495,
-0.012263285927474499,
0.06495598703622818,
-0.04408075287938118,
0.07114259898662567,
-0.11095505952835083,
0.07026411592960358,
-0.051328275352716446,
0.06510178744792938,
-0.03419801965355873,
-0.01380633283406496,
0.02722952887415886,
0.07771709561347961,
0.12482272833585739,
-0.012232144363224506,
0.020504944026470184,
-0.02345759980380535,
0.014037891291081905,
0.06401140987873077,
0.02036784403026104,
0.00976955983787775,
-0.05562786012887955,
-0.03166183829307556,
-0.026883406564593315,
-0.0921657532453537,
0.021853281185030937,
0.07401998341083527,
-0.0673617422580719,
0.01743704453110695,
-0.04308844730257988,
-0.016598118469119072,
0.023716099560260773,
-0.057807065546512604,
0.0186692476272583,
0.014331318438053131,
0.01667976565659046,
-0.0035552007611840963,
0.01208864338696003,
-0.049620624631643295,
3.656368566077002e-33,
0.08521139621734619,
0.053813617676496506,
-0.07496736943721771,
0.0005946093588136137,
0.060150377452373505,
-0.0004401319019962102,
-0.06772404909133911,
0.03945076838135719,
-0.07118525356054306,
-0.03271765261888504,
-0.002166275167837739,
0.062424469739198685,
0.003311030799522996,
0.06368599086999893,
0.02890612557530403,
0.006846525706350803,
-0.06582161784172058,
0.07463723421096802,
0.019364498555660248,
0.020860236138105392,
0.013692369684576988,
0.0005964319570921361,
0.018081679940223694,
-0.06154820695519447,
0.05046071857213974,
-0.024327119812369347,
0.0028188249561935663,
0.017522407695651054,
0.01326464768499136,
0.005951649509370327,
-0.02972579002380371,
-0.016476577147841454,
-0.025713467970490456,
-0.0520346499979496,
0.04317263513803482,
0.016351820901036263,
-0.024463649839162827,
-0.11222852021455765,
0.03765367344021797,
-0.09198015928268433,
-0.015955083072185516,
0.06662686169147491,
0.02535076066851616,
-0.12438701093196869,
-0.09720923006534576,
-0.0541762039065361,
0.05343135446310043,
0.02449372410774231,
0.0038665826432406902,
0.010887921787798405,
-0.013802922330796719,
-0.002750392770394683,
-0.1003299206495285,
-0.033932819962501526,
-0.0866667777299881,
-0.02651633881032467,
0.03250550478696823,
-0.003432348370552063,
0.12936903536319733,
0.05439149960875511,
0.06041759252548218,
0.0459386482834816,
0.05250183492898941,
0.034968141466379166,
0.05713222920894623,
0.003201067680492997,
-0.016221603378653526,
0.07303279638290405,
0.07748840004205704,
0.013742546550929546,
-0.007297670468688011,
-0.06265758723020554,
-0.005253838840872049,
0.002420632867142558,
0.0021578148007392883,
-0.032991111278533936,
0.008134441450238228,
-0.07325142621994019,
-0.07830369472503662,
0.002487938152626157,
0.00644910242408514,
-0.08280323445796967,
-0.03295501694083214,
-0.03579815849661827,
-0.02356928214430809,
-0.05657554790377617,
0.09895719587802887,
-0.09556800872087479,
-0.01496658194810152,
0.05093187838792801,
0.0351448580622673,
0.011150816455483437,
0.01189691573381424,
0.05063505843281746,
-0.08944007754325867,
-3.4667069606756414e-33,
0.0205976739525795,
-0.06558480113744736,
0.04858691245317459,
0.018792448565363884,
0.031643375754356384,
-0.0620100311934948,
-0.01234960462898016,
-0.00114922015927732,
-0.09019811451435089,
-0.11331780254840851,
-0.06740739196538925,
-0.00633856700733304,
0.07371680438518524,
-0.01911485195159912,
0.04135899618268013,
0.015707219019532204,
-0.018465319648385048,
-0.10114014893770218,
-0.0034765431191772223,
0.02973157912492752,
-0.013235791586339474,
-0.012270315550267696,
0.03497868776321411,
0.031101299449801445,
0.007008835673332214,
0.06799791753292084,
-0.010139631107449532,
-0.08797580748796463,
-0.0592721663415432,
-0.08559700101613998,
-0.07011694461107254,
-0.0037276616785675287,
-0.015328474342823029,
-0.02152566984295845,
-0.03402109071612358,
-0.02519817277789116,
0.06382088363170624,
-0.04371907189488411,
-0.03608109429478645,
0.012277678586542606,
0.08347988873720169,
0.08369385451078415,
-0.09037693589925766,
-0.034740034490823746,
-0.013096485286951065,
-0.01941925846040249,
-0.14934028685092926,
0.08756575733423233,
0.011806514114141464,
-0.006821370217949152,
-0.014651378616690636,
0.021948279812932014,
-0.04837065190076828,
-0.01391369104385376,
0.015784213319420815,
-0.028316844254732132,
0.04451644793152809,
-0.07320850342512131,
0.08405672758817673,
-0.028300002217292786,
-0.05116663873195648,
-0.009487662464380264,
-0.06784004718065262,
-0.02386426366865635,
0.035565122961997986,
-0.07501857727766037,
0.04892070218920708,
0.0536930225789547,
-0.14652879536151886,
0.029660148546099663,
0.028941458091139793,
0.03972718119621277,
0.02838037721812725,
-0.025352030992507935,
0.02215941809117794,
-0.023828646168112755,
-0.005410670302808285,
-0.049539584666490555,
0.0008944275905378163,
-0.04168401658535004,
-0.04414999112486839,
0.04009483382105827,
0.05286894366145134,
0.03493814915418625,
-0.01110380981117487,
0.07604599744081497,
0.02151392214000225,
0.06300339847803116,
-0.04906225576996803,
0.015170658938586712,
-0.07236450165510178,
-0.015592288225889206,
0.006341784261167049,
0.07873056828975677,
-0.05217628926038742,
-4.9840551241686626e-8,
-0.11113700270652771,
0.004256449174135923,
0.07540682703256607,
0.07923030108213425,
0.03448856994509697,
-0.13450120389461517,
0.005076625384390354,
0.12403188645839691,
0.016173334792256355,
0.02337806671857834,
0.07023768126964569,
-0.01173587329685688,
-0.07637202739715576,
-0.008102849125862122,
0.03800885006785393,
0.041205063462257385,
0.08931504935026169,
0.018306562677025795,
-0.007762385066598654,
-0.006547956727445126,
0.032209284603595734,
0.03916473314166069,
0.0674440860748291,
0.013135246001183987,
0.05430447310209274,
0.009237934835255146,
-0.0010698529658839107,
0.13824503123760223,
0.04439070448279381,
0.02319359965622425,
0.018091363832354546,
0.04982093721628189,
0.0413307286798954,
-0.08991134166717529,
0.03950711339712143,
0.014838842675089836,
0.0534730963408947,
0.012572279199957848,
-0.04141256958246231,
0.015109348110854626,
0.017211461439728737,
-0.020236192271113396,
-0.0005271354457363486,
0.037236858159303665,
0.09223410487174988,
0.010478387586772442,
-0.015441831201314926,
-0.12170648574829102,
-0.0006591437850147486,
-0.035890497267246246,
-0.0007267628679983318,
-0.038128580898046494,
0.10324621200561523,
0.10527905076742172,
0.026387039572000504,
0.01652076654136181,
0.02525249868631363,
-0.03786231577396393,
0.06082840636372566,
-0.02203192748129368,
0.11164084821939468,
-0.010553453117609024,
-0.036603547632694244,
0.04586144536733627
] | 0.144306 |
# Cron Add Hardening & Schema Alignment ## Context Recent gateway logs show repeated `cron.add` failures with invalid parameters (missing `sessionTarget`, `wakeMode`, `payload`, and malformed `schedule`). This indicates that at least one client (likely the agent tool call path) is sending wrapped or partially specified job payloads. Separately, there is drift between cron provider enums in TypeScript, gateway schema, CLI flags, and UI form types, plus a UI mismatch for `cron.status` (expects `jobCount` while gateway returns `jobs`). ## Goals - Stop `cron.add` INVALID\_REQUEST spam by normalizing common wrapper payloads and inferring missing `kind` fields. - Align cron provider lists across gateway schema, cron types, CLI docs, and UI forms. - Make agent cron tool schema explicit so the LLM produces correct job payloads. - Fix the Control UI cron status job count display. - Add tests to cover normalization and tool behavior. ## Non-goals - Change cron scheduling semantics or job execution behavior. - Add new schedule kinds or cron expression parsing. - Overhaul the UI/UX for cron beyond the necessary field fixes. ## Findings (current gaps) - `CronPayloadSchema` in gateway excludes `signal` + `imessage`, while TS types include them. - Control UI CronStatus expects `jobCount`, but gateway returns `jobs`. - Agent cron tool schema allows arbitrary `job` objects, enabling malformed inputs. - Gateway strictly validates `cron.add` with no normalization, so wrapped payloads fail. ## What changed - `cron.add` and `cron.update` now normalize common wrapper shapes and infer missing `kind` fields. - Agent cron tool schema matches the gateway schema, which reduces invalid payloads. - Provider enums are aligned across gateway, CLI, UI, and macOS picker. - Control UI uses the gateway’s `jobs` count field for status. ## Current behavior - \*\*Normalization:\*\* wrapped `data`/`job` payloads are unwrapped; `schedule.kind` and `payload.kind` are inferred when safe. - \*\*Defaults:\*\* safe defaults are applied for `wakeMode` and `sessionTarget` when missing. - \*\*Providers:\*\* Discord/Slack/Signal/iMessage are now consistently surfaced across CLI/UI. See [Cron jobs](/automation/cron-jobs) for the normalized shape and examples. ## Verification - Watch gateway logs for reduced `cron.add` INVALID\_REQUEST errors. - Confirm Control UI cron status shows job count after refresh. ## Optional Follow-ups - Manual Control UI smoke: add a cron job per provider + verify status job count. ## Open Questions - Should `cron.add` accept explicit `state` from clients (currently disallowed by schema)? - Should we allow `webchat` as an explicit delivery provider (currently filtered in delivery resolution)? | https://github.com/openclaw/openclaw/blob/main//docs/experiments/plans/cron-add-hardening.md | main | opebclaw | [
-0.11478212475776672,
-0.022056033834815025,
-0.03549733757972717,
0.03398050367832184,
-0.029303042218089104,
-0.010265456512570381,
0.002230846555903554,
-0.0035960536915808916,
-0.02989577315747738,
-0.03670124337077141,
-0.01795172691345215,
-0.10248205810785294,
-0.00023082112602423877,
0.026119263842701912,
0.01598353683948517,
0.0220665093511343,
0.009418842382729053,
-0.0901092141866684,
-0.015598294325172901,
-0.06456643342971802,
-0.01498657837510109,
0.019948523491621017,
-0.011594513431191444,
0.08701204508543015,
-0.09409193694591522,
-0.06183025985956192,
0.013998366892337799,
-0.0032505164854228497,
-0.022011006250977516,
0.052440520375967026,
-0.00039279396878555417,
0.03151056542992592,
-0.1079871729016304,
0.04816191643476486,
0.10726423561573029,
0.10894265025854111,
0.06600798666477203,
0.0077231028117239475,
0.07301758229732513,
-0.025174211710691452,
0.0616164468228817,
-0.01099641714245081,
0.00275938818231225,
-0.05925796926021576,
0.07821107655763626,
-0.0702747106552124,
-0.02610139176249504,
-0.030500119552016258,
-0.04663798585534096,
0.016802683472633362,
-0.0031326357275247574,
0.018983017653226852,
-0.0017292597331106663,
0.07236072421073914,
0.0811879113316536,
0.09075812250375748,
-0.024190707132220268,
0.06196596100926399,
0.10542677342891693,
-0.04402732476592064,
-0.05694759264588356,
-0.01789010502398014,
0.03337104991078377,
0.0017011640593409538,
-0.07582572847604752,
0.023912742733955383,
-0.10100063681602478,
-0.023045839741826057,
-0.005475602578371763,
0.03905706852674484,
-0.05245453491806984,
-0.030422650277614594,
-0.11601726710796356,
-0.052460771054029465,
0.024539081379771233,
0.011618209071457386,
-0.010880311019718647,
-0.04140301048755646,
-0.10089579224586487,
-0.11190581321716309,
-0.046598680317401886,
-0.027250919491052628,
-0.0005598842399194837,
0.051538195461034775,
0.020354794338345528,
0.017626825720071793,
0.07599937915802002,
-0.004381347447633743,
0.13309255242347717,
0.026545116677880287,
0.059847522526979446,
0.02867797203361988,
0.008743149228394032,
-0.005894482601433992,
0.05036496743559837,
0.08002366125583649,
-0.02604205161333084,
-0.03691357746720314,
-0.013553651981055737,
0.056198909878730774,
0.01322992704808712,
0.002742973854765296,
0.037762876600027084,
0.009761575609445572,
0.0540180504322052,
0.06243252754211426,
0.00146019016392529,
0.08312902599573135,
-0.025262052193284035,
0.012306947261095047,
0.013598589226603508,
0.05148303881287575,
0.04892488569021225,
-0.03403151035308838,
0.048238787800073624,
0.063452810049057,
-0.021823400631546974,
0.055470261722803116,
-0.029885824769735336,
0.056023627519607544,
0.037322599440813065,
0.012456967495381832,
-0.07372725009918213,
-0.11492501199245453,
0.094758540391922,
0.034428101032972336,
0.048918869346380234,
7.572242203777409e-33,
-0.0682573989033699,
0.014225425198674202,
-0.0435614176094532,
0.039216600358486176,
0.019020168110728264,
-0.02903195656836033,
0.039951667189598083,
0.11791180819272995,
0.01647612825036049,
-0.06621403247117996,
-0.06147904694080353,
0.024391084909439087,
-0.05628019943833351,
0.014060662128031254,
-0.06935723125934601,
-0.06909216195344925,
0.04384259879589081,
0.016084864735603333,
0.0100631695240736,
0.0006166513194330037,
0.04075867310166359,
-0.05254983901977539,
-0.032104186713695526,
-0.026676153764128685,
0.026929378509521484,
-0.030258944258093834,
-0.0030358475632965565,
0.054298900067806244,
-0.07890605181455612,
-0.007972808554768562,
0.04767288640141487,
0.0921638086438179,
0.038276299834251404,
0.05758247151970863,
-0.052301809191703796,
-0.003873065346851945,
-0.049688804894685745,
-0.02481118217110634,
-0.06866494566202164,
0.02431091107428074,
-0.04376225546002388,
0.0356004573404789,
-0.09038577228784561,
-0.05901174992322922,
0.055495720356702805,
-0.11591709405183792,
-0.002897498197853565,
0.00015582912601530552,
0.08664707839488983,
-0.0018748840084299445,
-0.03224673867225647,
0.07968819886445999,
0.061939213424921036,
-0.02377333492040634,
-0.017828525975346565,
-0.024983888491988182,
-0.010815391317009926,
-0.04963349550962448,
0.08249086141586304,
0.01479253638535738,
0.02575743943452835,
-0.055902834981679916,
-0.04822719842195511,
0.030137233436107635,
0.11699274182319641,
0.0013928021071478724,
-0.01654624752700329,
-0.027400357648730278,
0.025059564039111137,
0.0016342796152457595,
0.015070454217493534,
0.0555131696164608,
-0.06452545523643494,
0.018142685294151306,
0.06911864131689072,
-0.13543301820755005,
0.06551533192396164,
-0.02447354421019554,
-0.0474664606153965,
-0.007289498578757048,
0.05461384356021881,
0.041205450892448425,
0.038910530507564545,
-0.04403092339634895,
0.022476011887192726,
-0.04729996621608734,
-0.013110501691699028,
0.002310976153239608,
0.0077600181102752686,
0.06971395015716553,
0.01577790267765522,
-0.034897588193416595,
-0.051497556269168854,
0.08522748202085495,
-0.054274242371320724,
-6.146202987020859e-33,
-0.04198860377073288,
-0.027570417150855064,
-0.01316105667501688,
0.011342618614435196,
-0.06838693469762802,
0.016646772623062134,
0.05547291785478592,
-0.018961526453495026,
0.059522274881601334,
0.0068988860584795475,
0.003066453617066145,
-0.015317091718316078,
0.007074818015098572,
-0.08039909601211548,
-0.053728681057691574,
0.003219571663066745,
-0.031718868762254715,
-0.03825155645608902,
-0.012444846332073212,
0.05741045996546745,
0.027241455391049385,
0.13433682918548584,
-0.10539568960666656,
0.009439053945243359,
0.032271161675453186,
0.08330097049474716,
-0.046133868396282196,
0.03894416242837906,
0.018477467820048332,
0.03768099099397659,
-0.005095301661640406,
-0.08825260400772095,
0.012496916577219963,
0.04760173708200455,
0.05795713886618614,
-0.07188694179058075,
0.011264102533459663,
0.06976725906133652,
0.008245657198131084,
0.034687403589487076,
0.10346285253763199,
0.016426898539066315,
-0.02381155453622341,
-0.015750907361507416,
0.008353027515113354,
0.03701729699969292,
-0.02779587358236313,
0.021364398300647736,
-0.08908544480800629,
0.007937914691865444,
-0.0412258505821228,
0.002530628815293312,
-0.03866763040423393,
0.0533960722386837,
0.031145036220550537,
-0.00644183112308383,
-0.0011533633805811405,
-0.07018516212701797,
-0.01999673806130886,
-0.041632916778326035,
0.010067145340144634,
-0.019871925935149193,
0.014127920381724834,
0.04793597385287285,
0.1072714775800705,
-0.044130269438028336,
-0.05716583505272865,
-0.04007852077484131,
0.07389281690120697,
-0.037852659821510315,
0.04457065835595131,
-0.059427060186862946,
-0.0012854610104113817,
-0.03524633124470711,
-0.004578764550387859,
-0.048539865761995316,
-0.0049776057712733746,
-0.07691265642642975,
-0.03161371499300003,
0.07983741909265518,
0.006191241554915905,
0.0005602482124231756,
0.026903674006462097,
0.045482996851205826,
-0.10262352973222733,
0.029922600835561752,
-0.01933901384472847,
0.03997259587049484,
0.08505729585886002,
0.04883066937327385,
0.0020302541088312864,
-0.06912950426340103,
0.00905042514204979,
0.0753084048628807,
0.04566764831542969,
-5.7459921265490266e-8,
-0.026933418586850166,
-0.058527637273073196,
-0.00344061735086143,
0.022171640768647194,
0.0069879768416285515,
-0.048290643841028214,
-0.004966103937476873,
-0.09285454452037811,
-0.011419154703617096,
0.013663333840668201,
-0.05442362651228905,
-0.044644977897405624,
-0.03145500645041466,
0.0022380114533007145,
0.00025889609241858125,
0.014415021054446697,
-0.09238693863153458,
0.03380388766527176,
-0.01504533365368843,
-0.05540578439831734,
-0.022943956777453423,
-0.032598573714494705,
-0.00311099411919713,
0.008271957747638226,
0.047480080276727676,
0.011303641833364964,
-0.041315775364637375,
0.07332205027341843,
-0.044502805918455124,
0.061205435544252396,
-0.04054675251245499,
-0.10711188614368439,
0.07917138934135437,
-0.034173399209976196,
-0.07121498882770538,
0.10585343092679977,
-0.0132368179038167,
-0.05860256403684616,
-0.00708454055711627,
-0.006669682916253805,
0.054690923541784286,
0.021096494048833847,
-0.005200972780585289,
-0.05478294938802719,
0.02810429222881794,
-0.03332603722810745,
-0.08513934910297394,
0.039226435124874115,
0.025042783468961716,
-0.03986022621393204,
0.015567884780466557,
-0.006437505129724741,
0.0649828165769577,
0.04123929515480995,
0.004005568567663431,
-0.033685103058815,
0.09369880706071854,
-0.14426575601100922,
0.09684773534536362,
0.01220086682587862,
0.05521461367607117,
0.05147669464349747,
0.012908396311104298,
-0.03667007386684418
] | 0.086645 |
# Telegram Allowlist Hardening \*\*Date\*\*: 2026-01-05 \*\*Status\*\*: Complete \*\*PR\*\*: #216 ## Summary Telegram allowlists now accept `telegram:` and `tg:` prefixes case-insensitively, and tolerate accidental whitespace. This aligns inbound allowlist checks with outbound send normalization. ## What changed - Prefixes `telegram:` and `tg:` are treated the same (case-insensitive). - Allowlist entries are trimmed; empty entries are ignored. ## Examples All of these are accepted for the same ID: - `telegram:123456` - `TG:123456` - `tg:123456` ## Why it matters Copy/paste from logs or chat IDs often includes prefixes and whitespace. Normalizing avoids false negatives when deciding whether to respond in DMs or groups. ## Related docs - [Group Chats](/concepts/groups) - [Telegram Provider](/channels/telegram) | https://github.com/openclaw/openclaw/blob/main//docs/experiments/plans/group-policy-hardening.md | main | opebclaw | [
-0.08253359794616699,
0.03386475890874863,
0.07606150954961777,
-0.027622994035482407,
0.021847406402230263,
-0.051122602075338364,
0.04707234725356102,
-0.019075527787208557,
-0.005186564289033413,
0.03619340434670448,
0.04036112502217293,
0.043438661843538284,
0.014557830058038235,
0.05766669288277626,
0.019920047372579575,
0.02623496577143669,
0.004186883103102446,
-0.09653575718402863,
-0.11198469996452332,
-0.03159330412745476,
0.03348385542631149,
0.10121169686317444,
-0.00006477528222603723,
0.0010937812039628625,
-0.017914367839694023,
-0.012444860301911831,
-0.08981393277645111,
-0.01400730013847351,
0.018903207033872604,
0.009678610600531101,
0.0027890391647815704,
0.07309794425964355,
0.005680665839463472,
0.028778282925486565,
-0.0037882064934819937,
0.07799984514713287,
0.011967288330197334,
-0.038761623203754425,
0.03535778447985649,
-0.0016756699187681079,
-0.06050797551870346,
-0.06935237348079681,
-0.05190708115696907,
0.04255472123622894,
-0.03693271800875664,
0.009362030774354935,
-0.01322829257696867,
0.01083881501108408,
-0.060297220945358276,
-0.002115909243002534,
-0.03829658031463623,
0.021740732714533806,
-0.022896386682987213,
0.09558145701885223,
0.03319902345538139,
0.04729163274168968,
-0.08561475574970245,
0.10697227716445923,
0.013656181283295155,
-0.0911049023270607,
-0.036031052470207214,
-0.053199995309114456,
-0.018819643184542656,
-0.03567373752593994,
-0.06906424462795258,
-0.010249579325318336,
-0.019666969776153564,
0.07907774299383163,
-0.015234326012432575,
0.0261229258030653,
0.03039707988500595,
0.04346362128853798,
-0.05739206448197365,
0.03138900548219681,
-0.010261695832014084,
0.07839257270097733,
-0.005862129386514425,
0.031736474484205246,
-0.13654519617557526,
-0.10852508991956711,
0.028428703546524048,
0.009629432111978531,
0.04902521148324013,
-0.032370034605264664,
-0.05895402282476425,
0.024845249950885773,
0.001774272182956338,
0.001486745080910623,
0.011687749065458775,
0.057657428085803986,
0.0378132089972496,
-0.04870365187525749,
0.06357375532388687,
-0.0012679038336500525,
0.07655040174722672,
-0.03776514530181885,
0.01771908439695835,
0.04250652343034744,
-0.0198406670242548,
0.04177878797054291,
0.009117653593420982,
0.011744005605578423,
-0.06540516018867493,
-0.06516888737678528,
0.058680396527051926,
0.015617812983691692,
-0.009191310964524746,
-0.029068414121866226,
0.03128304332494736,
-0.01246216893196106,
-0.02375107631087303,
0.07331350445747375,
0.015979500487446785,
-0.026723673567175865,
0.005072576459497213,
-0.06274052709341049,
0.09218063205480576,
0.017917277291417122,
0.06163618713617325,
0.013052011840045452,
0.09505928307771683,
-0.05910210683941841,
0.001776937278918922,
0.0486798994243145,
-0.010018546134233475,
0.1305779069662094,
0.013415704481303692,
5.3332336653860576e-33,
0.035691965371370316,
0.005733456928282976,
-0.09189606457948685,
0.037212125957012177,
-0.043518152087926865,
0.06362228840589523,
-0.10717859119176865,
0.0419013649225235,
-0.1036146953701973,
0.009142152965068817,
-0.05182865262031555,
-0.03253868222236633,
0.013041793368756771,
-0.01681443303823471,
-0.015769915655255318,
0.02487824484705925,
0.07015737146139145,
0.04700066149234772,
-0.005557452328503132,
0.0013915668241679668,
-0.024730456992983818,
0.022686978802084923,
-0.04671890661120415,
0.018557541072368622,
-0.03704724460840225,
0.07730245590209961,
0.01582213118672371,
-0.09241865575313568,
0.055035363882780075,
-0.0075130825862288475,
-0.02579992450773716,
-0.022370124235749245,
0.0330616757273674,
0.032687265425920486,
0.040656305849552155,
0.10323994606733322,
-0.047473739832639694,
-0.03419055789709091,
-0.03644850105047226,
-0.08073779940605164,
-0.027397247031331062,
0.01169274840503931,
-0.04210535064339638,
-0.03803562745451927,
0.059311434626579285,
-0.021429087966680527,
-0.04208776354789734,
-0.07920299470424652,
-0.00016946892719715834,
-0.0012599786277860403,
0.019451212137937546,
0.027589231729507446,
-0.007451335433870554,
-0.05308077856898308,
-0.0088282385841012,
-0.1426004320383072,
-0.01133529469370842,
-0.03078962117433548,
-0.005408658646047115,
0.03531576320528984,
0.01177226658910513,
-0.04696109890937805,
-0.006056468468159437,
-0.025744134560227394,
0.03904576227068901,
0.0027040052227675915,
-0.041726987808942795,
0.08060489594936371,
0.003915869630873203,
0.023344527930021286,
-0.05227924883365631,
0.02343205362558365,
-0.048658959567546844,
0.12085428088903427,
-0.08658483624458313,
-0.07123647630214691,
0.043900590389966965,
-0.0208209790289402,
0.015962380915880203,
-0.031059006229043007,
-0.055046066641807556,
0.011549069546163082,
-0.015960577875375748,
-0.0036691343411803246,
-0.029030196368694305,
-0.03391226381063461,
0.02354254014790058,
-0.03329881280660629,
-0.008619949221611023,
0.03393948823213577,
-0.04460018500685692,
0.060875486582517624,
-0.06614811718463898,
0.020945370197296143,
-0.038155779242515564,
-6.744706670425996e-33,
0.03361814096570015,
0.034748002886772156,
-0.07592509686946869,
-0.009881450794637203,
0.0067924754694104195,
-0.06385505944490433,
0.0733620747923851,
0.04448001831769943,
0.0484715960919857,
-0.05486593022942543,
0.04655173420906067,
-0.053957097232341766,
-0.012615630403161049,
-0.07257986068725586,
0.014970445074141026,
-0.032375071197748184,
-0.06310492753982544,
-0.0004444758815225214,
-0.05675644055008888,
0.00911080464720726,
-0.011220715939998627,
-0.020427649840712547,
-0.0780538022518158,
0.15179435908794403,
0.053177185356616974,
0.010897386819124222,
-0.045495569705963135,
-0.017240727320313454,
0.07483465224504471,
-0.04868611693382263,
0.0363120399415493,
0.0065025151707232,
-0.09348681569099426,
0.024328188970685005,
0.0044531854800879955,
-0.023306630551815033,
0.017257975414395332,
0.16153569519519806,
0.03605334833264351,
0.019315490499138832,
0.05786463990807533,
0.0247235968708992,
-0.04468584060668945,
0.08235036581754684,
-0.05057540908455849,
0.007450096774846315,
0.02747824229300022,
-0.018092188984155655,
-0.07812783122062683,
0.031023569405078888,
0.10156358033418655,
-0.07208359986543655,
0.09032778441905975,
0.01693071611225605,
0.04991818964481354,
-0.02125142328441143,
0.027979394420981407,
-0.08487237989902496,
-0.08549384027719498,
-0.023127296939492226,
0.05392966419458389,
-0.016039764508605003,
0.016211053356528282,
0.029422862455248833,
0.03183400258421898,
-0.09222304821014404,
-0.02699229121208191,
0.00940596405416727,
-0.009619168005883694,
-0.04268868640065193,
0.07875889539718628,
-0.09526197612285614,
-0.09608065336942673,
-0.048245906829833984,
0.07214835286140442,
-0.0430690236389637,
0.006730272900313139,
-0.059941209852695465,
-0.029307834804058075,
0.08413874357938766,
-0.07375772297382355,
0.050536200404167175,
0.007066636346280575,
0.0713895857334137,
-0.0136251300573349,
0.05409035086631775,
0.05569019913673401,
0.08442691713571548,
-0.048569221049547195,
0.0024667317047715187,
-0.015679607167840004,
-0.006193703971803188,
-0.005739934276789427,
0.07038883119821548,
0.030264943838119507,
-4.8267374097576976e-8,
-0.08029289543628693,
-0.08956452459096909,
-0.10278812050819397,
-0.00989779643714428,
0.014275702647864819,
0.06526137888431549,
-0.06241682544350624,
-0.02646024525165558,
0.015076872892677784,
-0.013761057518422604,
-0.0565962940454483,
-0.004190339241176844,
-0.12644225358963013,
-0.11231124401092529,
0.001929328660480678,
-0.014286041259765625,
-0.13241632282733917,
-0.022972723469138145,
-0.040935344994068146,
0.06894917786121368,
-0.03468887507915497,
-0.03096999228000641,
-0.11391621828079224,
-0.014815918169915676,
-0.03425350412726402,
-0.03136034309864044,
0.027331706136465073,
0.07723531126976013,
-0.03275754302740097,
0.018806559965014458,
0.028159329667687416,
-0.03222580626606941,
-0.0001192185518448241,
-0.026122670620679855,
-0.04149394854903221,
0.02354089729487896,
0.00643566157668829,
-0.006182983051985502,
-0.024771757423877716,
0.019536558538675308,
0.06096717342734337,
-0.04950427636504173,
0.0006788978353142738,
0.025802573189139366,
-0.05108623579144478,
-0.07169139385223389,
0.053108349442481995,
-0.02269933559000492,
-0.016335126012563705,
0.009771248325705528,
0.06928311288356781,
0.028504958376288414,
0.044794075191020966,
0.03764152526855469,
0.025969738140702248,
0.055777858942747116,
0.1025664284825325,
0.009867493063211441,
0.07392256706953049,
-0.014687905088067055,
0.0743526816368103,
0.015188304707407951,
0.06290234625339508,
0.030067062005400658
] | 0.12465 |
# OpenResponses Gateway Integration Plan ## Context OpenClaw Gateway currently exposes a minimal OpenAI-compatible Chat Completions endpoint at `/v1/chat/completions` (see [OpenAI Chat Completions](/gateway/openai-http-api)). Open Responses is an open inference standard based on the OpenAI Responses API. It is designed for agentic workflows and uses item-based inputs plus semantic streaming events. The OpenResponses spec defines `/v1/responses`, not `/v1/chat/completions`. ## Goals - Add a `/v1/responses` endpoint that adheres to OpenResponses semantics. - Keep Chat Completions as a compatibility layer that is easy to disable and eventually remove. - Standardize validation and parsing with isolated, reusable schemas. ## Non-goals - Full OpenResponses feature parity in the first pass (images, files, hosted tools). - Replacing internal agent execution logic or tool orchestration. - Changing the existing `/v1/chat/completions` behavior during the first phase. ## Research Summary Sources: OpenResponses OpenAPI, OpenResponses specification site, and the Hugging Face blog post. Key points extracted: - `POST /v1/responses` accepts `CreateResponseBody` fields like `model`, `input` (string or `ItemParam[]`), `instructions`, `tools`, `tool\_choice`, `stream`, `max\_output\_tokens`, and `max\_tool\_calls`. - `ItemParam` is a discriminated union of: - `message` items with roles `system`, `developer`, `user`, `assistant` - `function\_call` and `function\_call\_output` - `reasoning` - `item\_reference` - Successful responses return a `ResponseResource` with `object: "response"`, `status`, and `output` items. - Streaming uses semantic events such as: - `response.created`, `response.in\_progress`, `response.completed`, `response.failed` - `response.output\_item.added`, `response.output\_item.done` - `response.content\_part.added`, `response.content\_part.done` - `response.output\_text.delta`, `response.output\_text.done` - The spec requires: - `Content-Type: text/event-stream` - `event:` must match the JSON `type` field - terminal event must be literal `[DONE]` - Reasoning items may expose `content`, `encrypted\_content`, and `summary`. - HF examples include `OpenResponses-Version: latest` in requests (optional header). ## Proposed Architecture - Add `src/gateway/open-responses.schema.ts` containing Zod schemas only (no gateway imports). - Add `src/gateway/openresponses-http.ts` (or `open-responses-http.ts`) for `/v1/responses`. - Keep `src/gateway/openai-http.ts` intact as a legacy compatibility adapter. - Add config `gateway.http.endpoints.responses.enabled` (default `false`). - Keep `gateway.http.endpoints.chatCompletions.enabled` independent; allow both endpoints to be toggled separately. - Emit a startup warning when Chat Completions is enabled to signal legacy status. ## Deprecation Path for Chat Completions - Maintain strict module boundaries: no shared schema types between responses and chat completions. - Make Chat Completions opt-in by config so it can be disabled without code changes. - Update docs to label Chat Completions as legacy once `/v1/responses` is stable. - Optional future step: map Chat Completions requests to the Responses handler for a simpler removal path. ## Phase 1 Support Subset - Accept `input` as string or `ItemParam[]` with message roles and `function\_call\_output`. - Extract system and developer messages into `extraSystemPrompt`. - Use the most recent `user` or `function\_call\_output` as the current message for agent runs. - Reject unsupported content parts (image/file) with `invalid\_request\_error`. - Return a single assistant message with `output\_text` content. - Return `usage` with zeroed values until token accounting is wired. ## Validation Strategy (No SDK) - Implement Zod schemas for the supported subset of: - `CreateResponseBody` - `ItemParam` + message content part unions - `ResponseResource` - Streaming event shapes used by the gateway - Keep schemas in a single, isolated module to avoid drift and allow future codegen. ## Streaming Implementation (Phase 1) - SSE lines with both `event:` and `data:`. - Required sequence (minimum viable): - `response.created` - `response.output\_item.added` - `response.content\_part.added` - `response.output\_text.delta` (repeat as needed) - `response.output\_text.done` - `response.content\_part.done` - `response.completed` - `[DONE]` ## Tests and Verification Plan - Add e2e coverage for `/v1/responses`: - Auth required - Non-stream response shape - Stream event ordering and `[DONE]` - Session routing with headers and `user` - Keep `src/gateway/openai-http.e2e.test.ts` unchanged. - Manual: curl to `/v1/responses` with `stream: true` and verify event ordering and terminal `[DONE]`. ## Doc Updates (Follow-up) - Add a new | https://github.com/openclaw/openclaw/blob/main//docs/experiments/plans/openresponses-gateway.md | main | opebclaw | [
-0.046309515833854675,
-0.035459812730550766,
-0.021298227831721306,
0.055819910019636154,
0.06874056905508041,
-0.06574486196041107,
-0.010706711560487747,
-0.015697136521339417,
0.055139560252428055,
-0.00603427505120635,
-0.04847179725766182,
-0.02375326119363308,
-0.04588950797915459,
0.020622536540031433,
0.1308840960264206,
0.02959701232612133,
0.12052160501480103,
-0.1002446860074997,
-0.04306161403656006,
-0.036626167595386505,
0.07607295364141464,
0.08129767328500748,
0.030657963827252388,
-0.030275661498308182,
-0.05470802262425423,
-0.012291193939745426,
-0.03453846648335457,
-0.00630424777045846,
-0.001038454589433968,
-0.02809813618659973,
0.07872854918241501,
0.02926149219274521,
-0.01975250616669655,
0.031831223517656326,
0.03516356647014618,
0.03219816833734512,
0.009181016124784946,
-0.026180868968367577,
-0.09207732230424881,
-0.02345365844666958,
0.025655623525381088,
-0.06315026432275772,
-0.04940013587474823,
0.008228303864598274,
0.01145460456609726,
-0.05422824248671532,
-0.00166482909116894,
-0.0908181369304657,
-0.035910457372665405,
0.033294159919023514,
-0.0651097297668457,
-0.03557915985584259,
-0.0023601327557116747,
0.10092819482088089,
0.027157042175531387,
0.058589961379766464,
-0.0693555399775505,
-0.00798010267317295,
-0.04033491760492325,
-0.07001377642154694,
-0.013805530965328217,
-0.09159565716981888,
-0.018087025731801987,
-0.005710975266993046,
-0.09101317822933197,
0.03175032511353493,
-0.02876480109989643,
-0.04051417112350464,
0.0495828278362751,
-0.04636029154062271,
-0.04254710301756859,
0.06602498143911362,
-0.0339805968105793,
-0.021632246673107147,
0.0036916693206876516,
0.016352549195289612,
-0.015556437894701958,
-0.025131233036518097,
0.00534554198384285,
-0.05934754014015198,
0.02784763276576996,
0.0006187932449392974,
-0.035367146134376526,
0.017469750717282295,
-0.028953339904546738,
0.07094144076108932,
0.024571724236011505,
0.056969836354255676,
0.04652595892548561,
0.010388675145804882,
-0.027087712660431862,
-0.043515656143426895,
0.008451389148831367,
0.025255493819713593,
0.007025235332548618,
-0.011795751750469208,
-0.04587550461292267,
-0.08933615684509277,
-0.020940668880939484,
0.09117148071527481,
0.004163259640336037,
0.03748958930373192,
0.0361514687538147,
-0.030550964176654816,
-0.022293763235211372,
0.03384402394294739,
0.0021621102932840586,
0.13794925808906555,
-0.022600041702389717,
0.0017828375566750765,
-0.016780244186520576,
-0.07217767834663391,
0.11767946928739548,
-0.03096986934542656,
0.02061779797077179,
0.05608134716749191,
-0.015564759261906147,
-0.027077678591012955,
0.0303355623036623,
0.018568387255072594,
0.07265326380729675,
0.0041003040969371796,
0.03046412579715252,
-0.009853210300207138,
0.07087604701519012,
0.011903013102710247,
0.0036418165545910597,
7.23760247198532e-33,
0.039683207869529724,
0.03234098479151726,
-0.0249794889241457,
0.020575644448399544,
0.09260983765125275,
0.036848485469818115,
0.03364449366927147,
0.0011071598855778575,
-0.01445027720183134,
-0.04580928757786751,
-0.025029197335243225,
0.031925003975629807,
-0.032076895236968994,
0.0008716221782378852,
0.04972177743911743,
-0.020117443054914474,
-0.0464852936565876,
0.15053002536296844,
0.08607539534568787,
0.006849333643913269,
0.03118876740336418,
-0.047759536653757095,
0.012652208097279072,
0.0746440589427948,
0.07334337383508682,
-0.0023899939842522144,
0.033590249717235565,
-0.06322203576564789,
-0.0037279287353157997,
-0.015425377525389194,
0.07484564185142517,
-0.006993883289396763,
-0.04867786169052124,
0.04834809899330139,
-0.0026209508068859577,
0.020105751231312752,
-0.0779869481921196,
-0.08294155448675156,
-0.019257213920354843,
-0.007191349286586046,
-0.07570566982030869,
0.049080707132816315,
-0.06329484283924103,
-0.03801692649722099,
-0.03996232524514198,
-0.14383907616138458,
-0.07324386388063431,
0.043129462748765945,
0.0700899064540863,
0.017563624307513237,
0.01649736985564232,
0.004687871318310499,
0.05512024462223053,
-0.05213138833642006,
-0.03952163830399513,
-0.12089192867279053,
-0.021647322922945023,
-0.02347649075090885,
-0.001350401435047388,
0.022569362074136734,
-0.028678322210907936,
-0.1066308468580246,
-0.08323244750499725,
-0.020435016602277756,
0.025111379101872444,
0.040670040994882584,
-0.003393936436623335,
0.0042485203593969345,
0.05553748458623886,
-0.06545569747686386,
-0.033221058547496796,
0.02559436857700348,
0.016254398971796036,
0.008188899606466293,
-0.04767188802361488,
0.012170305475592613,
-0.038294047117233276,
-0.01362106017768383,
0.1054195687174797,
-0.0055197677575051785,
0.028568895533680916,
0.03572272136807442,
-0.05289902538061142,
0.07984215766191483,
0.00301528163254261,
0.00010883612412726507,
-0.007969530299305916,
-0.06285808235406876,
-0.011631777510046959,
0.06310532242059708,
-0.014569797553122044,
0.04488208889961243,
-0.03735432028770447,
0.05277271941304207,
-0.006922152824699879,
-4.129498430127249e-33,
-0.007750939577817917,
0.025276394560933113,
-0.08794396370649338,
0.028179125860333443,
0.01914813555777073,
-0.02249772846698761,
0.0627879872918129,
0.01482890173792839,
0.08677792549133301,
-0.030520876869559288,
0.006754375994205475,
-0.02247685007750988,
0.07236430794000626,
-0.04544711858034134,
-0.019342446699738503,
-0.08540060371160507,
0.0033814781345427036,
-0.07043636590242386,
-0.012952732853591442,
0.04403364285826683,
-0.0038394322618842125,
0.02194598875939846,
-0.07871909439563751,
-0.0891377329826355,
0.08058388531208038,
0.057362575083971024,
-0.005025148391723633,
0.000363679340807721,
-0.024791473522782326,
-0.060872457921504974,
0.020892364904284477,
0.0010637494269758463,
-0.08372657746076584,
-0.06411165744066238,
0.08186914026737213,
0.05396776273846626,
0.049967341125011444,
0.0330195277929306,
-0.024192171171307564,
0.020459214225411415,
0.12694266438484192,
-0.07462520897388458,
-0.08444775640964508,
0.011601803824305534,
-0.02172101102769375,
0.04280334338545799,
-0.11545822769403458,
0.0038095240015536547,
-0.07675856351852417,
-0.055561363697052,
-0.03680701181292534,
0.02070038951933384,
-0.02573373168706894,
-0.007828029803931713,
0.02309505268931389,
0.004275239538401365,
0.11695481836795807,
-0.05034418776631355,
-0.006245206575840712,
-0.09484871476888657,
0.028975026682019234,
-0.009470258839428425,
0.040826890617609024,
0.0772053599357605,
0.05680469423532486,
-0.04220161959528923,
0.03312399610877037,
0.022124137729406357,
-0.020195825025439262,
-0.06372498720884323,
-0.009449409320950508,
-0.07198146730661392,
0.04778468981385231,
-0.025487225502729416,
0.13873864710330963,
-0.02453954890370369,
0.022876515984535217,
-0.08417738974094391,
0.006519148126244545,
0.05922624096274376,
-0.08168428391218185,
-0.030516695231199265,
0.0464496836066246,
0.027012154459953308,
0.06684662401676178,
0.02748846635222435,
0.055665913969278336,
0.08494896441698074,
0.04883209988474846,
0.11304903030395508,
-0.1061934232711792,
0.026892002671957016,
-0.02548316679894924,
0.10834050178527832,
0.008413758128881454,
-5.113172107940045e-8,
-0.14409439265727997,
-0.08877404779195786,
-0.03273354470729828,
0.06141887232661247,
-0.025048289448022842,
0.04422518238425255,
0.02197866328060627,
0.06236278638243675,
0.03480565920472145,
0.02743721939623356,
0.031618859618902206,
0.0037131663411855698,
-0.0007002978818491101,
-0.058520592749118805,
0.010838801972568035,
0.06355897337198257,
0.04619365558028221,
-0.0059606339782476425,
-0.031770069152116776,
-0.08114469796419144,
0.028881600126624107,
-0.013057421892881393,
-0.020536145195364952,
0.0013422152260318398,
-0.012427669018507004,
-0.03986332565546036,
-0.000367347412975505,
0.08463314175605774,
-0.059567198157310486,
-0.012456590309739113,
0.0026804758235812187,
-0.03431672230362892,
0.09182966500520706,
-0.01544194109737873,
0.0037397067062556744,
0.04587673023343086,
-0.01906917616724968,
0.019314607605338097,
0.009518283419311047,
0.025795934721827507,
0.026047764346003532,
0.048510342836380005,
-0.04361683130264282,
-0.04090525582432747,
0.08265212923288345,
0.03729584440588951,
-0.06492138653993607,
-0.02179524675011635,
-0.03688199073076248,
-0.03120245225727558,
-0.0623089075088501,
-0.0325096994638443,
0.01676548831164837,
0.07148545980453491,
0.00012044396135024726,
0.0034603604581207037,
0.08594070374965668,
-0.0658782497048378,
0.049202583730220795,
0.06980299949645996,
0.06245073303580284,
0.08593574911355972,
0.005600299220532179,
0.000420811353251338
] | 0.176254 |
coverage for `/v1/responses`: - Auth required - Non-stream response shape - Stream event ordering and `[DONE]` - Session routing with headers and `user` - Keep `src/gateway/openai-http.e2e.test.ts` unchanged. - Manual: curl to `/v1/responses` with `stream: true` and verify event ordering and terminal `[DONE]`. ## Doc Updates (Follow-up) - Add a new docs page for `/v1/responses` usage and examples. - Update `/gateway/openai-http-api` with a legacy note and pointer to `/v1/responses`. | https://github.com/openclaw/openclaw/blob/main//docs/experiments/plans/openresponses-gateway.md | main | opebclaw | [
-0.08262072503566742,
0.06750497967004776,
-0.00026482861721888185,
0.03739836439490318,
0.04276658967137337,
-0.0822131484746933,
-0.03093785047531128,
-0.0030088601633906364,
-0.005623192992061377,
0.05196357145905495,
-0.025506775826215744,
-0.017225340008735657,
-0.04383961856365204,
0.04151783511042595,
0.12267895042896271,
-0.03627626225352287,
0.05494116246700287,
-0.04139416664838791,
-0.008501294068992138,
-0.07530545443296432,
-0.010603724978864193,
0.042695052921772,
0.022062873467803,
-0.02097722515463829,
-0.020739011466503143,
-0.040661267936229706,
-0.0016565498663112521,
-0.004100674297660589,
0.006915820296853781,
-0.04941914975643158,
0.08173274248838425,
-0.058729637414216995,
-0.12458857148885727,
0.025434797629714012,
0.0028719494584947824,
-0.03347013518214226,
0.043493274599313736,
-0.06745436787605286,
-0.06892818212509155,
-0.02421240694820881,
0.10624059289693832,
-0.008770282380282879,
-0.03231171891093254,
-0.05354061722755432,
0.04970211535692215,
-0.03126499429345131,
-0.02000308781862259,
-0.01825222186744213,
-0.07482580095529556,
0.040232203900814056,
0.004377719480544329,
-0.06821026653051376,
-0.03214392066001892,
0.014696024358272552,
0.01037853304296732,
-0.028449155390262604,
-0.04510309919714928,
0.008482630364596844,
-0.009384822100400925,
-0.003748526331037283,
0.03859469294548035,
-0.10455519706010818,
-0.006514562759548426,
0.03487240895628929,
-0.07709648460149765,
-0.008035823702812195,
-0.05131794139742851,
0.02165067195892334,
0.046007927507162094,
-0.017521001398563385,
-0.06716538220643997,
0.036166634410619736,
-0.07610119879245758,
-0.01776469498872757,
0.019491400569677353,
0.031333740800619125,
-0.05951250344514847,
0.02603846974670887,
-0.026018323376774788,
-0.04702083766460419,
-0.00024660665076225996,
-0.07150635123252869,
0.006688156630843878,
0.06270731985569,
0.03556526452302933,
0.0845613032579422,
0.08071304857730865,
-0.012516627088189125,
0.0411679670214653,
0.011915262788534164,
0.056315694004297256,
0.04956991598010063,
0.06802448630332947,
0.02868121862411499,
0.00702776201069355,
0.012750123627483845,
-0.03828553110361099,
-0.05695392191410065,
-0.0026564740110188723,
0.08542262017726898,
-0.03746939077973366,
-0.01158702652901411,
0.03389337286353111,
0.06335867196321487,
-0.026580041274428368,
-0.016497433185577393,
0.03090672194957733,
0.02586560696363449,
0.04963583126664162,
0.006136296782642603,
0.03942161053419113,
-0.049543268978595734,
0.08060181140899658,
-0.04305143654346466,
-0.03563197702169418,
0.0205673947930336,
-0.013120085000991821,
0.028947124257683754,
-0.01249736174941063,
0.05389690771698952,
0.02682184800505638,
-0.008185699582099915,
-0.03949136286973953,
-0.026340391486883163,
0.08320136368274689,
0.0015826290473341942,
0.11650253087282181,
1.983694838812597e-33,
0.022865476086735725,
0.034669630229473114,
-0.05409756302833557,
0.05702837184071541,
0.09435378760099411,
0.05100272223353386,
0.08316670358181,
-0.02175452932715416,
0.02633645571768284,
-0.04350507631897926,
-0.0747574046254158,
0.006907475180923939,
0.008584308438003063,
-0.01666550152003765,
-0.024986380711197853,
0.0006626030663028359,
-0.02652907557785511,
0.06829813122749329,
0.020816463977098465,
0.08535005152225494,
0.022064486518502235,
-0.07747174054384232,
0.040272057056427,
-0.01150473766028881,
0.01099412702023983,
-0.04995211586356163,
0.02525070309638977,
-0.05779970437288284,
-0.026315776631236076,
0.005819662474095821,
0.07474040985107422,
-0.02358868718147278,
-0.0191265307366848,
0.08911203593015671,
-0.009567397646605968,
-0.029302481561899185,
0.010683395899832249,
-0.021524077281355858,
-0.10133616626262665,
0.025877537205815315,
-0.037193357944488525,
0.06048707664012909,
-0.11023770272731781,
-0.01332526933401823,
-0.06899739056825638,
-0.14561447501182556,
-0.07448285073041916,
0.006026310380548239,
0.1568741649389267,
-0.03229982778429985,
-0.08070842176675797,
0.05282730236649513,
0.038268689066171646,
-0.05621832609176636,
0.0767112523317337,
-0.05386923998594284,
-0.033018387854099274,
0.04494735971093178,
0.012085556983947754,
-0.005309585947543383,
0.05169142782688141,
-0.009497366845607758,
-0.06341920793056488,
-0.06424706429243088,
-0.016154196113348007,
0.0640016496181488,
-0.03171037510037422,
-0.0005014158086851239,
0.06366430222988129,
-0.009542055428028107,
0.0385434627532959,
0.00187900650780648,
-0.01873370260000229,
0.05518551170825958,
-0.011076491326093674,
-0.016992487013339996,
-0.002104019746184349,
0.049186885356903076,
0.10737711936235428,
0.0011582939187064767,
0.05456409603357315,
-0.014311414211988449,
-0.04049578309059143,
0.11207568645477295,
0.002616994781419635,
-0.025846071541309357,
-0.017412785440683365,
-0.04549890384078026,
0.008482553996145725,
0.01704973168671131,
0.013121368363499641,
0.027261270210146904,
-0.005786934867501259,
-0.005472535267472267,
0.040268976241350174,
-7.577310053797392e-34,
0.006292804144322872,
0.02099369466304779,
-0.020575467497110367,
0.06484009325504303,
-0.019029313698410988,
-0.023221248760819435,
0.06258919090032578,
0.029995474964380264,
0.08884015679359436,
0.07751499116420746,
0.06244347617030144,
0.018467728048563004,
0.046604570001363754,
-0.018975455313920975,
-0.009709902107715607,
-0.061594702303409576,
-0.02283822000026703,
-0.10862142592668533,
0.037258610129356384,
-0.00583084998652339,
-0.06647572666406631,
0.014215419068932533,
-0.033456381410360336,
-0.05447663739323616,
0.003992345184087753,
0.045253507792949677,
0.07288343459367752,
-0.03135780617594719,
-0.05272621661424637,
-0.04355368763208389,
-0.018740123137831688,
0.03992918133735657,
-0.09083950519561768,
-0.007265639491379261,
-0.008863940834999084,
0.01595928892493248,
0.10560924559831619,
0.1500493437051773,
-0.007645130157470703,
0.04722931981086731,
0.08858855813741684,
-0.024282535538077354,
-0.03060115873813629,
0.015495351515710354,
-0.010993213392794132,
-0.015318511985242367,
-0.019691862165927887,
0.02302052453160286,
-0.08087446540594101,
-0.05372224375605583,
-0.013421610929071903,
0.0596301406621933,
0.0011273775016888976,
0.025837577879428864,
-0.03904414921998978,
-0.014211964793503284,
0.07276169210672379,
-0.041889190673828125,
-0.05342097952961922,
-0.010103408247232437,
0.014152118936181068,
-0.024946484714746475,
0.014285382814705372,
0.09796398133039474,
-0.008904261514544487,
-0.039761390537023544,
0.01971249096095562,
0.048753902316093445,
0.02484722062945366,
-0.021107235923409462,
-0.07165195792913437,
-0.11708345264196396,
0.0500568263232708,
-0.021580202504992485,
0.14471042156219482,
-0.020428547635674477,
0.0049902708269655704,
-0.031248679384589195,
0.06571047008037567,
0.03199601173400879,
-0.07959834486246109,
0.011183472350239754,
-0.08552473038434982,
0.03031732141971588,
0.09330236166715622,
0.004115234594792128,
0.005459547508507967,
-0.0017431756714358926,
0.05737503618001938,
0.09573615342378616,
-0.010211083106696606,
0.004290097393095493,
-0.08892469853162766,
0.04875212162733078,
0.08654650300741196,
-4.0726675365476694e-8,
-0.04638662189245224,
-0.08073564618825912,
0.0029131625778973103,
0.09580942243337631,
-0.02528766728937626,
0.06373864412307739,
-0.014428367838263512,
0.016143154352903366,
0.024167630821466446,
0.010141649283468723,
-0.06423535197973251,
0.060465436428785324,
0.00982262659817934,
0.0016939014894887805,
0.0027937896084040403,
0.024235041812062263,
-0.024908417835831642,
0.019549159333109856,
-0.07100402563810349,
-0.135499507188797,
-0.04788215085864067,
0.001299700466915965,
0.08596082031726837,
-0.07872061431407928,
-0.027408665046095848,
0.03428250178694725,
0.030334362760186195,
0.019081806764006615,
-0.06407089531421661,
-0.09750865399837494,
-0.04545406624674797,
-0.01258352492004633,
0.0024361710529774427,
-0.10661977529525757,
-0.02258092351257801,
0.04669611155986786,
-0.04159880056977272,
0.04469691216945648,
-0.019152576103806496,
-0.027275703847408295,
-0.024817395955324173,
0.0458475686609745,
0.06792974472045898,
-0.014870790764689445,
0.0765065848827362,
0.025753671303391457,
-0.02317659743130207,
0.03741835802793503,
0.003971141763031483,
-0.12817537784576416,
-0.027535278350114822,
-0.0773753896355629,
-0.001476204488426447,
0.04193875938653946,
-0.052965275943279266,
-0.00074577092891559,
0.009871620684862137,
-0.10885044932365417,
-0.02408471517264843,
-0.022430814802646637,
0.11406365782022476,
0.03856797143816948,
0.0006239395588636398,
-0.050049301236867905
] | 0.084662 |
# Model Config (Exploration) This document captures \*\*ideas\*\* for future model configuration. It is not a shipping spec. For current behavior, see: - [Models](/concepts/models) - [Model failover](/concepts/model-failover) - [OAuth + profiles](/concepts/oauth) ## Motivation Operators want: - Multiple auth profiles per provider (personal vs work). - Simple `/model` selection with predictable fallbacks. - Clear separation between text models and image-capable models. ## Possible direction (high level) - Keep model selection simple: `provider/model` with optional aliases. - Let providers have multiple auth profiles, with an explicit order. - Use a global fallback list so all sessions fail over consistently. - Only override image routing when explicitly configured. ## Open questions - Should profile rotation be per-provider or per-model? - How should the UI surface profile selection for a session? - What is the safest migration path from legacy config keys? | https://github.com/openclaw/openclaw/blob/main//docs/experiments/proposals/model-config.md | main | opebclaw | [
-0.04180609807372093,
-0.01123085804283619,
0.037898704409599304,
0.023535629734396935,
0.08565299212932587,
-0.021004628390073776,
0.024134434759616852,
0.07551208138465881,
-0.10351616889238358,
-0.03062092699110508,
0.036243971437215805,
-0.010718380101025105,
0.06865134090185165,
0.03041023202240467,
0.04686746746301651,
0.04782305285334587,
0.014850570820271969,
0.002912441035732627,
-0.02391105517745018,
0.02993055060505867,
-0.00879770889878273,
-0.05041022598743439,
-0.03439393267035484,
-0.02247445285320282,
-0.05350927636027336,
-0.04906357079744339,
0.019566422328352928,
-0.02663823403418064,
-0.035449154675006866,
-0.05802888423204422,
-0.020663931965827942,
0.07305886596441269,
-0.13264276087284088,
-0.00878275465220213,
0.03517572209239006,
0.015678685158491135,
0.07491637021303177,
-0.02783014439046383,
0.053910497575998306,
-0.03207453712821007,
-0.01835690252482891,
-0.006503556855022907,
-0.018964016810059547,
0.021481644362211227,
0.03215979412198067,
-0.034332629293203354,
0.01946588233113289,
-0.049540258944034576,
-0.034372881054878235,
0.03307528421282768,
0.014471596106886864,
-0.013494858518242836,
-0.01006376277655363,
0.07283025234937668,
-0.007967949844896793,
0.08870621770620346,
0.014170433394610882,
-0.056873273104429245,
0.005280200392007828,
0.056430552154779434,
0.02941354364156723,
-0.0067155491560697556,
-0.087612584233284,
0.018715517595410347,
-0.005205209832638502,
0.0010020218323916197,
-0.0017790509155020118,
-0.09337259083986282,
0.026416916400194168,
0.02966614067554474,
-0.11197938024997711,
-0.05048323795199394,
-0.05647033825516701,
-0.05826177820563316,
0.05104070156812668,
0.004014098551124334,
-0.016333717852830887,
0.011273377574980259,
-0.012047737836837769,
-0.18460384011268616,
0.06509580463171005,
0.03456120938062668,
0.010716713033616543,
0.021121494472026825,
0.014035790227353573,
-0.02474713884294033,
-0.04350760206580162,
-0.05644884333014488,
0.1040668711066246,
0.049959078431129456,
0.01060101855546236,
-0.03389456868171692,
0.044086478650569916,
-0.028314806520938873,
0.08766309916973114,
0.05572866275906563,
-0.012475856579840183,
-0.047247592359781265,
0.0027246742974966764,
0.060663629323244095,
-0.05887417495250702,
-0.04214312881231308,
0.12163667380809784,
0.0765630230307579,
0.055357709527015686,
-0.03388126194477081,
0.009127523750066757,
-0.025999296456575394,
0.005413074046373367,
0.05472318083047867,
0.021533239632844925,
0.04117269441485405,
0.0077275983057916164,
0.00913289561867714,
0.051370903849601746,
0.03345038741827011,
-0.035617049783468246,
-0.014461767859756947,
0.029857512563467026,
0.060300394892692566,
-0.024764982983469963,
0.026923971250653267,
0.10410269349813461,
-0.02185482159256935,
0.00575310317799449,
0.031174810603260994,
-0.058360740542411804,
5.220704325865809e-33,
0.013787881471216679,
0.04910232499241829,
-0.03201046213507652,
0.042815934866666794,
0.05753955617547035,
0.03694349527359009,
0.03487881273031235,
-0.009641704149544239,
0.01397581398487091,
-0.013608673587441444,
-0.10289376229047775,
0.03263597562909126,
-0.06701137125492096,
0.05208418518304825,
0.04410158842802048,
-0.03032103180885315,
-0.006421757396310568,
0.07506871968507767,
0.05839066579937935,
0.03890005871653557,
0.02326226606965065,
-0.020918048918247223,
-0.05734686926007271,
-0.022525332868099213,
0.07521451264619827,
0.07668018341064453,
0.04568706825375557,
-0.003085789270699024,
-0.05607542023062706,
0.028907371684908867,
-0.022381309419870377,
0.006458849646151066,
0.06793246418237686,
0.028140265494585037,
-0.02819763869047165,
0.040552567690610886,
-0.01804443821310997,
-0.05677197501063347,
-0.017085684463381767,
-0.04036637395620346,
-0.05875299870967865,
0.02152865380048752,
-0.024262111634016037,
-0.0060070282779634,
-0.05259515717625618,
-0.01402460690587759,
0.049207739531993866,
-0.0050331405363976955,
0.05028177797794342,
-0.009093979373574257,
-0.040816910564899445,
-0.049776796251535416,
-0.04317440465092659,
-0.005243397317826748,
-0.023829543963074684,
-0.10252103209495544,
-0.06273800879716873,
-0.0011143132578581572,
0.004088995512574911,
-0.005411321762949228,
0.007665409706532955,
-0.05840924382209778,
-0.07543834298849106,
0.010411647148430347,
0.0025335722602903843,
-0.030056826770305634,
-0.07704614102840424,
-0.05433470383286476,
0.017764749005436897,
-0.022688962519168854,
-0.0903925970196724,
0.03887272626161575,
-0.0811130702495575,
-0.036191221326589584,
-0.015221936628222466,
-0.061275385320186615,
0.019249314442276955,
0.08396874368190765,
0.04487331211566925,
-0.022566979750990868,
-0.025410836562514305,
0.13577847182750702,
-0.07300075888633728,
0.041654184460639954,
-0.014637849293649197,
-0.023212052881717682,
0.07745969295501709,
-0.029434731230139732,
-0.09808903932571411,
0.008522560819983482,
0.049867093563079834,
-0.030557995662093163,
0.043134141713380814,
0.04232311248779297,
-0.0332861952483654,
-5.2537298396521614e-33,
0.02164166048169136,
-0.08396140486001968,
0.0630364939570427,
0.01765022799372673,
0.02321399562060833,
-0.027722841128706932,
0.0979435071349144,
0.0474652498960495,
0.0010373230325058103,
-0.13348488509655,
-0.02576572448015213,
0.04366052523255348,
0.08214402943849564,
-0.017776645720005035,
-0.04112789034843445,
-0.03525714948773384,
-0.13058598339557648,
-0.07371128350496292,
0.027010126039385796,
0.054177649319171906,
0.06905610859394073,
0.026622537523508072,
-0.11379455029964447,
0.017849011346697807,
-0.02430080808699131,
0.06963284313678741,
-0.06251971423625946,
-0.0419643372297287,
-0.014402229338884354,
0.024135679006576538,
-0.0011397533817216754,
0.01019066572189331,
0.027084190398454666,
-0.008217121474444866,
-0.01079551037400961,
0.08690866827964783,
-0.08705692738294601,
0.13384245336055756,
-0.061435289680957794,
0.06481947004795074,
0.08617158979177475,
0.014797176234424114,
-0.04246613383293152,
-0.006812660954892635,
0.006305184680968523,
0.0777163952589035,
0.01647515594959259,
-0.021342597901821136,
-0.05963611230254173,
0.0018395236693322659,
-0.020342128351330757,
-0.03035115823149681,
-0.019255170598626137,
-0.014233657158911228,
-0.07754383981227875,
0.016298692673444748,
0.04886506125330925,
-0.03250933438539505,
0.03573044762015343,
-0.017932383343577385,
0.053771886974573135,
-0.01539638638496399,
0.12034102529287338,
0.06338085234165192,
-0.029292378574609756,
-0.03742440044879913,
-0.006596693769097328,
0.05724988505244255,
-0.044979117810726166,
0.054887134581804276,
-0.05995456129312515,
-0.10472746938467026,
0.025183191522955894,
0.012283879332244396,
0.1089852973818779,
-0.13184325397014618,
0.024501550942659378,
-0.04333236813545227,
0.029051523655653,
0.04710156470537186,
-0.11261465400457382,
0.017694266512989998,
-0.08123491704463959,
0.04584253579378128,
0.03385826572775841,
0.018939347937703133,
-0.004979581106454134,
0.08699706196784973,
0.08228835463523865,
0.033993639051914215,
-0.08373316377401352,
-0.02496095933020115,
-0.06401165574789047,
0.012304195202887058,
-0.005048620980232954,
-5.8189893792359726e-8,
-0.04512596130371094,
0.023827841505408287,
0.04249257594347,
0.032867349684238434,
-0.048056453466415405,
0.010654395446181297,
0.01791219785809517,
-0.025228794664144516,
0.059467416256666183,
0.04202737659215927,
-0.017217351123690605,
0.05500974878668785,
-0.04433086887001991,
-0.012947865761816502,
-0.0894772931933403,
0.0586434043943882,
0.014267128892242908,
0.0512603260576725,
-0.04404347389936447,
-0.029670454561710358,
-0.10908191651105881,
-0.02564593404531479,
0.009901680983603,
0.020364096388220787,
0.02677726000547409,
0.0593746043741703,
-0.04301238805055618,
0.03354950621724129,
0.015147940255701542,
0.0811009407043457,
-0.018358640372753143,
0.023675989359617233,
-0.012946155853569508,
0.003896977985277772,
-0.10044611990451813,
0.05430176481604576,
-0.09112055599689484,
-0.05287906900048256,
0.0063972133211791515,
0.019200334325432777,
0.014264082536101341,
0.016525737941265106,
0.0020368658006191254,
-0.022125188261270523,
0.06832318007946014,
0.009943603537976742,
0.040666572749614716,
-0.03783423453569412,
0.011938593350350857,
0.052510492503643036,
-0.09487312287092209,
-0.06265030056238174,
-0.019985683262348175,
0.1182800903916359,
0.010815330781042576,
-0.04206739738583565,
0.006161939352750778,
0.01207894179970026,
0.11118585616350174,
-0.0003162208304274827,
-0.04612373560667038,
-0.08925672620534897,
0.004567991942167282,
-0.006745933089405298
] | 0.00153 |
# Qwen Qwen provides a free-tier OAuth flow for Qwen Coder and Qwen Vision models (2,000 requests/day, subject to Qwen rate limits). ## Enable the plugin ```bash openclaw plugins enable qwen-portal-auth ``` Restart the Gateway after enabling. ## Authenticate ```bash openclaw models auth login --provider qwen-portal --set-default ``` This runs the Qwen device-code OAuth flow and writes a provider entry to your `models.json` (plus a `qwen` alias for quick switching). ## Model IDs - `qwen-portal/coder-model` - `qwen-portal/vision-model` Switch models with: ```bash openclaw models set qwen-portal/coder-model ``` ## Reuse Qwen Code CLI login If you already logged in with the Qwen Code CLI, OpenClaw will sync credentials from `~/.qwen/oauth\_creds.json` when it loads the auth store. You still need a `models.providers.qwen-portal` entry (use the login command above to create one). ## Notes - Tokens auto-refresh; re-run the login command if refresh fails or access is revoked. - Default base URL: `https://portal.qwen.ai/v1` (override with `models.providers.qwen-portal.baseUrl` if Qwen provides a different endpoint). - See [Model providers](/concepts/model-providers) for provider-wide rules. | https://github.com/openclaw/openclaw/blob/main//docs/providers/qwen.md | main | opebclaw | [
-0.0965067595243454,
-0.04839687794446945,
-0.0727546438574791,
0.008934253826737404,
-0.04734143242239952,
-0.05288105458021164,
-0.007940498180687428,
-0.017087150365114212,
0.057899948209524155,
-0.0201005507260561,
0.03745269775390625,
-0.03516295924782753,
0.04776578024029732,
0.029256992042064667,
0.1120683029294014,
0.12058287858963013,
-0.00924775842577219,
-0.015602780506014824,
-0.014308219775557518,
-0.05339345335960388,
0.014440483413636684,
-0.008947108872234821,
-0.014624993316829205,
-0.0037219554651528597,
-0.06802288442850113,
-0.10273298621177673,
-0.012450270354747772,
0.04956549033522606,
0.005119908135384321,
-0.027245482429862022,
0.06639540940523148,
0.08228354901075363,
-0.0693976879119873,
0.012337480671703815,
0.03147270530462265,
0.03234419599175453,
0.01773167960345745,
-0.038220200687646866,
-0.08288634568452835,
-0.02238968387246132,
0.02750663459300995,
-0.0027904589660465717,
-0.07882609963417053,
-0.06499039381742477,
-0.0176855381578207,
-0.0774286687374115,
-0.015871573239564896,
-0.002669375156983733,
-0.05908738821744919,
-0.04673535004258156,
-0.005110114812850952,
-0.020921990275382996,
0.005251924507319927,
-0.037702709436416626,
-0.014105056412518024,
0.022103367373347282,
0.0025401401799172163,
-0.03649929165840149,
0.04289577528834343,
-0.055183034390211105,
0.00910920649766922,
0.031279850751161575,
-0.021826311945915222,
0.04934828728437424,
-0.11063925921916962,
-0.008482345379889011,
-0.06377200782299042,
-0.021348319947719574,
-0.06022519990801811,
-0.022413885220885277,
-0.04391179978847504,
-0.061195142567157745,
-0.062041595578193665,
-0.08388859033584595,
0.05316762253642082,
-0.06594071537256241,
0.030877748504281044,
0.052280690521001816,
-0.08778782188892365,
-0.09766483306884766,
-0.015034901909530163,
-0.014646959491074085,
-0.04711480438709259,
0.07809947431087494,
0.0502045676112175,
0.11037694662809372,
0.018041204661130905,
0.06841988116502762,
0.03906802088022232,
-0.015238070860505104,
0.009800996631383896,
-0.047897908836603165,
0.006524767726659775,
-0.06417320668697357,
0.05812809616327286,
-0.024149324744939804,
0.023706059902906418,
-0.005315341986715794,
-0.018209347501397133,
0.04408758506178856,
-0.027562307193875313,
0.03112323209643364,
0.022469371557235718,
0.005390585865825415,
0.0031572189182043076,
0.023705899715423584,
0.09258964657783508,
0.11676330119371414,
0.07289932668209076,
0.033378761261701584,
0.02299761213362217,
0.021993132308125496,
0.09350280463695526,
-0.029511062428355217,
-0.04471414536237717,
0.07953020185232162,
-0.08602827787399292,
0.07779445499181747,
0.09131190180778503,
0.09199079871177673,
0.07318864017724991,
0.05716452747583389,
-0.02549617923796177,
-0.03076009824872017,
0.08501877635717392,
0.08043781667947769,
0.038772743195295334,
3.0340568976348904e-33,
0.050179317593574524,
0.04283745214343071,
-0.015277673490345478,
-0.03223639354109764,
0.11593599617481232,
0.003543974831700325,
0.11003854870796204,
0.024012411013245583,
-0.060861945152282715,
-0.020128808915615082,
-0.019108248874545097,
0.06639823317527771,
-0.08896874636411667,
-0.01530451700091362,
0.011395983397960663,
0.01623653806746006,
-0.11099294573068619,
-0.04669380187988281,
0.09298200160264969,
0.06085162237286568,
0.044587817043066025,
-0.10384327918291092,
-0.045725081115961075,
0.06557576358318329,
0.035600725561380386,
0.02017568238079548,
0.02283693104982376,
0.0605926439166069,
-0.029903538525104523,
0.04246683791279793,
0.06202198937535286,
-0.029627058655023575,
-0.0458313524723053,
-0.045354343950748444,
-0.07590768486261368,
0.021443305537104607,
-0.05277913808822632,
-0.012806806713342667,
-0.05198463052511215,
-0.08220479637384415,
0.001979045569896698,
-0.03269436955451965,
-0.08999668061733246,
-0.05631595104932785,
-0.05768934264779091,
-0.09578313678503036,
-0.033633533865213394,
0.0443180575966835,
0.029585303738713264,
0.07137169688940048,
0.01848098635673523,
-0.04587282985448837,
-0.0628301277756691,
-0.04082191735506058,
-0.05409036949276924,
-0.051863592118024826,
-0.04590874910354614,
-0.03421144187450409,
-0.017583634704351425,
-0.014275781810283661,
-0.02063167095184326,
-0.027689166367053986,
-0.030172433704137802,
0.04618833586573601,
0.0063815247267484665,
-0.002995890798047185,
0.05785878002643585,
-0.04095420613884926,
-0.012180269695818424,
0.047954171895980835,
-0.039135683327913284,
0.04399850592017174,
-0.027363529428839684,
0.011286776512861252,
0.006779464893043041,
-0.03869210556149483,
-0.019014574587345123,
0.009531601332128048,
0.053123243153095245,
0.027438731864094734,
0.057234834879636765,
0.006859852932393551,
-0.03265717998147011,
0.08343550562858582,
0.028159236535429955,
-0.014207088388502598,
0.0805288627743721,
-0.044901199638843536,
-0.058658190071582794,
0.07938822358846664,
0.03234210982918739,
-0.044583991169929504,
0.05527281388640404,
-0.0011002314276993275,
-0.03436923399567604,
-3.881959890995215e-33,
0.017056211829185486,
-0.061065979301929474,
0.09519408643245697,
0.045567408204078674,
0.02474220097064972,
-0.04300403594970703,
0.020418383181095123,
-0.005302120465785265,
-0.031550586223602295,
-0.053685419261455536,
-0.007998614571988583,
0.06417196989059448,
0.010832023806869984,
-0.014786353334784508,
0.07231982052326202,
-0.03788015618920326,
-0.008237279951572418,
-0.05662724748253822,
0.0277116522192955,
0.08296144008636475,
-0.029184112325310707,
0.008174341171979904,
0.026518497616052628,
-0.035022418946027756,
0.013882860541343689,
0.04483038932085037,
0.01934901997447014,
0.014400851912796497,
-0.0030686035752296448,
-0.06978832185268402,
-0.03156443312764168,
-0.046971507370471954,
-0.07773987948894501,
-0.02957918867468834,
-0.023205023258924484,
0.023459486663341522,
-0.017431015148758888,
0.10664283484220505,
-0.012003839015960693,
0.046626973897218704,
0.06047308072447777,
-0.05781698226928711,
-0.05298210307955742,
0.03460894525051117,
-0.013415919616818428,
0.0645325556397438,
-0.044967152178287506,
-0.05858834087848663,
-0.08549319952726364,
-0.016108589246869087,
0.008204259909689426,
0.10370901972055435,
0.05299700051546097,
0.010312630794942379,
-0.0028688479214906693,
0.07141659408807755,
0.06758222728967667,
-0.0374588817358017,
-0.007468278519809246,
-0.06849738955497742,
0.030120324343442917,
-0.04623290151357651,
-0.010617448017001152,
0.13580261170864105,
-0.017401527613401413,
-0.1012178361415863,
0.0124575886875391,
0.055429041385650635,
-0.028064655140042305,
-0.07973402738571167,
-0.06167617067694664,
-0.09006942063570023,
0.05228111520409584,
-0.00990506075322628,
0.00011651327804429457,
-0.08166427165269852,
-0.028412915766239166,
-0.08507819473743439,
0.024373814463615417,
0.023456064984202385,
-0.035764701664447784,
-0.026527710258960724,
0.024825122207403183,
-0.02881094068288803,
-0.048347461968660355,
-0.05355644226074219,
0.017343048006296158,
0.04023437947034836,
0.09335976094007492,
0.08349886536598206,
-0.08512725681066513,
0.07547074556350708,
0.020839424803853035,
-0.01902173087000847,
-0.013586088083684444,
-4.631409922239982e-8,
-0.030537797138094902,
-0.07910288125276566,
-0.022216131910681725,
0.04926566407084465,
-0.0478992834687233,
-0.02401047945022583,
-0.023577038198709488,
0.06620911508798599,
-0.03327387571334839,
0.030486702919006348,
0.1008489653468132,
0.052453890442848206,
-0.036935124546289444,
0.05060543492436409,
-0.02007445879280567,
0.0924934521317482,
0.017768478021025658,
-0.053231287747621536,
0.03457818552851677,
-0.04306076467037201,
-0.05976496636867523,
0.06051134690642357,
0.02536630444228649,
0.012142425402998924,
-0.06855785101652145,
-0.011831586249172688,
-0.00667080981656909,
0.00954328291118145,
-0.016856743022799492,
0.004100632853806019,
0.00797072984278202,
0.0024393643252551556,
0.05864083766937256,
-0.006058154162019491,
-0.09819678962230682,
-0.028204111382365227,
-0.07529079914093018,
-0.048841990530490875,
0.04690730199217796,
-0.006918269209563732,
0.07868166267871857,
0.02331288903951645,
-0.03309734910726547,
-0.05448762699961662,
-0.036328088492155075,
0.008434956893324852,
-0.00424468657001853,
-0.038733094930648804,
0.05951547622680664,
-0.0020825928077101707,
-0.012134375050663948,
-0.023205118253827095,
0.04246830940246582,
0.06998272240161896,
-0.013643278740346432,
0.03898674622178078,
0.06876969337463379,
-0.11576876044273376,
0.07795075327157974,
-0.008217445574700832,
0.009706920944154263,
0.030001267790794373,
0.07105991989374161,
-0.013194281607866287
] | -0.040322 |
# Anthropic (Claude) Anthropic builds the \*\*Claude\*\* model family and provides access via an API. In OpenClaw you can authenticate with an API key or a \*\*setup-token\*\*. ## Option A: Anthropic API key \*\*Best for:\*\* standard API access and usage-based billing. Create your API key in the Anthropic Console. ### CLI setup ```bash openclaw onboard # choose: Anthropic API key # or non-interactive openclaw onboard --anthropic-api-key "$ANTHROPIC\_API\_KEY" ``` ### Config snippet ```json5 { env: { ANTHROPIC\_API\_KEY: "sk-ant-..." }, agents: { defaults: { model: { primary: "anthropic/claude-opus-4-5" } } }, } ``` ## Prompt caching (Anthropic API) OpenClaw supports Anthropic's prompt caching feature. This is \*\*API-only\*\*; subscription auth does not honor cache settings. ### Configuration Use the `cacheRetention` parameter in your model config: | Value | Cache Duration | Description | | ------- | -------------- | ----------------------------------- | | `none` | No caching | Disable prompt caching | | `short` | 5 minutes | Default for API Key auth | | `long` | 1 hour | Extended cache (requires beta flag) | ```json5 { agents: { defaults: { models: { "anthropic/claude-opus-4-5": { params: { cacheRetention: "long" }, }, }, }, }, } ``` ### Defaults When using Anthropic API Key authentication, OpenClaw automatically applies `cacheRetention: "short"` (5-minute cache) for all Anthropic models. You can override this by explicitly setting `cacheRetention` in your config. ### Legacy parameter The older `cacheControlTtl` parameter is still supported for backwards compatibility: - `"5m"` maps to `short` - `"1h"` maps to `long` We recommend migrating to the new `cacheRetention` parameter. OpenClaw includes the `extended-cache-ttl-2025-04-11` beta flag for Anthropic API requests; keep it if you override provider headers (see [/gateway/configuration](/gateway/configuration)). ## Option B: Claude setup-token \*\*Best for:\*\* using your Claude subscription. ### Where to get a setup-token Setup-tokens are created by the \*\*Claude Code CLI\*\*, not the Anthropic Console. You can run this on \*\*any machine\*\*: ```bash claude setup-token ``` Paste the token into OpenClaw (wizard: \*\*Anthropic token (paste setup-token)\*\*), or run it on the gateway host: ```bash openclaw models auth setup-token --provider anthropic ``` If you generated the token on a different machine, paste it: ```bash openclaw models auth paste-token --provider anthropic ``` ### CLI setup ```bash # Paste a setup-token during onboarding openclaw onboard --auth-choice setup-token ``` ### Config snippet ```json5 { agents: { defaults: { model: { primary: "anthropic/claude-opus-4-5" } } }, } ``` ## Notes - Generate the setup-token with `claude setup-token` and paste it, or run `openclaw models auth setup-token` on the gateway host. - If you see “OAuth token refresh failed …” on a Claude subscription, re-auth with a setup-token. See [/gateway/troubleshooting#oauth-token-refresh-failed-anthropic-claude-subscription](/gateway/troubleshooting#oauth-token-refresh-failed-anthropic-claude-subscription). - Auth details + reuse rules are in [/concepts/oauth](/concepts/oauth). ## Troubleshooting \*\*401 errors / token suddenly invalid\*\* - Claude subscription auth can expire or be revoked. Re-run `claude setup-token` and paste it into the \*\*gateway host\*\*. - If the Claude CLI login lives on a different machine, use `openclaw models auth paste-token --provider anthropic` on the gateway host. \*\*No API key found for provider "anthropic"\*\* - Auth is \*\*per agent\*\*. New agents don’t inherit the main agent’s keys. - Re-run onboarding for that agent, or paste a setup-token / API key on the gateway host, then verify with `openclaw models status`. \*\*No credentials found for profile `anthropic:default`\*\* - Run `openclaw models status` to see which auth profile is active. - Re-run onboarding, or paste a setup-token / API key for that profile. \*\*No available auth profile (all in cooldown/unavailable)\*\* - Check `openclaw models status --json` for `auth.unusableProfiles`. - Add another Anthropic profile or wait for cooldown. More: [/gateway/troubleshooting](/gateway/troubleshooting) and [/help/faq](/help/faq). | https://github.com/openclaw/openclaw/blob/main//docs/providers/anthropic.md | main | opebclaw | [
-0.017357978969812393,
0.06370127946138382,
-0.13255006074905396,
-0.005306962411850691,
-0.02836422622203827,
-0.07081959396600723,
0.01894535683095455,
0.013264532200992107,
0.014418215490877628,
0.015589623712003231,
-0.0007947289850562811,
-0.07592643052339554,
-0.012012970633804798,
0.018496692180633545,
0.13766449689865112,
0.08046325296163559,
0.007560833357274532,
-0.04173136502504349,
-0.02205769345164299,
0.007877782918512821,
0.010968221351504326,
0.027284594252705574,
-0.03374319523572922,
-0.015985501930117607,
-0.10661047697067261,
-0.10344426333904266,
-0.0132031524553895,
0.029550468549132347,
0.001641940325498581,
0.03255255147814751,
0.05475487560033798,
0.05717706307768822,
0.056302260607481,
0.0022622833494096994,
0.07922038435935974,
0.07936296612024307,
0.02348000928759575,
-0.10270465910434723,
-0.0387674942612648,
-0.007230004761368036,
0.06832598894834518,
0.012091988697648048,
-0.12877921760082245,
-0.0520256869494915,
-0.05301154404878616,
-0.054145827889442444,
-0.024348272010684013,
-0.03926021233201027,
-0.01305623073130846,
0.0863402783870697,
-0.1033858209848404,
-0.08546485006809235,
0.022857826203107834,
-0.11194629222154617,
-0.07176526635885239,
-0.007414686027914286,
-0.03961392492055893,
-0.02071770280599594,
0.01361686922609806,
-0.09283196181058884,
0.06858237087726593,
-0.0013982668751850724,
-0.031106656417250633,
0.06340749561786652,
-0.1119491383433342,
0.00924636423587799,
-0.10347475111484528,
-0.0425519123673439,
-0.0037804131861776114,
-0.00703160697594285,
0.028477147221565247,
-0.08649543672800064,
-0.007369689177721739,
-0.06352998316287994,
0.0034566360991448164,
-0.001797107863239944,
0.08139247447252274,
-0.020655859261751175,
0.025441128760576248,
-0.08946442604064941,
-0.08191939443349838,
-0.03645544871687889,
-0.07988467812538147,
0.060546133667230606,
-0.008973940275609493,
0.14741843938827515,
0.01785546913743019,
0.09772160649299622,
-0.016459619626402855,
-0.0003983779461123049,
-0.03807102143764496,
-0.09389180690050125,
0.03882598131895065,
-0.08200956135988235,
0.027583666145801544,
0.06914018839597702,
0.021190959960222244,
-0.05616993084549904,
-0.056037675589323044,
0.09136077016592026,
-0.02235991880297661,
-0.003613984677940607,
0.04514431580901146,
0.011216090992093086,
0.009463752619922161,
0.024723868817090988,
0.027565887197852135,
0.03318445011973381,
0.008861949667334557,
0.022695792838931084,
-0.031172873452305794,
0.04149472713470459,
0.07200390845537186,
-0.010856249369680882,
-0.008746465668082237,
0.11478497833013535,
-0.056400977075099945,
-0.018428368493914604,
0.1333131045103073,
0.010978423990309238,
0.12298619002103806,
-0.02358134090900421,
0.003978082910180092,
0.036128826439380646,
0.10392285883426666,
0.001888010767288506,
0.05229563266038895,
6.878594007616716e-33,
0.009809697978198528,
0.02261066809296608,
0.04442388936877251,
-0.02784053236246109,
0.09990092366933823,
-0.015620407648384571,
0.04408789798617363,
0.048963919281959534,
-0.051605794578790665,
0.09998665004968643,
-0.0137244313955307,
0.08669064939022064,
0.014609544537961483,
0.019907090812921524,
-0.07465462386608124,
0.039638739079236984,
-0.07985318452119827,
-0.012738224118947983,
0.07822680473327637,
0.04330754652619362,
0.04432908445596695,
-0.012825191020965576,
-0.0048633748665452,
0.04036325588822365,
0.026888305321335793,
0.052260857075452805,
-0.020557168871164322,
-0.031232761219143867,
0.007170878816395998,
0.06415080279111862,
0.08376284688711166,
-0.007164118345826864,
-0.036606479436159134,
0.009942642413079739,
-0.039126794785261154,
-0.018617138266563416,
-0.05197605490684509,
-0.041087258607149124,
-0.08438897877931595,
0.005297304131090641,
0.06784795969724655,
-0.032953571528196335,
-0.027901142835617065,
0.013435721397399902,
-0.05152270942926407,
-0.032175399363040924,
0.011524355039000511,
0.03574853762984276,
0.08258164674043655,
0.009034838527441025,
-0.06081652268767357,
0.024354223161935806,
0.03854851424694061,
-0.08027354627847672,
-0.020632846280932426,
-0.08743985742330551,
0.013211456127464771,
-0.01808917336165905,
-0.028962144628167152,
-0.0757213830947876,
-0.05497118458151817,
0.004271625075489283,
0.06937485933303833,
0.056081175804138184,
0.007595691364258528,
0.0004756367998197675,
-0.011234221048653126,
-0.014347960241138935,
0.022263741120696068,
-0.011735905893146992,
0.0014323190553113818,
0.045183051377534866,
-0.006888745818287134,
0.025198044255375862,
-0.08601702004671097,
-0.01045200228691101,
0.049630627036094666,
0.009566264227032661,
0.06773745268583298,
0.03514379262924194,
-0.011031920090317726,
0.03057985194027424,
-0.0420023575425148,
0.08777403831481934,
0.029207108542323112,
-0.0018592138076201081,
0.02154913730919361,
-0.012730594724416733,
-0.0038073991890996695,
0.021753322333097458,
-0.02811015211045742,
-0.030456721782684326,
-0.07780040055513382,
-0.022265134379267693,
-0.03468748554587364,
-8.467132094063e-33,
0.015614036470651627,
-0.053113773465156555,
0.005848477128893137,
-0.03747944161295891,
-0.00765081774443388,
-0.06553139537572861,
0.06054290011525154,
-0.02301492542028427,
-0.02439105696976185,
-0.033196642994880676,
-0.05961526930332184,
0.05863956734538078,
0.05460568889975548,
-0.04213416948914528,
0.10160840302705765,
0.009198012761771679,
-0.0927622988820076,
-0.049964796751737595,
0.0819903239607811,
0.046586718410253525,
-0.029668977484107018,
0.015134300105273724,
-0.01975616067647934,
0.055671341717243195,
0.08513431996107101,
-0.007309644483029842,
0.008928187191486359,
0.03706284612417221,
-0.007607728708535433,
-0.024772949516773224,
-0.06414037197828293,
0.09709835797548294,
-0.07262701541185379,
-0.01795443333685398,
-0.04456388205289841,
0.03537827357649803,
-0.055514562875032425,
0.14946603775024414,
-0.038350850343704224,
0.005843318998813629,
0.0361032709479332,
-0.023727931082248688,
-0.08119147270917892,
-0.011755131185054779,
0.019607093185186386,
-0.02169821597635746,
-0.026612600311636925,
-0.016935251653194427,
-0.07986516505479813,
-0.016840295866131783,
-0.002140197204425931,
-0.045075494796037674,
-0.0169526319950819,
-0.03198028728365898,
-0.0038053318858146667,
0.08977366983890533,
0.030937107279896736,
-0.05052483454346657,
-0.026490578427910805,
-0.06631048768758774,
0.01623735949397087,
-0.07729697227478027,
0.038715772330760956,
0.09893231838941574,
-0.049945537000894547,
-0.08635813742876053,
-0.010401450097560883,
-0.0009988312376663089,
-0.1039678230881691,
-0.0325249619781971,
-0.01759558543562889,
-0.04184899479150772,
-0.029520537704229355,
0.006724532227963209,
-0.024873515591025352,
0.018289245665073395,
-0.023099729791283607,
-0.025727881118655205,
0.048895902931690216,
0.04847049340605736,
-0.07497111707925797,
-0.0009099389426410198,
0.06594551354646683,
0.052685752511024475,
0.0006349784671328962,
0.011364581063389778,
-0.05123710259795189,
0.06910481303930283,
0.02240591123700142,
0.08204711973667145,
-0.04522941634058952,
0.07535420358181,
-0.02230682410299778,
0.017234308645129204,
-0.036665525287389755,
-5.50249588116003e-8,
-0.05189924314618111,
0.009034602902829647,
-0.02558279223740101,
0.03804772347211838,
-0.07486709207296371,
-0.04507048800587654,
-0.00212769559584558,
-0.04432808607816696,
-0.053604770451784134,
0.009727557189762592,
0.0576501339673996,
0.024290142580866814,
0.02093561179935932,
0.027852335944771767,
-0.07692542672157288,
0.09658242017030716,
0.00036856307997368276,
0.0008229440427385271,
0.00661225151270628,
-0.0831487849354744,
-0.02062513493001461,
0.022076645866036415,
0.0655127689242363,
-0.07111772149801254,
-0.005077162757515907,
-0.014094068668782711,
-0.06988462060689926,
-0.0033070503268390894,
-0.007912312634289265,
-0.01886943355202675,
-0.05260620266199112,
-0.01957295648753643,
0.02435217797756195,
-0.02035014145076275,
0.03408709168434143,
-0.06150985136628151,
-0.01815580390393734,
-0.0216868594288826,
-0.015112300403416157,
-0.03480198234319687,
0.05479079857468605,
0.05023380368947983,
-0.09380608797073364,
-0.044507190585136414,
0.04728754982352257,
0.024673933163285255,
-0.00984288938343525,
-0.00607692077755928,
0.07429881393909454,
-0.03560172766447067,
-0.00404419656842947,
-0.03981802240014076,
-0.028053568676114082,
0.05263165384531021,
-0.007336296606808901,
0.07042951881885529,
-0.0013441262999549508,
-0.0030674722511321306,
0.0616745762526989,
0.051566045731306076,
-0.02684326097369194,
0.034295208752155304,
0.005928817205131054,
-0.06076578423380852
] | 0.086278 |
Re-run onboarding, or paste a setup-token / API key for that profile. \*\*No available auth profile (all in cooldown/unavailable)\*\* - Check `openclaw models status --json` for `auth.unusableProfiles`. - Add another Anthropic profile or wait for cooldown. More: [/gateway/troubleshooting](/gateway/troubleshooting) and [/help/faq](/help/faq). | https://github.com/openclaw/openclaw/blob/main//docs/providers/anthropic.md | main | opebclaw | [
0.00001139531195804011,
-0.03828597441315651,
-0.0683000385761261,
0.06561912596225739,
0.048974618315696716,
-0.06197716295719147,
-0.05148709565401077,
-0.010705150663852692,
-0.0288577601313591,
-0.018619850277900696,
0.04717323184013367,
-0.011861040256917477,
0.016911061480641365,
0.05149867758154869,
0.04358452558517456,
0.11527471989393234,
0.024322787299752235,
-0.061512794345617294,
-0.06297027319669724,
-0.0201711505651474,
-0.07817383855581284,
-0.025660613551735878,
-0.0586337186396122,
-0.024753311648964882,
-0.037918660789728165,
-0.09673856198787689,
-0.04849676415324211,
0.020826837047934532,
-0.051948197185993195,
0.05975305289030075,
0.03593390807509422,
0.013912435621023178,
-0.06255285441875458,
-0.031111441552639008,
0.07765462249517441,
0.021364126354455948,
0.07382453978061676,
-0.025330018252134323,
-0.028210265561938286,
-0.06556332111358643,
0.031936995685100555,
-0.02701490744948387,
-0.04953895881772041,
-0.016297362744808197,
-0.0021064758766442537,
-0.04359835758805275,
0.05631795525550842,
-0.09520959854125977,
-0.003992942161858082,
0.03467712551355362,
-0.03699221834540367,
-0.018898846581578255,
0.009625425562262535,
-0.0804528146982193,
-0.012992540374398232,
0.07518202066421509,
0.04002077877521515,
-0.04657803475856781,
0.05416597053408623,
-0.015217650681734085,
0.028403379023075104,
-0.01097057107836008,
-0.043811630457639694,
0.029659289866685867,
-0.08996526151895523,
0.037527699023485184,
-0.09080876410007477,
-0.11981358379125595,
-0.05993876978754997,
0.028313206508755684,
0.043298620730638504,
0.06650648266077042,
-0.04977651312947273,
-0.04290344938635826,
0.05405633524060249,
0.025897471234202385,
0.012768925167620182,
-0.008834038861095905,
0.05141390860080719,
-0.06156400218605995,
0.01254776306450367,
-0.02905661053955555,
-0.09078461676836014,
0.07417958974838257,
-0.005609547719359398,
0.09121120721101761,
0.022418290376663208,
0.02593066915869713,
-0.05996260792016983,
0.06896708905696869,
0.03192818537354469,
-0.04184960573911667,
0.03596198558807373,
-0.07024547457695007,
-0.04986247792840004,
-0.0302455872297287,
0.008234688080847263,
-0.014960246160626411,
-0.1232457384467125,
0.03844473138451576,
-0.061900414526462555,
0.01959284581243992,
0.08809870481491089,
0.08468024432659149,
-0.028354957699775696,
0.047445472329854965,
0.06378651410341263,
0.06788596510887146,
0.010340374894440174,
-0.033098213374614716,
0.024925246834754944,
-0.02691561169922352,
0.0711730420589447,
0.033555325120687485,
-0.014156870543956757,
0.04335004836320877,
-0.1258833408355713,
-0.06010875478386879,
0.01729336939752102,
0.05349712073802948,
0.03753683716058731,
0.05520410090684891,
0.08360879868268967,
0.008091995492577553,
0.04984654486179352,
0.048200517892837524,
0.02988998219370842,
1.1437226670649804e-33,
0.04979148134589195,
0.023966701701283455,
-0.03086882270872593,
0.023995041847229004,
0.14581769704818726,
-0.039786189794540405,
0.04095861688256264,
-0.03278553858399391,
-0.0013210647739470005,
0.046779144555330276,
0.03509999439120293,
0.06328164041042328,
0.014839313924312592,
-0.024055033922195435,
0.020762160420417786,
0.018630944192409515,
-0.02446199767291546,
-0.003933072090148926,
0.029019203037023544,
0.02610359527170658,
0.07746104896068573,
-0.09280268847942352,
-0.031215345486998558,
0.046560607850551605,
-0.015118657611310482,
0.08110311627388,
0.025742841884493828,
0.05829828232526779,
-0.008685248903930187,
0.048868924379348755,
0.0550946407020092,
-0.022489648312330246,
-0.012798139825463295,
-0.006128950044512749,
-0.05968369543552399,
-0.0031685661524534225,
-0.0058537814766168594,
-0.028736699372529984,
-0.06791564077138901,
-0.03711335361003876,
-0.004602715838700533,
-0.016681000590324402,
-0.04022909700870514,
-0.005885751452296972,
-0.05351072922348976,
-0.0939289778470993,
0.06214333698153496,
0.0513276569545269,
0.07706937193870544,
0.06372489780187607,
-0.08584215492010117,
-0.030117547139525414,
0.033793896436691284,
-0.03904085233807564,
-0.07649079710245132,
-0.05823919549584389,
-0.06740497797727585,
0.0037397430278360844,
-0.015865176916122437,
-0.04841257631778717,
0.0013715102104470134,
0.0028352427762001753,
-0.06346623599529266,
-0.024830646812915802,
-0.038165245205163956,
-0.022166689857840538,
-0.014871407300233841,
0.011340032331645489,
-0.034291334450244904,
0.004596466198563576,
-0.010245589539408684,
0.03157661482691765,
0.02676524966955185,
0.030973702669143677,
-0.06551850587129593,
-0.038980867713689804,
-0.01087011955678463,
0.019677812233567238,
-0.010027952492237091,
0.030701518058776855,
0.03112913854420185,
0.01422810647636652,
-0.031080234795808792,
0.0496889129281044,
0.010365276597440243,
0.013640946708619595,
0.005202437285333872,
0.02731252647936344,
0.006275609601289034,
0.08477827906608582,
-0.0046307104639709,
0.017953190952539444,
-0.003468539100140333,
0.06332079321146011,
-0.03746303170919418,
-3.0399731239683805e-33,
-0.06824438273906708,
-0.03819812461733818,
0.03939025476574898,
-0.03413354232907295,
0.03236491605639458,
0.013621189631521702,
0.02553243190050125,
0.03418914973735809,
0.013220482505857944,
-0.019832750782370567,
0.030097948387265205,
0.12228512763977051,
0.028607746586203575,
-0.09185978025197983,
0.08231298625469208,
-0.03660581633448601,
-0.07171656936407089,
0.04274885356426239,
0.06634855270385742,
0.05427514761686325,
-0.01486691553145647,
0.015277596190571785,
-0.05753830447793007,
-0.03985996171832085,
0.04373854771256447,
0.06073556840419769,
0.011702628806233406,
0.018160151317715645,
-0.0012878203997388482,
-0.01601160131394863,
0.04088744893670082,
0.08429544419050217,
-0.05860399454832077,
0.00011587326298467815,
-0.013187932781875134,
0.027099862694740295,
-0.09238069504499435,
0.03289717435836792,
-0.02809414640069008,
-0.0015667731640860438,
0.09635064005851746,
0.043419402092695236,
-0.039017777889966965,
0.008743129670619965,
0.03904534876346588,
0.05690726265311241,
0.009618301875889301,
-0.145640566945076,
-0.034493669867515564,
-0.0006162395002320409,
-0.01807199791073799,
-0.01353735662996769,
0.13652965426445007,
0.054902151226997375,
-0.0039052674546837807,
0.07841318100690842,
0.09874601662158966,
-0.06736969202756882,
0.07195572555065155,
-0.10450062900781631,
-0.018314817920327187,
-0.04838647320866585,
0.027160171419382095,
0.10992995649576187,
-0.010257257148623466,
-0.04379095137119293,
0.011796141043305397,
0.08889872580766678,
-0.09768138080835342,
-0.0287679024040699,
-0.0748155489563942,
-0.029279189184308052,
0.023769766092300415,
-0.06670104712247849,
-0.03230471536517143,
-0.051219597458839417,
-0.11028700321912766,
-0.04044497013092041,
-0.05139324814081192,
0.0419328436255455,
0.027821023017168045,
0.007578133139759302,
-0.05437964200973511,
-0.0740022361278534,
0.04207639768719673,
-0.06561743468046188,
-0.04769488051533699,
0.12759412825107574,
0.046125445514917374,
0.07083482295274734,
-0.07136308401823044,
-0.01191881112754345,
-0.046563826501369476,
0.03596942499279976,
-0.005517595447599888,
-4.237204720425325e-8,
-0.08204326033592224,
0.0067048692144453526,
-0.040109626948833466,
0.06306517124176025,
0.05021686851978302,
0.008340856060385704,
-0.0505848228931427,
-0.0026193796657025814,
-0.051191143691539764,
-0.011826078407466412,
0.022823838517069817,
0.023510735481977463,
-0.060852184891700745,
0.0407857671380043,
-0.05277178809046745,
0.0030508749186992645,
-0.06876625865697861,
-0.0011670221574604511,
0.0417277067899704,
-0.04782375320792198,
-0.062366046011447906,
-0.024273423478007317,
0.058867793530225754,
-0.015886854380369186,
-0.0975668877363205,
0.03725951164960861,
-0.012127690948545933,
-0.04511864855885506,
-0.009418239817023277,
-0.0014278286835178733,
-0.151455357670784,
0.05015871301293373,
0.06853323429822922,
-0.09024161100387573,
-0.04923965781927109,
0.020846879109740257,
0.010750391520559788,
0.02757534384727478,
0.007266046013683081,
-0.0875195637345314,
0.05472898855805397,
0.058377645909786224,
-0.041863828897476196,
-0.047426216304302216,
0.0021154414862394333,
0.06744200736284256,
-0.029727764427661896,
0.0935797169804573,
0.057936668395996094,
-0.014596385881304741,
-0.003938661888241768,
-0.053147099912166595,
0.025387529283761978,
0.08233340829610825,
-0.008884605951607227,
0.024945378303527832,
0.012386209331452847,
-0.052928078919649124,
-0.012514106929302216,
-0.0252744872123003,
0.007046838290989399,
0.016857733950018883,
-0.01982877030968666,
-0.054150085896253586
] | -0.053918 |
# Claude Max API Proxy \*\*claude-max-api-proxy\*\* is a community tool that exposes your Claude Max/Pro subscription as an OpenAI-compatible API endpoint. This allows you to use your subscription with any tool that supports the OpenAI API format. ## Why Use This? | Approach | Cost | Best For | | ----------------------- | --------------------------------------------------- | ------------------------------------------ | | Anthropic API | Pay per token (~$15/M input, $75/M output for Opus) | Production apps, high volume | | Claude Max subscription | $200/month flat | Personal use, development, unlimited usage | If you have a Claude Max subscription and want to use it with OpenAI-compatible tools, this proxy can save you significant money. ## How It Works ``` Your App → claude-max-api-proxy → Claude Code CLI → Anthropic (via subscription) (OpenAI format) (converts format) (uses your login) ``` The proxy: 1. Accepts OpenAI-format requests at `http://localhost:3456/v1/chat/completions` 2. Converts them to Claude Code CLI commands 3. Returns responses in OpenAI format (streaming supported) ## Installation ```bash # Requires Node.js 20+ and Claude Code CLI npm install -g claude-max-api-proxy # Verify Claude CLI is authenticated claude --version ``` ## Usage ### Start the server ```bash claude-max-api # Server runs at http://localhost:3456 ``` ### Test it ```bash # Health check curl http://localhost:3456/health # List models curl http://localhost:3456/v1/models # Chat completion curl http://localhost:3456/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{ "model": "claude-opus-4", "messages": [{"role": "user", "content": "Hello!"}] }' ``` ### With OpenClaw You can point OpenClaw at the proxy as a custom OpenAI-compatible endpoint: ```json5 { env: { OPENAI\_API\_KEY: "not-needed", OPENAI\_BASE\_URL: "http://localhost:3456/v1", }, agents: { defaults: { model: { primary: "openai/claude-opus-4" }, }, }, } ``` ## Available Models | Model ID | Maps To | | ----------------- | --------------- | | `claude-opus-4` | Claude Opus 4 | | `claude-sonnet-4` | Claude Sonnet 4 | | `claude-haiku-4` | Claude Haiku 4 | ## Auto-Start on macOS Create a LaunchAgent to run the proxy automatically: ```bash cat > ~/Library/LaunchAgents/com.claude-max-api.plist << 'EOF' xml version="1.0" encoding="UTF-8"? Label com.claude-max-api RunAtLoad KeepAlive ProgramArguments /usr/local/bin/node /usr/local/lib/node\_modules/claude-max-api-proxy/dist/server/standalone.js EnvironmentVariables PATH /usr/local/bin:/opt/homebrew/bin:~/.local/bin:/usr/bin:/bin EOF launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.claude-max-api.plist ``` ## Links - \*\*npm:\*\* https://www.npmjs.com/package/claude-max-api-proxy - \*\*GitHub:\*\* https://github.com/atalovesyou/claude-max-api-proxy - \*\*Issues:\*\* https://github.com/atalovesyou/claude-max-api-proxy/issues ## Notes - This is a \*\*community tool\*\*, not officially supported by Anthropic or OpenClaw - Requires an active Claude Max/Pro subscription with Claude Code CLI authenticated - The proxy runs locally and does not send data to any third-party servers - Streaming responses are fully supported ## See Also - [Anthropic provider](/providers/anthropic) - Native OpenClaw integration with Claude setup-token or API keys - [OpenAI provider](/providers/openai) - For OpenAI/Codex subscriptions | https://github.com/openclaw/openclaw/blob/main//docs/providers/claude-max-api-proxy.md | main | opebclaw | [
-0.0506274476647377,
-0.030727462843060493,
-0.11947596073150635,
-0.044689252972602844,
-0.0022022202610969543,
0.0043718512170016766,
-0.034499213099479675,
0.056217603385448456,
-0.016576284542679787,
0.040753744542598724,
-0.015600061044096947,
-0.035951435565948486,
0.024258151650428772,
-0.001855070935562253,
0.10098569095134735,
0.02395200915634632,
0.09797981381416321,
0.0028980232309550047,
-0.06510457396507263,
-0.09944655001163483,
-0.03083992563188076,
-0.007323792669922113,
-0.06775707006454468,
-0.007133834529668093,
-0.002753845416009426,
-0.09652326256036758,
-0.055776823312044144,
-0.026633353903889656,
0.021678071469068527,
0.017914973199367523,
0.008347139693796635,
-0.02955830655992031,
-0.005434160120785236,
-0.008767049759626389,
0.06498647481203079,
-0.012126835994422436,
-0.07825659960508347,
-0.08157207071781158,
-0.08689666539430618,
-0.05670202895998955,
0.07066890597343445,
-0.006185726262629032,
-0.16880616545677185,
-0.004824236035346985,
-0.01805838756263256,
-0.03031688742339611,
-0.008058685809373856,
0.01157919131219387,
0.03935994580388069,
0.07431987673044205,
-0.03041285276412964,
-0.06003975868225098,
0.014104712754487991,
0.020106473937630653,
-0.05453034117817879,
-0.06625734269618988,
-0.041284460574388504,
-0.018820390105247498,
0.04382268711924553,
-0.020465029403567314,
-0.0027074639219790697,
-0.04768957942724228,
-0.049010805785655975,
0.04587485268712044,
-0.050072766840457916,
-0.024024976417422295,
-0.09501705318689346,
0.06904309242963791,
0.004021435976028442,
-0.05695103481411934,
-0.06856425106525421,
-0.05146460235118866,
-0.04807388782501221,
-0.015080480836331844,
0.05246756225824356,
0.007137067150324583,
0.02548571117222309,
0.01235978864133358,
-0.008020373992621899,
-0.07900869101285934,
-0.008670404553413391,
-0.034267328679561615,
-0.02618473768234253,
0.012813862413167953,
0.030768807977437973,
0.06893093138933182,
0.028727170079946518,
0.02140452153980732,
0.11525818705558777,
-0.029949575662612915,
0.021782411262392998,
0.0272457804530859,
0.058748599141836166,
-0.030406219884753227,
-0.0030111121013760567,
0.01810833439230919,
-0.017252065241336823,
-0.060510046780109406,
-0.05429928004741669,
0.12021955847740173,
-0.04200294241309166,
-0.065030537545681,
0.017747491598129272,
-0.029297566041350365,
-0.0011323858052492142,
-0.07031530141830444,
0.037591852247714996,
0.09520655125379562,
0.030035655945539474,
0.08013751357793808,
-0.03592119365930557,
-0.039503924548625946,
0.05168452858924866,
-0.10045310854911804,
0.07888304442167282,
0.14262449741363525,
-0.034597914665937424,
0.014229957945644855,
0.06811827421188354,
0.004421213176101446,
0.04942261800169945,
-0.0061454009264707565,
0.0024185176007449627,
0.009852049872279167,
0.021345442160964012,
0.05991430953145027,
0.08166269212961197,
-3.162316004608072e-33,
0.02951963059604168,
0.037748269736766815,
0.026006005704402924,
-0.0589168444275856,
0.04553035646677017,
0.029973037540912628,
0.09696165472269058,
0.09952261298894882,
-0.019801734015345573,
-0.025898363441228867,
-0.05766209214925766,
0.08813278377056122,
-0.012113265693187714,
0.06388809531927109,
-0.052621591836214066,
-0.0452599860727787,
-0.012780171819031239,
0.06189142167568207,
0.0506557896733284,
0.01805143430829048,
-0.013157006353139877,
-0.05361582711338997,
0.010103993117809296,
0.010727162472903728,
0.02816908247768879,
0.0260647963732481,
0.02999887242913246,
-0.039493780583143234,
0.08938242495059967,
0.02643008902668953,
0.00850731786340475,
-0.009439553134143353,
-0.04812321066856384,
0.0263459961861372,
-0.013349475339055061,
0.014515801332890987,
-0.05777641385793686,
-0.06376750022172928,
-0.03737593814730644,
0.025184674188494682,
-0.03980938717722893,
0.021008368581533432,
-0.044466860592365265,
-0.04631868004798889,
-0.10917364060878754,
0.015465760603547096,
0.036781664937734604,
0.026782438158988953,
0.08272725343704224,
-0.05741757154464722,
-0.0031806600745767355,
0.016124695539474487,
-0.05897250771522522,
-0.03400523215532303,
-0.008472190238535404,
-0.09631850570440292,
-0.005716858897358179,
0.005069285165518522,
0.028824809938669205,
-0.04816565662622452,
-0.021262474358081818,
-0.08783338218927383,
0.03121199645102024,
0.08005824685096741,
-0.04688137024641037,
0.03846486285328865,
-0.0391862653195858,
0.04938008636236191,
0.10690713673830032,
0.0061075701378285885,
-0.01695040799677372,
0.041579604148864746,
0.08493166416883469,
-0.020313115790486336,
-0.023499317467212677,
0.017479626461863518,
0.019095947965979576,
0.015919087454676628,
0.05594119057059288,
0.02153320610523224,
-0.05448872968554497,
0.02368764951825142,
-0.040289707481861115,
0.08557587116956711,
-0.04137482866644859,
0.037871185690164566,
-0.0009094263659790158,
0.03334061801433563,
-0.04226277768611908,
-0.030541792511940002,
-0.0075447335839271545,
0.009289280511438847,
-0.031559962779283524,
0.029834315180778503,
0.00709457928314805,
3.6901929109266844e-34,
-0.03257639706134796,
-0.036258578300476074,
0.021028345450758934,
-0.006677351891994476,
0.05590320751070976,
-0.06375277042388916,
-0.022146645933389664,
0.0411483496427536,
0.04715351015329361,
0.07047650963068008,
-0.009079782292246819,
-0.04518160969018936,
0.05550095811486244,
0.018294796347618103,
-0.009131679311394691,
-0.062468793243169785,
-0.038148947060108185,
-0.06135101243853569,
0.042409252375364304,
0.04274516925215721,
-0.11552604287862778,
0.029242955148220062,
-0.05588538572192192,
-0.04730309918522835,
0.0778871551156044,
0.05053401738405228,
-0.029630307108163834,
0.029783161357045174,
-0.02692774310708046,
0.025246838107705116,
-0.046247370541095734,
-0.02576698549091816,
-0.11142033338546753,
-0.02793186530470848,
-0.02498783729970455,
0.04228772595524788,
0.0204927958548069,
0.14661821722984314,
-0.007754568941891193,
-0.04125962778925896,
0.05179910734295845,
-0.14607356488704681,
-0.0067647662945091724,
0.006936463061720133,
0.05277238041162491,
-0.06670977175235748,
-0.04378046095371246,
-0.05408858135342598,
-0.06835705786943436,
-0.01928452029824257,
-0.0065401881001889706,
-0.024557411670684814,
-0.011594995856285095,
0.01892932504415512,
-0.07140771299600601,
0.047134824097156525,
0.0659593939781189,
0.0195180494338274,
-0.06139621511101723,
-0.0978628471493721,
0.03569351136684418,
-0.026076477020978928,
0.0007845173240639269,
0.0701613798737526,
-0.016630440950393677,
0.0006136939628049731,
0.0567275807261467,
0.011124227195978165,
-0.07573726028203964,
-0.04917391389608383,
-0.02158108539879322,
-0.055163200944662094,
0.03900081664323807,
-0.007729631848633289,
-0.043908942490816116,
0.06774178892374039,
0.05099304020404816,
-0.008106060326099396,
0.03674453869462013,
0.027494069188833237,
-0.10432896763086319,
-0.022859182208776474,
0.11060062795877457,
0.02882651425898075,
-0.007399434689432383,
-0.03753345459699631,
-0.010351848788559437,
-0.017736228182911873,
0.06805071979761124,
0.06098310276865959,
-0.10075569897890091,
0.009815222583711147,
-0.016539230942726135,
0.03033204935491085,
0.06669074296951294,
-4.968367761648551e-8,
-0.011212635785341263,
-0.030324039980769157,
-0.028504284098744392,
0.0742691308259964,
-0.01112451497465372,
0.01845930702984333,
-0.016842588782310486,
0.02776748687028885,
-0.022823667153716087,
0.09796059876680374,
-0.0011674556881189346,
-0.03280986472964287,
-0.043449316173791885,
-0.0197902861982584,
-0.06026788428425789,
0.01885637640953064,
0.055791862308979034,
-0.01651470735669136,
-0.03610272705554962,
-0.07984580844640732,
-0.0928473174571991,
0.07358596473932266,
0.07155251502990723,
-0.14028459787368774,
-0.01740107126533985,
-0.03168793022632599,
-0.024197040125727654,
0.07677848637104034,
0.006070188712328672,
-0.10714510828256607,
-0.006486651487648487,
-0.008418087847530842,
0.019718658179044724,
-0.049977343529462814,
0.024155281484127045,
-0.0033223398495465517,
-0.05744582414627075,
-0.0020167825277894735,
-0.0755724087357521,
0.02733655273914337,
0.03831164166331291,
0.017781740054488182,
-0.013233690522611141,
-0.04228762909770012,
0.08561424165964127,
0.02342258021235466,
-0.07690708339214325,
-0.062211696058511734,
0.10438542068004608,
-0.004878513049334288,
0.0011780597269535065,
-0.03178723528981209,
0.10616486519575119,
-0.00935355294495821,
0.014437195844948292,
-0.015876583755016327,
-0.07732553035020828,
-0.012579125352203846,
-0.040152911096811295,
0.08217774331569672,
0.037408921867609024,
-0.02343759499490261,
0.015138647519052029,
0.03322747349739075
] | 0.092091 |
# OpenAI OpenAI provides developer APIs for GPT models. Codex supports \*\*ChatGPT sign-in\*\* for subscription access or \*\*API key\*\* sign-in for usage-based access. Codex cloud requires ChatGPT sign-in. ## Option A: OpenAI API key (OpenAI Platform) \*\*Best for:\*\* direct API access and usage-based billing. Get your API key from the OpenAI dashboard. ### CLI setup ```bash openclaw onboard --auth-choice openai-api-key # or non-interactive openclaw onboard --openai-api-key "$OPENAI\_API\_KEY" ``` ### Config snippet ```json5 { env: { OPENAI\_API\_KEY: "sk-..." }, agents: { defaults: { model: { primary: "openai/gpt-5.2" } } }, } ``` ## Option B: OpenAI Code (Codex) subscription \*\*Best for:\*\* using ChatGPT/Codex subscription access instead of an API key. Codex cloud requires ChatGPT sign-in, while the Codex CLI supports ChatGPT or API key sign-in. ### CLI setup ```bash # Run Codex OAuth in the wizard openclaw onboard --auth-choice openai-codex # Or run OAuth directly openclaw models auth login --provider openai-codex ``` ### Config snippet ```json5 { agents: { defaults: { model: { primary: "openai-codex/gpt-5.2" } } }, } ``` ## Notes - Model refs always use `provider/model` (see [/concepts/models](/concepts/models)). - Auth details + reuse rules are in [/concepts/oauth](/concepts/oauth). | https://github.com/openclaw/openclaw/blob/main//docs/providers/openai.md | main | opebclaw | [
-0.02945411391556263,
-0.0017514872597530484,
-0.08959127217531204,
0.018612228333950043,
0.0508049800992012,
-0.06607174873352051,
0.03500374034047127,
0.02422926388680935,
0.05767211318016052,
0.006424158811569214,
0.0162611436098814,
-0.04461948573589325,
-0.007147814147174358,
0.05569620057940483,
0.14252804219722748,
0.03562955558300018,
0.010485595092177391,
-0.03035646490752697,
-0.025953669100999832,
-0.02752607874572277,
-0.004196408204734325,
0.10109569132328033,
0.003725895658135414,
0.0010319361463189125,
-0.03593143820762634,
-0.06334871053695679,
0.02553737163543701,
0.01886621117591858,
-0.014506477862596512,
0.04641811177134514,
0.040426284074783325,
-0.007478485815227032,
0.04578062891960144,
0.040167659521102905,
0.025822781026363373,
0.04352712631225586,
-0.023743070662021637,
-0.07233114540576935,
-0.0495372898876667,
-0.017332233488559723,
0.09101080894470215,
-0.021410968154668808,
-0.06637445092201233,
-0.04189467057585716,
0.05585280433297157,
-0.06171859800815582,
-0.056190330535173416,
-0.02763475850224495,
-0.009847467765212059,
0.050947174429893494,
-0.05169631540775299,
-0.06464948505163193,
0.009392110630869865,
-0.04192404821515083,
-0.0434725359082222,
0.0715302899479866,
-0.06318223476409912,
-0.005170710850507021,
0.04833066090941429,
-0.07882675528526306,
0.07755134254693985,
-0.05147966369986534,
-0.04207964614033699,
0.004542813170701265,
-0.14736947417259216,
0.05266789346933365,
-0.07720102369785309,
-0.044284187257289886,
-0.026116784662008286,
-0.03526835888624191,
0.033298294991254807,
-0.0010267611360177398,
-0.04365503787994385,
-0.13838432729244232,
-0.018015697598457336,
0.05864075943827629,
0.03957188129425049,
0.027551792562007904,
-0.01470851432532072,
-0.03953729569911957,
-0.048309918493032455,
0.0018337772926315665,
-0.06353072822093964,
0.04960186779499054,
-0.025973085314035416,
0.09919457882642746,
0.05434980243444443,
0.04784960299730301,
0.026973702013492584,
-0.017756331712007523,
0.018157275393605232,
-0.016511352732777596,
0.023558786138892174,
-0.07168778032064438,
0.023975027725100517,
-0.010671679861843586,
-0.0549650564789772,
-0.016968630254268646,
-0.0627003163099289,
0.07902929931879044,
-0.03344675898551941,
0.004481893498450518,
-0.015384894795715809,
0.07748393714427948,
-0.02554815262556076,
-0.015732157975435257,
0.04035652428865433,
0.031321633607149124,
-0.01871161349117756,
0.026568807661533356,
0.008190877735614777,
-0.019281864166259766,
0.07898036390542984,
-0.013601358979940414,
0.01559723075479269,
0.15042127668857574,
-0.08643743395805359,
0.02579633519053459,
0.059750668704509735,
0.0785205066204071,
0.05577642470598221,
-0.06549561768770218,
0.006321602500975132,
-0.026386989280581474,
0.02904975600540638,
0.09252294152975082,
0.02055954374372959,
6.328301755642617e-33,
0.08014991879463196,
0.0005381109658628702,
0.03191729262471199,
-0.055281560868024826,
0.11497233062982559,
0.025474464520812035,
0.04642336070537567,
-0.023346152156591415,
0.01587478257715702,
0.0008788362029008567,
-0.04563232138752937,
0.1274259090423584,
-0.03156699612736702,
-0.018453732132911682,
-0.029374651610851288,
0.042311545461416245,
-0.08327793329954147,
0.03617948293685913,
0.0832323208451271,
0.0484154187142849,
0.008451809175312519,
-0.028531266376376152,
0.020769858732819557,
0.02160421945154667,
-0.014222115278244019,
0.03356226533651352,
-0.019147450104355812,
-0.0871923565864563,
0.03943230211734772,
0.04072398692369461,
0.06309015303850174,
-0.022659048438072205,
-0.024098386988043785,
0.013646921142935753,
-0.02404177188873291,
-0.03242257982492447,
-0.07376501709222794,
-0.0022671238984912634,
-0.04770902916789055,
0.03250879794359207,
0.026783904060721397,
-0.023600339889526367,
-0.030161188915371895,
-0.04731520637869835,
-0.024391386657953262,
-0.026288384571671486,
0.031922921538352966,
0.05680608004331589,
0.08979789912700653,
0.05528239160776138,
-0.10045624524354935,
0.005981290712952614,
-0.03370168060064316,
-0.03375751152634621,
-0.007045891601592302,
-0.1056637316942215,
0.0005849648732692003,
-0.003746164496988058,
-0.0004269584605935961,
-0.06692323833703995,
-0.12258604913949966,
-0.04227205365896225,
0.06622302532196045,
0.02364734373986721,
-0.0430435985326767,
0.0317954495549202,
-0.06377460062503815,
0.007074928376823664,
-0.010656891390681267,
-0.01870569959282875,
0.03894197940826416,
0.05450344458222389,
-0.04396833851933479,
0.021583952009677887,
-0.07574079930782318,
-0.025540519505739212,
0.06545532494783401,
0.02116652950644493,
0.04707164689898491,
0.013093422167003155,
-0.037686850875616074,
0.044252630323171616,
-0.044971879571676254,
0.0763818770647049,
-0.03382924944162369,
0.009590505622327328,
0.02342000976204872,
-0.006401190534234047,
0.006970096379518509,
0.06656817346811295,
-0.0934036374092102,
0.00033845799043774605,
-0.054604075849056244,
-0.026780230924487114,
0.0062799882143735886,
-5.151393505521481e-33,
0.05033128708600998,
-0.0393235944211483,
0.021725479513406754,
0.010955708101391792,
0.004973717499524355,
-0.1068488284945488,
0.050317972898483276,
0.03382726013660431,
0.05373389646410942,
-0.00171472888905555,
0.010983257554471493,
0.03346926346421242,
0.04037461429834366,
-0.015158349648118019,
0.06956084817647934,
-0.029921432957053185,
-0.05416097864508629,
-0.05074511468410492,
0.008253555744886398,
0.030977344140410423,
-0.04493309557437897,
-0.013901625759899616,
-0.006922854110598564,
0.005815250799059868,
0.1274006962776184,
0.029243571683764458,
0.03518136590719223,
0.006870467681437731,
-0.02592908777296543,
-0.07045155763626099,
-0.02710314840078354,
0.09335485100746155,
-0.08694205433130264,
0.05020932853221893,
-0.022454848513007164,
0.029276937246322632,
0.05749404802918434,
0.13628505170345306,
-0.023068217560648918,
0.05060546100139618,
0.04179519787430763,
-0.07967717200517654,
-0.03471090644598007,
-0.022222056984901428,
-0.016372960060834885,
0.004081631079316139,
0.011977472342550755,
0.03330661356449127,
-0.10535906255245209,
-0.047512780874967575,
0.015466425567865372,
-0.017955102026462555,
-0.013874514028429985,
0.02451574057340622,
-0.021010804921388626,
0.050751183182001114,
0.09956777095794678,
-0.020205380395054817,
-0.043919168412685394,
-0.08368893712759018,
0.006458029616624117,
-0.10962440818548203,
0.046409834176301956,
0.08032555133104324,
-0.04339345172047615,
-0.09573248773813248,
0.034314293414354324,
0.05323374643921852,
-0.02240881882607937,
-0.025663970038294792,
-0.12197504937648773,
-0.1600663959980011,
0.014978958293795586,
0.025059519335627556,
-0.030946580693125725,
0.027092160657048225,
-0.03174079954624176,
-0.017581867054104805,
0.1016707792878151,
0.010610261932015419,
-0.04398450627923012,
-0.008146855048835278,
0.025597278028726578,
-0.03142758831381798,
0.043359238654375076,
-0.014074727892875671,
0.04561762139201164,
0.044360898435115814,
0.06238555908203125,
0.12982220947742462,
-0.12890703976154327,
0.0732734203338623,
-0.017269935458898544,
0.018093092367053032,
-0.0030004573054611683,
-4.515629115076081e-8,
-0.04596489667892456,
-0.0784839615225792,
-0.016122521832585335,
0.0980922132730484,
-0.05276510864496231,
-0.04284166917204857,
0.03014601767063141,
0.01853756234049797,
0.005142867099493742,
0.03112407587468624,
0.03678261488676071,
-0.005492568481713533,
-0.05890471488237381,
-0.02560187503695488,
-0.0832483321428299,
0.07556093484163284,
-0.025572512298822403,
-0.0007675639353692532,
0.0048296693712472916,
-0.08020671457052231,
-0.04652661457657814,
0.015952546149492264,
0.06908968836069107,
-0.07320219278335571,
-0.03760132938623428,
-0.023163078352808952,
-0.03657907992601395,
0.046867478638887405,
-0.037827856838703156,
-0.03432464599609375,
0.01120165828615427,
-0.04692310839891434,
0.0665161982178688,
-0.0465426929295063,
0.016296986490488052,
-0.03454684093594551,
0.006641260348260403,
-0.0013761143200099468,
0.0084855230525136,
0.03318636864423752,
0.020962459966540337,
0.017876937985420227,
-0.069370798766613,
-0.0889761745929718,
0.006158956326544285,
0.021796226501464844,
-0.04009392857551575,
0.007282459642738104,
0.06679452210664749,
0.005077383480966091,
-0.035983745008707047,
-0.05875373259186745,
0.0707554891705513,
0.06610798835754395,
-0.02088957466185093,
0.031408194452524185,
0.02802402898669243,
-0.03813943639397621,
0.008871499449014664,
0.045313287526369095,
-0.03996797651052475,
0.06891483068466187,
-0.01091093197464943,
-0.016011273488402367
] | 0.044078 |
# Xiaomi MiMo Xiaomi MiMo is the API platform for \*\*MiMo\*\* models. It provides REST APIs compatible with OpenAI and Anthropic formats and uses API keys for authentication. Create your API key in the [Xiaomi MiMo console](https://platform.xiaomimimo.com/#/console/api-keys). OpenClaw uses the `xiaomi` provider with a Xiaomi MiMo API key. ## Model overview - \*\*mimo-v2-flash\*\*: 262144-token context window, Anthropic Messages API compatible. - Base URL: `https://api.xiaomimimo.com/anthropic` - Authorization: `Bearer $XIAOMI\_API\_KEY` ## CLI setup ```bash openclaw onboard --auth-choice xiaomi-api-key # or non-interactive openclaw onboard --auth-choice xiaomi-api-key --xiaomi-api-key "$XIAOMI\_API\_KEY" ``` ## Config snippet ```json5 { env: { XIAOMI\_API\_KEY: "your-key" }, agents: { defaults: { model: { primary: "xiaomi/mimo-v2-flash" } } }, models: { mode: "merge", providers: { xiaomi: { baseUrl: "https://api.xiaomimimo.com/anthropic", api: "anthropic-messages", apiKey: "XIAOMI\_API\_KEY", models: [ { id: "mimo-v2-flash", name: "Xiaomi MiMo V2 Flash", reasoning: false, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 262144, maxTokens: 8192, }, ], }, }, }, } ``` ## Notes - Model ref: `xiaomi/mimo-v2-flash`. - The provider is injected automatically when `XIAOMI\_API\_KEY` is set (or an auth profile exists). - See [/concepts/model-providers](/concepts/model-providers) for provider rules. | https://github.com/openclaw/openclaw/blob/main//docs/providers/xiaomi.md | main | opebclaw | [
-0.036582477390766144,
-0.08523444086313248,
-0.040081996470689774,
0.028908828273415565,
0.04741950333118439,
-0.08271908760070801,
0.024973828345537186,
0.05801142379641533,
0.005801851861178875,
-0.029477667063474655,
0.09235198050737381,
-0.031975239515304565,
0.05884713679552078,
0.10092128813266754,
0.13931336998939514,
0.09403520822525024,
-0.007962604984641075,
-0.0367191843688488,
-0.010692445561289787,
0.028521882370114326,
0.06381354480981827,
-0.014306840486824512,
-0.021750256419181824,
-0.029049765318632126,
-0.05261334776878357,
-0.08712099492549896,
-0.01233641803264618,
0.05028725042939186,
0.0012697689235210419,
0.037640541791915894,
0.04615677520632744,
0.053761936724185944,
0.11226014047861099,
-0.03411867097020149,
0.07715395092964172,
0.031227925792336464,
0.08710065484046936,
-0.08223062753677368,
-0.04623650014400482,
-0.06534459441900253,
-0.04328625276684761,
-0.034178122878074646,
0.016382941976189613,
-0.0019831149838864803,
0.03339263051748276,
-0.0267574954777956,
0.032938774675130844,
-0.07793471217155457,
-0.03973179683089256,
0.04426202178001404,
-0.05166497081518173,
0.0023392492439597845,
-0.03517286479473114,
0.006183325313031673,
-0.05850982293486595,
-0.030022330582141876,
-0.08404232561588287,
0.041083842515945435,
0.06698750704526901,
-0.06156906858086586,
0.0013975832844153047,
0.037037238478660583,
-0.04587145149707794,
-0.00195695785805583,
-0.12689271569252014,
0.029179563745856285,
-0.09497001767158508,
-0.11045864224433899,
0.045348528772592545,
-0.046418290585279465,
0.03834797814488411,
-0.018331008031964302,
-0.021567320451140404,
-0.06286051869392395,
-0.04797834903001785,
0.05695662274956703,
0.06931179761886597,
0.06757576018571854,
-0.027642883360385895,
-0.08200149983167648,
-0.015688514336943626,
-0.011886433698236942,
-0.03627491742372513,
0.02258170209825039,
0.04902700334787369,
0.07542332261800766,
-0.03873863443732262,
0.08777729421854019,
-0.004473392851650715,
0.06631506979465485,
-0.004237893503159285,
0.024847472086548805,
-0.053456198424100876,
0.0003259647637605667,
0.037386637181043625,
0.011202043853700161,
-0.039666205644607544,
-0.01136834267526865,
-0.11964527517557144,
0.09337268024682999,
-0.062257327139377594,
0.025965876877307892,
-0.04127974063158035,
0.051534250378608704,
0.00753271346911788,
-0.05426334962248802,
0.02328629605472088,
0.014182936400175095,
-0.00019555258040782064,
-0.0028818680439144373,
0.05050988867878914,
-0.022473162040114403,
0.02886340394616127,
0.008806195110082626,
-0.07242689281702042,
0.11191672086715698,
-0.08789083361625671,
0.0839722603559494,
0.0665382593870163,
0.0480024479329586,
0.07823335379362106,
-0.03611801937222481,
-0.020304333418607712,
-0.016728593036532402,
0.029825815930962563,
0.022699475288391113,
0.006674648728221655,
5.021062406083983e-33,
0.010936055332422256,
0.020772019401192665,
0.029311882331967354,
-0.0016821372555568814,
0.0033418380189687014,
-0.020801974460482597,
0.09269757568836212,
-0.04586300998926163,
0.011687664315104485,
-0.006597607862204313,
-0.0855654701590538,
0.0943785309791565,
-0.04155789688229561,
-0.025764310732483864,
-0.005560895893722773,
0.004045454785227776,
-0.05301393195986748,
-0.0182730071246624,
0.10705165565013885,
0.02582932636141777,
0.019264163449406624,
-0.029578395187854767,
-0.028885358944535255,
-0.04769115895032883,
0.004329886753112078,
0.10149844735860825,
0.040535762906074524,
-0.09019488841295242,
0.028644723817706108,
0.08013854175806046,
-0.026643378660082817,
-0.06319503486156464,
-0.01843317039310932,
0.013859648257493973,
-0.037058666348457336,
-0.02541981264948845,
-0.06909593939781189,
-0.03931596130132675,
-0.09566584974527359,
-0.010365363210439682,
-0.0028773669619113207,
-0.008240328170359135,
-0.1030663400888443,
0.018707891926169395,
-0.02689959853887558,
-0.05461594834923744,
-0.022132348269224167,
0.03210156410932541,
0.0528552271425724,
0.03089827485382557,
-0.06860769540071487,
-0.05713251605629921,
-0.010578973218798637,
-0.053476784378290176,
0.01806577295064926,
-0.09489135444164276,
-0.024909529834985733,
0.038884297013282776,
-0.03677043318748474,
-0.06575468927621841,
-0.022586781531572342,
-0.02747480198740959,
0.04356274753808975,
0.045481275767087936,
0.021385999396443367,
0.006878557614982128,
-0.044602759182453156,
-0.06552177667617798,
-0.01825633831322193,
0.06215156614780426,
-0.023178499191999435,
-0.0006715303752571344,
0.0038281360175460577,
0.03758533298969269,
-0.12326329201459885,
-0.06321639567613602,
0.08414167910814285,
-0.028304969891905785,
0.06230974197387695,
0.03250230848789215,
0.02394510619342327,
0.04549901559948921,
-0.01475183293223381,
0.08908645063638687,
-0.005451308097690344,
0.03326864913105965,
0.017287150025367737,
0.014249748550355434,
-0.028456714004278183,
0.039200033992528915,
-0.003663770155981183,
-0.04076174274086952,
0.005772507283836603,
0.021436113864183426,
-0.0540207177400589,
-4.811767106288013e-33,
-0.010421147570014,
-0.05239827185869217,
0.007662787567824125,
-0.06506762653589249,
-0.047015734016895294,
-0.03136397525668144,
0.05014263838529587,
-0.005716852843761444,
-0.02047482319176197,
-0.0037912537809461355,
-0.051496218889951706,
-0.016718460246920586,
0.04862778261303902,
-0.018155371770262718,
0.006846012081950903,
0.016715005040168762,
0.00929262489080429,
0.006955813616514206,
0.01790619269013405,
0.0782892033457756,
-0.09809483587741852,
0.02131243236362934,
0.06094452366232872,
0.035856492817401886,
0.036580223590135574,
0.0029788671527057886,
0.07297974079847336,
0.030243204906582832,
-0.05317573994398117,
-0.07088999450206757,
0.008940850384533405,
0.01232931949198246,
-0.045437730848789215,
-0.025863783434033394,
0.062121305614709854,
0.004233911633491516,
0.002439577132463455,
0.0473339818418026,
0.006996637210249901,
-0.009639648720622063,
0.05017847567796707,
-0.026076795533299446,
-0.030398374423384666,
-0.02979077585041523,
-0.003113994374871254,
0.005735269282013178,
-0.013657885603606701,
-0.02755473554134369,
-0.06096762791275978,
-0.01635277085006237,
0.03722967579960823,
-0.049339305609464645,
-0.05736856162548065,
-0.029676528647542,
-0.03981280326843262,
0.0027122790925204754,
0.057839084416627884,
-0.047341346740722656,
-0.08270947635173798,
-0.06638496369123459,
0.043377749621868134,
-0.10123351216316223,
0.02050148695707321,
0.1406872421503067,
-0.008799193426966667,
0.02278052642941475,
0.08941977471113205,
0.05147964879870415,
-0.10883834958076477,
0.030660806223750114,
0.0036328972782939672,
-0.130448117852211,
0.02002614177763462,
0.049576275050640106,
0.029358355328440666,
-0.0014464043779298663,
-0.07182525843381882,
-0.008254410699009895,
0.028470171615481377,
0.003083827905356884,
0.01808161474764347,
0.04643659293651581,
0.053654737770557404,
0.0062792375683784485,
0.022255245596170425,
-0.018563710153102875,
0.005100635811686516,
0.17315411567687988,
0.07675090432167053,
0.04943360015749931,
-0.046982258558273315,
0.06393205374479294,
0.00357781327329576,
0.00469766603782773,
0.028120871633291245,
-5.039375494675369e-8,
-0.0604536309838295,
-0.11021933704614639,
-0.02575322613120079,
0.054683372378349304,
-0.12115420401096344,
0.04409010335803032,
-0.011155490763485432,
-0.042083434760570526,
0.02784702740609646,
-0.04112520068883896,
0.06037282198667526,
-0.018988827243447304,
-0.07706435769796371,
-0.006404564715921879,
-0.09155385196208954,
0.07025492191314697,
0.0071788690984249115,
0.06203038617968559,
0.05232550948858261,
-0.06216219440102577,
0.012168709188699722,
0.005583437625318766,
0.08227045089006424,
-0.0755513533949852,
-0.008734301663935184,
0.020807670429348946,
-0.0531318299472332,
0.022930799052119255,
0.009030814282596111,
-0.06941123306751251,
0.011386658996343613,
-0.07065209001302719,
0.027648866176605225,
-0.027136972174048424,
-0.09831863641738892,
0.02103050984442234,
0.04230921342968941,
-0.036377400159835815,
-0.036808133125305176,
-0.06335098296403885,
0.045219555497169495,
0.02576330676674843,
-0.04471805691719055,
-0.06864827126264572,
0.04120762273669243,
0.06860747188329697,
0.015187134966254234,
-0.019033944234251976,
0.04781395196914673,
0.049246713519096375,
-0.012829025276005268,
-0.0644831657409668,
0.02643764577805996,
0.05012369155883789,
-0.014566958881914616,
0.0798981636762619,
0.02406793273985386,
0.008210941217839718,
0.033569108694791794,
-0.014916944317519665,
-0.013043845072388649,
0.0716504454612732,
0.004799430724233389,
0.012590596452355385
] | 0.119563 |
# Venice AI (Venice highlight) \*\*Venice\*\* is our highlight Venice setup for privacy-first inference with optional anonymized access to proprietary models. Venice AI provides privacy-focused AI inference with support for uncensored models and access to major proprietary models through their anonymized proxy. All inference is private by default—no training on your data, no logging. ## Why Venice in OpenClaw - \*\*Private inference\*\* for open-source models (no logging). - \*\*Uncensored models\*\* when you need them. - \*\*Anonymized access\*\* to proprietary models (Opus/GPT/Gemini) when quality matters. - OpenAI-compatible `/v1` endpoints. ## Privacy Modes Venice offers two privacy levels — understanding this is key to choosing your model: | Mode | Description | Models | | -------------- | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | | \*\*Private\*\* | Fully private. Prompts/responses are \*\*never stored or logged\*\*. Ephemeral. | Llama, Qwen, DeepSeek, Venice Uncensored, etc. | | \*\*Anonymized\*\* | Proxied through Venice with metadata stripped. The underlying provider (OpenAI, Anthropic) sees anonymized requests. | Claude, GPT, Gemini, Grok, Kimi, MiniMax | ## Features - \*\*Privacy-focused\*\*: Choose between "private" (fully private) and "anonymized" (proxied) modes - \*\*Uncensored models\*\*: Access to models without content restrictions - \*\*Major model access\*\*: Use Claude, GPT-5.2, Gemini, Grok via Venice's anonymized proxy - \*\*OpenAI-compatible API\*\*: Standard `/v1` endpoints for easy integration - \*\*Streaming\*\*: ✅ Supported on all models - \*\*Function calling\*\*: ✅ Supported on select models (check model capabilities) - \*\*Vision\*\*: ✅ Supported on models with vision capability - \*\*No hard rate limits\*\*: Fair-use throttling may apply for extreme usage ## Setup ### 1. Get API Key 1. Sign up at [venice.ai](https://venice.ai) 2. Go to \*\*Settings → API Keys → Create new key\*\* 3. Copy your API key (format: `vapi\_xxxxxxxxxxxx`) ### 2. Configure OpenClaw \*\*Option A: Environment Variable\*\* ```bash export VENICE\_API\_KEY="vapi\_xxxxxxxxxxxx" ``` \*\*Option B: Interactive Setup (Recommended)\*\* ```bash openclaw onboard --auth-choice venice-api-key ``` This will: 1. Prompt for your API key (or use existing `VENICE\_API\_KEY`) 2. Show all available Venice models 3. Let you pick your default model 4. Configure the provider automatically \*\*Option C: Non-interactive\*\* ```bash openclaw onboard --non-interactive \ --auth-choice venice-api-key \ --venice-api-key "vapi\_xxxxxxxxxxxx" ``` ### 3. Verify Setup ```bash openclaw chat --model venice/llama-3.3-70b "Hello, are you working?" ``` ## Model Selection After setup, OpenClaw shows all available Venice models. Pick based on your needs: - \*\*Default (our pick)\*\*: `venice/llama-3.3-70b` for private, balanced performance. - \*\*Best overall quality\*\*: `venice/claude-opus-45` for hard jobs (Opus remains the strongest). - \*\*Privacy\*\*: Choose "private" models for fully private inference. - \*\*Capability\*\*: Choose "anonymized" models to access Claude, GPT, Gemini via Venice's proxy. Change your default model anytime: ```bash openclaw models set venice/claude-opus-45 openclaw models set venice/llama-3.3-70b ``` List all available models: ```bash openclaw models list | grep venice ``` ## Configure via `openclaw configure` 1. Run `openclaw configure` 2. Select \*\*Model/auth\*\* 3. Choose \*\*Venice AI\*\* ## Which Model Should I Use? | Use Case | Recommended Model | Why | | ---------------------------- | -------------------------------- | ----------------------------------------- | | \*\*General chat\*\* | `llama-3.3-70b` | Good all-around, fully private | | \*\*Best overall quality\*\* | `claude-opus-45` | Opus remains the strongest for hard tasks | | \*\*Privacy + Claude quality\*\* | `claude-opus-45` | Best reasoning via anonymized proxy | | \*\*Coding\*\* | `qwen3-coder-480b-a35b-instruct` | Code-optimized, 262k context | | \*\*Vision tasks\*\* | `qwen3-vl-235b-a22b` | Best private vision model | | \*\*Uncensored\*\* | `venice-uncensored` | No content restrictions | | \*\*Fast + cheap\*\* | `qwen3-4b` | Lightweight, still capable | | \*\*Complex reasoning\*\* | `deepseek-v3.2` | Strong reasoning, private | ## Available Models (25 Total) ### Private Models (15) — Fully Private, No Logging | Model ID | Name | Context (tokens) | Features | | -------------------------------- | | https://github.com/openclaw/openclaw/blob/main//docs/providers/venice.md | main | opebclaw | [
-0.06432183086872101,
-0.04992019012570381,
-0.032793305814266205,
0.047959018498659134,
0.04549466818571091,
-0.016973620280623436,
-0.013005200773477554,
-0.017768530175089836,
0.027511298656463623,
-0.06482432037591934,
0.01179938018321991,
-0.028678545728325844,
-0.029020315036177635,
-0.009410882368683815,
0.04486316815018654,
0.02732672356069088,
0.09304866939783096,
0.011475077830255032,
-0.08276671171188354,
-0.015317303128540516,
0.03701576963067055,
0.019496116787195206,
-0.006449728738516569,
0.022650491446256638,
0.005765734706073999,
-0.006037418730556965,
0.033214110881090164,
-0.04354456439614296,
0.037989530712366104,
-0.054751232266426086,
-0.006422590464353561,
0.0507207028567791,
0.017951320856809616,
-0.00403748732060194,
0.08696404099464417,
-0.0691445991396904,
-0.08052485436201096,
-0.07487310469150543,
-0.04964223876595497,
-0.04558904096484184,
0.051731716841459274,
-0.04788344353437424,
-0.052997298538684845,
0.013492630794644356,
0.035688042640686035,
-0.049590814858675,
0.050308097153902054,
-0.008649616502225399,
-0.024231484159827232,
-0.0013589169830083847,
-0.11093365401029587,
-0.07016190886497498,
-0.02438809722661972,
-0.041534461081027985,
-0.041275471448898315,
-0.0605170913040638,
-0.03691738471388817,
-0.04895152151584625,
-0.022050295025110245,
-0.03871658816933632,
0.017394112423062325,
-0.01578150875866413,
-0.07467921078205109,
0.07574404776096344,
-0.038958024233579636,
0.08528053015470505,
-0.06357450038194656,
0.0817512720823288,
0.03774178773164749,
-0.034752219915390015,
-0.025071820244193077,
0.03605518490076065,
-0.04440636560320854,
0.013337036594748497,
0.04205929860472679,
0.0215066596865654,
0.021897632628679276,
0.003500534687191248,
0.008478102274239063,
-0.11684690415859222,
0.026418007910251617,
-0.08006619662046432,
0.0030778846703469753,
0.033772341907024384,
0.0013163621770218015,
0.04100838676095009,
0.02121894806623459,
0.021120868623256683,
0.07459187507629395,
0.05785537138581276,
-0.0561586432158947,
-0.061443451792001724,
0.03575826436281204,
-0.04459450766444206,
0.010055490769445896,
0.02063451148569584,
-0.03951869159936905,
-0.028523122891783714,
-0.019097179174423218,
0.1537420004606247,
-0.033993735909461975,
0.07021848857402802,
0.032754868268966675,
0.02414809726178646,
-0.05127616226673126,
0.06520125269889832,
0.08491156250238419,
0.0165760088711977,
0.006700700614601374,
0.03561180830001831,
0.01100351195782423,
-0.01648874022066593,
-0.004988206550478935,
-0.11303730309009552,
0.022776799276471138,
0.025884637609124184,
-0.022875113412737846,
0.03726468235254288,
0.04792257770895958,
0.07388636469841003,
-0.0042971046641469,
-0.038287706673145294,
0.03219098970293999,
0.03640494495630264,
0.03595612198114395,
0.02409333735704422,
-0.06196160614490509,
6.689135909674842e-33,
0.05232823267579079,
-0.0004011986602563411,
0.04002116248011589,
0.01910083182156086,
0.05586955323815346,
0.08177097141742706,
-0.04967806860804558,
-0.02115541324019432,
-0.11409971863031387,
0.022061293944716454,
-0.023583298549056053,
0.07644033432006836,
-0.053349416702985764,
-0.01441873237490654,
0.08503445237874985,
0.10598736256361008,
0.016242804005742073,
0.043356526643037796,
0.06211595609784126,
0.030651675537228584,
0.08186538517475128,
-0.027393274009227753,
-0.05685056746006012,
0.00868262816220522,
0.000007526619356212905,
0.05595225468277931,
0.03972598537802696,
-0.09269240498542786,
-0.017955245450139046,
0.06759064644575119,
-0.033476218581199646,
0.022994114086031914,
-0.0018365669529885054,
0.06397808343172073,
0.04702131077647209,
0.07373401522636414,
-0.1264846920967102,
-0.0861014574766159,
0.012897267006337643,
-0.014985510148108006,
-0.011202105320990086,
-0.03215440362691879,
-0.019655944779515266,
-0.023885156959295273,
-0.024745164439082146,
-0.05329440161585808,
-0.07051312923431396,
0.0016490994021296501,
0.043976303189992905,
0.009972905740141869,
0.021863700821995735,
0.05622049421072006,
-0.0808708593249321,
-0.0797877237200737,
-0.02192092500627041,
-0.009639456868171692,
0.009515050798654556,
0.03963824361562729,
0.00051306706154719,
0.018553324043750763,
0.033328719437122345,
0.062259409576654434,
0.0014428638387471437,
-0.021593814715743065,
-0.02143840305507183,
0.08952683210372925,
-0.016708597540855408,
0.001666769734583795,
0.05145007744431496,
-0.04303526505827904,
-0.05902079492807388,
-0.01875397190451622,
0.002173375803977251,
0.03633015602827072,
-0.054817747324705124,
-0.020253993570804596,
-0.021684570237994194,
-0.03641154244542122,
0.06067298352718353,
-0.03245874121785164,
-0.0010178954107686877,
-0.05037389695644379,
-0.045903272926807404,
0.11000117659568787,
-0.08281586319208145,
-0.033567868173122406,
-0.03129236027598381,
0.02064235880970955,
-0.01606343500316143,
0.04668891057372093,
-0.02671678550541401,
-0.005314120091497898,
-0.05379955470561981,
0.0257367342710495,
-0.1035667136311531,
-8.606173239298107e-33,
-0.037972431629896164,
0.0066780466586351395,
-0.013362735509872437,
-0.0036752368323504925,
-0.07007551938295364,
-0.07935341447591782,
-0.02273017354309559,
-0.004805687349289656,
0.09107007086277008,
0.04069679230451584,
-0.01815333217382431,
-0.02260279655456543,
0.07722412049770355,
-0.08983267843723297,
0.04381481185555458,
0.009184538386762142,
0.01511527132242918,
-0.06347015500068665,
-0.07770954072475433,
0.03757112845778465,
-0.008731354959309101,
0.05596938356757164,
-0.08548817783594131,
0.05218285322189331,
0.06668435037136078,
-0.013828769326210022,
-0.06882591545581818,
0.0520181804895401,
-0.001316764042712748,
-0.010462998412549496,
-0.033292289823293686,
0.03554470092058182,
-0.11594498157501221,
-0.10537126660346985,
-0.06734860688447952,
0.023406272754073143,
0.058484967797994614,
0.0816129744052887,
-0.009309928864240646,
0.023161882534623146,
0.004558543674647808,
-0.021064698696136475,
-0.11477085947990417,
-0.02257714234292507,
-0.025234321132302284,
0.0459250807762146,
-0.046982914209365845,
-0.019138295203447342,
-0.02610531449317932,
-0.05307159200310707,
0.011662337929010391,
0.02087816596031189,
0.05246081203222275,
0.028217706829309464,
-0.0788923054933548,
0.0330059714615345,
0.04079775884747505,
-0.03723226115107536,
-0.037506286054849625,
0.038398757576942444,
0.06299731880426407,
-0.016230618581175804,
-0.09382370859384537,
0.07064111530780792,
-0.019638720899820328,
-0.12237808108329773,
-0.015533620491623878,
0.06534864753484726,
-0.0805719867348671,
-0.06410419940948486,
0.009868971072137356,
-0.1304941028356552,
-0.05182770639657974,
0.04706766828894615,
0.029043275862932205,
0.056517090648412704,
-0.0018818842945620418,
-0.06034306436777115,
-0.0037686515133827925,
0.040669672191143036,
-0.011266750283539295,
-0.05367362126708031,
0.009991497732698917,
0.006517390254884958,
0.11733069270849228,
-0.038465239107608795,
0.04031497612595558,
-0.04251936823129654,
0.03369409590959549,
0.06294567883014679,
-0.12064392864704132,
0.04636279121041298,
-0.08850996941328049,
0.05732040852308273,
-0.059167928993701935,
-5.0394035611134314e-8,
-0.025310197845101357,
-0.0568963997066021,
0.027521396055817604,
0.10335717350244522,
0.010573945008218288,
-0.010892401449382305,
-0.06243886426091194,
0.0351165309548378,
-0.06783932447433472,
0.031636450439691544,
0.00608387915417552,
-0.05029730126261711,
-0.09607909619808197,
-0.009303917177021503,
0.014820493757724762,
0.1105339452624321,
0.032353125512599945,
-0.03343085199594498,
-0.03192397952079773,
-0.03177493065595627,
0.01396159641444683,
-0.009672828018665314,
-0.007491638418287039,
-0.07385500520467758,
-0.02363283932209015,
-0.08530570566654205,
0.013768309727311134,
0.05673226714134216,
-0.006050324998795986,
0.10171496123075485,
-0.0014707715017721057,
0.008862544782459736,
0.013980242423713207,
-0.019274242222309113,
-0.06796447187662125,
0.12728536128997803,
0.00850436557084322,
-0.006594944279640913,
-0.01601187139749527,
-0.032986294478178024,
0.021044135093688965,
0.00042259195470251143,
-0.02738845907151699,
0.013050246983766556,
0.0640217512845993,
0.009183908812701702,
0.06164448708295822,
-0.15275847911834717,
0.03341379389166832,
-0.012434172444045544,
-0.008700378239154816,
-0.04078833386301994,
-0.003088385332375765,
0.09412919729948044,
0.029997020959854126,
0.04999024420976639,
0.0594591423869133,
0.005961286835372448,
0.04897493124008179,
0.04687291756272316,
0.05075275897979736,
0.03212398290634155,
-0.02488512545824051,
-0.02882821299135685
] | 0.223253 |
| | \*\*Fast + cheap\*\* | `qwen3-4b` | Lightweight, still capable | | \*\*Complex reasoning\*\* | `deepseek-v3.2` | Strong reasoning, private | ## Available Models (25 Total) ### Private Models (15) — Fully Private, No Logging | Model ID | Name | Context (tokens) | Features | | -------------------------------- | ----------------------- | ---------------- | ----------------------- | | `llama-3.3-70b` | Llama 3.3 70B | 131k | General | | `llama-3.2-3b` | Llama 3.2 3B | 131k | Fast, lightweight | | `hermes-3-llama-3.1-405b` | Hermes 3 Llama 3.1 405B | 131k | Complex tasks | | `qwen3-235b-a22b-thinking-2507` | Qwen3 235B Thinking | 131k | Reasoning | | `qwen3-235b-a22b-instruct-2507` | Qwen3 235B Instruct | 131k | General | | `qwen3-coder-480b-a35b-instruct` | Qwen3 Coder 480B | 262k | Code | | `qwen3-next-80b` | Qwen3 Next 80B | 262k | General | | `qwen3-vl-235b-a22b` | Qwen3 VL 235B | 262k | Vision | | `qwen3-4b` | Venice Small (Qwen3 4B) | 32k | Fast, reasoning | | `deepseek-v3.2` | DeepSeek V3.2 | 163k | Reasoning | | `venice-uncensored` | Venice Uncensored | 32k | Uncensored | | `mistral-31-24b` | Venice Medium (Mistral) | 131k | Vision | | `google-gemma-3-27b-it` | Gemma 3 27B Instruct | 202k | Vision | | `openai-gpt-oss-120b` | OpenAI GPT OSS 120B | 131k | General | | `zai-org-glm-4.7` | GLM 4.7 | 202k | Reasoning, multilingual | ### Anonymized Models (10) — Via Venice Proxy | Model ID | Original | Context (tokens) | Features | | ------------------------ | ----------------- | ---------------- | ----------------- | | `claude-opus-45` | Claude Opus 4.5 | 202k | Reasoning, vision | | `claude-sonnet-45` | Claude Sonnet 4.5 | 202k | Reasoning, vision | | `openai-gpt-52` | GPT-5.2 | 262k | Reasoning | | `openai-gpt-52-codex` | GPT-5.2 Codex | 262k | Reasoning, vision | | `gemini-3-pro-preview` | Gemini 3 Pro | 202k | Reasoning, vision | | `gemini-3-flash-preview` | Gemini 3 Flash | 262k | Reasoning, vision | | `grok-41-fast` | Grok 4.1 Fast | 262k | Reasoning, vision | | `grok-code-fast-1` | Grok Code Fast 1 | 262k | Reasoning, code | | `kimi-k2-thinking` | Kimi K2 Thinking | 262k | Reasoning | | `minimax-m21` | MiniMax M2.1 | 202k | Reasoning | ## Model Discovery OpenClaw automatically discovers models from the Venice API when `VENICE\_API\_KEY` is set. If the API is unreachable, it falls back to a static catalog. The `/models` endpoint is public (no auth needed for listing), but inference requires a valid API key. ## Streaming & Tool Support | Feature | Support | | -------------------- | ------------------------------------------------------- | | \*\*Streaming\*\* | ✅ All models | | \*\*Function calling\*\* | ✅ Most models (check `supportsFunctionCalling` in API) | | \*\*Vision/Images\*\* | ✅ Models marked with "Vision" feature | | \*\*JSON mode\*\* | ✅ Supported via `response\_format` | ## Pricing Venice uses a credit-based system. Check [venice.ai/pricing](https://venice.ai/pricing) for current rates: - \*\*Private models\*\*: Generally lower cost - \*\*Anonymized models\*\*: Similar to direct API pricing + small Venice fee ## Comparison: Venice vs Direct API | Aspect | Venice (Anonymized) | Direct API | | ------------ | ----------------------------- | ------------------- | | \*\*Privacy\*\* | Metadata stripped, anonymized | Your account linked | | \*\*Latency\*\* | +10-50ms (proxy) | Direct | | \*\*Features\*\* | Most features supported | Full features | | \*\*Billing\*\* | Venice credits | Provider billing | ## Usage Examples ```bash # Use default private model openclaw chat --model venice/llama-3.3-70b # Use Claude via Venice (anonymized) openclaw chat --model venice/claude-opus-45 # Use uncensored model openclaw chat --model venice/venice-uncensored # Use vision model with image openclaw chat --model venice/qwen3-vl-235b-a22b # Use coding | https://github.com/openclaw/openclaw/blob/main//docs/providers/venice.md | main | opebclaw | [
-0.06722349673509598,
-0.012881334871053696,
-0.0037880660966038704,
0.01677270606160164,
0.041986990720033646,
-0.053493205457925797,
-0.014497405849397182,
0.010634995996952057,
-0.014111555181443691,
0.04779670387506485,
0.04336853697896004,
-0.12719854712486267,
0.07072407752275467,
0.0007349864463321865,
0.0472329743206501,
0.048210859298706055,
0.08466341346502304,
-0.024828072637319565,
-0.11535438895225525,
-0.039975155144929886,
0.003061600960791111,
-0.01878589764237404,
-0.021665869280695915,
0.0033987700007855892,
-0.025621887296438217,
-0.014137955382466316,
-0.009117674082517624,
0.010551766492426395,
0.02385333739221096,
-0.11920461803674698,
-0.06928326934576035,
0.07782718539237976,
-0.02849135920405388,
-0.03246327489614487,
0.03973505273461342,
0.02803712710738182,
-0.05723089352250099,
0.004137342795729637,
-0.009251303039491177,
-0.05940081924200058,
-0.04090189188718796,
-0.03933290019631386,
0.0016088775591924787,
-0.07180941104888916,
0.009714927524328232,
-0.0378752164542675,
-0.03960410878062248,
0.03124043345451355,
-0.012539023533463478,
-0.10206788033246994,
-0.07324206084012985,
-0.06669406592845917,
-0.045250482857227325,
0.0294075645506382,
0.029312679544091225,
-0.05441730096936226,
-0.07890279591083527,
-0.05985935777425766,
-0.041364796459674835,
-0.012155217118561268,
-0.007048835977911949,
0.03881717473268509,
-0.0330435149371624,
0.010205622762441635,
0.06500925123691559,
0.01880902424454689,
-0.06492283195257187,
0.03614697605371475,
0.027198899537324905,
0.03584681451320648,
0.001037371577695012,
-0.011187097057700157,
-0.04695704206824303,
-0.0013245505979284644,
-0.05149814113974571,
0.006704718805849552,
0.1122627779841423,
0.019397905096411705,
-0.030251260846853256,
-0.08331044763326645,
-0.08060318231582642,
-0.02981860190629959,
-0.07170947641134262,
0.002776579698547721,
0.023091794922947884,
-0.019036130979657173,
0.005879161413758993,
-0.03304654732346535,
0.05707106739282608,
0.007085626479238272,
0.008626824244856834,
-0.013437168672680855,
0.05430656671524048,
0.024702079594135284,
0.06630770862102509,
0.0590314082801342,
0.07875212281942368,
0.013959071598947048,
-0.07932395488023758,
0.11030716449022293,
0.04391862824559212,
0.07680552452802658,
0.05172113701701164,
-0.031337808817625046,
0.05243759602308273,
0.00956043042242527,
0.03730139508843422,
0.005545754451304674,
0.018971309065818787,
-0.07400689274072647,
-0.015315860509872437,
0.04970574378967285,
-0.014805325306952,
-0.01050405204296112,
-0.04274426028132439,
0.0037924787029623985,
-0.021899191662669182,
-0.025395387783646584,
-0.021637048572301865,
0.032418448477983475,
0.007457720581442118,
0.010265746153891087,
0.019484994933009148,
-0.027167262509465218,
0.027742542326450348,
0.046884935349226,
-0.07618971168994904,
2.0766859928542403e-33,
0.004412622191011906,
-0.007202717009931803,
0.006881435867398977,
-0.011756990104913712,
0.05057043209671974,
0.05376488342881203,
-0.049566060304641724,
0.03849084675312042,
-0.10014447569847107,
0.03554126247763634,
-0.08055569231510162,
0.013170715421438217,
-0.044953603297472,
0.01921236887574196,
0.12331444770097733,
-0.015604185871779919,
-0.01824067533016205,
-0.00024086960183922201,
0.018075663596391678,
-0.01501332689076662,
0.04323163256049156,
-0.03343435749411583,
-0.07809772342443466,
-0.06976419687271118,
0.08918556571006775,
0.038183677941560745,
0.15684783458709717,
-0.035822346806526184,
-0.04048287495970726,
0.047097790986299515,
-0.03218976780772209,
-0.05305539816617966,
-0.046009790152311325,
0.008389156311750412,
-0.036250293254852295,
0.019069375470280647,
-0.07134275138378143,
-0.06776174157857895,
0.052093006670475006,
-0.03393775224685669,
-0.027176016941666603,
-0.0023047022987157106,
-0.07172413915395737,
-0.05542919412255287,
-0.033612459897994995,
0.00796571932733059,
-0.07891523838043213,
0.02993566170334816,
-0.06352610886096954,
-0.019641932100057602,
0.06065282225608826,
-0.0026335616130381823,
-0.06871858984231949,
0.0040659517981112,
-0.04305260628461838,
-0.013715538196265697,
0.045799918472766876,
0.07146287709474564,
0.030446471646428108,
0.16286467015743256,
-0.02216147445142269,
0.01725086010992527,
-0.0579807311296463,
0.05661305412650108,
0.043741222470998764,
0.05028986185789108,
-0.04799405857920647,
0.012048562057316303,
0.053707949817180634,
-0.018491869792342186,
-0.025377169251441956,
-0.037029970437288284,
0.09231653809547424,
0.011433510109782219,
0.05682944133877754,
-0.08348531275987625,
-0.02107727900147438,
-0.03184514865279198,
0.007778903469443321,
0.00485992431640625,
-0.029954783618450165,
0.1038903072476387,
-0.07265283167362213,
0.09873361140489578,
-0.03443799167871475,
-0.006299706641584635,
-0.01008596271276474,
-0.0484633669257164,
-0.10024171322584152,
-0.021501023322343826,
-0.03812668099999428,
-0.018888231366872787,
0.025615660473704338,
-0.07398328185081482,
-0.07272229343652725,
-5.3252307529088656e-33,
-0.04499528557062149,
-0.013016152195632458,
0.023284727707505226,
0.05009032040834427,
0.0727875754237175,
-0.11709892749786377,
-0.002963992301374674,
-0.001681350520811975,
-0.06086137145757675,
0.025663213804364204,
-0.010541584342718124,
0.0117918336763978,
0.013266107067465782,
-0.06380212306976318,
0.07622092217206955,
-0.005720038898289204,
-0.03546683117747307,
-0.12774930894374847,
0.011560921557247639,
0.07941441237926483,
0.05210765451192856,
0.0819154605269432,
-0.13940557837486267,
0.07322021573781967,
-0.005906661041080952,
0.042885877192020416,
-0.06203079968690872,
0.02168508991599083,
-0.07110483944416046,
-0.022925743833184242,
-0.06737273931503296,
-0.05222117900848389,
-0.1022590845823288,
-0.0646379292011261,
-0.07156963646411896,
-0.04352837800979614,
-0.011383242905139923,
0.025367222726345062,
-0.018952524289488792,
0.06474553793668747,
0.011271829716861248,
-0.0010528388665989041,
-0.04487932100892067,
0.01063562836498022,
-0.04368049278855324,
0.054814185947179794,
-0.020922448486089706,
-0.10335928946733475,
0.05664138123393059,
-0.015879379585385323,
0.05838421359658241,
-0.041754283010959625,
0.047260332852602005,
0.0758485347032547,
-0.04451911523938179,
-0.056087616831064224,
0.020920665934681892,
-0.02301216498017311,
-0.05058315396308899,
0.04635892063379288,
0.0074928635731339455,
-0.013256779871881008,
0.038444869220256805,
0.09075913578271866,
0.04545833170413971,
-0.08439458906650543,
-0.043273571878671646,
0.015979165211319923,
-0.05668793246150017,
-0.07237344235181808,
0.005774941761046648,
-0.06433871388435364,
-0.013785629533231258,
0.035189494490623474,
0.06326349824666977,
0.03778079152107239,
-0.0685473084449768,
-0.026853594928979874,
0.029667098075151443,
-0.038666605949401855,
-0.07079658657312393,
-0.04519914090633392,
0.06340666115283966,
0.01784769631922245,
-0.04791766405105591,
-0.0429728627204895,
0.05063885450363159,
0.052065905183553696,
0.014780048280954361,
0.03284527361392975,
-0.03458351641893387,
0.01836155727505684,
0.029530609026551247,
0.07126721739768982,
-0.0445563867688179,
-6.001354080353849e-8,
-0.024759182706475258,
-0.04921464994549751,
0.026957157999277115,
0.04351465404033661,
0.05574722960591316,
0.01707335002720356,
-0.09769363701343536,
0.07073310762643814,
0.02440827339887619,
0.040938589721918106,
0.05909118428826332,
-0.051513269543647766,
-0.09849530458450317,
0.004686987958848476,
0.018534231930971146,
0.03186943009495735,
-0.00900538545101881,
-0.026165712624788284,
-0.05024036392569542,
-0.0801035687327385,
0.0412956066429615,
0.06155184283852577,
-0.034258246421813965,
-0.023955928161740303,
0.04021899774670601,
-0.04578997567296028,
-0.02026330679655075,
0.03591090813279152,
0.048332907259464264,
0.07547139376401901,
-0.04058791697025299,
0.013268375769257545,
-0.0007809445378370583,
0.03124956600368023,
0.015116087161004543,
0.10114641487598419,
-0.044677574187517166,
0.019712582230567932,
0.010034057311713696,
0.01709694229066372,
0.03732248768210411,
0.019414087757468224,
-0.04470633715391159,
0.034976787865161896,
0.05173323303461075,
-0.0456235371530056,
-0.05285022780299187,
-0.12659046053886414,
0.027367928996682167,
-0.013186940923333168,
-0.028116226196289062,
-0.04519973695278168,
0.0318886898458004,
0.05600587651133537,
0.0028081717900931835,
0.06811297684907913,
-0.020047537982463837,
-0.02338274009525776,
0.027462931349873543,
-0.01604309305548668,
0.13813680410385132,
-0.054291509091854095,
-0.03752123564481735,
0.08021871745586395
] | 0.09159 |
Venice credits | Provider billing | ## Usage Examples ```bash # Use default private model openclaw chat --model venice/llama-3.3-70b # Use Claude via Venice (anonymized) openclaw chat --model venice/claude-opus-45 # Use uncensored model openclaw chat --model venice/venice-uncensored # Use vision model with image openclaw chat --model venice/qwen3-vl-235b-a22b # Use coding model openclaw chat --model venice/qwen3-coder-480b-a35b-instruct ``` ## Troubleshooting ### API key not recognized ```bash echo $VENICE\_API\_KEY openclaw models list | grep venice ``` Ensure the key starts with `vapi\_`. ### Model not available The Venice model catalog updates dynamically. Run `openclaw models list` to see currently available models. Some models may be temporarily offline. ### Connection issues Venice API is at `https://api.venice.ai/api/v1`. Ensure your network allows HTTPS connections. ## Config file example ```json5 { env: { VENICE\_API\_KEY: "vapi\_..." }, agents: { defaults: { model: { primary: "venice/llama-3.3-70b" } } }, models: { mode: "merge", providers: { venice: { baseUrl: "https://api.venice.ai/api/v1", apiKey: "${VENICE\_API\_KEY}", api: "openai-completions", models: [ { id: "llama-3.3-70b", name: "Llama 3.3 70B", reasoning: false, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 131072, maxTokens: 8192, }, ], }, }, }, } ``` ## Links - [Venice AI](https://venice.ai) - [API Documentation](https://docs.venice.ai) - [Pricing](https://venice.ai/pricing) - [Status](https://status.venice.ai) | https://github.com/openclaw/openclaw/blob/main//docs/providers/venice.md | main | opebclaw | [
-0.03021116554737091,
-0.04659126698970795,
-0.012621364556252956,
0.007723209913820028,
-0.03112717904150486,
-0.025800198316574097,
-0.057887040078639984,
-0.05600443854928017,
0.021927926689386368,
-0.060770902782678604,
0.030590170994400978,
-0.0858049988746643,
-0.014348356053233147,
0.04210354760289192,
0.09116532653570175,
0.02805250696837902,
0.05973178148269653,
-0.031139211729168892,
-0.06294681876897812,
-0.0011377185583114624,
0.026372140273451805,
0.03871845453977585,
-0.06246965751051903,
0.010543347336351871,
-0.006365620065480471,
-0.0053508649580180645,
-0.03587590157985687,
0.005384964868426323,
-0.05646238103508949,
-0.02032320760190487,
-0.06121417135000229,
0.09735341370105743,
-0.03729505091905594,
-0.06630745530128479,
0.13397528231143951,
0.01690942794084549,
-0.05221027135848999,
-0.016895338892936707,
-0.054214999079704285,
-0.006065828260034323,
0.057341575622558594,
-0.05812753736972809,
-0.05258484557271004,
0.008676646277308464,
-0.002971129259094596,
-0.10047821700572968,
0.00888434424996376,
-0.020003579556941986,
-0.034170400351285934,
-0.004779788665473461,
-0.14624524116516113,
-0.002632736461237073,
0.0024427170865237713,
-0.05519886687397957,
-0.059939466416835785,
-0.03962894156575203,
-0.031841520220041275,
0.08444206416606903,
0.01942673698067665,
-0.05665173754096031,
0.04552289471030235,
0.014633066952228546,
-0.06276348233222961,
0.06349973380565643,
-0.09339436888694763,
0.09755989164113998,
-0.10484293848276138,
0.021073760464787483,
0.011513874866068363,
-0.02491188235580921,
-0.022162484005093575,
-0.019148122519254684,
-0.046657998114824295,
-0.024353981018066406,
0.00815841369330883,
-0.014988410286605358,
0.07250400632619858,
0.01652524434030056,
0.007090579718351364,
-0.10299870371818542,
0.00302937556989491,
-0.06961697340011597,
-0.05213654041290283,
0.0033122433815151453,
0.02739252895116806,
0.11533813178539276,
0.04801621660590172,
-0.016840735450387,
0.07668124884366989,
-0.004253332037478685,
-0.033947866410017014,
-0.07710908353328705,
0.05239035189151764,
-0.059420373290777206,
0.09381207078695297,
0.013576792553067207,
-0.017980339005589485,
0.0026158641558140516,
-0.06436920166015625,
0.1556534767150879,
0.010222455486655235,
0.02275771275162697,
0.07314402610063553,
-0.0037009655497968197,
-0.00433979369699955,
0.087148517370224,
0.05926358327269554,
0.07947652786970139,
-0.005415293853729963,
-0.011646251194179058,
-0.028575560078024864,
-0.021387796849012375,
0.06983783841133118,
-0.08070310950279236,
-0.00466122105717659,
0.11732066422700882,
0.026355111971497536,
-0.005867140367627144,
0.03238369897007942,
0.08534979820251465,
0.09419779479503632,
-0.1117774173617363,
-0.017889270558953285,
-0.03218083828687668,
-0.007027683779597282,
0.06602250784635544,
0.023455888032913208,
7.383164672131613e-33,
0.06013423576951027,
-0.09048105031251907,
0.01758684776723385,
0.019131388515233994,
0.11473467946052551,
0.010416900739073753,
-0.019214600324630737,
0.015731384977698326,
-0.17029514908790588,
-0.006346223875880241,
-0.007015839219093323,
0.03945869207382202,
-0.07352598756551743,
-0.007769216317683458,
0.05495351180434227,
0.041775017976760864,
0.07139250636100769,
0.007115331944078207,
0.06259780377149582,
0.0061200279742479324,
0.056768253445625305,
-0.08795704692602158,
-0.012483655475080013,
-0.0008330829441547394,
-0.022530289366841316,
0.15497145056724548,
0.021076634526252747,
-0.04024491831660271,
-0.044874366372823715,
0.08477047830820084,
-0.019999327138066292,
0.028170479461550713,
-0.027634767815470695,
-0.011147779412567616,
-0.031153973191976547,
0.004937439225614071,
-0.11323641985654831,
-0.06349808722734451,
-0.0414789579808712,
-0.04841816425323486,
-0.023926258087158203,
0.00793702807277441,
-0.10289207845926285,
-0.006328124087303877,
0.0592627227306366,
-0.09109574556350708,
-0.034906480461359024,
0.005341480951756239,
0.027856770902872086,
0.09177278727293015,
0.0386006161570549,
0.03238185495138168,
-0.11764661222696304,
0.0132462028414011,
-0.03432762995362282,
0.012844125740230083,
-0.016687268391251564,
0.04397442936897278,
-0.026650024577975273,
-0.01898672617971897,
0.030707284808158875,
0.0077420067973434925,
0.036004483699798584,
0.02484094351530075,
0.12165578454732895,
0.02788744866847992,
0.01617448404431343,
0.07969503104686737,
-0.03284820169210434,
0.002940497826784849,
-0.02934958226978779,
0.02127872034907341,
0.05761738121509552,
0.04946204274892807,
-0.05770773068070412,
-0.01728637143969536,
-0.019716883078217506,
-0.05941862612962723,
0.05020903795957565,
0.0000714753768988885,
0.047170065343379974,
-0.05186516046524048,
-0.004900124855339527,
0.01943182572722435,
-0.056753892451524734,
0.018436407670378685,
0.05345065891742706,
-0.025950156152248383,
-0.024031605571508408,
0.05042925104498863,
0.0161758866161108,
0.03149225935339928,
-0.04162273928523064,
-0.017341500148177147,
-0.02582549676299095,
-7.134259620816748e-33,
0.04338840767741203,
0.00352984550409019,
0.012420397251844406,
-0.04779234528541565,
-0.048642706125974655,
-0.09203135967254639,
-0.011100899428129196,
-0.0031190882436931133,
0.03380652517080307,
0.018730001524090767,
-0.03784908726811409,
0.005098062567412853,
0.04864082112908363,
-0.051020510494709015,
0.07451122254133224,
0.059328917413949966,
0.04095955565571785,
-0.12103816866874695,
-0.004446754232048988,
0.037870440632104874,
-0.015651633962988853,
0.025005841627717018,
-0.05416397005319595,
0.04940825328230858,
-0.06067986413836479,
0.039036378264427185,
-0.027187369763851166,
0.017836980521678925,
-0.006869408767670393,
0.005084318574517965,
-0.00833828654140234,
0.07653514295816422,
-0.08399618417024612,
0.000466463970951736,
-0.01365707628428936,
0.06257372349500656,
0.028454111889004707,
0.06571438163518906,
0.01068879384547472,
0.04052538424730301,
0.014239302836358547,
-0.052017759531736374,
-0.044583942741155624,
-0.0319315530359745,
0.027145205065608025,
0.008982239291071892,
0.05080464854836464,
-0.05697093531489372,
-0.08725152164697647,
-0.09343288093805313,
0.08159825950860977,
-0.0043572974391281605,
-0.015524124726653099,
0.04066009074449539,
-0.03872527554631233,
0.07141400873661041,
0.015536250546574593,
0.0033568174112588167,
-0.05957198515534401,
0.0030455063097178936,
0.08029980957508087,
-0.05337641015648842,
-0.022425146773457527,
0.05296742916107178,
-0.012515529058873653,
-0.0942087396979332,
-0.05364924669265747,
0.05218655616044998,
-0.015812305733561516,
-0.023921256884932518,
0.00862141977995634,
-0.04515296220779419,
-0.08101434260606766,
-0.0016935397870838642,
0.04939698800444603,
0.033325836062431335,
-0.04268202930688858,
0.003697350388392806,
-0.01792581006884575,
0.06228656321763992,
-0.04309823364019394,
-0.014483028091490269,
0.03061312437057495,
0.005639234557747841,
0.02952098846435547,
-0.06608427315950394,
0.026814082637429237,
0.08274137228727341,
0.06415150314569473,
0.04148564115166664,
-0.08254998177289963,
0.05410813167691231,
-0.03077922947704792,
0.03942914679646492,
0.02539466880261898,
-5.292138283152781e-8,
-0.028382714837789536,
-0.03984648361802101,
-0.056817516684532166,
0.09416680783033371,
-0.0026523785199970007,
-0.03171076253056526,
-0.042271364480257034,
0.044853899627923965,
-0.023654012009501457,
0.01615923084318638,
-0.02042265795171261,
-0.01538788340985775,
-0.04789668321609497,
0.007018860895186663,
0.030640706419944763,
0.08325621485710144,
-0.01889161951839924,
-0.032448966056108475,
-0.01567808724939823,
-0.01327839121222496,
0.02239689603447914,
0.007993882521986961,
0.027861623093485832,
-0.08442926406860352,
-0.08325443416833878,
-0.11142218858003616,
-0.023556074127554893,
0.08980321139097214,
-0.036763761192560196,
0.014253905043005943,
0.010610607452690601,
-0.014202451333403587,
-0.006958294194191694,
-0.06513278186321259,
-0.009450884535908699,
0.006452598143368959,
-0.010698294267058372,
-0.04582102224230766,
0.003304725978523493,
-0.013759869150817394,
0.05806043744087219,
-0.02951689437031746,
-0.02123906835913658,
-0.0072057126089930534,
0.07281678915023804,
0.06113620102405548,
0.06614798307418823,
-0.0676969662308693,
0.045681025832891464,
-0.05569116398692131,
-0.07582905143499374,
-0.008661087602376938,
0.010851486586034298,
0.056318316608667374,
0.01573522388935089,
0.04624596983194351,
0.05689629539847374,
0.04134678468108177,
0.068720243871212,
0.026988064870238304,
0.010660314001142979,
0.03559061139822006,
-0.02945048175752163,
-0.022015683352947235
] | 0.1508 |
# Ollama Ollama is a local LLM runtime that makes it easy to run open-source models on your machine. OpenClaw integrates with Ollama's OpenAI-compatible API and can \*\*auto-discover tool-capable models\*\* when you opt in with `OLLAMA\_API\_KEY` (or an auth profile) and do not define an explicit `models.providers.ollama` entry. ## Quick start 1. Install Ollama: https://ollama.ai 2. Pull a model: ```bash ollama pull llama3.3 # or ollama pull qwen2.5-coder:32b # or ollama pull deepseek-r1:32b ``` 3. Enable Ollama for OpenClaw (any value works; Ollama doesn't require a real key): ```bash # Set environment variable export OLLAMA\_API\_KEY="ollama-local" # Or configure in your config file openclaw config set models.providers.ollama.apiKey "ollama-local" ``` 4. Use Ollama models: ```json5 { agents: { defaults: { model: { primary: "ollama/llama3.3" }, }, }, } ``` ## Model discovery (implicit provider) When you set `OLLAMA\_API\_KEY` (or an auth profile) and \*\*do not\*\* define `models.providers.ollama`, OpenClaw discovers models from the local Ollama instance at `http://127.0.0.1:11434`: - Queries `/api/tags` and `/api/show` - Keeps only models that report `tools` capability - Marks `reasoning` when the model reports `thinking` - Reads `contextWindow` from `model\_info[".context\_length"]` when available - Sets `maxTokens` to 10× the context window - Sets all costs to `0` This avoids manual model entries while keeping the catalog aligned with Ollama's capabilities. To see what models are available: ```bash ollama list openclaw models list ``` To add a new model, simply pull it with Ollama: ```bash ollama pull mistral ``` The new model will be automatically discovered and available to use. If you set `models.providers.ollama` explicitly, auto-discovery is skipped and you must define models manually (see below). ## Configuration ### Basic setup (implicit discovery) The simplest way to enable Ollama is via environment variable: ```bash export OLLAMA\_API\_KEY="ollama-local" ``` ### Explicit setup (manual models) Use explicit config when: - Ollama runs on another host/port. - You want to force specific context windows or model lists. - You want to include models that do not report tool support. ```json5 { models: { providers: { ollama: { // Use a host that includes /v1 for OpenAI-compatible APIs baseUrl: "http://ollama-host:11434/v1", apiKey: "ollama-local", api: "openai-completions", models: [ { id: "llama3.3", name: "Llama 3.3", reasoning: false, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 8192, maxTokens: 8192 \* 10 } ] } } } } ``` If `OLLAMA\_API\_KEY` is set, you can omit `apiKey` in the provider entry and OpenClaw will fill it for availability checks. ### Custom base URL (explicit config) If Ollama is running on a different host or port (explicit config disables auto-discovery, so define models manually): ```json5 { models: { providers: { ollama: { apiKey: "ollama-local", baseUrl: "http://ollama-host:11434/v1", }, }, }, } ``` ### Model selection Once configured, all your Ollama models are available: ```json5 { agents: { defaults: { model: { primary: "ollama/llama3.3", fallback: ["ollama/qwen2.5-coder:32b"], }, }, }, } ``` ## Advanced ### Reasoning models OpenClaw marks models as reasoning-capable when Ollama reports `thinking` in `/api/show`: ```bash ollama pull deepseek-r1:32b ``` ### Model Costs Ollama is free and runs locally, so all model costs are set to $0. ### Context windows For auto-discovered models, OpenClaw uses the context window reported by Ollama when available, otherwise it defaults to `8192`. You can override `contextWindow` and `maxTokens` in explicit provider config. ## Troubleshooting ### Ollama not detected Make sure Ollama is running and that you set `OLLAMA\_API\_KEY` (or an auth profile), and that you did \*\*not\*\* define an explicit `models.providers.ollama` entry: ```bash ollama serve ``` And that the API is accessible: ```bash curl http://localhost:11434/api/tags ``` ### No models available OpenClaw only auto-discovers models that report tool support. If your | https://github.com/openclaw/openclaw/blob/main//docs/providers/ollama.md | main | opebclaw | [
-0.0676952451467514,
-0.030661942437291145,
-0.07183859497308731,
0.03051910176873207,
-0.03439069166779518,
-0.1090940609574318,
-0.10454799234867096,
0.023211902007460594,
-0.004404222127050161,
-0.032434213906526566,
0.03396042808890343,
-0.0394994281232357,
-0.03779405355453491,
-0.01184252928942442,
0.11707348376512527,
0.09992262721061707,
0.07568013668060303,
-0.019946202635765076,
-0.014174100011587143,
0.0038868265692144632,
0.05175093933939934,
0.055984463542699814,
0.022782154381275177,
-0.03728179633617401,
-0.03468863666057587,
-0.062302522361278534,
0.012279551476240158,
0.051799334585666656,
-0.0033459579572081566,
-0.04645919427275658,
0.07584843039512634,
0.012673288583755493,
-0.005140943452715874,
0.00514077115803957,
0.11843560636043549,
0.02460438385605812,
-0.005394855048507452,
-0.08531931042671204,
-0.1116839125752449,
-0.007727448828518391,
0.06910192221403122,
0.049532949924468994,
-0.04490021988749504,
-0.06914719194173813,
0.003527529537677765,
-0.12614180147647858,
-0.026686660945415497,
-0.029407430440187454,
-0.012858866713941097,
-0.04726962372660637,
-0.1043100655078888,
-0.10240298509597778,
0.010251283645629883,
-0.051242560148239136,
0.052887849509716034,
0.0005696009611710906,
0.01118685957044363,
-0.07211357355117798,
0.0034826043993234634,
0.0050458405166864395,
0.04762616008520126,
0.035776734352111816,
-0.06502767652273178,
0.01879981905221939,
-0.049950096756219864,
0.009807577356696129,
-0.0420975498855114,
-0.011398205533623695,
-0.0005925887962803245,
-0.0700492113828659,
-0.01837960258126259,
-0.003152257762849331,
0.04615281894803047,
0.005461258813738823,
-0.014377228915691376,
-0.04433046653866768,
0.0816095843911171,
0.052704207599163055,
0.01629522256553173,
-0.023144325241446495,
-0.09229514747858047,
-0.031036855652928352,
-0.05048060417175293,
0.03397652506828308,
0.03162567317485809,
0.10984060168266296,
-0.030925609171390533,
0.0766555443406105,
0.0753798633813858,
-0.008072041906416416,
-0.006012387108057737,
-0.08675890415906906,
-0.041239749640226364,
-0.07105820626020432,
0.08483949303627014,
-0.011907664127647877,
0.08225313574075699,
-0.03929419070482254,
-0.050061460584402084,
0.10477905720472336,
-0.06600145995616913,
-0.037953805178403854,
0.016678597778081894,
0.01179648656398058,
-0.08252446353435516,
0.058312658220529556,
0.10424881428480148,
0.08886373788118362,
-0.03518078103661537,
0.02103390544652939,
0.044476792216300964,
-0.07265271246433258,
0.11504700779914856,
-0.07047802954912186,
-0.014189665205776691,
0.017924856394529343,
-0.03554626554250717,
-0.025248290970921516,
0.03396289423108101,
0.020969072356820107,
0.027794020250439644,
-0.03915033116936684,
0.03945344313979149,
0.02642803080379963,
0.06149456277489662,
0.12927652895450592,
-0.021338600665330887,
7.370728676583883e-33,
0.11312195658683777,
0.017217863351106644,
0.0005877226358279586,
-0.01040969230234623,
0.08149497956037521,
0.051342837512493134,
0.07288215309381485,
-0.033296436071395874,
-0.06903994083404541,
0.038595590740442276,
-0.0391417071223259,
0.08143161237239838,
-0.07931599020957947,
0.007994800806045532,
0.043998464941978455,
0.008626468479633331,
-0.025966595858335495,
0.03506489843130112,
0.06280812621116638,
0.0177212692797184,
0.07980362325906754,
-0.04817240685224533,
-0.01333039440214634,
0.013893590308725834,
-0.014208052307367325,
0.05667788162827492,
0.017102712765336037,
-0.04712499678134918,
-0.023222632706165314,
0.0648428276181221,
0.14660608768463135,
0.00015874890959821641,
-0.06675444543361664,
-0.02300451137125492,
-0.043546006083488464,
0.007653113920241594,
-0.1446586549282074,
-0.03162746503949165,
-0.05098244175314903,
-0.06979535520076752,
0.03677159175276756,
0.027946002781391144,
-0.04013598710298538,
-0.05378544330596924,
-0.04483891278505325,
-0.04423409700393677,
-0.010974432341754436,
0.053090766072273254,
0.07017506659030914,
0.003773855045437813,
0.012082349509000778,
0.009628569707274437,
-0.04597589746117592,
-0.03177471458911896,
-0.02699296548962593,
-0.0013729763450101018,
0.03943578898906708,
-0.026684338226914406,
0.1156015694141388,
-0.003244812600314617,
-0.06906101852655411,
0.030360013246536255,
-0.004366280045360327,
-0.012382577173411846,
-0.00754569610580802,
-0.04944559931755066,
0.03347838670015335,
0.014710785821080208,
-0.016067298129200935,
0.03643916919827461,
-0.02546725794672966,
-0.027535542845726013,
-0.055144961923360825,
0.05683094635605812,
-0.019104279577732086,
-0.04812949150800705,
0.04444725438952446,
-0.03277470916509628,
0.048976533114910126,
-0.028557972982525826,
0.04610735923051834,
0.03328874707221985,
0.01141312625259161,
0.012944085523486137,
0.0352802500128746,
-0.004625571891665459,
-0.005397231783717871,
0.008579623885452747,
-0.02212437056005001,
0.051805175840854645,
0.002543214475736022,
-0.030365075916051865,
-0.037992529571056366,
0.010527025908231735,
-0.008843914605677128,
-6.999355481012567e-33,
0.012889157049357891,
-0.02512778341770172,
0.03926440328359604,
-0.028109848499298096,
0.013378031551837921,
-0.05962450057268143,
-0.041519638150930405,
0.008339883759617805,
-0.015185194090008736,
-0.033632583916187286,
0.02417762577533722,
0.02854548580944538,
0.07960399240255356,
-0.006272265687584877,
0.14046284556388855,
-0.0659412294626236,
-0.08067670464515686,
-0.0576380118727684,
0.042186591774225235,
0.043984390795230865,
-0.07906953245401382,
-0.0180470272898674,
-0.016919389367103577,
-0.004198313690721989,
0.046676360070705414,
0.03483147546648979,
-0.011950279586017132,
0.009909861721098423,
-0.05777744948863983,
-0.035907547920942307,
-0.04757440462708473,
0.06197149306535721,
-0.06676336377859116,
0.023609010502696037,
-0.08077557384967804,
0.0857883095741272,
-0.01350904069840908,
0.022286348044872284,
0.004749728366732597,
0.025930462405085564,
0.04608117416501045,
-0.011746292002499104,
-0.046179529279470444,
-0.04146457463502884,
-0.09779302775859833,
0.05960596352815628,
0.0016440842300653458,
-0.008314807899296284,
-0.048750139772892,
-0.03323780372738838,
0.03095758706331253,
0.04289725795388222,
0.013483690097928047,
-0.00680116331204772,
0.03816556930541992,
0.014624119736254215,
0.06253398209810257,
-0.060227178037166595,
-0.0633120983839035,
-0.027239952236413956,
0.015208800323307514,
-0.0820503756403923,
0.03292280435562134,
0.058511149138212204,
-0.043303731828927994,
-0.03884214535355568,
-0.013188546523451805,
0.03053644299507141,
-0.10578795522451401,
-0.06891512125730515,
-0.08996400237083435,
-0.05797946825623512,
0.0011829888680949807,
0.0020406830590218306,
0.04723544046282768,
-0.0005854904884472489,
-0.13392353057861328,
0.00403418205678463,
0.029012616723775864,
-0.0008615218102931976,
-0.005794338881969452,
-0.03136063367128372,
0.08781680464744568,
-0.0004934351891279221,
0.032886236906051636,
-0.019534381106495857,
0.07614104449748993,
0.06556861102581024,
0.03995006904006004,
0.07122921943664551,
-0.09774408489465714,
0.053811877965927124,
0.011996623128652573,
0.06506890058517456,
0.05149969086050987,
-4.989755453266298e-8,
-0.08455774933099747,
-0.0405191071331501,
0.013632490299642086,
0.026428019627928734,
-0.027619706466794014,
-0.02587672509253025,
0.0065590678714215755,
0.054058488458395004,
0.0005691326223313808,
0.03963913023471832,
0.08064208179712296,
0.06681455671787262,
-0.02427794225513935,
0.01659441739320755,
-0.0792817771434784,
0.1012125164270401,
0.02652946673333645,
-0.007349338382482529,
0.02297196164727211,
-0.04495367780327797,
0.03933973237872124,
0.019841816276311874,
0.08300468325614929,
0.010314922779798508,
0.00848767813295126,
-0.06301936507225037,
-0.12464232742786407,
0.058821555227041245,
0.013395829126238823,
-0.0074303350411355495,
0.006081794388592243,
-0.01676468923687935,
0.08497258275747299,
-0.02296927385032177,
-0.04502537101507187,
0.011299887672066689,
-0.03527788072824478,
0.022831013426184654,
-0.0075621409341692924,
-0.04168782755732536,
0.056838903576135635,
0.04357165843248367,
-0.054088130593299866,
-0.08322375267744064,
-0.028479818254709244,
0.05333654582500458,
0.01640029437839985,
-0.06462793797254562,
-0.042411744594573975,
0.002075035125017166,
-0.026523377746343613,
-0.05213030055165291,
0.025007450953125954,
0.06877700984477997,
-0.04234672337770462,
0.015934443101286888,
-0.01898597739636898,
-0.02823757566511631,
0.017975132912397385,
0.029827453196048737,
0.01230139285326004,
-0.04722102731466293,
0.05798448249697685,
0.02443195879459381
] | 0.06435 |
Ollama is running and that you set `OLLAMA\_API\_KEY` (or an auth profile), and that you did \*\*not\*\* define an explicit `models.providers.ollama` entry: ```bash ollama serve ``` And that the API is accessible: ```bash curl http://localhost:11434/api/tags ``` ### No models available OpenClaw only auto-discovers models that report tool support. If your model isn't listed, either: - Pull a tool-capable model, or - Define the model explicitly in `models.providers.ollama`. To add models: ```bash ollama list # See what's installed ollama pull llama3.3 # Pull a model ``` ### Connection refused Check that Ollama is running on the correct port: ```bash # Check if Ollama is running ps aux | grep ollama # Or restart Ollama ollama serve ``` ## See Also - [Model Providers](/concepts/model-providers) - Overview of all providers - [Model Selection](/concepts/models) - How to choose models - [Configuration](/gateway/configuration) - Full config reference | https://github.com/openclaw/openclaw/blob/main//docs/providers/ollama.md | main | opebclaw | [
-0.026073716580867767,
-0.02379097044467926,
-0.10557795315980911,
0.019390085712075233,
-0.048047490417957306,
-0.09233903139829636,
-0.09089945256710052,
0.023367954418063164,
0.034762121737003326,
-0.010235141962766647,
0.013727291487157345,
-0.03922297805547714,
-0.016923965886235237,
0.013685334473848343,
0.12644793093204498,
0.09225794672966003,
0.08770910650491714,
-0.0946410745382309,
-0.0018269201973453164,
0.036247964948415756,
0.026957297697663307,
0.08176816254854202,
0.009322967380285263,
0.001937549328431487,
-0.035267993807792664,
-0.07138999551534653,
-0.05787729099392891,
0.03629147261381149,
-0.04679732024669647,
-0.01941034011542797,
0.03502369299530983,
-0.030693620443344116,
-0.04255983605980873,
-0.009966333396732807,
0.09421300888061523,
0.04616613686084747,
0.05245763808488846,
-0.0639100894331932,
-0.06724649667739868,
0.0319058783352375,
0.08853641897439957,
0.014004269614815712,
-0.06489643454551697,
-0.10377378016710281,
-0.042809925973415375,
-0.11997652798891068,
-0.0012242833618074656,
-0.0522594191133976,
-0.02399679645895958,
-0.009880646131932735,
-0.10226017236709595,
-0.07272536307573318,
-0.0008923843270167708,
-0.040737997740507126,
0.0036967673804610968,
0.018294302746653557,
0.010087946429848671,
-0.03289339318871498,
0.028231466189026833,
-0.002792088780552149,
0.040949564427137375,
0.03625939041376114,
-0.040611740201711655,
0.04933905228972435,
-0.048869017511606216,
-0.04338708892464638,
-0.07163400202989578,
-0.03127562627196312,
-0.015587695874273777,
-0.021618744358420372,
-0.003926485776901245,
0.005014654714614153,
0.0033943369053304195,
0.005246857181191444,
0.04109589010477066,
-0.06455393135547638,
0.118106409907341,
0.04507405310869217,
0.015847068279981613,
-0.018206780776381493,
-0.09167177230119705,
-0.017676034942269325,
-0.0598965622484684,
0.08122801035642624,
-0.01523365918546915,
0.12052301317453384,
-0.02718215622007847,
0.03424406051635742,
0.06457095593214035,
-0.018114015460014343,
0.02536638453602791,
-0.05886859819293022,
-0.07450484484434128,
-0.05490585044026375,
0.07303334772586823,
-0.048435427248477936,
0.05237603932619095,
-0.03997723013162613,
-0.07745242118835449,
0.12032829225063324,
-0.007632425986230373,
-0.04144967347383499,
0.011591214686632156,
0.052369125187397,
-0.0834580510854721,
0.061231207102537155,
0.05257551744580269,
0.07011229544878006,
-0.06790255010128021,
0.028297564014792442,
0.06596614420413971,
-0.08425913751125336,
0.0867847427725792,
-0.03086169809103012,
-0.017991239205002785,
0.06074163317680359,
-0.0467710867524147,
-0.032482046633958817,
-0.020491166040301323,
0.03074093535542488,
0.05276643857359886,
-0.017119688913226128,
0.06087986007332802,
0.02343841642141342,
0.04995410889387131,
0.13459791243076324,
0.019657284021377563,
-1.453413587369072e-34,
0.11199875921010971,
-0.011065258644521236,
0.0018539478769525886,
0.03394322842359543,
0.08373279124498367,
0.09679332375526428,
0.05039750039577484,
0.0004916120087727904,
-0.03870201110839844,
0.040047843009233475,
-0.05242837592959404,
0.08738257735967636,
-0.03679962083697319,
0.013835396617650986,
-0.005453626159578562,
0.04815872386097908,
0.032062698155641556,
0.007685366086661816,
0.05859168991446495,
0.025001663714647293,
0.09032629430294037,
-0.037707965821027756,
0.010019420646131039,
0.015470482409000397,
-0.045416973531246185,
0.08553697913885117,
-0.02897678315639496,
-0.01846296899020672,
-0.03670710697770119,
0.05278237909078598,
0.1380223035812378,
0.009345822967588902,
-0.014011808671057224,
-0.0448928065598011,
-0.03457365930080414,
-0.028294242918491364,
-0.07188798487186432,
-0.028429128229618073,
-0.0797005221247673,
-0.05165933445096016,
0.00813524704426527,
0.03848734870553017,
-0.07440975308418274,
-0.03790101036429405,
0.00027794024208560586,
-0.041056979447603226,
-0.04719943925738335,
0.0306253544986248,
0.04704437777400017,
0.04424624145030975,
-0.02255065180361271,
-0.015244252979755402,
-0.013955144211649895,
-0.0031800479628145695,
-0.020717045292258263,
0.019230114296078682,
-0.038473937660455704,
-0.04731917381286621,
0.07180815935134888,
-0.054602205753326416,
-0.02587520144879818,
0.013215080834925175,
-0.01539880782365799,
-0.015126154758036137,
0.03375469893217087,
-0.035319890826940536,
0.012739114463329315,
0.0700191855430603,
0.026756035163998604,
0.05353881046175957,
-0.046836212277412415,
-0.0011065697763115168,
-0.06779806315898895,
0.10824660211801529,
-0.004245411138981581,
-0.0975189059972763,
0.033417899161577225,
-0.042652763426303864,
0.031076554208993912,
0.007427950855344534,
0.08313490450382233,
-0.0030592805705964565,
0.009782877750694752,
-0.015488752163946629,
0.019301366060972214,
-0.0013726968318223953,
0.008822953328490257,
0.023607706651091576,
-0.024731513112783432,
0.05837266892194748,
0.011139492504298687,
0.009217801503837109,
-0.039518896490335464,
0.027194565162062645,
-0.03491516783833504,
-3.527236470877343e-33,
0.0005513513460755348,
-0.0053320894949138165,
-0.0025784068275243044,
-0.06089191883802414,
0.02507849410176277,
-0.0640711858868599,
-0.06048808991909027,
-0.026855312287807465,
-0.03171371668577194,
-0.03691950440406799,
0.03101976029574871,
0.0642775371670723,
0.038305994123220444,
0.001267188461497426,
0.10233833640813828,
-0.07070915400981903,
-0.11009817570447922,
-0.07817468047142029,
0.025770774111151695,
0.014128277078270912,
-0.10211966186761856,
0.007955698296427727,
0.0011836120393127203,
0.017541738227009773,
0.0051780990324914455,
0.006289181299507618,
0.0070749069564044476,
-0.015663648024201393,
-0.049296747893095016,
-0.03687341511249542,
0.009820123203098774,
0.08566144853830338,
-0.05338039621710777,
0.09051678329706192,
-0.05597974359989166,
0.08800693601369858,
-0.04187663644552231,
0.041352130472660065,
0.01353921927511692,
-0.014865323901176453,
0.07091133296489716,
-0.004855898208916187,
-0.03639915958046913,
-0.05715162679553032,
-0.10322673618793488,
0.05933082103729248,
0.02870466187596321,
-0.03760543838143349,
-0.04997292533516884,
-0.03724168613553047,
0.025532038882374763,
-0.011116927489638329,
0.044567011296749115,
0.011038761585950851,
0.05829506739974022,
0.02255738340318203,
0.04051680862903595,
-0.06741742789745331,
-0.03693510591983795,
-0.04202578589320183,
0.030921591445803642,
-0.03222328796982765,
-0.008685704320669174,
0.04710841923952103,
-0.07520336657762527,
-0.08439812064170837,
-0.02603057585656643,
-0.00031211040914058685,
-0.01947108283638954,
-0.04561271145939827,
-0.08999192714691162,
-0.007808132562786341,
-0.026539044454693794,
-0.03460304066538811,
0.05117473751306534,
0.01506314892321825,
-0.20999732613563538,
-0.035785920917987823,
-0.002462574513629079,
0.041772399097681046,
-0.053079620003700256,
-0.00831533968448639,
0.06003890186548233,
-0.02464328333735466,
0.022130560129880905,
-0.035314708948135376,
0.07410319149494171,
0.06286285817623138,
0.04393209517002106,
0.033973146229982376,
-0.03505375236272812,
0.019619811326265335,
-0.03512582927942276,
0.06770575791597366,
0.05058573931455612,
-4.436521550132966e-8,
-0.004294181242585182,
-0.006151428911834955,
-0.02496328204870224,
0.055517133325338364,
-0.03547745943069458,
-0.009746110998094082,
0.015299687162041664,
-0.01538943126797676,
-0.018520234152674675,
0.052444279193878174,
0.032360151410102844,
0.06383031606674194,
-0.03599028289318085,
0.037174075841903687,
-0.03263425827026367,
0.03889688849449158,
-0.008280422538518906,
-0.010909618809819221,
0.020397931337356567,
-0.07814693450927734,
-0.011686736717820168,
-0.017433183267712593,
0.03904639929533005,
-0.034434687346220016,
0.01373485941439867,
-0.07400444149971008,
-0.12615257501602173,
0.03519240766763687,
-0.06323926895856857,
-0.011271154507994652,
-0.0029942409601062536,
-0.0411158986389637,
0.050368089228868484,
-0.05296621844172478,
-0.04717773199081421,
-0.014177464880049229,
-0.0066230520606040955,
0.0022807815112173557,
-0.0070866066962480545,
-0.08322831988334656,
0.07234293967485428,
0.052499860525131226,
-0.005599515046924353,
-0.07694439589977264,
-0.02106361649930477,
0.0756102204322815,
0.04839921370148659,
-0.022084256634116173,
-0.03754290193319321,
-0.019195526838302612,
-0.0037432601675391197,
-0.046786725521087646,
0.0722288265824318,
0.06862722337245941,
-0.0332072377204895,
0.018025493249297142,
-0.03187006339430809,
-0.048081908375024796,
-0.060547828674316406,
0.005921324249356985,
-0.0007905439124442637,
-0.04850025475025177,
0.08646897971630096,
0.00601968914270401
] | 0.046521 |
# Deepgram (Audio Transcription) Deepgram is a speech-to-text API. In OpenClaw it is used for \*\*inbound audio/voice note transcription\*\* via `tools.media.audio`. When enabled, OpenClaw uploads the audio file to Deepgram and injects the transcript into the reply pipeline (`{{Transcript}}` + `[Audio]` block). This is \*\*not streaming\*\*; it uses the pre-recorded transcription endpoint. Website: https://deepgram.com Docs: https://developers.deepgram.com ## Quick start 1. Set your API key: ``` DEEPGRAM\_API\_KEY=dg\_... ``` 2. Enable the provider: ```json5 { tools: { media: { audio: { enabled: true, models: [{ provider: "deepgram", model: "nova-3" }], }, }, }, } ``` ## Options - `model`: Deepgram model id (default: `nova-3`) - `language`: language hint (optional) - `tools.media.audio.providerOptions.deepgram.detect\_language`: enable language detection (optional) - `tools.media.audio.providerOptions.deepgram.punctuate`: enable punctuation (optional) - `tools.media.audio.providerOptions.deepgram.smart\_format`: enable smart formatting (optional) Example with language: ```json5 { tools: { media: { audio: { enabled: true, models: [{ provider: "deepgram", model: "nova-3", language: "en" }], }, }, }, } ``` Example with Deepgram options: ```json5 { tools: { media: { audio: { enabled: true, providerOptions: { deepgram: { detect\_language: true, punctuate: true, smart\_format: true, }, }, models: [{ provider: "deepgram", model: "nova-3" }], }, }, }, } ``` ## Notes - Authentication follows the standard provider auth order; `DEEPGRAM\_API\_KEY` is the simplest path. - Override endpoints or headers with `tools.media.audio.baseUrl` and `tools.media.audio.headers` when using a proxy. - Output follows the same audio rules as other providers (size caps, timeouts, transcript injection). | https://github.com/openclaw/openclaw/blob/main//docs/providers/deepgram.md | main | opebclaw | [
-0.10242714732885361,
-0.08725602924823761,
0.015917854383587837,
-0.013364231213927269,
0.005426579620689154,
-0.03188426420092583,
-0.12032531946897507,
-0.04633310064673424,
0.00409321766346693,
-0.08910781890153885,
-0.055168528109788895,
-0.04611719027161598,
-0.08733376115560532,
0.015494541265070438,
0.07342752069234848,
0.03362727537751198,
0.021374372765421867,
0.017117340117692947,
-0.05685638263821602,
-0.10442722588777542,
0.0915403813123703,
0.08680905401706696,
-0.006361324805766344,
-0.05017971247434616,
0.02496812865138054,
-0.03357382118701935,
-0.010267598554491997,
0.015988746657967567,
0.04546123370528221,
0.00048149461508728564,
0.04269688203930855,
0.01185269933193922,
0.06536958366632462,
0.010363624431192875,
-0.054963961243629456,
0.08997496962547302,
-0.029200246557593346,
-0.05932380631566048,
-0.027002081274986267,
0.011487630195915699,
0.08593498915433884,
0.04571015015244484,
-0.07356972247362137,
-0.01509037148207426,
-0.03644292801618576,
-0.09423989057540894,
-0.07417811453342438,
-0.05817900970578194,
-0.021804070100188255,
0.07152904570102692,
-0.09478099644184113,
-0.06894971430301666,
0.029791751876473427,
0.015644805505871773,
-0.04893120005726814,
-0.05119086802005768,
0.03447754308581352,
0.027054112404584885,
0.03422095999121666,
-0.023535029962658882,
0.0328025259077549,
-0.056201860308647156,
-0.029798386618494987,
-0.04693415388464928,
-0.04538116976618767,
-0.018268968909978867,
-0.05150524154305458,
0.06887967139482498,
0.01648581400513649,
-0.013411878608167171,
0.014258306473493576,
0.049717068672180176,
0.0321495421230793,
-0.00785151682794094,
-0.003695338498800993,
-0.049374233931303024,
0.11782816052436829,
0.007823863066732883,
-0.020444011315703392,
-0.02111324481666088,
0.030328694730997086,
-0.07817648351192474,
0.058650318533182144,
0.0020200759172439575,
0.019675038754940033,
0.08324932307004929,
-0.03313136473298073,
-0.02175544761121273,
-0.03297588229179382,
0.019607696682214737,
-0.08444344252347946,
-0.1441354751586914,
-0.018078936263918877,
-0.0027148458175361156,
0.010196452960371971,
0.0581941120326519,
-0.05853937193751335,
-0.015804877504706383,
0.000010999905498465523,
0.02476358972489834,
0.038083210587501526,
-0.012073557823896408,
0.020556200295686722,
-0.007235401775687933,
-0.029521167278289795,
-0.053972918540239334,
0.04806390032172203,
0.11948713660240173,
-0.009848330169916153,
-0.01416795328259468,
0.0482618547976017,
-0.00022486191301140934,
0.11297084391117096,
-0.05391472578048706,
-0.03850364312529564,
0.05844729021191597,
-0.08562800288200378,
-0.029686396941542625,
-0.006724258419126272,
0.037529949098825455,
-0.03867111727595329,
0.01930498331785202,
-0.056207407265901566,
0.013333793729543686,
0.05125400424003601,
-0.001826631836593151,
0.05454826354980469,
1.6303687876042647e-33,
0.06689725816249847,
-0.056147560477256775,
-0.0014346081297844648,
-0.012280427850782871,
0.038166459649801254,
-0.0364595428109169,
-0.041154809296131134,
0.03111739084124565,
-0.12628868222236633,
0.03779848292469978,
0.03259182348847389,
0.03773484751582146,
-0.053472232073545456,
0.011416729539632797,
-0.11765331029891968,
0.01571640558540821,
-0.10214728862047195,
0.04433874413371086,
0.0411645881831646,
0.028405319899320602,
0.03918404132127762,
0.028501635417342186,
-0.021248551085591316,
0.015974760055541992,
-0.0037640982773154974,
0.06538378447294235,
0.051222965121269226,
-0.07325131446123123,
0.017350809648633003,
0.03362354636192322,
-0.04992087185382843,
-0.04367758333683014,
0.06454065442085266,
-0.02500705048441887,
0.06665881723165512,
-0.012030632235109806,
-0.0391688235104084,
0.056060969829559326,
-0.05558774247765541,
-0.09574881196022034,
0.09386402368545532,
0.004760804120451212,
-0.14182862639427185,
-0.06793941557407379,
-0.09081513434648514,
-0.07178842276334763,
-0.07013935595750809,
0.039700187742710114,
0.019211014732718468,
0.009036233648657799,
0.04444113373756409,
0.05857754126191139,
-0.011004053987562656,
-0.011958993040025234,
0.012267875485122204,
-0.06160922348499298,
0.05972415208816528,
0.04809838905930519,
0.05950644612312317,
0.021838093176484108,
0.035712119191884995,
0.027969902381300926,
0.04887709394097328,
0.021777408197522163,
0.01092423778027296,
0.011281647719442844,
0.03958836942911148,
0.04202724248170853,
0.04110683128237724,
0.006675343494862318,
-0.038740381598472595,
0.017058836296200752,
0.03425313159823418,
0.03989819437265396,
-0.052029334008693695,
-0.005453890655189753,
0.0045300195924937725,
-0.02997535839676857,
0.029117457568645477,
0.08261258900165558,
0.033779747784137726,
0.0066196490079164505,
-0.0461624450981617,
0.0316002294421196,
0.010840310715138912,
0.07754817605018616,
-0.017696600407361984,
-0.13871701061725616,
0.01365746185183525,
0.05481371283531189,
-0.03522871434688568,
0.02205057069659233,
-0.0787995308637619,
-0.006495720706880093,
0.026516029611229897,
-2.4088981451408888e-33,
0.026289857923984528,
0.0947851687669754,
-0.025815680623054504,
0.004796474240720272,
-0.033529989421367645,
-0.012767661362886429,
0.11634008586406708,
0.05395881086587906,
-0.01898830756545067,
0.038026753813028336,
0.011574855074286461,
-0.023160815238952637,
0.0015166103839874268,
-0.012646247632801533,
0.01993226818740368,
-0.06352158635854721,
-0.05784078687429428,
-0.03856193274259567,
0.021761829033493996,
0.0037709244061261415,
0.0012224380625411868,
-0.046724580228328705,
0.006732783280313015,
0.06258291751146317,
0.020834436640143394,
0.010231680236756802,
-0.030746230855584145,
0.09660053998231888,
-0.01508497353643179,
-0.050427671521902084,
0.025196516886353493,
0.04957514628767967,
-0.09882714599370956,
-0.05062076821923256,
-0.02249247394502163,
0.031084630638360977,
0.06801152974367142,
0.0836281105875969,
0.023252351209521294,
-0.07350175827741623,
0.06900527328252792,
0.012590551748871803,
-0.07656209170818329,
-0.028116613626480103,
0.0009098417358472943,
0.0323542021214962,
-0.0623319074511528,
0.032642487436532974,
0.0003306283906567842,
-0.03553398698568344,
0.07792866975069046,
-0.005479928571730852,
0.021943703293800354,
0.045216772705316544,
0.03874875232577324,
-0.009724150411784649,
0.07833517342805862,
-0.056053221225738525,
-0.004577298648655415,
0.029857849702239037,
-0.0862804427742958,
-0.10757545381784439,
-0.047367967665195465,
-0.09713012725114822,
0.02345435880124569,
0.03559380769729614,
0.05163613334298134,
0.05828176811337471,
-0.005181816406548023,
-0.05949857831001282,
-0.022665854543447495,
-0.008699463680386543,
0.09411905705928802,
0.030878104269504547,
-0.004902655258774757,
0.05329098179936409,
-0.07085129618644714,
-0.09101124852895737,
-0.04178404062986374,
0.007997033186256886,
-0.014765052124857903,
-0.006158409174531698,
0.022794926539063454,
0.0568007156252861,
0.10659775137901306,
0.028485598042607307,
0.07886587828397751,
0.08249426633119583,
-0.014905239455401897,
0.07847048342227936,
-0.05180945247411728,
0.06947547942399979,
-0.029841924086213112,
-0.024338332936167717,
-0.013716529123485088,
-5.036133998714831e-8,
-0.12775149941444397,
-0.007254580967128277,
-0.05999014526605606,
-0.02203145995736122,
-0.0715552493929863,
-0.052092500030994415,
0.015666048973798752,
0.04208087921142578,
0.05045923963189125,
0.02741995081305504,
0.0714200958609581,
-0.004459469113498926,
-0.05003427341580391,
0.04767604544758797,
-0.024601338431239128,
0.05911688506603241,
0.017360182479023933,
0.030349643900990486,
0.042437758296728134,
-0.10827320069074631,
0.04503484442830086,
0.07307688891887665,
0.0721450001001358,
0.0023751268163323402,
-0.03366808593273163,
-0.06301805377006531,
-0.0035490819718688726,
0.038338638842105865,
-0.035118065774440765,
-0.0942196324467659,
-0.06614048779010773,
0.024855894967913628,
0.017841700464487076,
-0.04216305539011955,
-0.027807040140032768,
0.006814029533416033,
-0.006390441209077835,
0.017148524522781372,
-0.0048397136852145195,
0.021976854652166367,
0.0634036734700203,
0.056589215993881226,
-0.12503808736801147,
-0.02919614687561989,
-0.03542042151093483,
0.04305877536535263,
-0.002845842158421874,
0.03624818101525307,
0.034777943044900894,
0.040234874933958054,
0.015417949296534061,
0.016513247042894363,
0.056631188839673996,
0.013491109013557434,
0.017568327486515045,
0.05254378914833069,
-0.0007424521609209478,
-0.03490263596177101,
-0.01788664609193802,
0.06348200887441635,
-0.0017053537303581834,
0.01086230855435133,
0.052843041718006134,
-0.0340433269739151
] | 0.096385 |
# Cloudflare AI Gateway Cloudflare AI Gateway sits in front of provider APIs and lets you add analytics, caching, and controls. For Anthropic, OpenClaw uses the Anthropic Messages API through your Gateway endpoint. - Provider: `cloudflare-ai-gateway` - Base URL: `https://gateway.ai.cloudflare.com/v1///anthropic` - Default model: `cloudflare-ai-gateway/claude-sonnet-4-5` - API key: `CLOUDFLARE\_AI\_GATEWAY\_API\_KEY` (your provider API key for requests through the Gateway) For Anthropic models, use your Anthropic API key. ## Quick start 1. Set the provider API key and Gateway details: ```bash openclaw onboard --auth-choice cloudflare-ai-gateway-api-key ``` 2. Set a default model: ```json5 { agents: { defaults: { model: { primary: "cloudflare-ai-gateway/claude-sonnet-4-5" }, }, }, } ``` ## Non-interactive example ```bash openclaw onboard --non-interactive \ --mode local \ --auth-choice cloudflare-ai-gateway-api-key \ --cloudflare-ai-gateway-account-id "your-account-id" \ --cloudflare-ai-gateway-gateway-id "your-gateway-id" \ --cloudflare-ai-gateway-api-key "$CLOUDFLARE\_AI\_GATEWAY\_API\_KEY" ``` ## Authenticated gateways If you enabled Gateway authentication in Cloudflare, add the `cf-aig-authorization` header (this is in addition to your provider API key). ```json5 { models: { providers: { "cloudflare-ai-gateway": { headers: { "cf-aig-authorization": "Bearer ", }, }, }, }, } ``` ## Environment note If the Gateway runs as a daemon (launchd/systemd), make sure `CLOUDFLARE\_AI\_GATEWAY\_API\_KEY` is available to that process (for example, in `~/.openclaw/.env` or via `env.shellEnv`). | https://github.com/openclaw/openclaw/blob/main//docs/providers/cloudflare-ai-gateway.md | main | opebclaw | [
0.0038745980709791183,
-0.05041588470339775,
-0.11339107155799866,
0.03763404116034508,
0.05012274160981178,
-0.07185224443674088,
-0.011473121121525764,
-0.011191603727638721,
0.08972356468439102,
0.032735906541347504,
-0.008001124486327171,
-0.02052861452102661,
-0.015158925205469131,
-0.008729690685868263,
0.07461024820804596,
0.06621788442134857,
0.026881182566285133,
-0.12805166840553284,
-0.02696244977414608,
-0.060217007994651794,
0.0393337644636631,
-0.004143171012401581,
0.020482689142227173,
-0.04430152848362923,
-0.10588221997022629,
-0.03142450004816055,
-0.03908562660217285,
0.04043656960129738,
0.009675867855548859,
-0.015330859459936619,
0.11395716667175293,
0.007158634252846241,
-0.04831200838088989,
-0.0030954889953136444,
-0.025548242032527924,
0.0621139220893383,
-0.03477753698825836,
-0.055129606276750565,
0.004678345285356045,
0.01502667460590601,
0.08161881566047668,
-0.013950050808489323,
-0.009366326965391636,
-0.09756599366664886,
0.04215175658464432,
-0.015722807496786118,
0.004130203276872635,
-0.03074284829199314,
0.05797074735164642,
0.07884222269058228,
-0.04102056473493576,
-0.08629081398248672,
0.03201625868678093,
-0.061063479632139206,
-0.03751485422253609,
0.012834861874580383,
-0.062265411019325256,
-0.027506636455655098,
0.01605265960097313,
-0.09435328096151352,
0.018743636086583138,
-0.07148683816194534,
0.018078908324241638,
0.013322967104613781,
-0.12496079504489899,
-0.00651342049241066,
-0.08208565413951874,
-0.06555170565843582,
-0.07065338641405106,
0.014147624373435974,
0.04103054106235504,
0.038448747247457504,
-0.03366769477725029,
-0.05820237100124359,
0.045971181243658066,
0.03448477387428284,
0.014867544174194336,
0.028297042474150658,
0.03569706529378891,
-0.05931190401315689,
0.03910451382398605,
0.004000641871243715,
-0.020751098170876503,
0.09513385593891144,
0.0071942186914384365,
0.09672942757606506,
0.06252910196781158,
0.03135982155799866,
0.02503173053264618,
-0.01072434801608324,
0.011639606207609177,
-0.03655339404940605,
0.01939631998538971,
-0.009145846590399742,
0.03656330332159996,
0.06580611318349838,
-0.05929713323712349,
-0.031799137592315674,
-0.07866158336400986,
0.04618771746754646,
-0.03127249702811241,
-0.036396220326423645,
0.03847199305891991,
0.09134608507156372,
-0.03291879966855049,
-0.007279446814209223,
0.03121514804661274,
0.12782715260982513,
0.01998925767838955,
0.025430670008063316,
-0.03564693406224251,
-0.015554488636553288,
0.10529008507728577,
-0.02291155233979225,
-0.017649132758378983,
0.10441397875547409,
-0.016170073300600052,
-0.02804511785507202,
0.026662679389119148,
0.01358034461736679,
0.04965955391526222,
0.0015913440147414804,
0.007161117158830166,
0.04140560328960419,
0.0882011130452156,
0.06095435470342636,
0.011674312874674797,
4.449296076372268e-33,
0.022295281291007996,
0.0057738651521503925,
0.0010146050481125712,
-0.05335478484630585,
0.11774235218763351,
0.00850672647356987,
0.054289836436510086,
-0.01627039536833763,
-0.02575031667947769,
0.02560003288090229,
-0.10008484125137329,
0.06421783566474915,
-0.07936525344848633,
-0.05858364328742027,
-0.02949562668800354,
0.0338752344250679,
-0.06187060847878456,
-0.009177468717098236,
0.06205643713474274,
-0.017644451931118965,
0.06301217526197433,
-0.0675211101770401,
0.016850391402840614,
0.055131491273641586,
0.044690441340208054,
0.024802515283226967,
0.030232837423682213,
-0.014774579554796219,
-0.022876862436532974,
0.035375308245420456,
0.061945099383592606,
-0.009394216351211071,
-0.026734475046396255,
-0.024344105273485184,
-0.07113725692033768,
-0.006611947901546955,
-0.08139632642269135,
-0.01921234466135502,
-0.1183265820145607,
0.049508195370435715,
0.013497504405677319,
-0.004911254625767469,
-0.06913924217224121,
-0.018220344558358192,
-0.10721426457166672,
-0.07511839270591736,
-0.02212904952466488,
0.06892725080251694,
0.12500590085983276,
0.01025393232703209,
-0.05715681612491608,
0.018293503671884537,
0.04412300884723663,
-0.09053602069616318,
0.007048476487398148,
-0.0201085414737463,
-0.04478297755122185,
-0.009537776932120323,
-0.018373830243945122,
-0.027447020635008812,
-0.03189904987812042,
-0.06959985941648483,
-0.005451801232993603,
0.0059801135212183,
-0.04675920307636261,
0.035507574677467346,
0.00985491182655096,
0.07692387700080872,
0.02517281100153923,
-0.03388391435146332,
0.038678236305713654,
-0.0036310709547251463,
0.0164100993424654,
0.056881893426179886,
-0.009398643858730793,
-0.004857226740568876,
-0.030023667961359024,
-0.08516953885555267,
0.0667339637875557,
-0.03415884077548981,
-0.000644089886918664,
-0.01728796772658825,
-0.023816309869289398,
0.13035014271736145,
-0.008946703746914864,
-0.011158893816173077,
0.0052906787022948265,
0.0028122991789132357,
0.028850696980953217,
0.0504489541053772,
-0.07563731074333191,
-0.035775840282440186,
0.010325643233954906,
0.009197311475872993,
-0.061452895402908325,
-4.301895329592892e-33,
-0.052890658378601074,
-0.030020400881767273,
-0.04888821393251419,
0.06035806983709335,
0.013054551556706429,
-0.014338020235300064,
0.12734182178974152,
0.012722481973469257,
0.023442646488547325,
0.01126045547425747,
-0.042612168937921524,
0.056956224143505096,
-0.0006290426244959235,
-0.07448956370353699,
0.03661317378282547,
-0.020508185029029846,
-0.028406701982021332,
-0.07461279630661011,
0.08217710256576538,
0.03492952510714531,
-0.06192663684487343,
-0.012007093988358974,
-0.020098784938454628,
-0.05099247395992279,
0.03648841753602028,
0.08656294643878937,
0.050259679555892944,
0.06756280362606049,
-0.030535198748111725,
-0.005405044183135033,
-0.047299642115831375,
0.0673418715596199,
-0.02999006025493145,
0.030705450102686882,
-0.004255985375493765,
0.03003263846039772,
-0.00982023123651743,
0.09311728179454803,
0.0027375088538974524,
0.005134476348757744,
0.052196964621543884,
-0.07912728190422058,
-0.05834160000085831,
-0.025706561282277107,
0.005764944013208151,
0.07810217887163162,
-0.04087739437818527,
-0.0009729148587211967,
-0.04977643862366676,
-0.0505707673728466,
-0.06610772758722305,
0.05445201322436333,
0.00311482697725296,
0.0805489718914032,
0.01743794046342373,
0.06455371528863907,
0.07993701845407486,
-0.012690453790128231,
-0.03157411143183708,
-0.026674307882785797,
-0.030209606513381004,
-0.08640395849943161,
0.0067378864623606205,
0.10667187720537186,
0.02144176885485649,
-0.07222606986761093,
-0.025302361696958542,
0.0012998805614188313,
-0.06923333555459976,
-0.008896277286112309,
-0.07371331006288528,
-0.07389824092388153,
0.0320444218814373,
-0.02656877413392067,
0.0032956614159047604,
0.009971069172024727,
0.0054163881577551365,
-0.025658810511231422,
0.03987990319728851,
0.0039436775259673595,
-0.056498024612665176,
-0.01587900146842003,
0.02724691666662693,
-0.0739053338766098,
-0.010105307213962078,
-0.007079942151904106,
0.032224155962467194,
0.04515351355075836,
0.05067193880677223,
0.12444643676280975,
-0.06179360672831535,
0.03647014498710632,
-0.004466186743229628,
-0.04845208302140236,
-0.02770746871829033,
-4.881853143956505e-8,
-0.06599519401788712,
0.017565611749887466,
0.020030872896313667,
0.03216772526502609,
-0.043246880173683167,
-0.016825491562485695,
0.03527195751667023,
0.06907853484153748,
-0.04824387654662132,
-0.003008353291079402,
0.052606016397476196,
0.02187158167362213,
0.04415637627243996,
0.024617981165647507,
-0.026534471660852432,
0.06933151930570602,
0.02710500918328762,
-0.01229782123118639,
0.026950201019644737,
-0.14028500020503998,
-0.08024350553750992,
0.016387805342674255,
0.0551762580871582,
-0.05855510011315346,
-0.022809574380517006,
-0.025472719222307205,
-0.02848402038216591,
-0.03852613642811775,
-0.03137711435556412,
0.011566228233277798,
-0.12213113903999329,
-0.010299868881702423,
0.10258591920137405,
-0.0424346849322319,
-0.02363739162683487,
-0.011350723914802074,
-0.08516304939985275,
0.001035002525895834,
-0.007974003441631794,
-0.015415645204484463,
0.08993957191705704,
0.07530508935451508,
-0.08036815375089645,
-0.09901808202266693,
0.08091244101524353,
0.0778028666973114,
-0.024291785433888435,
0.019098028540611267,
0.08673523366451263,
0.05813620612025261,
0.008793218061327934,
-0.04787912592291832,
0.011131049133837223,
0.04817098379135132,
0.027362382039427757,
0.012004589661955833,
0.019719548523426056,
-0.10158924013376236,
0.042461175471544266,
0.024129396304488182,
-0.032299261540174484,
0.06734582036733627,
0.01901390217244625,
-0.06936369091272354
] | 0.02846 |
# Model Providers OpenClaw can use many LLM providers. Pick a provider, authenticate, then set the default model as `provider/model`. Looking for chat channel docs (WhatsApp/Telegram/Discord/Slack/Mattermost (plugin)/etc.)? See [Channels](/channels). ## Highlight: Venice (Venice AI) Venice is our recommended Venice AI setup for privacy-first inference with an option to use Opus for hard tasks. - Default: `venice/llama-3.3-70b` - Best overall: `venice/claude-opus-45` (Opus remains the strongest) See [Venice AI](/providers/venice). ## Quick start 1. Authenticate with the provider (usually via `openclaw onboard`). 2. Set the default model: ```json5 { agents: { defaults: { model: { primary: "anthropic/claude-opus-4-5" } } }, } ``` ## Provider docs - [OpenAI (API + Codex)](/providers/openai) - [Anthropic (API + Claude Code CLI)](/providers/anthropic) - [Qwen (OAuth)](/providers/qwen) - [OpenRouter](/providers/openrouter) - [Vercel AI Gateway](/providers/vercel-ai-gateway) - [Cloudflare AI Gateway](/providers/cloudflare-ai-gateway) - [Moonshot AI (Kimi + Kimi Coding)](/providers/moonshot) - [OpenCode Zen](/providers/opencode) - [Amazon Bedrock](/bedrock) - [Z.AI](/providers/zai) - [Xiaomi](/providers/xiaomi) - [GLM models](/providers/glm) - [MiniMax](/providers/minimax) - [Venice (Venice AI, privacy-focused)](/providers/venice) - [Ollama (local models)](/providers/ollama) ## Transcription providers - [Deepgram (audio transcription)](/providers/deepgram) ## Community tools - [Claude Max API Proxy](/providers/claude-max-api-proxy) - Use Claude Max/Pro subscription as an OpenAI-compatible API endpoint For the full provider catalog (xAI, Groq, Mistral, etc.) and advanced configuration, see [Model providers](/concepts/model-providers). | https://github.com/openclaw/openclaw/blob/main//docs/providers/index.md | main | opebclaw | [
-0.054898299276828766,
-0.06127314642071724,
-0.02529176138341427,
0.007129882462322712,
-0.03922629356384277,
-0.01077912375330925,
-0.04684175178408623,
-0.0058978768065571785,
0.050323884934186935,
-0.013054316863417625,
-0.01694934442639351,
-0.05220300331711769,
-0.06490221619606018,
0.09362327307462692,
0.14257612824440002,
0.04376489669084549,
0.10825226455926895,
-0.02543342486023903,
-0.05026312544941902,
-0.03541292995214462,
0.05296969786286354,
-0.010896350257098675,
0.029207084327936172,
-0.0006505908095277846,
-0.0036832401528954506,
-0.09923908859491348,
-0.0007033723522908986,
0.021585391834378242,
0.05791127681732178,
-0.014013388194143772,
0.0682547390460968,
0.036059364676475525,
0.022588659077882767,
-0.013369498774409294,
0.026275431737303734,
0.03484312817454338,
-0.04384869337081909,
-0.03314684331417084,
-0.022332916036248207,
0.03733984753489494,
0.029665078967809677,
-0.0031494933646172285,
-0.11607591807842255,
-0.011146867647767067,
0.028246279805898666,
-0.12363458424806595,
0.007701364811509848,
0.03624974936246872,
-0.020943529903888702,
0.06580453366041183,
-0.091460682451725,
-0.09167031943798065,
0.03560599684715271,
0.0032976341899484396,
-0.06473124772310257,
-0.021494245156645775,
-0.10509845614433289,
0.029999572783708572,
0.03485456109046936,
-0.038198038935661316,
-0.012276267632842064,
-0.05136396363377571,
-0.042724668979644775,
0.027121558785438538,
-0.05818204954266548,
0.08337371051311493,
-0.031095705926418304,
0.07930057495832443,
-0.021172204986214638,
-0.02686561644077301,
0.03418131545186043,
-0.05398502200841904,
0.027364997193217278,
-0.03644425421953201,
-0.00162832613568753,
-0.027109675109386444,
0.030742580071091652,
-0.007781345397233963,
-0.058396805077791214,
-0.042482852935791016,
0.0035218726843595505,
-0.055311549454927444,
-0.03642980381846428,
0.011174267157912254,
-0.0029177528340369463,
0.10250493139028549,
0.028101233765482903,
0.02316579595208168,
0.017931722104549408,
0.0071128434501588345,
-0.021895799785852432,
-0.08507820218801498,
0.011623316444456577,
-0.01792839914560318,
0.04588110372424126,
0.05944535508751869,
-0.018843894824385643,
0.002202586503699422,
-0.04464862495660782,
0.11287696659564972,
-0.014399521984159946,
-0.006996778305619955,
0.05219303071498871,
-0.0019426752114668489,
0.005334336310625076,
0.04462336003780365,
0.03831309825181961,
0.06337270140647888,
0.006655716337263584,
0.026306595653295517,
-0.022670604288578033,
0.02795880287885666,
0.027901185676455498,
-0.003984923008829355,
0.04947856813669205,
0.06650524586439133,
0.036077890545129776,
0.018246974796056747,
0.1014394462108612,
0.02356627769768238,
0.07881731539964676,
-0.040964968502521515,
0.03510301187634468,
0.05044373869895935,
0.03642596676945686,
0.10046017915010452,
0.011261492036283016,
4.5257832897283666e-33,
0.11374612897634506,
0.04197251796722412,
-0.009376362897455692,
0.03963208198547363,
0.030258556827902794,
-0.005208341404795647,
-0.009608136489987373,
0.03417107090353966,
-0.10291385650634766,
0.02239377237856388,
-0.023764226585626602,
0.06914462149143219,
-0.026482248678803444,
-0.044144101440906525,
-0.006926964968442917,
0.05116134509444237,
-0.05554143711924553,
-0.011199801228940487,
0.10326286405324936,
0.017896033823490143,
0.007680628914386034,
0.03572675958275795,
-0.007515646982938051,
0.027553465217351913,
0.026664789766073227,
0.12872262299060822,
0.07215699553489685,
-0.12065817415714264,
-0.03645770251750946,
0.051694415509700775,
0.00654378067702055,
0.009225635789334774,
-0.012163936160504818,
0.05599946901202202,
0.03855856508016586,
0.057409852743148804,
-0.12067070603370667,
-0.03548455238342285,
-0.023070592433214188,
-0.0691964253783226,
0.014782007783651352,
-0.02089882269501686,
-0.08931931108236313,
-0.04632499814033508,
-0.06281641125679016,
-0.06410949677228928,
-0.05241142213344574,
-0.034235384315252304,
0.0572635754942894,
0.021902916952967644,
0.0012110008392482996,
0.027203449979424477,
-0.05338544398546219,
0.03707977011799812,
0.028591154143214226,
-0.07585416734218597,
0.02923441305756569,
0.027905581519007683,
0.006487181410193443,
-0.03884705901145935,
-0.0030862351413816214,
-0.011957647278904915,
0.03554805368185043,
0.023925915360450745,
0.0574331134557724,
0.05991971865296364,
-0.10214521735906601,
0.0004536179476417601,
0.06664407253265381,
-0.0508512444794178,
-0.07181703299283981,
0.05501670017838478,
-0.0002496976812835783,
0.049840666353702545,
-0.10850019752979279,
-0.021845858544111252,
-0.026154957711696625,
-0.00860049482434988,
0.07983208447694778,
-0.005664955358952284,
0.02118007093667984,
-0.001900307135656476,
-0.020695151761174202,
0.11413764208555222,
-0.01589452661573887,
0.02060546725988388,
0.03368324413895607,
-0.03990643844008446,
-0.006401703227311373,
0.08662138879299164,
-0.02983173541724682,
0.052123721688985825,
-0.017779458314180374,
0.05615494027733803,
-0.03338755667209625,
-2.7593425821507756e-33,
-0.00995158776640892,
-0.033083606511354446,
0.006113893818110228,
0.03957703337073326,
-0.006114619318395853,
-0.10337068885564804,
0.025199919939041138,
0.012934275902807713,
0.04238209128379822,
0.04126380383968353,
-0.010226530022919178,
-0.07167154550552368,
0.058858472853899,
-0.050200171768665314,
0.06430754065513611,
-0.025683492422103882,
-0.007432764396071434,
-0.0690629631280899,
0.029768675565719604,
0.02424786053597927,
-0.05260782688856125,
-0.012785444036126137,
-0.045003850013017654,
0.020810917019844055,
0.09403820335865021,
0.029363978654146194,
-0.0004941970109939575,
-0.0005647631478495896,
0.0011865301057696342,
-0.05964996665716171,
-0.03752866014838219,
0.013679379597306252,
-0.08124692738056183,
-0.10582340508699417,
-0.030626913532614708,
0.09499593824148178,
0.002259656321257353,
0.18825505673885345,
-0.010635481216013432,
-0.023434720933437347,
0.044325727969408035,
-0.062652587890625,
-0.1082240417599678,
-0.02605213038623333,
-0.04018719121813774,
0.05859654024243355,
-0.05168924108147621,
-0.004766417667269707,
-0.09559067338705063,
-0.06997235119342804,
0.0474693700671196,
-0.007458553183823824,
0.042651183903217316,
-0.02067769505083561,
-0.044759273529052734,
-0.020771175622940063,
0.0798071026802063,
-0.10179273039102554,
-0.036859989166259766,
0.00043297928641550243,
0.02228538505733013,
-0.07971672713756561,
0.009399780072271824,
0.03124517761170864,
0.02502831071615219,
-0.11228463053703308,
-0.025635970756411552,
0.06893827021121979,
-0.06555899977684021,
-0.008811903186142445,
-0.0014909853925928473,
-0.09587601572275162,
-0.0017185445176437497,
0.03559757024049759,
0.07923566550016403,
-0.004631042946130037,
-0.0685575008392334,
-0.07151789963245392,
0.05587134137749672,
0.0030764900147914886,
-0.042111266404390335,
-0.0009617586620151997,
0.008285206742584705,
0.015721341595053673,
0.095707468688488,
0.04801153391599655,
0.0946209654211998,
0.05788814276456833,
0.01106361672282219,
0.06248929351568222,
-0.03712492063641548,
0.07283180952072144,
-0.024153046309947968,
0.001920269220136106,
-0.006379737518727779,
-4.938468833870502e-8,
-0.10374035686254501,
-0.07545319199562073,
-0.055998802185058594,
0.053221166133880615,
-0.0703354924917221,
-0.051256339997053146,
-0.018631767481565475,
-0.0051275016739964485,
0.024708354845643044,
0.03189151734113693,
0.04342205077409744,
0.027907755225896835,
-0.021974904462695122,
0.0036476757377386093,
-0.036171238869428635,
0.05698021128773689,
-0.035433366894721985,
-0.007972044870257378,
-0.01987169124186039,
-0.012139977887272835,
0.03927934169769287,
0.046073317527770996,
0.025100205093622208,
-0.04126725718379021,
0.014447690919041634,
-0.08369637280702591,
-0.02724635973572731,
0.07905048131942749,
-0.018499057739973068,
0.021019812673330307,
-0.07481203973293304,
-0.018427636474370956,
-0.000397370255086571,
-0.0020048089791089296,
-0.03330058231949806,
0.05035088583827019,
-0.04407239705324173,
-0.06520355492830276,
-0.005708461161702871,
0.0278693288564682,
0.08076530694961548,
-0.016950124874711037,
-0.09239433705806732,
-0.04256252571940422,
0.05558574199676514,
0.020505590364336967,
0.037539638578891754,
-0.12061548978090286,
0.06717295944690704,
-0.022927377372980118,
-0.02562042325735092,
-0.04858284816145897,
0.01976855657994747,
0.04243909940123558,
0.019065218046307564,
0.02214118465781212,
0.0870729386806488,
0.005830785259604454,
0.04240972921252251,
0.030406368896365166,
-0.01851917989552021,
0.059297848492860794,
-0.03535980358719826,
-0.018752291798591614
] | 0.130264 |
# Model Providers OpenClaw can use many LLM providers. Pick one, authenticate, then set the default model as `provider/model`. ## Highlight: Venice (Venice AI) Venice is our recommended Venice AI setup for privacy-first inference with an option to use Opus for the hardest tasks. - Default: `venice/llama-3.3-70b` - Best overall: `venice/claude-opus-45` (Opus remains the strongest) See [Venice AI](/providers/venice). ## Quick start (two steps) 1. Authenticate with the provider (usually via `openclaw onboard`). 2. Set the default model: ```json5 { agents: { defaults: { model: { primary: "anthropic/claude-opus-4-5" } } }, } ``` ## Supported providers (starter set) - [OpenAI (API + Codex)](/providers/openai) - [Anthropic (API + Claude Code CLI)](/providers/anthropic) - [OpenRouter](/providers/openrouter) - [Vercel AI Gateway](/providers/vercel-ai-gateway) - [Cloudflare AI Gateway](/providers/cloudflare-ai-gateway) - [Moonshot AI (Kimi + Kimi Coding)](/providers/moonshot) - [Synthetic](/providers/synthetic) - [OpenCode Zen](/providers/opencode) - [Z.AI](/providers/zai) - [GLM models](/providers/glm) - [MiniMax](/providers/minimax) - [Venice (Venice AI)](/providers/venice) - [Amazon Bedrock](/bedrock) For the full provider catalog (xAI, Groq, Mistral, etc.) and advanced configuration, see [Model providers](/concepts/model-providers). | https://github.com/openclaw/openclaw/blob/main//docs/providers/models.md | main | opebclaw | [
-0.045307230204343796,
-0.049778711050748825,
-0.050740797072649,
0.008308058604598045,
-0.024307217448949814,
-0.0071545434184372425,
-0.08749472349882126,
-0.010106563568115234,
0.020222531631588936,
-0.041648950427770615,
-0.0021002846769988537,
-0.07043318450450897,
-0.021859435364603996,
0.059663042426109314,
0.12669309973716736,
0.09569361060857773,
0.09432336688041687,
0.04691267013549805,
-0.06558669358491898,
-0.03816971555352211,
0.04440167173743248,
-0.025457344949245453,
-0.0033317748457193375,
-0.01992180198431015,
-0.05455941706895828,
-0.08176054805517197,
0.018702367320656776,
0.014017142355442047,
0.049903761595487595,
-0.024066293612122536,
0.05902574583888054,
0.06103333830833435,
-0.019201794639229774,
-0.04169118404388428,
0.033856336027383804,
0.02438691444694996,
-0.07791072130203247,
-0.05478639900684357,
-0.05251522734761238,
-0.011812720447778702,
0.09499531984329224,
0.029431553557515144,
-0.09562015533447266,
-0.03071743994951248,
-0.005136760883033276,
-0.13029082119464874,
0.005439349915832281,
0.017632674425840378,
-0.009689620696008205,
0.043872326612472534,
-0.09380974620580673,
-0.07009898871183395,
0.027085617184638977,
-0.09079039841890335,
-0.08731736242771149,
-0.03467242419719696,
-0.06474438309669495,
-0.0260394886136055,
0.010569421574473381,
-0.04095229133963585,
0.018582100048661232,
-0.032745108008384705,
-0.03431231155991554,
0.054886460304260254,
-0.06546072661876678,
0.0745471641421318,
-0.04767267778515816,
0.02980135940015316,
-0.01749858446419239,
-0.03770506754517555,
0.0563427172601223,
-0.06931585818529129,
0.014118232764303684,
-0.03687940537929535,
-0.0037225286941975355,
0.0049168118275702,
0.03196841478347778,
-0.00701412046328187,
-0.0003075685235671699,
-0.05542144924402237,
0.0005131960497237742,
-0.047866467386484146,
-0.037750955671072006,
0.048674076795578,
0.024055030196905136,
0.11207901686429977,
0.0036898779217153788,
0.04064679518342018,
0.031733185052871704,
0.04108365625143051,
0.01571350358426571,
-0.10501644760370255,
-0.0032363494392484426,
-0.04192386567592621,
0.05789793282747269,
0.04851137846708298,
-0.040788434445858,
-0.018703550100326538,
-0.06724093854427338,
0.12200766801834106,
-0.0565510168671608,
-0.000050380840548314154,
0.06407779455184937,
0.06145500764250755,
-0.022775407880544662,
0.023085515946149826,
0.07103439420461655,
0.06039860472083092,
-0.01743835024535656,
0.02152128703892231,
0.028960056602954865,
0.0031506316736340523,
0.0593181774020195,
-0.025204800069332123,
0.004070339724421501,
0.08159174025058746,
0.0034360915888100863,
0.03265244513750076,
0.0980846956372261,
0.035850055515766144,
0.029114264994859695,
-0.01195546705275774,
0.03819558769464493,
0.01834195852279663,
0.08322402089834213,
0.05160599201917648,
0.004775782115757465,
3.097531939540363e-33,
0.07678992301225662,
0.015054152347147465,
0.045462433248758316,
0.016389762982726097,
0.06516655534505844,
-0.023326965048909187,
0.02897627279162407,
0.027706656605005264,
-0.08037262409925461,
0.02353770099580288,
0.002495145658031106,
0.08267975598573685,
-0.01665973663330078,
-0.05338039994239807,
0.011680694296956062,
0.07369575649499893,
-0.04093192517757416,
-0.003279506927356124,
0.09752731025218964,
0.03923872858285904,
0.07052528113126755,
0.007227576803416014,
-0.019168183207511902,
-0.0045652505941689014,
-0.016297193244099617,
0.10880236327648163,
0.036646705120801926,
-0.05609339103102684,
-0.03469693660736084,
0.06939941644668579,
0.026137981563806534,
0.014641664922237396,
-0.03855692595243454,
0.06985990703105927,
0.004440336022526026,
0.06377215683460236,
-0.0967346578836441,
-0.037429336458444595,
-0.02230093628168106,
-0.06938398629426956,
0.008462469093501568,
0.0008995631942525506,
-0.0748673528432846,
0.004958926700055599,
-0.0731070414185524,
-0.0684218630194664,
-0.045495517551898956,
0.004364865832030773,
0.0711086094379425,
0.029429467394948006,
-0.00032881286460906267,
0.01899673417210579,
-0.03748241066932678,
-0.01591656729578972,
0.009942157194018364,
-0.05046871304512024,
0.021312866359949112,
0.06118197739124298,
0.003629770129919052,
-0.030533984303474426,
-0.003123082686215639,
0.005025066900998354,
0.0010467888787388802,
0.053760427981615067,
0.06873245537281036,
0.07439515739679337,
-0.08012168109416962,
-0.013985851779580116,
0.07885369658470154,
-0.053639259189367294,
-0.03003532811999321,
0.05312733352184296,
0.00382086425088346,
0.05120125040411949,
-0.07206317037343979,
-0.04692749306559563,
-0.00014268499216996133,
-0.04658691957592964,
0.06540447473526001,
-0.012483208440244198,
0.011769150383770466,
0.02091032639145851,
-0.03836340457201004,
0.14863801002502441,
-0.014056799001991749,
0.023059703409671783,
0.006312591023743153,
0.002360421232879162,
0.012705950066447258,
0.055175282061100006,
0.008933191187679768,
-0.010393258184194565,
-0.001924692653119564,
0.05942175164818764,
-0.04281791299581528,
-2.2785338012537816e-33,
-0.007159303408116102,
-0.05067979916930199,
0.02483261376619339,
0.040248993784189224,
-0.027070343494415283,
-0.11738096177577972,
0.017922626808285713,
0.024071725085377693,
0.018529651686549187,
0.03364451974630356,
-0.002372754504904151,
-0.024031782522797585,
0.09015010297298431,
-0.03913836553692818,
0.049280647188425064,
-0.05785384774208069,
-0.02006000652909279,
-0.060913555324077606,
0.050911128520965576,
0.043462589383125305,
-0.04622063413262367,
0.008402133360505104,
-0.03646131977438927,
-0.005754158366471529,
0.11046966910362244,
0.04131341725587845,
-0.00480552576482296,
0.010116911493241787,
-0.02784505859017372,
-0.03766847401857376,
-0.03587884455919266,
0.04328213632106781,
-0.05376707762479782,
-0.10216762870550156,
-0.04365150257945061,
0.09762133657932281,
-0.024927353486418724,
0.17303086817264557,
-0.00709281163290143,
0.033202577382326126,
0.010123474523425102,
-0.06765566021203995,
-0.09315602481365204,
-0.01706148125231266,
-0.028470288962125778,
0.040573857724666595,
-0.022030042484402657,
-0.013489671051502228,
-0.01579674333333969,
-0.11108545958995819,
0.00024568813387304544,
0.03285481035709381,
-0.00636390782892704,
-0.0103107625618577,
-0.031232476234436035,
0.015417325310409069,
0.11356057226657867,
-0.10963858664035797,
-0.01970830373466015,
0.003924110904335976,
0.008857419714331627,
-0.06935413926839828,
0.004563289228826761,
0.06294324994087219,
-0.004162420053035021,
-0.07633807510137558,
-0.03240591287612915,
0.07828234136104584,
-0.06376881897449493,
-0.04241671785712242,
-0.0712139755487442,
-0.07171012461185455,
0.006971368100494146,
0.0477362722158432,
0.07167435437440872,
-0.0341050960123539,
-0.04326474666595459,
-0.03277315944433212,
0.0846523866057396,
-0.01008446142077446,
-0.049201931804418564,
-0.04467657953500748,
0.012208123691380024,
-0.007006534840911627,
0.09976482391357422,
-0.014168252237141132,
0.06484291702508926,
0.05833732709288597,
0.04116220027208328,
0.10626141726970673,
-0.05726544186472893,
0.07486972957849503,
-0.022057438269257545,
-0.0154104083776474,
-0.053036268800497055,
-4.78824446759063e-8,
-0.08018060773611069,
-0.05234675109386444,
-0.020928585901856422,
0.08863191306591034,
-0.048667602241039276,
-0.04207146167755127,
-0.03953108191490173,
-0.015509996563196182,
0.011378870345652103,
0.03609413653612137,
0.029208000749349594,
0.06057540327310562,
-0.04283947870135307,
-0.007033896166831255,
-0.020209044218063354,
0.09837093949317932,
0.012322613969445229,
-0.020676808431744576,
-0.018067533150315285,
-0.04396975412964821,
-0.002197549445554614,
0.014428836293518543,
0.053797222673892975,
-0.09681608527898788,
0.011935759335756302,
-0.07077324390411377,
-0.057829875499010086,
0.02326384000480175,
0.02728910930454731,
0.05498963221907616,
-0.08315669745206833,
-0.028584491461515427,
0.01640118844807148,
0.00359023897908628,
-0.057880934327840805,
0.04066430404782295,
-0.05453428998589516,
-0.05058310180902481,
0.013136905618011951,
-0.02589454874396324,
0.049178946763277054,
0.012467389926314354,
-0.10907015949487686,
-0.04701659455895424,
0.06252800673246384,
0.04211940988898277,
0.03826737403869629,
-0.08266628533601761,
0.07743263989686966,
-0.015104119665920734,
-0.059387240558862686,
-0.06271098554134369,
0.0012906217016279697,
0.04834796488285065,
0.038288697600364685,
0.02556855045258999,
0.06103014945983887,
-0.042269036173820496,
0.04336101934313774,
0.0337546169757843,
-0.017587224021553993,
0.023607930168509483,
-0.012098931707441807,
-0.04602660611271858
] | 0.101803 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.