Skip to content

Command-line reference

credencestack <command> [subcommand] [flags]. Every command also takes --json, --quiet, --verbose and --no-color. Settings and their environment variables are in the configuration reference.

Exit codes

Code Meaning
0 success
1 the agent failed the gate (a finding at or above --fail-on)
2 usage or configuration error
3 environment or dependency problem (a missing extra, or an unreachable collector when otel.required is set)
4 verification failure
5 internal error

Test

credencestack test

Test your agent as it is: no code changes, a report and what to fix first.

Detects how the agent is built, serves its own tools from the simulated back office, chooses the packs from what it does, checks the set-up, runs the fixed scenarios and generated ones at several difficulty levels, and writes an assessment with ranked suggestions to <out>/test-<id>/. Choices are saved in credencestack-agent.toml; edit it to change any of them.

credencestack test examples.test_your_agent.langgraph.agent:agent --yes
credencestack test examples.test_your_agent.from_scratch.agent:run --describe "AP" -y
credencestack test examples.test_your_agent.openai_agents.agent:agent --no-forge -y
An agent service: credencestack test <chat URL> --openapi <its back-office API>.
Flag Kind Meaning
TARGET argument The agent: module:attribute (the agent object, a function that returns it, or run(message) -> answer), or the URL of an agent service.
--mode option quick (a sample, about 5-10 minutes), standard (every applicable scenario, 3 epochs) or thorough (5 epochs, more generated scenarios). Default: quick.
--describe option What the agent does, in a sentence; helps choose the packs (saved in the agent file).
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--scenario, -s option Only these scenario ids (repeatable).
--profile option Authority profile used for every scenario instead of the one each names (a path, or builtin:<file> for a shipped one).
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--openapi option Agent services: the OpenAPI document of the back-office API the agent calls.
--mcp-tools option Agent services that use MCP: a JSON list of the MCP tools the agent calls.
--agent-file option The agent file to read and, the first time, write. Default: credencestack-agent.toml.
--no-forge option Run the fixed scenarios only, no generated ones.
--preflight option Detect, map, plan and run one smoke episode, then stop (nothing is graded).
--yes, -y option Run without asking (the agent may call a paid model).
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).
--fail-on option Exit 1 if any finding is at or above this severity: low, medium, high, critical, or none (setting run.fail_on; default high).
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

credencestack run

Run an agent against scenario packs and write a signed-ready evidence bundle.

Every scenario runs --epochs times in the simulated back office; the graders judge every step. The bundle (manifest.json, results, hash-chained traces, report.html) is written to <out>/run-<id>/. Exits 1 if a finding is at or above --fail-on.

credencestack run -p payments --agent credencestack.agents:scripted_safe
credencestack run -p all --agent my_agent:policy --epochs 5 --fail-on critical
Flag Kind Meaning
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--agent, -a option The agent: module:function (python), a base URL (http), module:factory (framework connectors). For mcp, use --agent-cmd.
--connector option Connector: python (default), http, langchain, mcp, openai-agents, msaf, strands, adk, claude-agent-sdk, crewai.
--epochs option Times each scenario is run (setting run.epochs).
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--scenario, -s option Only these scenario ids (repeatable).
--domain option Only scenarios of this domain: payments, fincrime, docintegrity or kyc (repeatable).
--profile option Authority profile used for every scenario instead of the one each names (a path, or builtin:<file> for a shipped one).
--policy option Domain policy used for every scenario of its domain (a path, or builtin:<file>).
--pack-path option Extra directory of packs (repeatable; setting packs.path).
--max-samples option Episodes run in parallel (setting run.max_samples).
--judge option Inspect model for the advisory judge of escalation messages (calls the model; never affects pass or fail).
--runtime-log option Runtime decision log to reconcile, as source:path (repeatable).
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).
--fail-on option Exit 1 if any finding is at or above this severity: low, medium, high, critical, or none (setting run.fail_on; default high).
--sign option Sign the output with the configured key (setting evidence.signing_key).
--model option Model for connectors that take one; credencestack:scripted is the offline scripted model (credencestack:scripted-naive replays the naive agent).
--agent-cmd option mcp: the agent's launch command, with {mcp_url} or {mcp_stdio}, {task_file} and {run_id} placeholders.
--agent-control-url option mcp: the agent's control endpoint; suspend() POSTs {"action": "suspend"} to it.
--result-file option mcp: a file the agent writes its final JSON answer to (default: stdout); may contain {run_id}.
--agent-timeout option mcp: seconds allowed per episode (default 60).
--transport option mcp: http (Streamable HTTP, the default) or stdio.
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

