deskc
Open a local board, ask your agent for design options, then choose and move them yourself.
Overview
deskc shows design options and documents on one canvas in your browser. The files are the source of truth: an agent writes them (through an MCP server or by editing files), and every open page updates at once. You drag cards, zoom, and pick an option. Your pick is saved in the file.
Use it to compare alternative pages or visual designs side by side while an agent works.
Status: alpha. Design options and markdown documents work. Sheets and decks are not built.
Install
uv tool install deskc
Python 3.12 or later. Linux, macOS, Windows (not tested on the last two).
Quickstart
-
From a clone of this repo, copy the sample into a folder:
cp -r examples/product ./product
-
Add the MCP server to the project. Run this in the folder that holds
product/:uvx deskc install
It writes
.mcp.json(withuvx deskc@latest mcp, so each start checks for a newer deskc) and keeps the servers already there. Run it again in a project to move its old entry to@latest. Claude Code also acceptsclaude mcp add --scope project deskc -- uvx deskc@latest mcp. -
Start the agent.
deskc mcpstarts the hub, a background process, and adds your project to it. -
Run
deskc open. It prints the address of the board and opens it in your browser. -
Drag a card by its header. Double-click a page to interact with it.
-
Ask the agent for a new option. It calls
propose_optionand the card appears on the page.
Addresses
There is one hub per user, on port 8765. Every project is a board on it.
http://localhost:8765/ the list of all projects
http://cabildo.localhost:8765/ the board of the project "cabildo"
- The name is the folder name. If two folders have the same name, the second is
parent-name. A name never changes once given. - The project root is the nearest folder above where you run deskc that has
product/, else the nearest with.git. Use--root DIRto set it. - Chrome, Firefox and Edge open
*.localhostby themselves. Safari is not tested. - Port 8765 is used by another program? Set
DESKC_PORT=8800for deskc and the agent.
The hub
The hub is not part of an agent, so it keeps running when the agent exits. Several agents, in any project, share it.
- The tools check the hub before each call and start it again if it stopped or is older than the installed deskc.
deskc openprints the board address and the log file.deskc stopstops the hub, so every board.deskc forget [name]removes a project from the list. Its files stay.- State and the log are in
~/.local/state/deskc/. deskc serveruns the hub in the terminal instead.deskc mcp --no-boardserves only the tools.- The hub answers only requests for
localhost,127.0.0.1and*.localhost. It refuses a change that comes from another web page.
If the hub is down, the agent's work is not lost: the tools write the files, and the board shows them when the hub starts.
Files
product/designs/<design>.yaml view, title, chosen, options (id, file, note, state, x, y, width)
product/designs/<design>/<id>.html one full HTML page per option
product/designs/<design>/shared.css optional stylesheet shared by the options of a design
product/notes.jsonl notes, choices and the agent's answers, one event per line
product/docs/<document>.md markdown, optional front matter: title, x, y
--root DIR sets the folder that holds product/ (default: the current folder).
Compare options
- Give every option of a design the same
width. The card shows the real layout, scaled down. Withoutwidththe page is shown at the card width (about 420 px), as before. - Click Open on a card to see that option at full size. Flip to the others with the tabs, the left and right arrow keys, or the keys 1 to 9. Click Choose there to choose. Esc closes it.
Feedback
People talk to the agent through the board. Everything is one file, product/notes.jsonl, that
only grows: one JSON event per line.
- Open an option, type in the box, then Add note or Changes wanted (needs text).
- Choose adds a choice event.
- The agent reads the events that it has not handled with
get_feedback, or waits for them withwait_for_feedback(up to 300 s). It answers withreply_feedback, which shows its reply under your note and marks the event handled. - Each tool result ends with "N unhandled feedback event(s)" while something waits, so the agent sees feedback without polling.
- A card with notes shows a badge. It says "changes wanted" until the agent handles the event.
Agent tools
list_artifacts: the designs, their options and the documents.get_choices: what a person chose, and the state of every option.propose_option: add or replace one option as a full HTML page. Passwidth(320 to 2560, for example 1280) so the board renders the page at that width and scales it to the card.write_design_css: one stylesheet shared by every option of a design. Options link it with<link rel="stylesheet" href="shared.css">. The board reloads the design's pages when it changes.patch_option: replace one exact piece of an option's HTML (findmust match once), without sending the whole page again.list_stories,propose_story_option: show a real component from the project's catalog (see Component catalog below).get_feedback,reply_feedback,wait_for_feedback: the choices and notes that people left on the board (see Feedback below).read_document,write_document: markdown documents.point_at: show on the board which card the agent is looking at.
There is no tool to choose an option. Only a person chooses.
Component catalog
Use this when you want options that are real React components, not drawings. A catalog is a running Storybook. deskc reads its story list and shows a story as a card.
- Run
deskc catalog. It finds the Storybook folder and prints the command to save it. - Save it:
deskc catalog --url http://localhost:6006 --dir apps/website - Start the catalog with the command
deskc catalogprints, for examplecd apps/website && pnpm run storybook. - Ask the agent to compare stories. It calls
list_stories, thenpropose_story_option.
# product/deskc.yaml
catalog:
url: http://localhost:6006
dir: apps/website
manager: pnpm # only if the folder has no lockfile, or two
deskc stays Python. It does not run Node and it never installs or starts the catalog. It picks the
package manager from manager, then packageManager in package.json, then the lockfile. If it
cannot choose, it says so and you pass --manager npm|pnpm|yarn|bun.
A story card is a frame that points at the catalog's own server. The address must be on this computer and not the hub's port. Story cards do not get the shared stylesheet or the scroll bridge, and they need the catalog to be running.
Key features
- Live updates: a changed file reaches every open page in under half a second.
- Live cursors and drags between people on the same server.
- Pan, zoom, fit, and a sandboxed frame for each page.
- Writes are atomic and names are checked, so an agent cannot write outside
product/.
Limits
- One server on
127.0.0.1. Remote collaborators need a tunnel. There is no login. - Saving a design rewrites its YAML file and drops its comments.
- Last write wins. No undo.
- Many live pages on screen at a low zoom can be slow.
Links
- Docs: https://cardona-oss.gitlab.io/deskc/
- Source: https://gitlab.com/cardona-oss/deskc
- Changelog: https://gitlab.com/cardona-oss/deskc/-/blob/main/CHANGELOG.md
Contributing
uv sync && make install-hooks, then make check. See CONTRIBUTING.md.
License
MIT © 2026 Jorge Cardona (see LICENSE).
Metadata
Release files for deskc 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deskc-0.1.19.tar.gz | 57.7 kB | Without provenance | Details for deskc-0.1.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deskc-0.1.19-py3-none-any.whl | Python 3 | none | any | Details for deskc-0.1.19-py3-none-any.whl |
Total release size: 107.4 kB
Release files / deskc-0.1.19.tar.gz
| Download URL | deskc-0.1.19.tar.gz |
|---|---|
| Size | 57.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06e4045d2eb86213254871d0ae7db821823c5e95031bb16f31cf44ba656f8729
|
|
BLAKE2b-256 checksum How to use checksums |
09a3315503d9b79a61c0de81fac3541bc198174985dcb97104ff71e31245dc3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / deskc-0.1.19-py3-none-any.whl
| Download URL | deskc-0.1.19-py3-none-any.whl |
|---|---|
| Size | 49.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6cd89aa3eafd70d0c55bfeaf5f4def33debeff7f520e0414dbd97e1e33c4917
|
|
BLAKE2b-256 checksum How to use checksums |
029cf05b0ea7eb14ce5c1f087568a256e716d5727733edc4d3539670da1c18ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for deskc 0.1.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.