---
title: "Playground — the Kition SDK live in your browser"
description: "Open a spreadsheet, slide deck, document, PSD or Markdown note in the real Kition editors, or open your own file: it stays in your browser. Edit, download, and copy the code that does the same in your product."
canonical: "https://developer.kition.ai/playground"
---

> Canonical HTML: [https://developer.kition.ai/playground](https://developer.kition.ai/playground)

Playground · live previews

# The real editors, live

Pick a kit, open a sample or your own file, edit it and download the result. Your file stays in this tab: nothing is uploaded. Under it: the code that puts the same editor in your product, and how to hand the file to an agent.

Open your own fileUp to 20 MB · stays in your browser

Published today: the Note and Table kits’ packages. The other kits run here as previews; their packages are not published yet.

Sample · Household BudgetThe samples are kition-showcase documents: each made with the kit’s own commands, and pictured by the kit’s own renderer.

kition-sheet · household-budget.xlsx

Opens household-budget.xlsx in the real Sheet editor. Loads about 33 MB.

The other 11 kits are in the Kition desktop app:

[Motion](https://kition.ai/kits/motion)[Film](https://kition.ai/kits/film)[Vector](https://kition.ai/kits/vector)[Layout](https://kition.ai/kits/layout)[Design](https://kition.ai/kits/design)[Scene](https://kition.ai/kits/scene)[Board](https://kition.ai/kits/board)[Cad](https://kition.ai/kits/cad)[Table](https://kition.ai/kits/table)[Pdf](https://kition.ai/kits/pdf)[Html](https://kition.ai/kits/html)

Exit 01 · Your product

## Copy the code for this

What this playground does, for the Sheet kit and household-budget.xlsx: the editor in your page, or the same engine in a script.

embed.ts · @kition/embed

```
import { KitionEmbed } from '@kition/embed'

// The same editor as the playground's, in your page.
const editor = await KitionEmbed.mount(element, {
  kit: {
    id: 'kit.sheet',
    // static files on your CDN: the editor and its WebAssembly engine
    url: 'https://cdn.example.com/kition/sheet-ui/',
  },
  file: { id: file.id, name: "household-budget.xlsx" },
  // your StorageProvider:
  // read, stamp, write (versioned), create
  storage,
  locale: 'en-US',
  theme: { colorScheme: 'dark' },
})
await editor.ready()

// "Download" here: save through your storage,
// then read the bytes it wrote.
await editor.save()
```

script.mjs · @kition/script

```
import { readFileSync, writeFileSync } from 'node:fs'
import { openKitPackage } from '@kition/script/node'

// The same Sheet engine as the editor, in Node, with no page.
const kit = await openKitPackage('./kits/sheet-ui')
const file = kit.open("household-budget.xlsx", readFileSync("household-budget.xlsx"))
const doc = await file.model()
// the object model and every command
const described = await doc.describe()
// ... edit through typed proxies (doc.run), then:
writeFileSync("household-budget.xlsx", file.save())
```

[How embedding works](https://developer.kition.ai/embed)

Exit 02 · Your agent

## Hand this file to an agent

Connect the kit tools over MCP, then give your agent the file and this prompt. Its edits wait in a draft for you to review.

Claude Code · terminal · in your project folder

```
claude mcp add kition -- npx -y @kition/kits-mcp --workspace "$PWD"
```

prompt · household-budget.xlsx

```
Open household-budget.xlsx in the workspace with the Kition Sheet kit (tools sheet_*).
Read the data, add a summary row with formulas and a chart of it.
Inspect it first with sheet_inspect, find real command ids with sheet_commands,
make the change with sheet_run (draft: true), call sheet_check and fix what it reports,
then sheet_draft_ready. Do not merge: I review the draft.
```

The Sheet kit’s package is a preview, so a local MCP server cannot open household-budget.xlsx yet. The same steps work today with the Note kit (Markdown), the published one.

[Connect your agent](https://developer.kition.ai/agents)