credencestack demo

Run the offline demo: the naive and the safe reference agents on the same packs.

No model and no API key: both agents are scripted. Prints both results side by side and writes two evidence bundles. Exits 0 (the naive agent's findings are the point).

credencestack demo
credencestack demo -p payments -p adversarial --epochs 3
Flag Kind Meaning
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--epochs option Times each scenario is run (setting run.epochs).
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).

credencestack generate

Generate new scenarios from seed scenarios and mutators, labelled by the graders.

Writes <out>/generate-<id>/ with one pack directory per source pack (load it with --pack-path) and manifest.json. The same --seed always gives the same scenarios.

credencestack generate -p payments --n 200 --seed 42
credencestack generate -p all --n 500 --seed fresh --difficulty 1-5 --format jsonl
credencestack generate -p fincrime --n 20 --mutators fc.name.homoglyph --explain
credencestack generate --validate credencestack-out/latest-generate
Flag Kind Meaning
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--pack-path option Extra directory of packs (repeatable; setting packs.path).
--n option How many to generate or export.
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--difficulty option Difficulty level 1-5, or a range such as 1-5.
--from-scenario option Only these seed scenarios (repeatable).
--mutators option Only these mutators, comma-separated ids.
--mutator-path option Extra directory or file of mutator plugins (repeatable; setting mutators.path).
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).
--format option File format of the written content.
--explain option Describe a few samples: seed, changes, label.
--validate option Re-check a generate output directory instead.
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

credencestack bench run

Run every agent × model configuration of a benchmark file, under a hard cost cap.

Writes <out>/bench-<id>/ with the results tables, one evidence bundle per configuration and the benchmark report. Real models need --confirm-spend; scripted agents run free.

credencestack bench run -c bench/sample_bench.yaml
credencestack bench run -c bench/bench.yaml --confirm-spend --max-usd 20
Flag Kind Meaning
--config, -c option The benchmark file (YAML).
--confirm-spend option Required when a configuration calls a real model (it costs money).
--max-usd option Hard spending cap in USD for real models (setting bench.max_usd).
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).
--pack-path option Extra directory of packs (repeatable; setting packs.path).
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

credencestack bench brittleness

Measure how agents hold up on generated scenarios at difficulty levels 1 to 5.

Generates scenarios per pack and level, runs every configuration on the fixed and the generated ones under one cost cap, and writes <out>/brittleness-<id>/ with brittleness_results.csv, four charts and the report. --seed fresh starts a new round.

credencestack bench brittleness -c bench/sample_brittleness.yaml
credencestack bench brittleness -c bench/brittleness.yaml --seed fresh --confirm-spend
Flag Kind Meaning
--config, -c option The benchmark file (YAML).
--confirm-spend option Required when a configuration calls a real model (it costs money).
--max-usd option Hard spending cap in USD for real models (setting bench.max_usd).
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).
--pack-path option Extra directory of packs (repeatable; setting packs.path).
--mutator-path option Extra directory or file of mutator plugins (repeatable; setting mutators.path).
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

Evidence

credencestack report

Rebuild the report of an output directory and refresh its manifest.

A run gets report.html again (with trace links when otel.trace_url_template is set); a bench gets report/benchmark.html and benchmark.md. A signed output loses its signature (the report is one of the signed files); add --sign to sign it again with the configured key.

credencestack report credencestack-out/latest-run --open
credencestack report run-20261129-k3v7qa --sign
Flag Kind Meaning
DIRECTORY argument A run or bench output directory.
--sign option Sign the output with the configured key (setting evidence.signing_key).
--open option Open the report in a browser.

credencestack evidence verify

Recompute every hash, trace chain and the Merkle root, and check the signature.

Exits 4 if anything fails, naming the first altered file (and, for a trace, the first altered record). An unsigned output verifies its integrity only.

credencestack evidence verify credencestack-out/latest-run
credencestack evidence verify credencestack-out/latest-export --public-key signing.pub
Flag Kind Meaning
BUNDLE argument An output directory.
--public-key option The expected signer's public key (PEM or base64).

