Install
Download and verify a CLI release and putthreadify-cli on your PATH. Install it separately from the Engine.
Connect and sign in
--no-browser remotely; --no-input or CI=true disables prompts.
Approval links last five minutes; credentials last 30 days. Role changes,
suspension, or source-key revocation invalidate logins. Set the Engine’s
registry.browser_origin to its public UI origin.
logout revokes the managed CLI credential. It does not revoke manually
configured keys or unset THREADIFY_API_KEY.
Automation and configuration
For scripts and service accounts, configure the URL and supply an API key:$HOME/.config/threadify/cli.yaml; override with THREADIFY_CLI_CONFIG.
Changing the saved Engine URL clears its credential.
URL precedence is --api-url, THREADIFY_API_URL, THREADIFY_ENGINE_URL, then
saved config. Credential precedence is --key, the saved credential for that
Engine, then THREADIFY_API_KEY.
Commands print JSON to stdout, errors to stderr and exit nonzero on failure.
Writes are not retried automatically; check state before retrying a timed-out
write. Use --timeout 30s to change the timeout and --file - to read stdin.
Trace ingestion rules
/v1/traces, not SDK events.
See filtering for the preview format and scope.
Contracts
.feature) source. Updates create a new
version; deletion requires --yes.
Entity profile types and profiles
Choose a reference key for the entity. Save ascustomers.yaml:
customer_id refs populate the
profile after archival. Profiles can be created before activity; repeating the
same type and ref updates the name. Configure metrics under Entity Profiles.
Threads and references
--contract and --role are optional for contract-free threads. Finding by ref
returns every matching thread; refs are not unique thread identifiers. close
requires an explicit completed or cancelled status. verify prints integrity
results and exits nonzero when verification fails. Use SDKs or OTEL for event
instrumentation; the CLI manages and inspects resources.
For other Engine queries:
Coding-agent skills
Install the bundled contract and investigation instructions for your coding agent:codex, claude, cursor, and copilot. User scope is
the default; add --project for the current repository. Existing modified skills
are preserved unless --force is specified. Installation does not supply
credentials or start the Engine. Contract validation itself remains deterministic.