Gå til hovedinnhold

Try it in your browser

These are demonstrations of the engine underneath kapi: pseudo-translate a file, count its words, and list the formats, tools and flows the engine knows. Each one runs the real kapi binary in your browser, with no install and no setup. To set up the writing gate for a project of your own, start with Your first project.

These are ad-hoc runs (one command, one file, configured by flags), the right shape for one-off jobs, scripting, and CI. Each command below carries a ▸ Run button, and nothing leaves your machine. The first run takes a moment to start; later runs start at once.

For a guided path through the whole tool, the learning labs run a sample company's repository in the same engine, chapter by chapter: what a project is, what governs a file, the checks, an edit, and then the loop that adds languages.

Pseudo-translate a file​

Generate pseudo-translations to test your UI for truncation and layout issues. Press ▸ Run: it seeds a small messages.json and writes messages-qps.json, which you can preview in the Files panel:

kapi pseudo-translate messages.json -o messages-qps.json

The output is accented text like ▒ Ĥéļļö, Ŵöŕļđ! ▒ that exposes untranslated strings and layout problems. With no --target-lang, kapi uses the qps pseudo-locale; pass --target-lang to target a real locale.

Size the content​

Estimate translation volume for cost planning:

kapi stats messages.json

Explore formats, tools, and flows​

List every format kapi understands, then the processing tools and composable flows:

kapi formats
kapi tools
kapi flows

Edit before you run​

With editable, the command is placed at the prompt instead of running automatically; press Enter when you're ready, or tweak it first:

kapi stats messages.json --json

For a full interactive terminal, open the CLI playground.

Beyond the demo​

The commands that talk to a model or edit files in place run after you install; each has its own guide:

Next: set up a project​

Once you work on the same content more than once, a kapi project captures the content patterns, your flows and, if you translate, your languages, so you stop repeating flags. kapi init also wires the coding agents in the repository for kapi, and from then on what they notice about how you write is recorded for you to confirm: create your first project on the desktop, from your agent, or on the CLI (Projects explains the model).