kopi-editor commands
usage: kopi-editor [-h] [--no-input]
{analyze,proof,edit,cloud-test,deploy,deploy-status,settings,config,install,update}
...
Academic copyeditor: plain-language editing for academic prose.
positional arguments:
{analyze,proof,edit,cloud-test,deploy,deploy-status,settings,config,install,update}
analyze Diagnose a .docx: report cuts + per-paragraph needs
(no edits)
proof Conservative deterministic edit (no LLM) -> output/
edit Full plain-language edit via the LLM backend ->
output/
cloud-test Send paragraphs straight to the configured model (dev
smoke)
deploy Fire the vLLM/Qwen3 image build async (frees the
terminal)
deploy-status Check the pending build; finish + deploy when it's
ready
settings Edit the model backend, model and language in
env.yaml; any flag saves without asking (keys only
interactively or from the environment)
config Print the effective configuration
install Create env.yaml + folders and check dependencies
(idempotent)
update Upgrade dependencies and the spaCy model
options:
-h, --help show this help message and exit
--no-input Never ask a question: each one takes its default
answer
analyze
usage: kopi-editor analyze [-h] file
positional arguments:
file Input .docx (a bare name resolves against input/)
options:
-h, --help show this help message and exit
proof
usage: kopi-editor proof [-h] [--lang {british,american}] file
positional arguments:
file Input .docx (a bare name resolves against input/)
options:
-h, --help show this help message and exit
--lang {british,american}
Output variety (default from env.yaml)
edit
usage: kopi-editor edit [-h] [--lang {british,american}]
[--backend {anthropic,openai-compatible}] [--estimate]
[--approve-cost [DOLLARS]]
file [reduction]
positional arguments:
file Input .docx (a bare name resolves against input/)
reduction Optional words-to-remove guide
options:
-h, --help show this help message and exit
--lang {british,american}
Output variety (default from env.yaml)
--backend {anthropic,openai-compatible}
Model backend (default from env.yaml)
--estimate Print the most the edit can cost as JSON, and stop
--approve-cost [DOLLARS]
Stop before spending if the estimate is higher than
this
cloud-test
usage: kopi-editor cloud-test [-h] [--source SOURCE] [n]
positional arguments:
n Paragraphs to send (integer or 'all')
options:
-h, --help show this help message and exit
--source SOURCE Text file (default: newest output/*_edited.md)
deploy
usage: kopi-editor deploy [-h] [--ollama]
options:
-h, --help show this help message and exit
--ollama Deploy the legacy L4 Ollama service (synchronous)
deploy-status
usage: kopi-editor deploy-status [-h] [--wait]
options:
-h, --help show this help message and exit
--wait Block until the build finishes, then deploy
settings
usage: kopi-editor settings [-h] [--backend {anthropic,openai-compatible}]
[--lang {british,american}]
[--anthropic-model MODEL] [--llm-base-url URL]
[--llm-model NAME] [--llm-input-price DOLLARS]
[--llm-output-price DOLLARS] [--project ID]
[--region REGION] [--service NAME]
options:
-h, --help show this help message and exit
--backend {anthropic,openai-compatible}
Model backend
--lang {british,american}
Output variety
--anthropic-model MODEL
Claude model for the anthropic backend
--llm-base-url URL Server address ending in /v1, for the openai-
compatible backend
--llm-model NAME Server model, for the openai-compatible backend
--llm-input-price DOLLARS
Server's input price per million tokens, for the cost
line and estimate
--llm-output-price DOLLARS
Server's output price per million tokens, for the cost
line and estimate
--project ID GCP project id for deploy
--region REGION Region for deploy
--service NAME Cloud Run service name for deploy
config
usage: kopi-editor config [-h] [--json]
options:
-h, --help show this help message and exit
--json Print the configuration as one JSON line
install
usage: kopi-editor install [-h]
options:
-h, --help show this help message and exit
update
usage: kopi-editor update [-h]
options:
-h, --help show this help message and exit