Chat & AI
Code artifacts
Accent
Scheme
Backdrop motion
Chat & AI

Code artifacts

What a coding assistant shows beside its words: a generated file, a commit, secrets, previews of markup and pages, a package change, a tool's run, an endpoint, a line to copy.

Artifact

A frame for something generated, with a header of actions.
ArtifactArtifactAction's children are its icon; tooltip shows on hover. ArtifactClose does nothing by itself: the page decides.
area.pyGenerated a moment ago, 7 lines
import math
def area(r):
return math.pi * r ** 2
for r in range(1, 4):
print(f"r={r}: {area(r):.2f}")
Circleschanges the generated code
Last action
nothing yet

Commit

A commit that opens on its header to show the files it touched.
CommitPress the header (or Enter on it) to open and close. The copy button copies the whole hash.
AL
Let a page say which microphone it listens to
9f3c2abAda Lovelace
Mcompiler/src/view.rs
+42-9
Akit/ai.mote
+812
Druntime/widgets/old.js
-131
Rdocs/kit/ai.md
+3-3
GH
Starts closed: no open on the root
41d7e55
MREADME.md
+2
Totals, from the same list
4 files, +857 -143
Timestamps and statusesCommitTimestamp takes milliseconds and says how long ago; the full date is its title. CommitFileStatus has a letter and a colour for each of four words.
20 seconds before now
5 minutes before now
3 hours before now
30 hours before now
6 days before now
35 days before now
4 months before now
400 days before now
3 years before now
Aadded
Mmodified
Ddeleted
Rrenamed

Environment Variables

Values are dots until shown, and are not in the page while hidden.
Composed, with a toggleshowValues lives in the page and goes to the toggle and each value. Three copy buttons per row: the value, the name, an export line.
.env.production
DATABASE_URLRequired
••••••••••••••••••••
OPENAI_API_KEYRequired
••••••••••••••••••••
SENTRY_DSN
••••••••••••••••••••
PORT
••••
values hidden
Short formGiven name and value, EnvironmentVariable draws both itself, with its children between them. Each takes its own showValues.
NODE_ENVproduction
SESSION_SECRETRequired••••••••••••••••••••
REGION••••••••••
The first is always shown, the second never; the third follows the toggle in the card beside this one.

HTML Preview

The original draws a JSX string as React components. Here the same names preview generated HTML, in a frame of its own with scripts off.
HtmlPreview, streamingThe markup is made here from the two fields. While it streams, tags still open at the end are closed so the half-written page draws.
Place
Degrees4°
The markup so far
479 of 479 characters …km/h</b></li><li>Humidity <b>77%</b></li><li>Sunset <b>15:42</b></li></ul></div></article>
Cut shortThe same ragged markup twice: cut off inside a tag, with a quoted > and a stray <. Streaming closes what is open; not streaming leaves it as written.
The markup
<ul><li>One</li><li>Two <b>bold</b> and 1 < 2 <a href='#x>y'>a link</a><br><img alt="a>b" src="data:image/gif;base64,R0lGODlhAQABAAAAACw="><p>cut <span cla
isStreaming=true
not streaming
JSXPreviewGiven html it draws JSXPreviewContent and JSXPreviewError. The error part speaks only when the markup asked for a script, which was not run.
Markup with a <script> in it:
Composed by hand, with markup that asks for nothing:
No error part: there was nothing to refuse.

Package Info

A dependency and how it changed.
Five kinds of changeGiven name, PackageInfo draws its header and versions itself; its children follow.
reactmajor
18.3.119.2.0
The library for web and native user interfaces.
Dependencies
scheduler^0.27.0
react-dom19.2.0
zodminor
3.23.83.24.0
lucidepatch
0.544.00.544.1
@mote/kitadded
1.0.0
left-padremoved
1.3.0
Composed by handWithout name the root is only the frame; each part is handed what it shows.
sqlite-wasmpatch
3.50.33.50.4
SQLite itself, as the SQLite project builds it, pinned.
Peer dependencies
mote>=1.0
no-version
PackageInfoChangeType
majorminorpatchaddedremoved
PackageInfoVersion
1.0.0
1.3.0

Sandbox