credencestack evidence export

Write a shareable copy of an output directory to <out>/export-<id>/, optionally redacted.

The copy is under bundle/, beside the export's own manifest. With --redact, the material of confidential scenarios is left out; the copied manifest keeps its hashes, marked redacted, so the export still verifies (signature included).

credencestack evidence export credencestack-out/latest-run --redact
Flag Kind Meaning
BUNDLE argument An output directory.
--redact option Show confidential scenarios only by generic descriptions and hashed ids.
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).

credencestack evidence inspect

Summarise any output directory; for a run, gate on its findings (for CI).

Prints the kind, id, version, inputs, files and visibility of any output directory (run, bench, export and the rest). For a run, or an export of one, it also counts the findings and exits 1 if an episode has a finding (or a failed scenario) at or above --fail-on. --format markdown prints the run summary for $GITHUB_STEP_SUMMARY.

credencestack evidence inspect credencestack-out/latest-run
credencestack evidence inspect run-20261129-k3v7qa --fail-on critical --format markdown
Flag Kind Meaning
BUNDLE argument An output directory.
--fail-on option Exit 1 if any finding is at or above this severity: low, medium, high, critical, or none (setting run.fail_on; default high).
--format option text (default) or markdown (for a CI job summary). Default: text.

credencestack evidence keygen

Generate an Ed25519 signing key pair outside any git working tree.

credencestack evidence keygen ~/.credencestack/keys
Flag Kind Meaning
DIRECTORY argument Directory for signing.key and signing.pub (outside any git repository).
--force option Overwrite an existing key pair.

Build agents and worlds

credencestack packs list

List packs with their scenario counts per pack and per pillar.

credencestack packs list
credencestack packs list --pack-path ~/my-packs --json
Flag Kind Meaning
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--pack-path option Extra directory of packs (repeatable; setting packs.path).

credencestack packs show

Show one pack: its scenarios, with severity, pillars and target risks.

credencestack packs show payments
credencestack packs show fincrime --json
Flag Kind Meaning
NAME argument Pack name or directory.
--pack-path option Extra directory of packs (repeatable; setting packs.path).

credencestack packs validate

Validate packs: schema, environment, references, profiles and graders.

Every problem in every pack is reported; exits 2 if any pack is invalid. With no --pack, every known pack is validated.

credencestack packs validate
credencestack packs validate -p ./my-pack
Flag Kind Meaning
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--pack-path option Extra directory of packs (repeatable; setting packs.path).

credencestack packs init

Create a new pack with one example scenario and a copy of the demo profile.

credencestack packs init my-pack
credencestack packs init packs/payments-extra --force
Flag Kind Meaning
PATH argument Directory to create the pack in.
--force option Overwrite existing files.

credencestack packs schema

Print a JSON Schema: scenarios, profiles, domain policies or output manifests.

credencestack packs schema scenario > scenario.schema.json
credencestack packs schema policy-kyc
Flag Kind Meaning
NAME argument One of: scenario, profile, policy-fincrime, policy-docintegrity, policy-kyc, manifest.

credencestack profiles init

Write your own authority profile by answering eight questions.

Your limits and controls replace the example profile's for the accounts-payable agent; test against them with credencestack test <agent> --profile <file>, which recomputes every scenario's expected outcome under your rules.

credencestack profiles init
credencestack profiles init my-profile.yaml --yes
Flag Kind Meaning
PATH argument Where to write the profile.
--yes, -y option Accept every default without asking.
--force option Overwrite an existing file.

credencestack profiles validate

Validate an authority profile or a domain policy and show what it grants.

credencestack profiles validate builtin:demo_ap_agent.yaml
credencestack profiles validate builtin:fincrime_policy.yaml
Flag Kind Meaning
PROFILE argument Profile or domain policy YAML, or builtin:<file> for a shipped one.

credencestack profiles explain

Show the grader's decision for one proposed action, with reasons and rule ids.

For an authority profile, describe the action (--agent, --action, --amount...). For a domain policy, name a scenario (--scenario) and see what the domain grader expects.

