[{"data":1,"prerenderedAt":310},["ShallowReactive",2],{"docs:\u002Fdocs\u002Fguides\u002Fcoding-agents":3,"docs:navigation":186,"docs:surround:\u002Fdocs\u002Fguides\u002Fcoding-agents":305},{"id":4,"title":5,"body":6,"description":177,"extension":178,"meta":179,"navigation":180,"navigationTitle":181,"path":182,"seo":183,"stem":184,"__hash__":185},"docs\u002Fdocs\u002F3.guides\u002F12.coding-agents.md","Coding agents",{"type":7,"value":8,"toc":172},"minimark",[9,14,18,62,76,79,106,117,121,139,148,152,168],[10,11,13],"h2",{"id":12},"during-development","During development",[15,16,17],"p",{},"Connect Claude Code or Codex to your running dev server:",[19,20,25],"pre",{"className":21,"code":22,"language":23,"meta":24,"style":24},"language-bash shiki shiki-themes github-dark-default","pnpm dev\npnpm exec agentic plugin claude   # or: pnpm exec agentic plugin codex\n","bash","",[26,27,28,41],"code",{"__ignoreMap":24},[29,30,33,37],"span",{"class":31,"line":32},"line",1,[29,34,36],{"class":35},"sQhOw","pnpm",[29,38,40],{"class":39},"s9uIt"," dev\n",[29,42,44,46,49,52,55,58],{"class":31,"line":43},2,[29,45,36],{"class":35},[29,47,48],{"class":39}," exec",[29,50,51],{"class":39}," agentic",[29,53,54],{"class":39}," plugin",[29,56,57],{"class":39}," claude",[29,59,61],{"class":60},"sH3jZ","   # or: pnpm exec agentic plugin codex\n",[15,63,64,67,68,71,72,75],{},[26,65,66],{},"agentic plugin"," writes a project-local plugin to ",[26,69,70],{},".agentic\u002Fplugin"," (an Agentic skill and an MCP\nserver) and registers it in the project's Claude Code or Codex settings. Run it once per\ncheckout; ",[26,73,74],{},".agentic\u002F"," is ignored by git.",[15,77,78],{},"The coding agent then gets the same tools as the API: create and update agents and automations,\nwork with your Agentic Models, and inspect integrations and approvals. It acts as one of your dev\naccounts, with that account's role and approvals.",[80,81,82,93],"ul",{},[83,84,85,88,89,92],"li",{},[26,86,87],{},"--user EMAIL"," or ",[26,90,91],{},"AGENTIC_MCP_USER"," picks the account when several exist.",[83,94,95,88,98,101,102,105],{},[26,96,97],{},"--workspace ID",[26,99,100],{},"AGENTIC_MCP_WORKSPACE"," picks a team workspace instead of ",[26,103,104],{},"personal",".",[15,107,108,109,112,113,116],{},"The bridge works only while the dev server listens on localhost, with a private capability\nreadable only by you. It is never part of a build. Turn it off with\n",[26,110,111],{},"agentic: { localMcp: false }"," (Nuxt) or ",[26,114,115],{},"voidAgentic({ localMcp: false })"," (Void).",[10,118,120],{"id":119},"local-runtimes-for-your-agents","Local runtimes for your agents",[15,122,123,124,128,129,132,133,88,136,105],{},"To run an agent with your local CLI login during development, choose ",[125,126,127],"strong",{},"Codex CLI"," or\n",[125,130,131],{},"Claude Code"," in the model picker. For a code agent, set ",[26,134,135],{},"runtime: codex",[26,137,138],{},"runtime: claude",[15,140,141,142,112,145,116],{},"These runs disable the CLI's tools, plugins, web search, and shell access. Turn off local runtimes\nwith ",[26,143,144],{},"agentic: { localRuntimes: false }",[26,146,147],{},"voidAgentic({ localRuntimes: false })",[10,149,151],{"id":150},"in-production","In production",[15,153,154,155,158,159,162,163,105],{},"Deployed apps serve MCP at ",[26,156,157],{},"\u002Fapi\u002Fagentic\u002Fmcp"," with the same tools, access rules and approvals. It\nuses the dashboard's session, so it suits clients that sign in through the browser. Switch it off\nwith the ",[26,160,161],{},"mcp"," ",[164,165,167],"a",{"href":166},"\u002Fdocs\u002Fguides\u002Ffeatures","feature toggle",[169,170,171],"style",{},"html pre.shiki code .sQhOw, html code.shiki .sQhOw{--shiki-default:#FFA657}html pre.shiki code .s9uIt, html code.shiki .s9uIt{--shiki-default:#A5D6FF}html pre.shiki code .sH3jZ, html code.shiki .sH3jZ{--shiki-default:#8B949E}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);}",{"title":24,"searchDepth":43,"depth":43,"links":173},[174,175,176],{"id":12,"depth":43,"text":13},{"id":119,"depth":43,"text":120},{"id":150,"depth":43,"text":151},"Let Claude Code or Codex create agents, automations and records in your app over MCP.","md",{},true,null,"\u002Fdocs\u002Fguides\u002Fcoding-agents",{"title":5,"description":177},"docs\u002F3.guides\u002F12.coding-agents","YS1iDv9_zfN-Zh4h6M4G7t15BCLR6uBkhA9MWK6KJrQ",[187],{"title":188,"path":189,"stem":190,"children":191,"navigationTitle":181},"Introduction","\u002Fdocs","docs\u002F0.index",[192,193,211,215,264,268,272,301],{"title":188,"path":189,"stem":190,"navigationTitle":181},{"title":194,"path":195,"stem":196,"children":197,"page":210},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[198,202,206],{"title":199,"path":200,"stem":201,"navigationTitle":181},"Free module","\u002Fdocs\u002Fgetting-started\u002Ffree","docs\u002F1.getting-started\u002F1.free",{"title":203,"path":204,"stem":205,"navigationTitle":181},"Pro on Nuxt","\u002Fdocs\u002Fgetting-started\u002Fnuxt","docs\u002F1.getting-started\u002F2.nuxt",{"title":207,"path":208,"stem":209,"navigationTitle":181},"Pro on Void","\u002Fdocs\u002Fgetting-started\u002Fvoid","docs\u002F1.getting-started\u002F3.void",false,{"title":212,"path":213,"stem":214,"navigationTitle":181},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",{"title":216,"path":217,"stem":218,"children":219,"page":210},"Guides","\u002Fdocs\u002Fguides","docs\u002F3.guides",[220,224,228,231,232,236,240,244,248,252,256,260],{"title":221,"path":222,"stem":223,"navigationTitle":181},"Agents","\u002Fdocs\u002Fguides\u002Fagents","docs\u002F3.guides\u002F1.agents",{"title":225,"path":226,"stem":227,"navigationTitle":181},"Events","\u002Fdocs\u002Fguides\u002Fevents","docs\u002F3.guides\u002F10.events",{"title":229,"path":166,"stem":230,"navigationTitle":181},"Features","docs\u002F3.guides\u002F11.features",{"title":5,"path":182,"stem":184,"navigationTitle":181},{"title":233,"path":234,"stem":235,"navigationTitle":181},"Tools","\u002Fdocs\u002Fguides\u002Ftools","docs\u002F3.guides\u002F2.tools",{"title":237,"path":238,"stem":239,"navigationTitle":181},"Automations","\u002Fdocs\u002Fguides\u002Fautomations","docs\u002F3.guides\u002F3.automations",{"title":241,"path":242,"stem":243,"navigationTitle":181},"Agentic Models","\u002Fdocs\u002Fguides\u002Fagentic-models","docs\u002F3.guides\u002F4.agentic-models",{"title":245,"path":246,"stem":247,"navigationTitle":181},"Outcomes","\u002Fdocs\u002Fguides\u002Foutcomes","docs\u002F3.guides\u002F5.outcomes",{"title":249,"path":250,"stem":251,"navigationTitle":181},"Integrations","\u002Fdocs\u002Fguides\u002Fintegrations","docs\u002F3.guides\u002F6.integrations",{"title":253,"path":254,"stem":255,"navigationTitle":181},"Prompt","\u002Fdocs\u002Fguides\u002Fprompt","docs\u002F3.guides\u002F7.prompt",{"title":257,"path":258,"stem":259,"navigationTitle":181},"Server logic","\u002Fdocs\u002Fguides\u002Fserver-logic","docs\u002F3.guides\u002F8.server-logic",{"title":261,"path":262,"stem":263,"navigationTitle":181},"Dashboard UI","\u002Fdocs\u002Fguides\u002Fui","docs\u002F3.guides\u002F9.ui",{"title":265,"path":266,"stem":267,"navigationTitle":181},"Deploy to Cloudflare","\u002Fdocs\u002Fdeploy","docs\u002F4.deploy",{"title":269,"path":270,"stem":271,"navigationTitle":181},"Upgrading","\u002Fdocs\u002Fupgrade","docs\u002F5.upgrade",{"title":273,"path":274,"stem":275,"children":276,"page":210},"Reference","\u002Fdocs\u002Freference","docs\u002F6.reference",[277,281,285,289,293,297],{"title":278,"path":279,"stem":280,"navigationTitle":181},"Configuration","\u002Fdocs\u002Freference\u002Fconfiguration","docs\u002F6.reference\u002F1.configuration",{"title":282,"path":283,"stem":284,"navigationTitle":181},"Composables","\u002Fdocs\u002Freference\u002Fcomposables","docs\u002F6.reference\u002F2.composables",{"title":286,"path":287,"stem":288,"navigationTitle":181},"Server utilities","\u002Fdocs\u002Freference\u002Fserver-utils","docs\u002F6.reference\u002F3.server-utils",{"title":290,"path":291,"stem":292,"navigationTitle":181},"Services","\u002Fdocs\u002Freference\u002Fservices","docs\u002F6.reference\u002F4.services",{"title":294,"path":295,"stem":296,"navigationTitle":181},"REST API","\u002Fdocs\u002Freference\u002Frest-api","docs\u002F6.reference\u002F5.rest-api",{"title":298,"path":299,"stem":300,"navigationTitle":181},"CLI","\u002Fdocs\u002Freference\u002Fcli","docs\u002F6.reference\u002F6.cli",{"title":302,"path":303,"stem":304,"navigationTitle":181},"Licensing & FAQ","\u002Fdocs\u002Flicensing","docs\u002F8.licensing",[306,308],{"title":229,"path":166,"stem":230,"description":307,"children":-1},"Switch built-in features off, or package your own routes, services, tools and tables as a feature.",{"title":233,"path":234,"stem":235,"description":309,"children":-1},"Give agents typed functions with defineAgentTool, and hold risky calls for approval.",1792672479672]