[{"data":1,"prerenderedAt":684},["ShallowReactive",2],{"doc:en:\u002Fproviders\u002Fmuse-code":3,"navigation:en":457,"surround:en:\u002Fproviders\u002Fmuse-code":679},{"page":4,"fallback":456},{"id":5,"title":6,"body":7,"description":448,"extension":449,"meta":450,"navigation":451,"path":452,"seo":453,"stem":454,"__hash__":455},"docs_en\u002Fproviders\u002Fmuse-code.md","Muse Code",{"type":8,"value":9,"toc":442},"minimark",[10,23,28,31,88,102,106,132,136,147,224,230,401,408,412,438],[11,12,13,14,18,19,22],"p",{},"Zekoder runs Meta's Muse Code through your installed ",[15,16,17],"code",{},"muse"," CLI (",[15,20,21],{},"muse serve",") over the Muse Session Protocol. It uses your existing Muse credentials and configuration.",[24,25,27],"h2",{"id":26},"getting-started","Getting started",[11,29,30],{},"Muse Code is built in and enabled by default. Use Muse 1.3.0 or later.",[32,33,34,70,81],"ol",{},[35,36,37,38],"li",{},"Install Muse Code on your host:",[39,40,45],"pre",{"className":41,"code":42,"language":43,"meta":44,"style":44},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -fsSL https:\u002F\u002Fdev.meta.ai\u002Finstall.sh | sh\n","bash","",[15,46,47],{"__ignoreMap":44},[48,49,52,56,60,63,67],"span",{"class":50,"line":51},"line",1,[48,53,55],{"class":54},"sBMFI","curl",[48,57,59],{"class":58},"sfazB"," -fsSL",[48,61,62],{"class":58}," https:\u002F\u002Fdev.meta.ai\u002Finstall.sh",[48,64,66],{"class":65},"sMK4o"," |",[48,68,69],{"class":54}," sh\n",[35,71,72,73,76,77,80],{},"Sign in with ",[15,74,75],{},"muse login",", or set ",[15,78,79],{},"META_API_KEY"," in the daemon environment.",[35,82,83,84,87],{},"In Zekoder, choose ",[85,86,6],"strong",{}," when you start an agent.",[11,89,90,91,93,94,97,98,101],{},"Your Muse configuration determines the available models. If ",[15,92,17],{}," is outside the daemon's PATH or you need custom environment variables, configure ",[15,95,96],{},"agents.providers.muse"," in ",[15,99,100],{},"~\u002F.zekoder\u002Fconfig.json",".",[24,103,105],{"id":104},"modes-and-skills","Modes and skills",[11,107,108,111,112,114,115,114,118,121,122,125,126,128,129,101],{},[85,109,110],{},"Default"," is the default mode. The available modes are ",[85,113,110],{},", ",[85,116,117],{},"Ask",[85,119,120],{},"Strict",", and ",[85,123,124],{},"Full access",". ",[85,127,124],{}," approves escalated approval stages automatically. Muse skills appear in the slash-command menu alongside ",[15,130,131],{},"\u002Fcompact",[24,133,135],{"id":134},"provider-options","Provider options",[11,137,138,139,142,143,146],{},"By default, Zekoder launches Muse with the sandbox disabled (",[15,140,141],{},"--disable-sandbox",") and workspace trust enabled (",[15,144,145],{},"--trust-workspace",").",[148,149,150,165],"table",{},[151,152,153],"thead",{},[154,155,156,160,162],"tr",{},[157,158,159],"th",{},"Option",[157,161,110],{},[157,163,164],{},"Effect",[166,167,168,184,209],"tbody",{},[154,169,170,176,181],{},[171,172,173],"td",{},[15,174,175],{},"sandbox.enabled",[171,177,178],{},[15,179,180],{},"false",[171,182,183],{},"Enables Muse's filesystem and network sandbox. Its read-only home directory prevents npm from writing the default cache.",[154,185,186,191,196],{},[171,187,188],{},[15,189,190],{},"sandbox.network",[171,192,193],{},[15,194,195],{},"\"proxy-only\"",[171,197,198,199,114,201,204,205,208],{},"Sandbox network policy: ",[15,200,195],{},[15,202,203],{},"\"restricted\"",", or ",[15,206,207],{},"\"enabled\"",". With sandbox disabled, Muse allows full network access.",[154,210,211,216,221],{},[171,212,213],{},[15,214,215],{},"trustWorkspace",[171,217,218],{},[15,219,220],{},"true",[171,222,223],{},"Lets Muse load project rules, skills, and configuration.",[11,225,226,227,229],{},"To change the defaults for every Muse agent, set them in ",[15,228,100],{}," on the host:",[39,231,235],{"className":232,"code":233,"language":234,"meta":44,"style":44},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"agents\": {\n    \"providers\": {\n      \"muse\": {\n        \"options\": {\n          \"sandbox\": { \"enabled\": true, \"network\": \"proxy-only\" },\n          \"trustWorkspace\": false\n        }\n      }\n    }\n  }\n}\n","json",[15,236,237,242,261,276,291,307,357,371,377,383,389,395],{"__ignoreMap":44},[48,238,239],{"class":50,"line":51},[48,240,241],{"class":65},"{\n",[48,243,245,248,252,255,258],{"class":50,"line":244},2,[48,246,247],{"class":65},"  \"",[48,249,251],{"class":250},"spNyl","agents",[48,253,254],{"class":65},"\"",[48,256,257],{"class":65},":",[48,259,260],{"class":65}," {\n",[48,262,264,267,270,272,274],{"class":50,"line":263},3,[48,265,266],{"class":65},"    \"",[48,268,269],{"class":54},"providers",[48,271,254],{"class":65},[48,273,257],{"class":65},[48,275,260],{"class":65},[48,277,279,282,285,287,289],{"class":50,"line":278},4,[48,280,281],{"class":65},"      \"",[48,283,17],{"class":284},"sbssI",[48,286,254],{"class":65},[48,288,257],{"class":65},[48,290,260],{"class":65},[48,292,294,297,301,303,305],{"class":50,"line":293},5,[48,295,296],{"class":65},"        \"",[48,298,300],{"class":299},"swJcz","options",[48,302,254],{"class":65},[48,304,257],{"class":65},[48,306,260],{"class":65},[48,308,310,313,317,319,321,324,327,331,333,335,338,340,343,345,347,349,352,354],{"class":50,"line":309},6,[48,311,312],{"class":65},"          \"",[48,314,316],{"class":315},"su27w","sandbox",[48,318,254],{"class":65},[48,320,257],{"class":65},[48,322,323],{"class":65}," {",[48,325,326],{"class":65}," \"",[48,328,330],{"class":329},"s2Zo4","enabled",[48,332,254],{"class":65},[48,334,257],{"class":65},[48,336,337],{"class":65}," true,",[48,339,326],{"class":65},[48,341,342],{"class":329},"network",[48,344,254],{"class":65},[48,346,257],{"class":65},[48,348,326],{"class":65},[48,350,351],{"class":58},"proxy-only",[48,353,254],{"class":65},[48,355,356],{"class":65}," },\n",[48,358,360,362,364,366,368],{"class":50,"line":359},7,[48,361,312],{"class":65},[48,363,215],{"class":315},[48,365,254],{"class":65},[48,367,257],{"class":65},[48,369,370],{"class":65}," false\n",[48,372,374],{"class":50,"line":373},8,[48,375,376],{"class":65},"        }\n",[48,378,380],{"class":50,"line":379},9,[48,381,382],{"class":65},"      }\n",[48,384,386],{"class":50,"line":385},10,[48,387,388],{"class":65},"    }\n",[48,390,392],{"class":50,"line":391},11,[48,393,394],{"class":65},"  }\n",[48,396,398],{"class":50,"line":397},12,[48,399,400],{"class":65},"}\n",[11,402,403,404,407],{},"Invalid values or unknown keys fail session creation with a ",[15,405,406],{},"providerOptions"," error.",[24,409,411],{"id":410},"limitations-in-muse-141","Limitations in Muse 1.4.1",[413,414,415,418,425,428],"ul",{},[35,416,417],{},"Zekoder MCP tools are unavailable because Muse drops the returned tool namespace before matching an MCP call. Muse must fix this upstream.",[35,419,420,421,424],{},"Compaction needs a model context limit. If your endpoint does not report one, set ",[15,422,423],{},"context_compaction.provider_context_limit_tokens"," in Muse for the selected model.",[35,426,427],{},"Usage windows appear only when Muse reports them.",[35,429,430,431,434,435,101],{},"If native subagent tools are missing, set ",[15,432,433],{},"MUSE_EXPERIMENTAL_SDK_ENABLED=on"," in the provider environment. Linked child sessions appear only when Muse supplies ",[15,436,437],{},"childSessionId",[439,440,441],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .su27w, html code.shiki .su27w{--shiki-light:#916B53;--shiki-default:#916B53;--shiki-dark:#916B53}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":44,"searchDepth":244,"depth":244,"links":443},[444,445,446,447],{"id":26,"depth":244,"text":27},{"id":104,"depth":244,"text":105},{"id":134,"depth":244,"text":135},{"id":410,"depth":244,"text":411},"Run Meta's Muse Code in Zekoder with your installed muse CLI.","md",{},{"order":359},"\u002Fproviders\u002Fmuse-code",{"title":6,"description":448},"providers\u002Fmuse-code","zZgK0ZjPxSWXCtdSZsNaEzFZ88HHeGiONL43SFr4cjA",false,[458,463,482,507,551,568,613,646,660,674],{"title":459,"path":460,"stem":461,"order":462},"Zekoder documentation","\u002F","index",-1,{"title":27,"path":464,"stem":26,"children":465,"page":456},"\u002Fgetting-started",[466,470,474,478],{"title":467,"path":468,"stem":469},"Install","\u002Fgetting-started\u002Finstall","getting-started\u002Finstall",{"title":471,"path":472,"stem":473,"order":51},"Quick start","\u002Fgetting-started\u002Fquick-start","getting-started\u002Fquick-start",{"title":475,"path":476,"stem":477,"order":244},"Connect a host","\u002Fgetting-started\u002Fconnect-a-host","getting-started\u002Fconnect-a-host",{"title":479,"path":480,"stem":481,"order":263},"Install on a remote machine","\u002Fgetting-started\u002Fremote-host","getting-started\u002Fremote-host",{"title":483,"path":484,"stem":485,"children":486,"page":456},"Hosts","\u002Fhosts","hosts",[487,491,495,499,503],{"title":488,"path":489,"stem":490},"Security","\u002Fhosts\u002Fsecurity","hosts\u002Fsecurity",{"title":492,"path":493,"stem":494,"order":51},"The built-in host","\u002Fhosts\u002Fbuilt-in-host","hosts\u002Fbuilt-in-host",{"title":496,"path":497,"stem":498,"order":244},"Update a remote host","\u002Fhosts\u002Fupdate-a-remote-host","hosts\u002Fupdate-a-remote-host",{"title":500,"path":501,"stem":502,"order":263},"Register a remote host on a host","\u002Fhosts\u002Fregister-a-remote-host","hosts\u002Fregister-a-remote-host",{"title":504,"path":505,"stem":506,"order":278},"Connectivity","\u002Fhosts\u002Fconnectivity","hosts\u002Fconnectivity",{"title":508,"path":509,"stem":269,"children":510},"Supported providers","\u002Fproviders",[511,514,518,522,526,530,534,538,539,543,547],{"title":508,"path":509,"stem":512,"order":513},"providers\u002Findex",0,{"title":515,"path":516,"stem":517,"order":51},"Antigravity","\u002Fproviders\u002Fantigravity","providers\u002Fantigravity",{"title":519,"path":520,"stem":521,"order":244},"Claude Code","\u002Fproviders\u002Fclaude-code","providers\u002Fclaude-code",{"title":523,"path":524,"stem":525,"order":263},"Codex","\u002Fproviders\u002Fcodex","providers\u002Fcodex",{"title":527,"path":528,"stem":529,"order":278},"fx","\u002Fproviders\u002Ffx","providers\u002Ffx",{"title":531,"path":532,"stem":533,"order":293},"GitHub Copilot","\u002Fproviders\u002Fgithub-copilot","providers\u002Fgithub-copilot",{"title":535,"path":536,"stem":537,"order":309},"Hoplite","\u002Fproviders\u002Fhoplite","providers\u002Fhoplite",{"title":6,"path":452,"stem":454,"order":359},{"title":540,"path":541,"stem":542,"order":373},"Oh My Pi","\u002Fproviders\u002Fomp","providers\u002Fomp",{"title":544,"path":545,"stem":546,"order":379},"OpenCode","\u002Fproviders\u002Fopencode","providers\u002Fopencode",{"title":548,"path":549,"stem":550,"order":385},"Pi","\u002Fproviders\u002Fpi","providers\u002Fpi",{"title":552,"path":553,"stem":554,"children":555,"page":456},"Reference","\u002Freference","reference",[556,560,564],{"title":557,"path":558,"stem":559,"order":51},"CLI reference","\u002Freference\u002Fcli","reference\u002Fcli",{"title":561,"path":562,"stem":563,"order":51},"Plugin reference","\u002Freference\u002Fplugins","reference\u002Fplugins",{"title":565,"path":566,"stem":567,"order":244},"Configuration","\u002Freference\u002Fconfiguration","reference\u002Fconfiguration",{"title":569,"path":570,"stem":571,"children":572,"page":456},"Using Zekoder","\u002Fusing-zekoder","using-zekoder",[573,577,581,585,589,593,597,601,605,609],{"title":574,"path":575,"stem":576,"order":51},"Projects and workspaces","\u002Fusing-zekoder\u002Fprojects-and-workspaces","using-zekoder\u002Fprojects-and-workspaces",{"title":578,"path":579,"stem":580,"order":244},"Agents and the composer","\u002Fusing-zekoder\u002Fagents","using-zekoder\u002Fagents",{"title":582,"path":583,"stem":584,"order":244},"Worktree setup and teardown","\u002Fusing-zekoder\u002Fworktrees","using-zekoder\u002Fworktrees",{"title":586,"path":587,"stem":588,"order":263},"Review changes","\u002Fusing-zekoder\u002Freview-changes","using-zekoder\u002Freview-changes",{"title":590,"path":591,"stem":592,"order":278},"Keyboard shortcuts","\u002Fusing-zekoder\u002Fkeyboard-shortcuts","using-zekoder\u002Fkeyboard-shortcuts",{"title":594,"path":595,"stem":596,"order":293},"Settings and updates","\u002Fusing-zekoder\u002Fsettings-and-updates","using-zekoder\u002Fsettings-and-updates",{"title":598,"path":599,"stem":600,"order":309},"Metadata generation","\u002Fusing-zekoder\u002Fmetadata-generation","using-zekoder\u002Fmetadata-generation",{"title":602,"path":603,"stem":604,"order":359},"Schedules","\u002Fusing-zekoder\u002Fschedules","using-zekoder\u002Fschedules",{"title":606,"path":607,"stem":608,"order":373},"Orchestration skills","\u002Fusing-zekoder\u002Fskills","using-zekoder\u002Fskills",{"title":610,"path":611,"stem":612,"order":379},"Phone and web","\u002Fusing-zekoder\u002Fphone-and-web","using-zekoder\u002Fphone-and-web",{"title":614,"path":615,"stem":616,"children":617,"page":456},"Zekoder workflow","\u002Fzekoder-workflow","zekoder-workflow",[618,622,626,630,634,638,642],{"title":619,"path":620,"stem":621,"order":51},"How the workflow works","\u002Fzekoder-workflow\u002Foverview","zekoder-workflow\u002Foverview",{"title":623,"path":624,"stem":625,"order":244},"Commands","\u002Fzekoder-workflow\u002Fcommands","zekoder-workflow\u002Fcommands",{"title":627,"path":628,"stem":629,"order":263},"The Issues screen","\u002Fzekoder-workflow\u002Fissues","zekoder-workflow\u002Fissues",{"title":631,"path":632,"stem":633,"order":278},"Project settings","\u002Fzekoder-workflow\u002Fproject-settings","zekoder-workflow\u002Fproject-settings",{"title":635,"path":636,"stem":637,"order":293},"Coding health reports","\u002Fzekoder-workflow\u002Freports","zekoder-workflow\u002Freports",{"title":639,"path":640,"stem":641,"order":309},"Versions and updates","\u002Fzekoder-workflow\u002Fversion","zekoder-workflow\u002Fversion",{"title":643,"path":644,"stem":645,"order":359},"Error codes","\u002Fzekoder-workflow\u002Ferror-codes","zekoder-workflow\u002Ferror-codes",{"title":647,"order":648,"path":649,"stem":650,"children":651,"page":456},"Productivity tips",50,"\u002Fproductivity-tips","productivity-tips",[652,656],{"title":653,"path":654,"stem":655,"order":51},"Background tasks","\u002Fproductivity-tips\u002Fbackground-tasks","productivity-tips\u002Fbackground-tasks",{"title":657,"path":658,"stem":659,"order":244},"Agent-to-agent messaging","\u002Fproductivity-tips\u002Fagent-messaging","productivity-tips\u002Fagent-messaging",{"title":661,"order":662,"path":663,"stem":664,"children":665,"page":456},"FAQs",98,"\u002Ffaq","faq",[666,670],{"title":667,"path":668,"stem":669,"order":51},"Codex related FAQs","\u002Ffaq\u002Fcodex","faq\u002Fcodex",{"title":671,"path":672,"stem":673,"order":244},"Linux related FAQs","\u002Ffaq\u002Flinux","faq\u002Flinux",{"title":675,"path":676,"stem":677,"order":678},"What changed","\u002Fwhats-changed","whats-changed",99,[680,682],{"title":535,"path":536,"stem":537,"description":681,"order":309,"children":-1},"Install and add Hoplite for Zekoder.",{"title":540,"path":541,"stem":542,"description":683,"order":373,"children":-1},"Install and turn on Oh My Pi for Zekoder.",1796318317517]