Code a tool ran and what it printed, under a header that carries the tool's state.
Code and outputtab is page state: each trigger writes it and each content shows when it matches. Run it: the badge goes to Running, then Completed.
area.pyCompleted
import math
def area(r):
return math.pi * r ** 2
for r in range(1, 4):
print(f"r={r}: {area(r):.2f}")
tab
code
Tool statesSandboxHeader's state, each drawn by AiKitStateBadge, which can stand alone. Sandbox open=false starts closed.
run_pythonPending
state="input-streaming"
run_pythonRunning
state="input-available"
run_pythonAwaiting Approval
state="approval-requested"
run_pythonResponded
state="approval-responded"
run_pythonCompleted
state="output-available"
run_pythonError
state="output-error"
run_pythonDenied
state="output-denied"
PendingRunningAwaiting ApprovalRespondedCompletedErrorDenied

Schema Display

An API endpoint: method, path, parameters and bodies, nested as deep as they go.
From dataGiven method and path it draws everything it is handed. Each section opens and closes; {params} in the path are picked out.
POST/v1/projects/{projectId}/deployments/{ref}
Start a deployment of a project at a ref.
Parameters3
projectIdstringpathrequired
The project to deploy.
dryRunbooleanquery
Check the request without deploying.
Authorizationstringheaderrequired
Bearer token.
Request Body
refstringrequired
Branch, tag or commit to deploy.
targetobjectrequired
Where it goes.
environmentstringrequired
production or preview.
regionsarray
Regions to deploy to.
regions[]object
codestringrequired
weightnumber
envarray
Variables for this deployment only.
env[]string
Response
idstringrequired
The deployment's id.
statusstringrequired
queued, building, ready or failed.
urlsarray
urls[]string
Composed by handWithout method and path the root is the frame. AiKitSchemaSection is the opening part the three sections are made of; use it for one of your own.
GET/v1/deployments/{id}
One deployment, by its id.
Parameters0
idstringpathrequired
The deployment's id.
Headers1
Authorizationstringheaderrequired
Bearer token.
Request Body
notestring
A GET sends none; shown for the part.
Response
idstringrequired
targetobject
environmentstringrequired
production or preview.
regionsarray
Regions to deploy to.
regions[]object
codestringrequired
weightnumber
{
"id": "dpl_8fK2",
"status": "queued",
"urls": ["https://app-8fk2.example.dev"]
}
SchemaDisplayMethod
GETPOSTPUTPATCHDELETE

Snippet

One line of code with a copy button.
SnippetGiven code it draws the usual row; prefix is the quiet word before it. Without code, compose the parts. The field cannot be edited.
$
git
The first one's code

Web Preview

A page in a frame, with an address bar that keeps history, three widths, full screen, and a console the page fills.
Web PreviewThe pages here are data: addresses the playground writes. Type any address and press Enter; back, forward and reload work the history.
page 1 of 1, desktop, loading
Console2
12:00 AMPage loaded in 142 ms
12:00 AMImage /hero.png has no width or height
Parts aloneAiKitWebFrame is the frame WebPreviewBody draws. A navigation button with no go takes a press of its own. A console with nothing to show says so.
WebPreviewNavigationButtonwith press, and disabled
0 presses
Console
No console output
esc
Pages
StartStart
Buttons & badgesComponents
Cards & disclosureComponents
Dialogs & drawersComponents
Menus & commandsComponents
Dates & tablesComponents
ChartsComponents
Chart galleryComponents
FieldsComponents
ChoicesComponents
DisplayComponents
NavigationComponents
Popovers & sheetsComponents
MessagesChat & AI
Prompt inputChat & AI
Reasoning & toolsChat & AI
Developer partsChat & AI
ConversationChat & AI
Code artifactsChat & AI
VoiceChat & AI
Code blocksChat & AI
MarkdownChat & AI
EditorElements
TerminalElements
FlowElements
3D boxesElements
PaintElements
SurfaceElements
MediaElements
IconsElements
PrimitivesElements
SQLBatteries
StorageBatteries
Net & resourcesBatteries
Crypto & bytesBatteries
ZipBatteries
TablesBatteries
PDFBatteries
TimeBatteries
ImagesBatteries
ScanBatteries
Video & audioBatteries
SearchBatteries
SyntaxBatteries
PatternsBatteries
NotifyBatteries
ShareBatteries
State & logicLanguage
WorkersLanguage
Events & elementsLanguage
StylingLanguage
RoutesLanguage
ShortcutsLanguage
Long listsLanguage
Failures & tryLanguage
Back endBack end
Models & writesBack end
Rules & failuresBack end
Jobs & schedulesBack end
Running itBack end
ExtensionsBack end
AIBack end
AnalyticsBack end
AboutAbout
↑↓move
↵open
676 places · ranked by BM25