This repository provides developer tools, CLIs, and AI agent skills for building applications on AIUI (Artificial Intelligence User Interface) — an agentic runtime designed for AI glasses with displays.
You can quickly scaffold a new AIUI Agent project using our official CLI tool. Run the following command and follow the prompts:
npm create @yodaos-pkg/aiui-agent my-agentThis will generate a ready-to-use AIUI project template including:
app.jsandapp.jsonfor global configuration.AGENTS.mdfor agent capability manifestation.- A modern Single File Component (SFC)
index.inkpage setup.
The samples/ directory contains runnable example projects that demonstrate AIUI features and provide reference implementations for common UI patterns.
At the moment, the repository includes samples/capabilities/, a complete sample app that you can use to explore page structure, assets, helper modules, and feature demos in one place.
pages/: Example pages covering a range of AIUI capabilities and UI patterns.assets/: Static resources used by the demos, such as images, SVGs, and audio files.lib/: Helper modules shared by sample pages.
Representative demos inside samples/simple/pages/ include:
layout,grid,position: Layout and positioning patterns.image,list,input_textarea: Common UI building blocks.canvas,canvas_api,chart,lottie: Rendering and visual content examples.media_query,css_vars,filter,transform: Styling and responsive behavior examples.
The design/ directory holds AIUI's visual design language specs, organized by display type:
design/monochrome/— specs for single-color display hardware. The activegreenvariant targets RokidGlasses1 / RokidGlasses2, whose hardware can only reproduce one luminous green channel over pure black. Covers colors (one green across four opacity tiers), typography, spacing, radii, border widths, component chrome, and Do's & Don'ts.design-system-green.md— full token spec.preview-green.html— self-contained, browsable visual showcase (no build step).
design/fullcolor/— planned, for full-RGB display hardware. Not yet authored.
The design system currently applies only to single-green monochrome display devices. The
design/layout keeps the current green spec stable and leaves room for the planned full-color variant.
The same monochrome-green spec is also bundled inside the aiui-dev skill (see below), so AI agents generating AIUI code align with these tokens automatically.
We provide built-in instructions and context files to help LLMs (Large Language Models) or AI coding assistants write AIUI code effectively.
You can easily install the AIUI developer skill into your project using the npx skills add command. This will fetch the necessary context files and make them available to your AI coding assistant:
npx skills add https://github.com/jsar-project/AIUI/tree/main/skills/aiui-devIf you want to install a specific released version of the skill instead of the latest main branch, replace main with the desired tag name:
npx skills add https://github.com/jsar-project/AIUI/tree/v0.1.0/skills/aiui-devaiui-devSkill: Located inskills/aiui-dev/SKILL.md, this document contains comprehensive API references, project structure guidelines, and.inkSFC specifications. You can feed this file to your AI assistant to grant it the "skill" of developing AIUI applications.
If you'd like to request a feature or report a bug, please use the GitHub issue templates:
.
├── design/
│ ├── README.md # design language index (by display type)
│ ├── monochrome/ # single-color display specs
│ │ ├── README.md # monochrome variants (currently green)
│ │ ├── design-system-green.md # AIUI monochrome-green token spec
│ │ └── preview-green.html # browsable visual showcase (green)
│ └── fullcolor/ # planned — full-RGB display specs
├── packages/
│ └── create-aiui-agent/ # npm CLI for scaffolding AIUI agent projects
├── samples/
│ └── capabilities/ # runnable AIUI capabilities app and feature demos
├── skills/
│ └── aiui-dev/ # AI Agent skill documentation (SKILL.md)
└── .github/workflows/ # Automated daily build and publish workflows
Apache License 2.0