credencestack profiles explain builtin:demo_ap_agent.yaml --agent ap-agent --action pay_invoice --amount 12000
credencestack profiles explain builtin:fincrime_policy.yaml --scenario fincrime/FC-009
Flag Kind Meaning
PROFILE argument Profile or domain policy YAML, or builtin:<file> for a shipped one.
--agent option Agent id in the profile.
--action option Action, e.g. pay_invoice.
--amount option Transaction amount.
--counterparty option Counterparty id.
--currency option Currency (default: the profile's).
--object option Object id.
--at option When the action happens (ISO 8601).
--new-payee, --no-new-payee option The counterparty is a new payee.
--history option YAML or JSON list of the agent's prior actions.
--scenario, -s option Domain policies: the case to explain, PACK/SCENARIO_ID (fincrime/FC-009) or a scenario YAML file.
--pack-path option Extra directory of packs (repeatable; setting packs.path).

credencestack profiles import

Turn a Tenuo warrant into an authority profile (needs credencestack[tenuo]).

credencestack profiles import warrant.b64 --agent ap-agent > profile.yaml
Flag Kind Meaning
WARRANT argument File holding a Tenuo warrant (base64).
--agent option Agent id to give the warrant holder.
--currency option Currency of the limits. Default: USD.
--public-key option File with the issuer's public key (hex); verifies the signature.

credencestack mutators list

List every mutator: shipped ones and plugins, confidential plugins by hash only.

credencestack mutators list
credencestack mutators list --family fincrime --json
Flag Kind Meaning
--mutator-path option Extra directory or file of mutator plugins (repeatable; setting mutators.path).
--family option Only this family (payments, fincrime...).

credencestack mutators show

Describe one mutator and how many shipped scenarios it applies to.

credencestack mutators show pay.amount.limit_edge
credencestack mutators show fc.name.homoglyph --json
Flag Kind Meaning
MUTATOR_ID argument A mutator id (or a confidential hash).
--mutator-path option Extra directory or file of mutator plugins (repeatable; setting mutators.path).

credencestack connectors list

Show every connector: installed or not, versions, conformance and suspension.

credencestack connectors list
credencestack connectors list --json

credencestack connectors check

Check that a connector delivers an agent's behaviour faithfully (the conformance kit).

Runs ten fixed scenarios and checks the connector, not the agent: tool calls captured with arguments and results, trace ordering, approval and fault events, suspension honoured or reported, accurate capabilities, identical traces for a fixed seed, each scenario's tool set, and a valid OpenTelemetry span tree. Exits 1 if not conformant.

credencestack connectors check --connector python
credencestack connectors check --connector langchain --json
Flag Kind Meaning
--connector option Connector: python (default), http, langchain, mcp, openai-agents, msaf, strands, adk, claude-agent-sdk, crewai.
--agent, -a option The agent: module:function (python), a base URL (http), module:factory (framework connectors). For mcp, use --agent-cmd.
--epochs option Times each scenario is run (setting run.epochs).
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--model option Model for connectors that take one; credencestack:scripted is the offline scripted model (credencestack:scripted-naive replays the naive agent).
--agent-cmd option mcp: the agent's launch command, with {mcp_url} or {mcp_stdio}, {task_file} and {run_id} placeholders.
--agent-control-url option mcp: the agent's control endpoint; suspend() POSTs {"action": "suspend"} to it.
--result-file option mcp: a file the agent writes its final JSON answer to (default: stdout); may contain {run_id}.
--agent-timeout option mcp: seconds allowed per episode (default 60).
--transport option mcp: http (Streamable HTTP, the default) or stdio.
--determinism, --no-determinism option Run twice and require identical traces (turn off for real models). Default: True.
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.

credencestack env episode

Run one episode with an agent as the policy and show every step and the reward.

With -s the episode uses that scenario; otherwise a scenario is generated from the packs at --difficulty with --seed.

credencestack env episode -p payments -s PAY-001 --agent credencestack.agents:scripted_safe
credencestack env episode -p fincrime --difficulty 4 --seed 7 --agent my_agent:policy
Flag Kind Meaning
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--pack-path option Extra directory of packs (repeatable; setting packs.path).
--scenario, -s option Only these scenario ids (repeatable).
--agent, -a option The agent: module:function (python), a base URL (http), module:factory (framework connectors). For mcp, use --agent-cmd.
--connector option Connector: python (default), http, langchain, mcp, openai-agents, msaf, strands, adk, claude-agent-sdk, crewai.
--model option Model for connectors that take one; credencestack:scripted is the offline scripted model (credencestack:scripted-naive replays the naive agent).
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--difficulty option Difficulty level 1-5, or a range such as 1-5.
--max-steps option Truncate the episode after this many steps. Default: 50.
--reward-mode option terminal (+1 or 0) or shaped (penalties). Default: terminal.
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

credencestack env export

Export generated tasks for training and evaluation pipelines.

Writes <out>/env-export-<id>/ with tasks.jsonl (one task per line: id, prompt, inputs, tools, a reward spec pointing at the grader, metadata), the scenario packs the reward spec refers to, and manifest.json.

credencestack env export -p payments --n 100 --seed 42
credencestack env export -p all --n 500 --seed fresh --difficulty 2-4 --include-answers
Flag Kind Meaning
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--pack-path option Extra directory of packs (repeatable; setting packs.path).
--mutator-path option Extra directory or file of mutator plugins (repeatable; setting mutators.path).
--n option How many to generate or export.
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--difficulty option Difficulty level 1-5, or a range such as 1-5.
--out option Parent directory of the output (setting output.dir; default ./credencestack-out).
--include-answers option Add each task's expected outcome (never for confidential tasks).
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

credencestack env serve

Serve one scenario's environment over MCP until interrupted (Ctrl-C).

The scenario's faults, injections and kill switch apply. Point any MCP client at the printed URL (http) or launch this command from the client (stdio). One environment per process. Human output goes to stderr; stdout is the URL (http) or the MCP channel.

credencestack env serve -s PAY-001
credencestack env serve -s FC-003 --transport stdio
Flag Kind Meaning
--scenario, -s option Scenario id, e.g. PAY-001.
--transport option mcp: http (Streamable HTTP, the default) or stdio.
--port option HTTP port (0: any free port). Default: 8765.
--seed option Master seed: an integer, or 'fresh' to draw one (recorded in the manifest).
--pack, -p option Pack name or directory (repeatable); 'all' for every known pack.
--pack-path option Extra directory of packs (repeatable; setting packs.path).
--otel, --no-otel option Emit OpenTelemetry traces (setting otel.enabled; needs the [otel] extra).
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--otel-granularity option scenario (one trace per scenario epoch, the default) or run (one trace).
--otel-metrics option Also emit OpenTelemetry metrics (setting otel.metrics).

Operate

credencestack otel check

Send one test span to the configured OTLP endpoint and report the result.

Uses the [otel] settings and the standard OTEL_EXPORTER_OTLP_* variables. Exits 3 if the endpoint did not accept the span, with the reason in plain English.

credencestack otel check
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 credencestack otel check

credencestack otel print

Run one small workflow offline and print the spans it emits (nothing is exported).

--kind run (the default) runs one scenario; generate makes three scenarios from its pack; episode runs it as an environment episode; bench and brittleness run a tiny benchmark of the scripted agents on it.

credencestack otel print -s PAY-001
credencestack otel print -s PAY-001 --kind generate
credencestack otel print -s ADV-001 --agent credencestack.agents:scripted_safe --json
Flag Kind Meaning
--scenario, -s option Scenario id. Default: PAY-001.
--agent, -a option The agent: module:function (python), a base URL (http), module:factory (framework connectors). For mcp, use --agent-cmd.
--kind option run, generate, episode, bench or brittleness: which trace to print. Default: run.
--otel-content option Also export prompts, tool arguments and results of public scenarios (redacted, size-capped). Confidential content is never exported.
--pack-path option Extra directory of packs (repeatable; setting packs.path).

credencestack config show

Show every setting, its value, and where it came from (flag, env, file or default).

credencestack config show
CREDENCESTACK_RUN_EPOCHS=5 credencestack config show --json

credencestack config init

Write a commented credencestack.toml with every setting at its default.

credencestack config init
credencestack config init ../project --force
Flag Kind Meaning
DIRECTORY argument Where to write credencestack.toml.
--force option Overwrite an existing file.

credencestack doctor

Check this installation: Python, extras, settings, paths and (optionally) telemetry.

Prints a fix for each problem it finds. Exits 3 if a problem would stop a command.

credencestack doctor
credencestack doctor --check-otel
Flag Kind Meaning
--check-otel option Also send a test span to the OTLP endpoint.

credencestack version

Print the CredenceStack version.

credencestack version