Nekko Agent
Agents
Fix the flaky upload testWorking

The upload test fails about one run in five. Find out why.

It races the progress callback. I am waiting for the last chunk before asserting.

Edited upload.test.ts+12 −3

Message Nekko Agent…

Quiet surfaces

The design system behind Nekko Agent. Six rules, two colourways, one cat.

Two colourways
Take it home · Free MIT licence

Eight agents, one glance

No cards, no pills. A row is a glyph, a title and its facts, and the one you open takes a plum wash.

Six rules. No boxes.

Every screen in Nekko Agent follows the same six rules. A survey in November found 353 bordered boxes in the app. These rules are how they left.

Read why
  1. Space before lines. Gaps and type separate things. A border is the last resort.
  2. Say it once. One short line of help, at most. Detail waits behind a tap, a disclosure or a tooltip. Cut words before adding them.
  3. Only what matters now. Show what applies to this model, this chat, this state. What does not apply is gone, not greyed out.
  4. Colour means something. Plum for intent, state colours for state, Petrol for information. Neutrals do the structure.
  5. Every action moves. Each change animates, briefly and quietly. Nothing bounces.
  6. One surface per layer. No card in a card. A popover is the only thing that floats.

First, it fades in.

Menus and popovers arrive over 200ms on one curve, cubic-bezier(0.22, 1, 0.36, 1).

Then it rises a little.

Four pixels for a popover, eight at the very most. Travel is a hint, not a ride.

It never bounces.

No springs, no overshoot, no blur. A press scales to 0.97 in 120ms and comes straight back.

And it leaves in 150.

Exits run about a quarter faster than entrances. Reduce Motion keeps only the fades.

The spec sheet

Every value in both colourways, read from the app's stylesheet when this page was built. Agents can take it as JSON or Markdown.

Design tokens in Light Nekko and Dusk
TokenUseLight NekkoDusk
Neutrals
--paperPage#fbfbfd#0b0c14
--surfacePopovers, menus, tooltips#ffffff#14151f
--surface-2Raised: a secondary button on hover#f2f2f7#1d1f2c
--lineThe one hairline#e8e8ef#252735
--inkTitles, what you scan for#17171d#eaeaf4
--ink-softSupporting text, icons at rest#52525e#a3a4b6
--ink-faintMetadata and help#6c6c77#87899b
Intent
--accentThe one primary button, focus, selection, links, a switch that is on#5a2352#c084b5
--accent-softBehind a selected row#5a2352 at 13%#c084b5 at 18%
--ringThe focus halo#5a2352 at 35%#c084b5 at 45%
Information
--infoNotices, "New", tips, chart series three#1f6680#6bb8d4
--accent-2Chart series two#8a4a7f#c99bb3
State
--successWorking, done, connected: glyphs and dots#3aa870#4ec98a
--success-textThe same, as words#226f49#4ec98a
--warningExpiring, best so far#c9871f#e0a44a
--warning-textThe same, as words#8a5a0c#e0a44a
--dangerErrors and removal#d24738#e0574a
--danger-textThe same, as words#b23a2d#ef6a5d
--attentionAn agent waiting on you#e8701a#f58a3a
--attention-textThe same, as words#a84c0a#f58a3a
--neutralWatching, offline#8a8f98#8a8f98
Space
--q-tightCoupled pairs: a title and its subtext4px4px
--q-inlineRow padding, name to meta8px8px
--q-groupPanel padding, group to group20px20px
--q-sectionSection to section40px40px
--q-rowA row on a page40px40px
--q-row-denseA row in a popover or menu32px32px
Motion
--ease-outThe one curve, for everythingcubic-bezier(0.22, 1, 0.36, 1)cubic-bezier(0.22, 1, 0.36, 1)
--dur-fastHover and press120ms120ms
--dur-medToggle, select, open200ms200ms
--dur-slowMeters and theme changes260ms260ms
Type
Page titleGeist 20 / 600inkink
Section headingGeist 16 / 600inkink
Row title, pageGeist 14 / 500inkink
Row title, popoverGeist 12 / 500inkink
Group labelGeist 12 / 500ink-softink-soft
Detail, metaGeist 12 or 11 / 400ink-faintink-faint

Dusk

For late nights. Halfway between ink black and a blue midnight.

Page #0b0c14, ink #eaeaf4, plum #c084b5 for intent and Petrol #6bb8d4 for information. State colours run brighter so they read on the dark.

Freeforever

Light Nekko

The everyday colourway, with a plum that means business.

Page #fbfbfd, ink #17171d in three tiers, plum #5a2352 for intent and Petrol #1f6680 for information. Every state colour has a darker word colour that passes 4.5:1.

Freeforever

Questions, filed

Yes. Nekko Agent is MIT licensed, tokens included. Take the values, the rules and the checklist. The cat stays with us.

Boxes inside boxes are noise. Space and type do the grouping, a border is the last resort, and there is never a card in a card.

Plum is Nekko's own colour and it means intent: the one primary button, focus, what is selected. Petrol sits across the wheel for information, so the two never compete. We tried a plum dark called Night; the primary button vanished into it.

Buttons are 28 tall for a pointer and grow to 44 under a finger. The iPhone and Android apps keep their platform's symbols and share the colourways, the mascot and the words.

Every agent working on Nekko Agent reads the design system before touching a screen. This page is also served as Markdown and JSON, so yours can read it too.

  • No card, border or tile inside a view or popover, except the allowed objects.
  • Spacing is 8 or 20 (4 only for coupled pairs); groups separated by --q-group and a label.
  • At most one hairline, between sections of a different kind.
  • Every size on the type ladder; no tracked caps; no third line on a row.
  • One line of help at most; detail behind a tap or tooltip.
  • Only controls that apply to the current context are shown.
  • One primary button; plum only for intent; information in Petrol.
  • Agent status uses StatusIcon or WallMascot; other status is a dot and a word with -text words.
  • No hex, rgb(), Tailwind palette colour, white/black or token fallback in components.
  • Control icons are Gentleface and play once on hover, focus or press.
  • Every action has a motion from the table; removals offer Undo.
  • Checked in Light Nekko and Dusk, at 360px and desktop width.

Take it home

Copy a prompt that teaches your agent this design system. Paste it into any chat. Copy