[{"data":1,"prerenderedAt":398},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Fcli\u002Fkinds":3},{"id":4,"title":5,"body":6,"description":16,"extension":391,"meta":392,"navigation":393,"path":394,"seo":395,"stem":396,"__hash__":397},"docs\u002Fdocs\u002Fv2\u002Fcli\u002Fkinds.md","Project kinds",{"type":7,"value":8,"toc":386},"minimark",[9,13,17,84,198,207,212,243,257,282,286,289,313,316,322,326,353,382],[10,11,5],"h1",{"id":12},"project-kinds",[14,15,16],"p",{},"Axon builds six kinds of thing, and they share one grammar. Learn it for modules and you\nknow it for the rest.",[18,19,24],"pre",{"className":20,"code":21,"language":22,"meta":23,"style":23},"language-bash shiki shiki-themes dark-plus","axon \u003Ckind> init \u003Cname>     # scaffold\naxon prepare                # regenerate types\naxon publish                # push to the registry\n","bash","",[25,26,27,62,73],"code",{"__ignoreMap":23},[28,29,32,36,40,44,47,50,52,55,58],"span",{"class":30,"line":31},"line",1,[28,33,35],{"class":34},"sCudf","axon",[28,37,39],{"class":38},"sTNBD"," \u003C",[28,41,43],{"class":42},"sKc5r","kin",[28,45,46],{"class":38},"d> ",[28,48,49],{"class":42},"init",[28,51,39],{"class":38},[28,53,54],{"class":42},"nam",[28,56,57],{"class":38},"e>     ",[28,59,61],{"class":60},"sOLPB","# scaffold\n",[28,63,65,67,70],{"class":30,"line":64},2,[28,66,35],{"class":34},[28,68,69],{"class":42}," prepare",[28,71,72],{"class":60},"                # regenerate types\n",[28,74,76,78,81],{"class":30,"line":75},3,[28,77,35],{"class":34},[28,79,80],{"class":42}," publish",[28,82,83],{"class":60},"                # push to the registry\n",[85,86,87,103],"table",{},[88,89,90],"thead",{},[91,92,93,97,100],"tr",{},[94,95,96],"th",{},"Kind",[94,98,99],{},"Scaffold",[94,101,102],{},"What it is",[104,105,106,123,138,153,168,183],"tbody",{},[91,107,108,115,120],{},[109,110,111],"td",{},[112,113,114],"strong",{},"agent",[109,116,117],{},[25,118,119],{},"axon init",[109,121,122],{},"A thing that runs and holds a conversation",[91,124,125,130,135],{},[109,126,127],{},[112,128,129],{},"module",[109,131,132],{},[25,133,134],{},"axon module init",[109,136,137],{},"A capability agents install — typed tools plus setup",[91,139,140,145,150],{},[109,141,142],{},[112,143,144],{},"cognet",[109,146,147],{},[25,148,149],{},"axon cognet init",[109,151,152],{},"The cognition itself: loop, memory, world model",[91,154,155,160,165],{},[109,156,157],{},[112,158,159],{},"bench",[109,161,162],{},[25,163,164],{},"axon bench init",[109,166,167],{},"A measured test suite for agents",[91,169,170,175,180],{},[109,171,172],{},[112,173,174],{},"prompt",[109,176,177],{},[25,178,179],{},"axon prompt init",[109,181,182],{},"A publishable prompt",[91,184,185,190,195],{},[109,186,187],{},[112,188,189],{},"extension",[109,191,192],{},[25,193,194],{},"axon ext init",[109,196,197],{},"Terminal commands, themes, keybinds, lines",[14,199,200,201,206],{},"Agents are the default kind, which is why they alone need no noun in the middle — and why\nthey ",[202,203,205],"a",{"href":204},"\u002Fdocs\u002Fv2\u002Fcli\u002Fdeploy","deploy"," rather than publish. An agent is a running service; the\nother five are packages someone installs.",[208,209,211],"h2",{"id":210},"the-bare-verbs-read-your-directory","The bare verbs read your directory",[18,213,215],{"className":20,"code":214,"language":22,"meta":23,"style":23},"cd my-module\naxon prepare      # knows this is a module\naxon publish      # knows it too\n",[25,216,217,225,234],{"__ignoreMap":23},[28,218,219,222],{"class":30,"line":31},[28,220,221],{"class":34},"cd",[28,223,224],{"class":42}," my-module\n",[28,226,227,229,231],{"class":30,"line":64},[28,228,35],{"class":34},[28,230,69],{"class":42},[28,232,233],{"class":60},"      # knows this is a module\n",[28,235,236,238,240],{"class":30,"line":75},[28,237,35],{"class":34},[28,239,80],{"class":42},[28,241,242],{"class":60},"      # knows it too\n",[14,244,245,248,249,252,253,256],{},[25,246,247],{},"prepare"," and ",[25,250,251],{},"publish"," detect the project kind from the directory you are in. That is why\nthere is no ",[25,254,255],{},"axon module prepare"," you have to remember — though the explicit form exists\nfor acting on a project from elsewhere:",[18,258,260],{"className":20,"code":259,"language":22,"meta":23,"style":23},"axon module prepare\naxon cognet publish\n",[25,261,262,272],{"__ignoreMap":23},[28,263,264,266,269],{"class":30,"line":31},[28,265,35],{"class":34},[28,267,268],{"class":42}," module",[28,270,271],{"class":42}," prepare\n",[28,273,274,276,279],{"class":30,"line":64},[28,275,35],{"class":34},[28,277,278],{"class":42}," cognet",[28,280,281],{"class":42}," publish\n",[208,283,285],{"id":284},"what-prepare-does","What prepare does",[14,287,288],{},"Different work per kind, one command:",[290,291,292,298,308],"ul",{},[293,294,295,297],"li",{},[112,296,114],{}," — installs declared modules, compiles its cognet, regenerates the authoring\ntypes your editor reads",[293,299,300,302,303,302,305,307],{},[112,301,129],{},", ",[112,304,144],{},[112,306,189],{}," — regenerates the static type frame",[293,309,310,312],{},[112,311,159],{}," — prepares the test workspace",[14,314,315],{},"Generated output is project-specific and lives in an ignored build directory. Run it after\nchanging declared modules, tools, prompts or the cognet — it is what makes your editor and\nthe agent agree about what exists.",[14,317,318,321],{},[25,319,320],{},"--frozen"," fails instead of resolving new versions, which is what CI wants.",[208,323,325],{"id":324},"publishing","Publishing",[14,327,328,334,335,341,342,345,346,352],{},[202,329,331],{"href":330},"\u002Fdocs\u002Fv2\u002Fcli\u002Fpublish",[25,332,333],{},"axon publish"," requires ",[202,336,338],{"href":337},"\u002Fdocs\u002Fv2\u002Fcli\u002Flogin",[25,339,340],{},"axon login",", and the\nscope in ",[25,343,344],{},"package.json"," must be one you own. To start from someone else's work, see\n",[202,347,349],{"href":348},"\u002Fdocs\u002Fv2\u002Fcli\u002Ffork",[25,350,351],{},"axon fork",".",[14,354,355,356,362,363,369,370,362,376],{},"Each kind has its own authoring guide: ",[112,357,358],{},[202,359,361],{"href":360},"\u002Fdocs\u002Fv2\u002Fmodules\u002Foverview","Modules"," ·\n",[112,364,365],{},[202,366,368],{"href":367},"\u002Fdocs\u002Fv2\u002Fcognets","Cognets"," · ",[112,371,372],{},[202,373,375],{"href":374},"\u002Fdocs\u002Fv2\u002Fbench","Bench",[112,377,378],{},[202,379,381],{"href":380},"\u002Fdocs\u002Fv2\u002Ftui\u002Fapi\u002Ftui","Extensions",[383,384,385],"style",{},"html pre.shiki code .sCudf, html code.shiki .sCudf{--shiki-default:#DCDCAA}html pre.shiki code .sTNBD, html code.shiki .sTNBD{--shiki-default:#D4D4D4}html pre.shiki code .sKc5r, html code.shiki .sKc5r{--shiki-default:#CE9178}html pre.shiki code .sOLPB, html code.shiki .sOLPB{--shiki-default:#6A9955}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":23,"searchDepth":64,"depth":64,"links":387},[388,389,390],{"id":210,"depth":64,"text":211},{"id":284,"depth":64,"text":285},{"id":324,"depth":64,"text":325},"md",{},true,"\u002Fdocs\u002Fv2\u002Fcli\u002Fkinds",{"title":5,"description":16},"docs\u002Fv2\u002Fcli\u002Fkinds","k_tcSJmmEf2Fo2HvatHWXe001IhRu0-XV1RkuxXWSFo",1786899561223]