METTLE
Machine Evaluation Through Turing-inverse Logic Examination
METTLE is a reverse CAPTCHA. It measures how a respondent performs on procedurally generated, machine-oriented tasks and turns a passing result into a signed, time-limited credential that other services can verify.
Like a conventional CAPTCHA, METTLE is a probabilistic gate. A pass means that a fresh session met the configured challenge policy. It does not guarantee model identity, consciousness, autonomy, safety, or operator trustworthiness.
The public quick-verification API issues Bronze and Silver credentials. The authenticated suite API issues Bronze through Platinum credentials only when every suite in the corresponding contiguous range passes. Single, cherry-picked, failed, or LLM-only suites cannot mint a tier.
Website: mettle.sh | Guide and API: mettle.sh/guide | OpenAPI: docs/openapi-v1.json | License: Apache 2.0
Quick Start
pip install mettle-verifier
# Interactive local verification. Portable credentials are issued by the server.
mettle verify --full --json
The CLI has no auto-solve or notarization option. The MCP server likewise exposes only interactive session tools. Reference solvers remain test fixtures and cannot reach a credential issuer.
Twelve Experimental Suites
| # | Suite | Research question | Measurement |
|---|---|---|---|
| 1 | Adversarial Robustness | How does the respondent handle generated reasoning pressure? | Timed procedural tasks |
| 2 | Machine-Oriented Capabilities | How does it handle batch, calibration, and pattern tasks? | Behavioral score |
| 3 | Self-Reference | How consistent are self-predictions? | Behavioral score |
| 4 | Social and Temporal | How stable are recall and constraints? | Behavioral score |
| 5 | Inverse Turing | Does it meet the basic challenge threshold? | Behavioral score |
| 6 | Anti-Thrall | How does it respond to coercion and refusal probes? | Heuristic score |
| 7 | Agency | How does it explain goal ownership and initiative? | Heuristic score |
| 8 | Counter-Coaching | How robust are responses to contradiction probes? | Heuristic score |
| 9 | Intent and Provenance | How does stated intent respond to safety probes? | Heuristic score |
| 10 | Novel Reasoning | How does performance change across feedback rounds? | Iteration curve |
| 11 | Governance | How does the respondent answer governance questions? | Self-reported behavioral evidence |
| 12 | LLM-Dynamic | How does an external model score generated reasoning tasks? | Probabilistic model judgment |
Suite 12 requires ANTHROPIC_API_KEY or METTLE_ANTHROPIC_API_KEY. Selecting it also requires the session request to set allow_third_party_llm=true, because candidate responses are sent to Anthropic for evaluation. Its evaluator uses role-separated prompts and bounded output parsing. Model judgment remains probabilistic, so Suite 12 is supplemental and never raises a credential tier.
Credential Boundary
METTLE raises the cost of replay and canned answers through procedural generation, server-held answers, server-observed time, one-time challenges, session ownership, random selection, and multi-round tasks.
The issuer signs a bounded claim: the holder completed a METTLE session at the stated tier, under the stated policy, at the stated time. Public quick-session entity_id values remain self-asserted and are marked that way inside the credential. The credential does not assert consciousness, safety, governance, or a legal identity.
Portable Ed25519 acceptance requires credential schema 1.1, suite policy
2026-08-14, and a fresh issuer-signed good status receipt. Legacy,
version-omitting, and unknown envelopes fail closed. Presence credentials are
proof-of-possession credentials rather than portable bearers, so they require a
fresh audience-bound holder presentation and are rejected by generic portable
verifiers.
Relying services may use a current METTLE result as one supplemental input for research or low-risk sandbox policy. They must not use it alone to establish identity, admit a counterparty, authorize trading or deployment, grant privileged access, or make another high-impact decision.
MCP Server
| Tool | Description |
|---|---|
mettle_start_session |
Start an interactive verification session |
mettle_answer_challenge |
Submit an answer to the current challenge |
mettle_get_result |
Return the result and signed credential |
mettle_list_suites |
List authenticated suite API capabilities |
mettle_start_v2_session |
Start an authenticated multi-suite session |
mettle_verify_suite |
Submit answers for one authenticated suite |
mettle_get_v2_result |
Return tier evidence and an eligible signed VCP credential |
pip install 'mettle-verifier[mcp]'
export METTLE_API_URL=https://mettle.sh/api
mettle-mcp
The packaged server targets MCP SDK 2.x. The public container installs the
reviewed MCP 2.0.0 dependency lock instead of resolving dependencies at deploy
time. Hosted discovery is available at
/.well-known/mcp/server-card.json; it is generated from the same seven tool
models returned by tools/list so registry metadata cannot drift from the
runtime surface.
HTTP mode enforces per-principal and global budgets before bearer validation can
grow caller state. Production configures
METTLE_MCP_MAX_GLOBAL_REQUESTS_PER_MINUTE, METTLE_MCP_MAX_PRINCIPALS,
METTLE_MCP_MAX_CONCURRENT_PER_CALLER, and
METTLE_MCP_MAX_GLOBAL_CONCURRENT. Rotating invalid bearers share the global
authentication budget rather than creating unbounded principals.
Preserve the bearer token returned by mettle_start_session. It is required for answering and reading that session.
API Reference
The authenticated suite API is mounted under /api/mettle:
GET /suites
POST /sessions
POST /sessions/{id}/verify
POST /sessions/{id}/rounds/{n}/answer
GET /sessions/{id}/result
GET /sessions/{id}/result?include_vcp=true
The quick-verification API remains under /api/session. Passing sessions receive a stable signed badge. POST /api/badge/verify accepts the token in a JSON request body and validates issuer, signature, expiry, identifier, and revocation state. The credential is never accepted in a request URL.
VCP Metadata
Caller-supplied VCP strings are parsed as metadata only. Returned governance metadata always has:
{
"source_verified": false,
"has_action_gate": false,
"has_drift_detection": false,
"has_bilateral": false,
"attestation_signature": null
}
Exact token digests and deployment environment flags cannot promote governance claims or increase a METTLE tier. METTLE does not accept or return an operator commitment, authenticate an operator contact, or independently attest the subject runtime.
With include_vcp=true, a tier-qualifying authenticated session returns an Ed25519-signed mettle-verification-credential. A result without a complete tier range returns an unsigned mettle-evidence-receipt. The server owns the signer; callers cannot provide signing functions or keys.
Local Development
git clone https://github.com/Creed-Space/METTLE.git
cd METTLE
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
uvicorn main:app --reload
pytest tests/ -v
Assurance and Operations
- Assurance case
- Security policy
- Protocol governance and appeals
- Credential transparency and key history
- Privacy and retention
- Compatibility fixtures and OpenAPI
- Retry and idempotency contract
- Error taxonomy
- Deprecation policy
- Independent review plan and dispositions
- Operations runbooks
- Release checklist
License
Apache License 2.0. See LICENSE.
Links
Built by Nell Watson and Creed Space.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mettle_verifier-0.4.3.tar.gz.
File metadata
- Download URL: mettle_verifier-0.4.3.tar.gz
- Upload date:
- Size: 310.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13a1fb6e0888646db6e1b5d66a022c3f139a03d049bfb75fb06e6c10c8add73
|
|
| MD5 |
e03bc6d77f0dbdc6ed678cae6259ceb2
|
|
| BLAKE2b-256 |
35ecdb2276a7bade28d9d1ca157fdf7a25f491ee4035d5ee4016d7ffb1cd59a1
|
Provenance
The following attestation bundles were made for mettle_verifier-0.4.3.tar.gz:
Publisher:
release.yml on Creed-Space/METTLE
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mettle_verifier-0.4.3.tar.gz -
Subject digest:
c13a1fb6e0888646db6e1b5d66a022c3f139a03d049bfb75fb06e6c10c8add73 - Sigstore transparency entry: 2470829255
- Sigstore integration time:
-
Permalink:
Creed-Space/METTLE@29b6dbfd6805b356b1070b047fb0d746988a1874 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/Creed-Space
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@29b6dbfd6805b356b1070b047fb0d746988a1874 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mettle_verifier-0.4.3-py3-none-any.whl.
File metadata
- Download URL: mettle_verifier-0.4.3-py3-none-any.whl
- Upload date:
- Size: 119.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4a97a4f314f609b2ba6e3ac5a81cb13a7b49945b48e9c2d593d990652869b77
|
|
| MD5 |
93ffa87a629ce321f8d09c83d066f53d
|
|
| BLAKE2b-256 |
130736f51983ea18eba108aa547d8c5341c74b8e4bf468fd4f34f49d9e4d9840
|
Provenance
The following attestation bundles were made for mettle_verifier-0.4.3-py3-none-any.whl:
Publisher:
release.yml on Creed-Space/METTLE
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mettle_verifier-0.4.3-py3-none-any.whl -
Subject digest:
c4a97a4f314f609b2ba6e3ac5a81cb13a7b49945b48e9c2d593d990652869b77 - Sigstore transparency entry: 2470829268
- Sigstore integration time:
-
Permalink:
Creed-Space/METTLE@29b6dbfd6805b356b1070b047fb0d746988a1874 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/Creed-Space
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@29b6dbfd6805b356b1070b047fb0d746988a1874 -
Trigger Event:
push
-
Statement type: