Logo: Genui

Genui

OrganisatiounBeléift
kortix-ai
genui

Generative UI for Kortix: the agent writes typed UI blocks (cards, comparisons, charts, maps, tabs) in OpenUI Lang inside its replies, and web, mobile, and SDK hosts render them through `@kortix/sdk/genui`. Load WHENEVER you design, build, review, or debug generative UI, the `openui` code fence, the genui prompt instructions, a genui component, the `kortix-genui` system skill, or the `@kortix/sdk/genui` or `/genui/react` subpaths.

Iwwersiicht

Editeurkortix-ai
RepositoryCompanyOS
Skill-Nummgenui
Stären
20.8K
Forks
3.5K
Matgeliwwert Dateien
13
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 13 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    kortix-ai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Genui an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/kortix-ai/CompanyOS/tree/dev/.agents/skills/genui
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kortix-ai/CompanyOS.git /tmp/CompanyOS
mkdir -p .claude/skills
cp -r /tmp/CompanyOS/.agents/skills/genui .claude/skills/genui
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Genui an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Genui automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Genui net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Generative UI (genui)

Status (2026-10-24): on dev, always on. Generative UI has no feature flag and no kill switch. Every session lists the kortix-genui system skill, and every client renders openui blocks. SDK (@kortix/sdk/genui, /genui/react), runtime (the skill, channel guards), web, and mobile are implemented. Open: plan-5 task 7's device check and OTA publish, which wait on Jay (references/mobile-device-check.md).

The references/ plans and spec are the build record. Their genui project flag, GENUI_ENABLED kill switch and KORTIX_GENUI sandbox env were deleted on 2026-10-24. A stored experimental.genui project override is ignored, and the API sends experimental.genui: true for older clients.

Phase 0 (provisional, local stand-in models): GO (2026-10-09, prompt 00a9030e). Valid: deepseek-v4.1-flash 100.0%, glm-5.3-flash 100.0%, gate 97.0%; kimi-k3 unavailable (503); Jay's 4 models untested. See references/eval-results.md.

PathWhat it is
references/spec.mdThe product spec: problem, goals, architecture, the 17 v1 components, streaming contract, toggle, requirements with acceptance criteria, Phase 4 guards, metrics, phases, risks, open questions
references/plan.mdMaster implementation plan: architecture, global constraints, review focus, spec deltas D1–D12, file map, interface contracts, order of work, delivery
references/plan-1-sdk.md@kortix/sdk/genui + /genui/react + default components (9 tasks; code verified before writing)
references/plan-2-eval.mdPhase 0 evaluation of 4 models on 46 synthetic cases, go/no-go gate (2 tasks)
references/plan-3-runtime.mdChannel guards, and the deleted flag and kill switch (3 tasks, historical; the prompt-injection tasks are removed)
references/plan-4-web.mdWeb and desktop renderer, components, charts, map, settings, copy/export, telemetry, verification (8 tasks)
references/plan-5-mobile.mdMobile renderer, components, charts, map, settings, copy, device check, OTA (7 tasks)
references/eval-results.mdPhase 0 results: one summary table per eval run, appended by scripts/eval.ts
references/mobile-device-check.mdOn-device checklist for mobile (Jay runs it), the OTA publish procedure, the old-build check
scripts/eval.tsPhase 0 runner: every case against each model through the LLM gateway; writes output/genui-eval/ and appends eval-results.md. GENUI_EVAL_CASES runs a subset; GENUI_EVAL_EFFORT sends reasoning_effort. A Codex model needs a project gateway key (POST /v1/projects/{projectId}/gateway/keys) as GENUI_EVAL_TOKEN: a PAT has no project, so the gateway answers provider_not_connected
scripts/eval-prompts.jsonThe 60 synthetic eval cases: prompt, optional tool result (context), expected UI use (expect), forbidden components (forbid), richness bar (rich)
scripts/score.ts, scripts/score.test.tsScores one reply (valid blocks, overuse, underuse, forbidden components, images, foreign images, interleaving, prose share, thin) and applies the go/no-go gate

