akabuild only
Site chrome
These are akabuild's, not the system's: the head and foot of the site, the project plates and marks, the deck, and the classes one page owns. They are written in akaSTYLE and documented here so everything in components/ui and globals.css is accounted for, and they do not travel to another repo.
A component takes data and decides its own markup, so what is printed under each one is the call rather than a class. Every piece drawn below is a server component except the deck's specimen.
SiteHeader
The head of the site: the wordmark, the nav and the theme switch, fixed, detaching into the overlay material on scroll.
SiteHeader
import { SiteHeader } from '@/components/ui/site-header'
<SiteHeader />Mounted once in app/layout.tsx. A whole-page fixture rather than a piece a page composes, which is why it is not rendered here.
| Token | Sample | Light | Dark |
|---|---|---|---|
| --header-glass | oklch(0.866 0.004 106.485 / 0.55) | color-mix(in oklch, var(--background) 55%, transparent) | |
| --header-edge | oklch(0.475 0.001 0 / 0.08) | oklch(1 0 0 / 6%) | |
| --header-fade-to | oklch(0.866 0.004 106.485 / 0) | transparent | |
| --header-drawer | oklch(0.885 0.011 112.391) | oklch(0.1634 0.0083 95.54) | |
| --header-drawer-edge | oklch(0.475 0.001 0 / 0.12) | oklch(1 0 0 / 8%) | |
| --header-bar | oklch(0.122 0.001 0 / 0.88) | oklch(1 0 0 / 65%) |
--header-glassThe site header's own chrome: the glass it becomes on scroll, its edge, the mobile drawer and the hamburger bars. These were literals inside the component, one per theme; the values are unchanged and now theme themselves. The glass and the drawer are deliberately darker than the page ground and are not aliases of --background.
ThemeProvider
next-themes, set up to put the .dark class on the document, which every dark token reads.
ThemeProvider
import { ThemeProvider } from '@/components/ui/theme-provider'
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem={false}>
{children}
</ThemeProvider>Infrastructure, like ConditionalFooter. The rest of its props pass through to next-themes.
ThemeProvider
Client component
| Prop | Description |
|---|---|
childrenReactNode | The app. |
DemoBack
The way back to the projects index, in the left margin under the wordmark on every write-up.
DemoBack
Uses.aka-demo-back
import { DemoBack } from '@/components/ui/demo-back'
<DemoBack />Mounted once in app/demo/layout.tsx and fixed to the viewport, so it belongs beside the write-ups rather than inside a card. Its wrapper borrows the site header's container classes, so it lines up with the logo at every breakpoint; .aka-demo-back hides it on the index and on the full-bleed demos with :has(), not a route check.
ProjectPlate
A project at plate size: its mark on a tinted plate, its name, and one word.
ProjectPlate
import { ProjectPlate } from '@/components/ui/project-plate'
<ProjectPlate item={project} />It replaced a card that surrounded a 26px mark with a border, a description, four tags and an arrow, which made the cleanest element on it also the smallest. The chrome went and the mark took the space. The plate is landscape and the mark square, so the inset is sized off the plate's height: off the width, the mark would grow by a third the moment the plate stopped being square. Art that carries its own ground fills the inset; a bare glyph shows the tint through it; a screenshot takes the whole plate, because a picture of the work cropped small in a large plate reads as a thumbnail of a thumbnail.
ProjectPlate
Server component
| Prop | Description |
|---|---|
itemProjectItem | The project, from lib/projects.ts. |
priority?boolean | Preload the mark. True for the first plate in a grid, which is the largest paint.Default false |
ProjectMark
The same identity at any size. Which art a project gets is decided once, in the component.
ProjectMark

