Skip to main content

Crate kute_cli

Crate kute_cli 

Source
Expand description

kute: train, encode, decode, inspect, validate, compare, export, benchmark.

Results go to stdout as JSON (or raw bytes for decode), messages to stderr. Exit status is 0 on success and 1 on any error.

Modules§

http
A small HTTP service over the same five read-only operations as the MCP server, and through the same code: encode, decode, inspect, compare, discover, plus capabilities. Version 1 of the interface lives under /v1/.
live
kute live: windowed discovery over JSON Lines arriving on a file or on standard input.
mcp
A Model Context Protocol server over standard input and output: one JSON-RPC 2.0 message per line.
shadow
kute shadow: try a candidate vocabulary beside the one in use, on data neither was made from, and say whether it has earned its place.
sign
Signatures on vocabularies: kute keygen, kute sign, kute verify.

Functions§

main_with
Parse the command line and run it on engine. The kute binary passes the default engine; other front ends can register more algorithms first.