Rules that already hold

  1. UI travels as an openui fenced block inside the existing text part. kortix.transcript.v1 does not change.
  2. Only @kortix/sdk/genui imports @openuidev/*. Pin it to an exact version.
  3. Every component has a zod schema, a web renderer, a native renderer, and toMarkdown. A component enters the prompt only when all four exist.
  4. The catalog is the kortix-genui managed system skill (packages/starter/templates/managed/skills/kortix-genui/SKILL.md), generated from buildGenuiPrompt() by bun packages/sdk/scripts/genui-skill.ts; packages/sdk/src/genui/skill.test.ts fails while it is stale. It is never in the system prompt. Every session lists it; there is no flag (apps/kortix-sandbox-agent-server/src/__tests__/managed-skills-genui.test.ts).
  5. No raw model output reaches Slack, push, email, or the CLI. Run toMarkdown.
  6. Query, Mutation, Form, Input, and Button are Phase 4 only, with the guards in references/spec.md §9.
  7. A Map draws tiles only from a style we configure: web NEXT_PUBLIC_GENUI_MAP_STYLE_URL (optional NEXT_PUBLIC_GENUI_MAP_STYLE_URL_DARK), mobile EXPO_PUBLIC_GENUI_MAP_STYLE_URL. Unset, it renders the place list with OpenStreetMap links. Never mapcn's CARTO default (commercial license). Web loads MapLibre only with a style set, and serves its worker from /maplibre/ (copied out of node_modules by apps/web/scripts/viewer-wasm.mjs).
  8. A node that fails its schema never takes valid content with it. sanitizeTree (packages/sdk/src/genui/validate.ts) puts its valid subtrees in its place, in source order. A subtree the parent slot cannot hold rises to the nearest ancestor that can (any block fits a Stack); a non-block gives up its own children. A root that fails becomes a Stack of its subtrees. Only a block with no valid subtree has root: null.
  9. Every host runs separateGenuiClosers (@kortix/sdk/genui/fence) on reply text before it looks for fences: it moves a closer the model glued to the last statement (…")````) onto its own line. genuiToMarkdown runs it itself. The web (unified-markdown.tsx), mobile (selectable-markdown.tsx) and scripts/score.ts` call it directly.
  10. A block's root is any block (root = Steps(...)); sanitizeTree wraps a non-Stack root in a Stack. The skill body is ours: PREAMBLE, SYNTAX, the lang-core signatures from GENUI_LIBRARY.toSpec(), RULES, EXAMPLES (packages/sdk/src/genui/prompt.ts). lang-core's prose sections are not used.
  11. Photos for a visual answer come from ONE batched image_search call; a Checklist's ticks never leave the device.
  12. A client whose bundled SDK predates a component cannot render or convert it: the parser reports unknown-component and no-root, and the block shows This content could not be displayed., not the component's markdown. This hits a published CLI (genuiToMarkdown in apps/cli), a mobile build without the OTA, and third-party hosts on an older @kortix/sdk. Ship order for a new component: publish the CLI on the new SDK and send the mobile OTA first; only then let the regenerated kortix-genui skill that teaches it reach sandboxes.
  13. The kortix-genui description leaves software installs and terminal steps out on purpose ("How do I install Node.js on macOS? Step by step." stays prose with code fences). scripts/eval.ts puts the skill in the system message, so it measures the reply shape, not whether the agent loads the skill: measure the trigger in a real session.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Genui?

Generative UI for Kortix: the agent writes typed UI blocks (cards, comparisons, charts, maps, tabs) in OpenUI Lang inside its replies, and web, mobile, and SDK hosts render them through `@kortix/sdk/genui`. Load WHENEVER you design, build, review, or debug generative UI, the `openui` code fence, the genui prompt instructions, a genui component, the `kortix-genui` system skill, or the `@kortix/sdk/genui` or `/genui/react` subpaths.

Firwat Genui op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Genui besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Genui an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/kortix-ai/CompanyOS/tree/dev/.agents/skills/genui an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Genui benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Genui benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Genui domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Genui gratis?

kortix-ai huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