[{"data":1,"prerenderedAt":419},["ShallowReactive",2],{"navigation_docs":3,"-ai-agents":223,"-ai-agents-surround":414},[4,26,96,105,202],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"The first app","\u002Fgetting-started\u002Ffirst-app","1.getting-started\u002F2.first-app","i-lucide-play",{"title":21,"path":22,"stem":23,"icon":24},"The first test","\u002Fgetting-started\u002Ffirst-test","1.getting-started\u002F3.first-test","i-lucide-flask-conical",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[32,37,42,47,52,57,62,67,72,77,81,86,91],{"title":33,"path":34,"stem":35,"icon":36},"Components","\u002Fguide\u002Fcomponents","2.guide\u002F01.components","i-lucide-component",{"title":38,"path":39,"stem":40,"icon":41},"Inputs and forms","\u002Fguide\u002Finputs-and-forms","2.guide\u002F02.inputs-and-forms","i-lucide-text-cursor-input",{"title":43,"path":44,"stem":45,"icon":46},"Scrolling and viewports","\u002Fguide\u002Fscrolling","2.guide\u002F03.scrolling","i-lucide-scroll-text",{"title":48,"path":49,"stem":50,"icon":51},"Overlays and layers","\u002Fguide\u002Foverlays","2.guide\u002F04.overlays","i-lucide-layers",{"title":53,"path":54,"stem":55,"icon":56},"Styles and theme","\u002Fguide\u002Fstyles","2.guide\u002F05.styles","i-lucide-palette",{"title":58,"path":59,"stem":60,"icon":61},"Composables","\u002Fguide\u002Fcomposables","2.guide\u002F06.composables","i-lucide-puzzle",{"title":63,"path":64,"stem":65,"icon":66},"Widgets","\u002Fguide\u002Fwidgets","2.guide\u002F07.widgets","i-lucide-blocks",{"title":68,"path":69,"stem":70,"icon":71},"The assistant","\u002Fguide\u002Fassistant","2.guide\u002F08.assistant","i-lucide-message-square",{"title":73,"path":74,"stem":75,"icon":76},"The same app on the web","\u002Fguide\u002Fweb","2.guide\u002F09.web","i-lucide-globe",{"title":78,"path":79,"stem":80,"icon":24},"Testing","\u002Fguide\u002Ftesting","2.guide\u002F10.testing",{"title":82,"path":83,"stem":84,"icon":85},"Running and packaging","\u002Fguide\u002Fpackaging","2.guide\u002F11.packaging","i-lucide-package",{"title":87,"path":88,"stem":89,"icon":90},"The terminal contract","\u002Fguide\u002Fterminal","2.guide\u002F12.terminal","i-lucide-square-terminal",{"title":92,"path":93,"stem":94,"icon":95},"Benchmarks","\u002Fguide\u002Fbenchmarks","2.guide\u002F13.benchmarks","i-lucide-gauge",{"title":97,"icon":98,"path":99,"stem":100,"children":101,"page":25},"AI and agents","i-lucide-bot","\u002Fai","3.ai",[102],{"title":97,"path":103,"stem":104,"icon":98},"\u002Fai\u002Fagents","3.ai\u002F1.agents",{"title":106,"icon":107,"path":108,"stem":109,"children":110},"Decisions","i-lucide-scale","\u002Fdecisions","4.decisions",[111,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198],{"title":112,"path":108,"stem":113,"icon":46},"All decisions","4.decisions\u002Findex",{"title":115,"path":116,"stem":117},"0001. kyo-ui is the DSL","\u002Fdecisions\u002F0001-kyo-ui-is-the-dsl","4.decisions\u002F0001-kyo-ui-is-the-dsl",{"title":119,"path":120,"stem":121},"0002. jatatui renders the cells","\u002Fdecisions\u002F0002-jatatui-renders-the-cells","4.decisions\u002F0002-jatatui-renders-the-cells",{"title":123,"path":124,"stem":125},"0003. Pin Kyo 1.0.0-RC7 and JDK 25","\u002Fdecisions\u002F0003-pin-kyo-rc7-and-jdk-25","4.decisions\u002F0003-pin-kyo-rc7-and-jdk-25",{"title":127,"path":128,"stem":129},"0004. Public Kyo APIs only","\u002Fdecisions\u002F0004-public-kyo-apis-only","4.decisions\u002F0004-public-kyo-apis-only",{"title":131,"path":132,"stem":133},"0005. A SOFT frame contract and an own watcher loop","\u002Fdecisions\u002F0005-soft-frame-contract-and-own-watcher-loop","4.decisions\u002F0005-soft-frame-contract-and-own-watcher-loop",{"title":135,"path":136,"stem":137},"0006. Purity: edge files, lint and a pure painter","\u002Fdecisions\u002F0006-purity-edge-files-and-lint","4.decisions\u002F0006-purity-edge-files-and-lint",{"title":139,"path":140,"stem":141},"0007. Compiler flags from sbt-tpolecat","\u002Fdecisions\u002F0007-compiler-flags-from-sbt-tpolecat","4.decisions\u002F0007-compiler-flags-from-sbt-tpolecat",{"title":143,"path":144,"stem":145},"0008. The artifact split: runner, app, testkit and core","\u002Fdecisions\u002F0008-artifact-split-runner-app-testkit-core","4.decisions\u002F0008-artifact-split-runner-app-testkit-core",{"title":147,"path":148,"stem":149},"0009. tui4s-use and tui4s-widgets, cross-built","\u002Fdecisions\u002F0009-use-and-widgets-cross-built","4.decisions\u002F0009-use-and-widgets-cross-built",{"title":151,"path":152,"stem":153},"0010. The flagship assistant is the blueprint of a real app","\u002Fdecisions\u002F0010-the-flagship-assistant-as-blueprint","4.decisions\u002F0010-the-flagship-assistant-as-blueprint",{"title":155,"path":156,"stem":157},"0011. The web target: a standalone Scala.js app and one theme","\u002Fdecisions\u002F0011-web-target-standalone-scalajs-and-one-theme","4.decisions\u002F0011-web-target-standalone-scalajs-and-one-theme",{"title":159,"path":160,"stem":161},"0012. The documentation is example-first","\u002Fdecisions\u002F0012-documentation-is-example-first","4.decisions\u002F0012-documentation-is-example-first",{"title":163,"path":164,"stem":165},"0013. Benchmarks in the repository, with their own build","\u002Fdecisions\u002F0013-benchmarks-in-repo-with-own-build","4.decisions\u002F0013-benchmarks-in-repo-with-own-build",{"title":167,"path":168,"stem":169},"0014. Release per module, by tag, as 0.1.0-RC1","\u002Fdecisions\u002F0014-release-per-module-tags-and-rc1","4.decisions\u002F0014-release-per-module-tags-and-rc1",{"title":171,"path":172,"stem":173},"0015. Packaging: the AOT cache in the start scripts, native-image as an option","\u002Fdecisions\u002F0015-packaging-aot-cache-and-native-image","4.decisions\u002F0015-packaging-aot-cache-and-native-image",{"title":175,"path":176,"stem":177},"0016. Process: lean mode and agent roles","\u002Fdecisions\u002F0016-process-lean-mode-and-agent-roles","4.decisions\u002F0016-process-lean-mode-and-agent-roles",{"title":179,"path":180,"stem":181},"0017. Deferred: templates, mouse, the kitty keyboard protocol and Windows","\u002Fdecisions\u002F0017-deferred-templates-mouse-and-kitty","4.decisions\u002F0017-deferred-templates-mouse-and-kitty",{"title":183,"path":184,"stem":185},"0018. pini4s is a vendored Git submodule","\u002Fdecisions\u002F0018-pini4s-as-a-vendored-submodule","4.decisions\u002F0018-pini4s-as-a-vendored-submodule",{"title":187,"path":188,"stem":189},"0019. Upstream issues are drafts that the user posts","\u002Fdecisions\u002F0019-upstream-kyo-issues-as-drafts","4.decisions\u002F0019-upstream-kyo-issues-as-drafts",{"title":191,"path":192,"stem":193},"0020. Release from the Actions form","\u002Fdecisions\u002F0020-release-from-the-actions-form","4.decisions\u002F0020-release-from-the-actions-form",{"title":195,"path":196,"stem":197},"0021. The rulebook is CONTRIBUTING.md","\u002Fdecisions\u002F0021-the-rulebook-is-contributing-md","4.decisions\u002F0021-the-rulebook-is-contributing-md",{"title":199,"path":200,"stem":201},"0022. The logo is text","\u002Fdecisions\u002F0022-the-logo-is-text","4.decisions\u002F0022-the-logo-is-text",{"title":203,"icon":204,"path":205,"stem":206,"children":207,"page":25},"Project","i-lucide-compass","\u002Fproject","5.project",[208,213,218],{"title":209,"path":210,"stem":211,"icon":212},"Roadmap","\u002Fproject\u002Froadmap","5.project\u002F1.roadmap","i-lucide-map",{"title":214,"path":215,"stem":216,"icon":217},"Contributing","\u002Fproject\u002Fcontributing","5.project\u002F2.contributing","i-lucide-git-pull-request",{"title":219,"path":220,"stem":221,"icon":222},"Security","\u002Fproject\u002Fsecurity","5.project\u002F3.security","i-lucide-shield",{"id":224,"title":97,"body":225,"description":407,"extension":408,"links":409,"meta":410,"navigation":411,"path":103,"seo":412,"stem":104,"__hash__":413},"docs\u002F3.ai\u002F1.agents.md",{"type":226,"value":227,"toc":403},"minimark",[228,252,257,324,333,340,344,371,399],[229,230,235],"pre",{"className":231,"code":232,"language":233,"meta":234,"style":234},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -s https:\u002F\u002F\u003Cthis site>\u002Fllms.txt                         # the index of the pages\ncurl -s https:\u002F\u002F\u003Cthis site>\u002Fraw\u002Fgetting-started\u002Ffirst-app.md  # one page as Markdown\n","sh","",[236,237,238,246],"code",{"__ignoreMap":234},[239,240,243],"span",{"class":241,"line":242},"line",1,[239,244,245],{},"curl -s https:\u002F\u002F\u003Cthis site>\u002Fllms.txt                         # the index of the pages\n",[239,247,249],{"class":241,"line":248},2,[239,250,251],{},"curl -s https:\u002F\u002F\u003Cthis site>\u002Fraw\u002Fgetting-started\u002Ffirst-app.md  # one page as Markdown\n",[253,254,256],"h2",{"id":255},"read-the-documentation","Read the documentation",[258,259,260,273],"table",{},[261,262,263],"thead",{},[264,265,266,270],"tr",{},[267,268,269],"th",{},"What",[267,271,272],{},"Where",[274,275,276,287,297,307],"tbody",{},[264,277,278,282],{},[279,280,281],"td",{},"An index of the pages",[279,283,284],{},[236,285,286],{},"\u002Fllms.txt",[264,288,289,292],{},[279,290,291],{},"All pages in one Markdown file",[279,293,294],{},[236,295,296],{},"\u002Fllms-full.txt",[264,298,299,302],{},[279,300,301],{},"One page as Markdown",[279,303,304],{},[236,305,306],{},"\u002Fraw\u002F\u003Cpage-path>.md",[264,308,309,319],{},[279,310,311,312,315,316],{},"An MCP server with the tools ",[236,313,314],{},"list-pages"," and ",[236,317,318],{},"get-page",[279,320,321],{},[236,322,323],{},"\u002Fmcp",[325,326,327,328,332],"p",{},"Each page also has a ",[329,330,331],"strong",{},"Copy page"," button, which copies the page as Markdown.",[325,334,335,336,339],{},"Each Scala block of these pages is the text of a region of a source file of the repository. A test (",[236,337,338],{},"MarkdownRegionsSuite",") checks each block in CI, so a block cannot drift from the code that compiles.",[253,341,343],{"id":342},"work-on-the-repository","Work on the repository",[325,345,346,349,350,359,360,367,368,370],{},[236,347,348],{},"AGENTS.md"," at the root of the repository is the entry for agents. It imports two files. ",[351,352,356],"a",{"href":353,"rel":354},"https:\u002F\u002Fgithub.com\u002Fyuri4n\u002Ftui4s\u002Fblob\u002Fmain\u002FCONTRIBUTING.md",[355],"nofollow",[236,357,358],{},"CONTRIBUTING.md"," is the rulebook, for humans and for agents: the commands, the code rules, the purity rules and the release process. ",[351,361,364],{"href":362,"rel":363},"https:\u002F\u002Fgithub.com\u002Fyuri4n\u002Ftui4s\u002Fblob\u002Fmain\u002FARCHITECTURE.md",[355],[236,365,366],{},"ARCHITECTURE.md"," tells how the runner works. ",[236,369,348],{}," adds the rules for agents only, for example the marks of a change. Some rules that an agent must know: ",[372,373,374,378,385,392],"ul",{},[375,376,377],"li",{},"Use JDK 25. Run one sbt process at a time in one checkout.",[375,379,380,381,384],{},"Never start a terminal UI with ",[236,382,383],{},"sbt run",", and never in the shell of the agent: only the PTY kit runs one.",[375,386,387,388,391],{},"Tests do not need a real terminal: use ",[236,389,390],{},"Headless",".",[375,393,394,395,398],{},"A release publishes a public artifact. An agent can start a dry run at any time. It starts a real release only when a human asks for it, and the maintainer approves the deployment in GitHub (",[351,396,397],{"href":192},"ADR 0020","). ",[400,401,402],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":234,"searchDepth":248,"depth":248,"links":404},[405,406],{"id":255,"depth":248,"text":256},{"id":342,"depth":248,"text":343},"How an AI agent reads this documentation and works on the tui4s repository.","md",null,{},{"icon":98},{"title":97,"description":407},"_Nv_9zmlLD_wnh4s5cYgKEqmadOhdyjPF308bDwvAdo",[415,417],{"title":92,"path":93,"stem":94,"description":416,"icon":95,"children":-1},"The frame-path probe of tui4s, and the bench of tui4s against seven other terminal UI stacks.",{"title":112,"path":108,"stem":113,"description":418,"icon":46,"children":-1},"The decisions that shaped tui4s, with the alternatives that lost and why.",1792528752826]