Uses.aka-mark-ground
import { ProjectMark } from '@/components/ui/project-mark'
<ProjectMark item={project} size={96} />Marks drawn light on nothing carry their own dark ground, .aka-mark-ground, on the mark rather than the plate, so a light theme keeps a light grid instead of two black tiles in it. Not a theme token: the fact is about the artwork, not the page.
ProjectMark
Server component
| Prop | Description |
|---|---|
itemProjectItem | The project. |
sizenumber | Rendered size of the mark itself, in px. |
sizes?string | next/image sizes, for the bitmap branches.Default '96px' |
priority?boolean | Preload this one. |
ProjectGrid
The wall on /demo and the landing's six, from one component.
ProjectGrid
import { ProjectGrid } from '@/components/ui/project-grid'
<ProjectGrid items={[a, b]} columns={2} flush />Flush inside prose, two across for a short group: three columns for two plates leaves a hole.
ProjectGrid
Server component
| Prop | Description |
|---|---|
itemsProjectItem[] | The projects, in order. |
reveal?boolean | Lift each plate in as it is scrolled to.Default false |
flush?boolean | Drop the overhang, for a grid inside prose.Default false |
columns?2 | 3 | Widest-breakpoint column count. Two for a short group.Default 3 |
ProjectLogo
The logo kits' currentColor variants, by name.
ProjectLogo
import { ProjectLogo, LOGO_NAMES } from '@/components/ui/project-logo'
{LOGO_NAMES.map((name) => <ProjectLogo key={name} name={name} size={36} />)}LOGO_NAMES is the whole set.
ProjectLogo
Server component
| Prop | Description |
|---|---|
nameLogoName | string | One of LOGO_NAMES. |
size?number | The longest edge. A wordmark keeps its proportions.Default 68 |
className?string | On the svg. |
Brand logos
The product icons, inlined from each repo's own icon.svg and re-expressed in currentColor.
Brand logos
import { CircleheadsLogo, AkaOssLogo, AkaVstLogo } from '@/components/ui/brand-logos'
<CircleheadsLogo size={40} />
<AkaOssLogo size={40} />
<AkaVstLogo size={40} />CircleheadsLogo
Server component
| Prop | Description |
|---|---|
size?number | Edge length in px.Default 96 |
className?string | On the svg. |
AkaOssLogo
Server component
| Prop | Description |
|---|---|
size?number | Edge length in px.Default 96 |
className?string | On the svg. |
AkaVstLogo
Server component
| Prop | Description |
|---|---|
size?number | Edge length in px.Default 96 |
className?string | On the svg. |
BlockpadMark
Blockpad's dark and light icon masters, transcribed into one drawing whose palette swaps in CSS.
BlockpadMark
Uses.aka-blockpad
import { BlockpadMark } from '@/components/ui/blockpad-mark'
<BlockpadMark size={48} title="Blockpad" />.aka-blockpad swaps the palette by theme, so the mark stays a server-rendered SVG instead of a component that reads the theme.
BlockpadMark
Server component
| Prop | Description |
|---|---|
size?number | Edge length in px.Default 64 |
title?string | Give it a label to expose it as an image; leave off when decorative. |
className?string | On the svg. |
CovartMark
The akaCOVART mark, drawn as an SVG.
CovartMark
import { CovartMark } from '@/components/ui/covart-mark'
<CovartMark size={48} title="akaCOVART" />CovartMark
Server component
| Prop | Description |
|---|---|
size?number | Edge length in px.Default 64 |
title?string | Give it a label to expose it as an image; leave off when decorative. |
className?string | On the svg. |
MarkGlyph
A drawn mark for a project that never had a logo: a character grid with one accent cell.
MarkGlyph
import { MarkGlyph } from '@/components/ui/mark-glyphs'
<MarkGlyph name="zero" />MarkGlyph
Server component
| Prop | Description |
|---|---|
namestring | Which glyph. |
size?number | Edge length in px.Default 60 |
accent?string | The card's hue, for the accent cells. Falls back to the ink. |
PlainSummary
The plain-language answer at the top of a write-up, with its longer version behind a native details.
PlainSummary
In simple terms
Ubik Studio was a desktop program that worked like a research assistant: the AI did the reading and the drafting, and a person stayed in charge of every judgment call.
You pointed it at an ordinary folder of PDFs and papers on your own computer. It read and indexed them locally, searched across dozens at once, and pulled out what mattered. The rule it enforced was simple: the AI could not state a fact or write a sentence unless it could attach a direct quote and an exact page number from your own files.
When something needed a human decision, the agent stopped mid-task and said so. You got a review queue and approved, rejected or edited each claim before it reached the draft.
The impact. Most AI writing tools of the era tried to replace the researcher and shipped a wall of text nobody could check. Ubik did the opposite: it took the tedious half of the work and made the person verifying it the point of the product, which is the pattern the industry has spent the years since rebuilding.
Why this was ahead of its time in 2023
In 2023 the state of the art in public was a single chatbot in a text box. It hallucinated freely, could not cite anything reliably, and left you copying snippets back and forth by hand. Ubik was already doing five things the field would spend the next several years arriving at.
Multiple specialised agents, not one general chatbot
Then you talked to one model that tried to do every part of the job at once.
Ubik split the work across sub-agents, a PDF reader, a literature researcher and a drafting agent, and let you assign a different model and reasoning depth to each. A cheap fast model ingested text; an expensive one wrote.
Citations enforced in code, not requested in a prompt
Then early chat-with-your-PDF tools were notorious for inventing quotes and giving page references that did not exist.
Ubik made it a programmatic rule. No exact quote and page number meant the claim could not be written at all, and every drafted line stayed linked to the highlighted source.
Human-in-the-loop as architecture rather than a confirmation dialog
Then you got either full automation or a tedious one-prompt-at-a-time conversation.
Ubik had a dedicated review queue and a Human Needed status. The agent paused at judgment calls, queued the evidence, and waited to be approved, rejected or corrected in batches.
Local-first, on your own machine
Then nearly everything required uploading confidential research to somebody else’s cloud.
Ubik ran on the desktop against your real file system. Pointing it at an existing folder indexed it in place, with no proprietary silo to move your data into.
Reading many long documents at once
Then context windows were often four to eight thousand tokens, which made cross-referencing several papers essentially impossible.
Ubik let you mention a dozen papers in one prompt and read them in parallel against a working draft instead of summarising them one at a time.
While most companies that year were putting a wrapper around a chatbot, this was already the interaction design, the verification safeguards and the multi-agent workflow the rest of the field would go on to build.
import { PlainSummary } from '@/components/ui/plain-summary'
<PlainSummary path="/demo/ubik" />PlainSummary
Server component
| Prop | Description |
|---|---|
pathstring | The write-up's route, which keys its summary in lib/plain-summaries.ts. |
archive?{ title: string; href: string }[] | The subject's own surviving writing, linked from the summary. |
TrickleSpecimen
The Trickle kit's plate: fifteen of its text animations, running, all of it CSS.
TrickleSpecimen
Uses.aka-trickle-line.aka-trickle-swap
import { TrickleSpecimen } from '@/components/ui/trickle-specimen'
<TrickleSpecimen />The landing plate runs the kit's word swap through .aka-trickle-line and .aka-trickle-swap, which are the kit's effect rather than house motion.
The deck
The Cover Flow deck on /demo: vertical scroll, a horizontal deck, posed by one custom property.
Scroll-linked deck
Uses.aka-flow.aka-flow-section.aka-flow-track.aka-flow-card.aka-flow-caption.aka-flow-strip.aka-flow-slot.aka-flow-grid.aka-flow-pill.aka-flow-pill-track.aka-flow-specimen[data-view]
.aka-flow-section one --flow-step of height per cover; the stage inside is sticky .aka-flow-track reads --flow-pos and poses every cover from it .aka-flow-card one cover, turned and pushed back by its distance from the centre
Law 08 as the smallest thing that shows it. Drag the slider: one custom property changes and five covers re-pose, with no React render in between. The deck on /demo is this with the page scroll in place of the slider and eighteen covers in place of five.
| Token | Sample | Light | Dark |
|---|---|---|---|
| --flow-cover | min(62vw, calc((100svh - var(--flow-cap) - 208px) * 4 / 3)) | as light | |
| --flow-near | calc(var(--flow-cover) * 0.56) | as light | |
| --flow-far | 9px | as light | |
| --flow-depth | 78px | as light | |
| --flow-turn | 36deg | as light | |
| --flow-persp | 900px | as light | |
| --flow-step | 30vh | as light | |
| --flow-cap | 250px | as light | |
| --flow-pin | max(104px, calc((100svh - var(--flow-band)) / 2)) | as light | |
| --flow-band | calc(var(--flow-cover) * 0.75 + var(--flow-cap) + 132px) | as light |
--flow-coverThe Cover Flow deck.
Seven numbers, and they are the whole difference between the desktop deck and the phone one. A 3D deck tuned for 1440px on a 375px screen is not a smaller deck, it is a broken one: the side covers turn edge-on and become a few pixels of nothing. So the phone gets the same mechanic with the rotation, the spread and the depth dialled down, which is these values and no second code path.
--flow-cover the centred cover's width. Everything else is derived.
--flow-near how far the first off-centre cover sits. A fraction of the
cover, so the deck always overlaps by the same amount.
--flow-far the extra per-card fan beyond the first, so the stack at
each edge reads as a deck of many rather than a deck of one.
--flow-depth how far back an off-centre cover is pushed.
--flow-turn how far it rotates away.
--flow-step how much page scroll advances the deck by one cover.
--flow-cap the caption's floor. Fixed, because law 06.
The band is derived rather than given: cover height, plus the caption, plus the rail and the gaps around them. A band stated as a viewport fraction is a band that crops its own contents on somebody's laptop.
The cover is bounded by the window's height as well as its width.
Stated as a width alone, the band could come out taller than the screen, and then the deck landed with its top under the header and its button off the bottom — the snap doing exactly what it was told, to a band that never fitted. This is the height that leaves room for the caption, the site header and some air, converted back to a width through the 4:3 plate.
Page classes
Classes that belong to one page: the lab log's figures and the section fades.
Page classes
Usesbkz-*.section-fade-left.section-fade-left-heavy
bkz-* the BKZ lab log's figures, bars and chips section-fade-left a gradient from the ground, for a section over a visual section-fade-left-heavy the same, reaching further
