Skip to content

kindgi providers

View as Markdown

Synopsis

Terminal window
kindgi providers <command>
Signature

Manage model providers.

Commands

Command Description
kindgi providers list List model providers.
kindgi providers get Fetch a provider by id.
kindgi providers register Register a model provider — from a spec, or a preset (kindgi providers presets).
kindgi providers presets List the provider presets register --preset takes.
kindgi providers unregister Unregister a model provider.

See also

Synopsis

Terminal window
kindgi providers list [--feature=<name>] [--limit=<n>] [--cursor=<c>]
Signature

List model providers.

Options

Option Default Description
--cursor <value> none Resume after this cursor, from the previous page's nextCursor.
--feature <value> none Only the providers with a model that has this feature (e.g. tool-use).
--limit <value> 25 (at most 100) The most providers to return (default 25, at most 100).

Every command also takes the global flags.

Examples

From Models:

Terminal window
pnpm exec kindgi providers list # every provider, with its models
pnpm exec kindgi providers list --feature=structured-output

See also

Synopsis

Terminal window
kindgi providers get <provider-id>
Signature

Fetch a provider by id.

Options

Every command also takes the global flags.

Examples

From Connect Gemini on Vertex AI:

Terminal window
pnpm exec kindgi providers get gemini

From Models:

Terminal window
pnpm exec kindgi providers get ollama

See also

Synopsis

Terminal window
kindgi providers register (--spec=<json-or-@file> | --preset=<name> [--models=<a,b>] [--project=<…>] [--resource-name=<…>] [--deployments=<…>] [--region=<…>] [--secret=<NAME>] [--env=<name>] [--max-output-tokens=<n>])
Signature

Register a model provider — from a spec, or a preset (kindgi providers presets).

Options

Option Default Description
--deployments <value> required with the azure-openai preset For azure-openai: the deployment serving each model, model=deployment,… (e.g. gpt-6.1-sol=gpt-6-1-sol).
--env <value> local With --preset, the environment of the key's secret (default local; in a pack, the key must already be in its env files).
--max-output-tokens <value> the preset's own value for each model With --preset, each model's output cap (thinking included), in place of the preset's: the model's own limit.
--models <value> all of the preset's models With --preset, register only these of its models, comma-separated (default: all).
--preset <value> none Register a built-in preset by name; kindgi providers presets lists them.
--project <value> required with the gemini preset For a preset that needs one (gemini), the Google Cloud project Vertex AI runs and bills in.
--region <value> required with the bedrock preset For bedrock: the AWS region Bedrock runs in (e.g. us-east-2).
--resource-name <value> required with the azure-openai preset For azure-openai: the Azure OpenAI resource, as in <name>.openai.azure.com.
--secret <value> the preset's own secret name With --preset, the name of the secret holding the API key, in place of the preset's own.
--spec <value> none The registration body as JSON, or @<file> to read it from a file. Give --spec or --preset.

Every command also takes the global flags.

Examples

From Deploy on Google Cloud Run:

Terminal window
npx --yes @kindgi/cli@0.1 providers register --preset=gemini --project=<project> --models=gemini-3.8-flash --url "$URL"

From Self-host Kindgi:

Terminal window
npx --yes @kindgi/cli@0.1 providers register --spec=@ollama.json --url http://localhost:4000

See also

Synopsis

Terminal window
kindgi providers presets
Signature

List the provider presets register --preset takes.

Options

Every command also takes the global flags.

Examples

From Models:

Terminal window
pnpm exec kindgi providers presets

See also

Synopsis

Terminal window
kindgi providers unregister <provider-id>
Signature

Unregister a model provider.

Options

Every command also takes the global flags.

Examples

From Connect Anthropic:

Terminal window
pnpm exec kindgi providers unregister anthropic

From Connect Gemini on Vertex AI:

Terminal window
pnpm exec kindgi providers unregister gemini

See also