Installation
Create and activate a Python virtual environment:
python3 -m venv .venv
source .venv/bin/activate
Using package from PyPI
Install the latest release:
python -m pip install kci-dev
Development snapshot through poetry
In a checkout of the kci-dev repository, run:
python3 -m venv .venv
source .venv/bin/activate
pip install poetry
poetry install
Then, to execute kci-dev:
poetry run kci-dev <options>
Configuration
Public Dashboard queries work without a configuration file or authorization token. Configure an instance to submit tests through Maestro or to query a different Dashboard endpoint.
The following command will create a config file template under ~/.config/kci-dev/kci-dev.toml
kci-dev config
See creating a configuration and the configuration reference for instance settings.
Config file parameters
The configuration reference describes kci-dev.toml and
includes an example.
Configuration options
–instance
You can provide the instance name to use for the command.
Example:
kci-dev --instance staging
–settings
You can provide the configuration file path to use for the command.
Example:
kci-dev --settings /path/to/.kci-dev.toml
General Commands
results
Pull results from the Web Dashboard. See detailed documentation.
Use results gate to apply a CI policy to build, boot, and test
comparisons and return an exit status for release scripts.
mcp
Run an MCP server exposing KernelCI data and actions to AI agents. See detailed documentation.
Maestro Commands
config
Setup the base config for talking to the maestro API. See Configuration section above.
checkout
Trigger ad-hoc test of specific tree/branch/commit.
patchset
Test patches on top of an existing checkout.
testretry
Trigger a test retry for a given Maestro node id.
watch
Watch for the results of a given node id.
maestro-results
Pull Maestro results in the json format.