Skip to main content

agent-suite-conformance

The CLI contract v1 conformance kit for the agent suite (Plan 018 WI-2). One centrally versioned, stdlib-only package that every suite component depends on as a normal pinned version — so there is exactly one kit, never per-repo copies to drift.

What it provides

agent_suite.conformance — success/error/usage/broken-pipe case runners and the common error-envelope validator that hold each suite CLI to the contract in docs/cli-contract.md:

  • stdout under --json is exactly one JSON document (or documented NDJSON), zero non-JSON bytes;
  • documented error paths exit nonzero with the common error envelope;
  • usage errors exit 2; broken pipe exits without a traceback;
  • error output carries no secret material.

Use

# in a component's dev/test dependencies
"agent-suite-conformance==1.0.0"
from agent_suite.conformance import (
    KIT_VERSION, CLI_CONTRACT_VERSION,
    SuccessCase, ErrorCase, UsageCase,
    run_success_case, run_error_case, run_usage_case,
    validate_envelope,
)

The kit discovers what to test from each component's CLI manifest (<tool> contract --json); see the agent-suite CLI contract for the manifest shape.

Provenance

Built from the single source of truth at src/agent_suite/conformance/ in the agent-suite repository. version here equals agent_suite.conformance.KIT_VERSION; a guard test fails CI if they diverge.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_suite_conformance-1.0.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_suite_conformance-1.0.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file agent_suite_conformance-1.0.0.tar.gz.

File metadata

  • Download URL: agent_suite_conformance-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for agent_suite_conformance-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c986cf6bc5dee522319461c1ee056e24008b503517f17795975151b9af8c2be9
MD5 0d55d4f9156fd92567017524545101fb
BLAKE2b-256 b35a657e429bc9398ae41d91646f28c28cf4e49e46f4f9b3ab4ff40bce33d37c

See more details on using hashes here.

File details

Details for the file agent_suite_conformance-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_suite_conformance-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfacbbadf693ee630a59e982c3fff4ab003f69385a2f8b08aa32e5e2709af71e
MD5 ef8fe4ca838dd2db9ae63fab02172c7a
BLAKE2b-256 b8e208110f18b265aaa6d6caef582b302b3aa34e92df0aff007a0871446dadc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page