Skip to main content

Guides

Each guide takes a single task (check content, translate it, review what a machine couldn't decide) and shows the same job through three doors, in order: Kapi Desktop, your AI agent, and the CLI. The interactive embeds run the real kapi binary in your browser: no install, no server, no API key.

For what kapi is and how the surfaces relate, see the Kapi overview. For every command and flag, see the command reference.

Get oriented​

kapi --help lists the writing commands in every project. It adds the language commands once the recipe declares a target language, and before that kapi help languages lists them. kapi help --all lists every command, including the engine's.

The writing commands lead with seven, in the order a person meets them:

  • kapi look: see the project, or one file with its rules and findings in place.
  • kapi rules: decide, list, narrow or drop the rules the project keeps.
  • kapi check: check content against its rules, and fail on a failing finding.
  • kapi fix: apply the fixes kapi can make on its own.
  • kapi connect: put an assistant on the project.
  • kapi share: share the rules with your team.
  • kapi open: open the folder in Kapi Desktop.

The tour below runs a copy of kapi in your browser, with no install and no server. That copy prints the full list from kapi --help. Then kapi formats and kapi tools, two engine commands, list the format readers and the processing tools you can run on a file's blocks. Step through the tour from the rail, or press Run all.

Loading the walkthrough…

The explorer below shows the format engine round-trip. Run a file through pseudo-translate and compare the source with the output. Only the text changes; the tags, keys and attributes around it come back byte for byte. The guides use the same reader and writer.

Loading the interactive lab…

Ad-hoc or project?​

Use a kapi project for any repository or content set you work on more than once. Its committed recipe holds the content patterns, the voice, terms and coordinates that govern them, your flows and, if you translate, your languages. Every command finds the project from any subdirectory, as git does, and the project's store keeps content memory, terminology and approvals across runs. Create your first project covers the setup, and Projects explains the concept.

kapi also runs ad-hoc: a command on the files you name, with nothing saved. Use it for one-offs and scripts. The guides note the project form where it differs.

Your writing​

The gate in a project with one language: check content, keep terms and voice, and edit or create content with an agent.

Languages​

What a target language adds: translation, review, and the gates per language.

The engine​

Formats, tools, flows and plugins underneath, for developers. Every command is in the command reference.

Next steps​