Skip to content

The AI assistant, and how its allowance is counted ​

Two jobs in the editor are dull, mechanical and therefore never done: writing the description of an element nobody described, and reading the whole model looking for what is wrong with it. The assistant does those. It runs on our provider, so there is no key to obtain and nothing to configure — you sign in and the buttons are there.

What it can do ​

  • Describe an element — the ✨ button beside the character count in any element panel. It reads the element, its parent and the elements it talks to; it does not read your code.
  • Review the model — the ✨ button in the toolbar opens a panel that reports what is undescribed, what nothing talks to, what looks like the same job done twice, and the shapes that tend to hurt later: a datastore several services write into directly, a service everything depends on, a dependency cycle.

Nothing is applied on its own ​

A suggested description is shown to you and lands in the model only when you press Use it. Findings are read-only: each one names a real element, clicking it takes the canvas to that element, and what to do about it stays your decision. A finding that names something not in your model is discarded before you see it — the panel says how many were discarded, so you can judge how much the assistant is inventing.

A review is stored with the project, not with your browser: it survives a reload, and your colleagues read the review you already paid for instead of running it again. It is a snapshot, so the panel says when it was taken.

How the allowance is counted ​

Every account gets an allowance for the calendar month, and it starts fresh on the first. Spending is measured in units, not in requests: a call costs one unit per token sent and eight per token written back, because that is the ratio the provider charges. This is why the assistant is careful with its output — descriptions are capped at 120 characters and a review at a dozen findings.

  • A description costs roughly a thousand units; a review of a sixty-element model about twelve thousand. In practice a review is about ten descriptions.
  • Before a call the worst case is held back, and the difference is returned the moment the answer arrives. That is why a review can be refused while a description still goes through — the two ask for different amounts, and the message says which case you are in: used up means nothing is left, not enough left for this means a smaller request would still work.
  • Asking twice for the same thing is free. An answer is kept against the exact context it was written for, so pressing the button again on an unchanged element costs nothing. Change the element — or any of its neighbours — and it is a new question.
  • Guests can draw, but not use the assistant: the calls cost real money, so they need an account behind them.

When the allowance runs out the buttons say so and stop; nothing else in the editor is affected, and the next month starts clean.

Bringing a model of your own ​

The chat agent can run on an endpoint you host yourself — a Qwen served by vLLM on a RunPod pod, an Ollama on your own machine, anything that answers an OpenAI-style /chat/completions. In account settings, under Assistant, give the base URL (the address up to and including /v1), the model name the endpoint expects and, if it asks for one, an API key. The model then appears on your list beside the ones the server offers, and nothing sent to it is counted against your allowance. The key is stored encrypted and never shown again; the endpoint is yours alone and is not shared with the people you share a project with.