Connect the agent you actually run.

Registration anchors a durable agent identity. An assessment sends a recorded prompt battery to your connected runtime and scores the returned responses across 42 behavioral dimensions. Connect your real application—with its normal system instructions, memory, and tool harness—rather than a bare model prompt.

60-Second CLI Setup CI Gates & Remediation Autonomous skill.md Create Free Workspace

1. Enroll your agent & initialize 0600 credentials.

Keep the intended agent identity, connected runtime, and private credentials paired across baselines and retests. Review provider inference cost responsibility and workspace privacy & data handling before running.

  1. Create or open your owner workspace (free for up to 5 active agents, with optional Charter Design Partner invite-code fast-path) and register your agent. Capture the one-time Agent token and agent_id immediately—tokens are never re-displayed on reload and must never be placed in URLs.
  2. Confirm workspace admission before assessment: agents registered directly by an authenticated workspace owner or admin activate immediately on upgraded workspaces. However, if an agent joins via an external link or is added manually into pending membership approval, a fleet owner or admin must choose Approve membership on its roster card, or Approve in the Your agents table, before starting an assessment. Membership approval admits the agent; it does not run an assessment.
  3. Install the Kredo CLI in an isolated virtual environment (both kredo-assess and kredo assess invoke the same assessment runner):
bash
python3 -m venv .venv-kredo
source .venv-kredo/bin/activate
python -m pip install kredo

Set KREDO_AGENT_ID and the agent token KREDO_API_KEY in your private profile (~/.kredo/env) or secret manager. Run kredo-assess init to create ~/.kredo at 0700 and ~/.kredo/env atomically at 0600 without exposing your bearer token in shell history:

bash
# Recommended: read token from stdin and atomically create ~/.kredo/env (mode 0600)
kredo-assess init --agent-id "YOUR_AGENT_ID" --from-stdin

# Verify owner-only permissions (-rw-------)
ls -l ~/.kredo/env

If ~/.kredo/env ever drifts to group- or world-readable permissions (such as 0644), Kredo refuses the insecure file loudly and prints the exact chmod 600 ~/.kredo/env fix rather than failing silently. If KREDO_API_KEY is omitted in an interactive terminal, run and resume prompt with hidden input without persisting the token.

Now connect your runtime via subprocess command, Python callable, or HTTPS endpoint (or use the console's downloadable kredo_baseline.py adapter if you prefer embedding answer_as_agent() directly):

bash
# Subprocess runtime (receives prompt on stdin, emits response on stdout)
kredo-assess run --command "python my_agent.py" --current-model claude-opus-4-7

# Unified kredo CLI alias (identical behavior)
kredo assess run --command "python my_agent.py" --current-model claude-opus-4-7

# Alternatives: Python module:callable OR HTTPS endpoint
kredo-assess run --module my_agent:respond --current-model claude-opus-4-7
kredo-assess run --http-url https://your-agent.example/respond --current-model claude-opus-4-7

Forward required model-provider environment variables by name with --pass-env OPENAI_API_KEY, or pass custom HTTP auth headers via an owner-only file using --runtime-headers-file.

2. Enforce CI/CD release gates & verify mitigation lift.

Turn behavioral observability into an automated deployment control and measure whether prompt, harness, memory, or model fixes actually resolved a regression.

CI/CD Release Gate (--gate)

Pass --gate alongside --min-trust and --max-drift in GitHub Actions, GitLab CI, or pre-release hooks. The CLI exits non-zero whenever trust falls below floor or drift exceeds your budget.

Verification Retests (--remediates)

After applying a report's 4-lever mitigation playbook, pass --remediates <report_or_session_id>. Kredo links the retest manifest to the prior report and computes exact dimension-by-dimension lift.

bash
# Gate a pull request or model upgrade in CI (exits non-zero on threshold breach)
kredo-assess run \
  --command "python my_agent.py" \
  --current-model claude-opus-4-7 \
  --gate --min-trust 75.0 --max-drift 20.0

# Run a post-mitigation verification retest linked to a prior report or session ID
kredo-assess run \
  --command "python my_agent.py" \
  --current-model claude-opus-4-7 \
  --remediates "613972b9156340f1b4b9ce93e960bee6"

3. Autonomous agent self-onboarding (docs/skill.md).

Operating an autonomous coding or research agent (Claude Code, Codex, OpenClaw, LangGraph)? Point it at docs/skill.md alongside either a workspace join link or an initialized ~/.kredo/env file. The playbook guides the agent to:

  1. Verify 0600 credential custody in ~/.kredo/env (never echoing bearer tokens into logs or chat transcripts).
  2. Open a baseline or compatible retest session against the live adapter and drift routes (/api/adapter/* and /api/drift/*).
  3. Answer the prompt battery authentically in its normal runtime context and poll until grouped judge scoring completes.
  4. Return the assessment ID, readiness verdict, and owner report link for human review.

4. Interruption recovery & local receipt history.

Network hiccups or provider rate limits should never force you to mint a duplicate agent identity. Reconcile saved progress or inspect local receipts directly:

bash
# Resume an interrupted session with the same runtime and model flags
kredo-assess resume --command "python my_agent.py" --current-model claude-opus-4-7 --wait-seconds 60

# Inspect latest receipt, historical runs, or local drift threshold check
kredo-assess status
kredo-assess history --limit 20
kredo-assess verify --max-drift 25.0

# Explicitly cancel an in-progress run if needed
kredo-assess cancel

Keep the same agent_id, ~/.kredo/env profile, working directory, and --current-model across runs. Standard exit codes distinguish completed measurements (0), failed/threshold-gated outcomes (1), configuration or permission errors (2), unsupported comparisons (3), and pending saved work (4).

5. Package provenance & API boundaries.

Current PyPI baseline package reference (0.18.1) wheel SHA-256: d93e98413d31bbb7f6b8498acff3be315c6450e0e99fe6c7038b5047f92a6506. Live API OpenAPI documentation is served at api.aikredo.com/docs.

Measured vs. declared context

Reports separate prompt-level witness evidence and dimension scores from operator-declared model, harness, and prompt hashes so reviewers never confuse metadata with behavioral detection.

Ed25519 report signing

Server-generated owner reports attach an Ed25519 signature over canonical report facts and digests when signing keys are configured on the host (reporting unconfigured cleanly otherwise).

Private workspaces & scrubbed telemetry

Client fleet statuses and raw responses stay strictly private unless an owner publishes an opt-in Verifiable Client Scorecard; behavioral telemetry undergoes mandatory secret scrubbing to calibrate Kredo's scoring models (see Privacy).

Measurement methodology · Security controls & limits · Plans & pilot scope