Skip to main content

Code Craft AI Interop

The codecraftai-interop package is the central interoperability layer in the ccai suite. It provides the base agent classes, protocol implementations, and manufacturer integrations that higher-level automation code uses to talk to the outside world. The package defines ISystemContext and INetworkClient under interfaces/ as the seams other packages build against, and exposes an am-interop CLI command tree for operator-style interaction. It builds on codecraftai-foundations, codecraftai-networking, and codecraftai-credentials, and is in turn consumed by codecraftai-landscaping and the codecraftai-interop-ext-* extension packages.

Highlights

  • Agent bases under agents/: SystemAgentBase, SerialAgentBase, PowerAgentBase, and LocalCommandAgent.

  • Protocol implementations under protocols/ covering DNS and mDNS, SSH, serial over TCP, and power control via DLI.

  • Aspect-oriented Aspects object with ActionPattern and related enums for uniform retry, timeout, and connection behaviour.

  • ISystemContext and INetworkClient interfaces under interfaces/ for downstream consumers.

  • InteropLibraryTestJob under testing/ — interop-tier base class that adds the landscape-activation lifecycle hooks over the single-host codecraftai-testbase.TestJob. Concrete subclasses live in packages that depend on codecraftai-landscaping (for example codecraftai-testplus.DistributedTestJob).

  • am-interop CLI command tree for operator-style interaction.

Repository Structure

  • development/ - Runtime environment scripts.

  • repository-setup/ - Repository homing and setup scripts.

  • source/packages/ - Package source code.

  • source/testroots/ccai/ - TestBase test roots.

  • source/examples/ - Example usage scripts.

  • specs/ - Requirements, design, and task documentation.

  • userguide/ - Standards, conventions, and documentation.

Environment Setup

When working in a Codex container:

./development/setup-agent-container

For local development:

./repository-setup/rehome-repository
./development/setup-environment

Running Tests

Activate the virtual environment:

source .venv/bin/activate

Run the single-host test suite:

testbase testing run --root source/testroots/ccai --includes=ccai.tests.interop.singlehost --output=./.output

Standards and Conventions

  • Naming conventions: userguide/10-02-naming-conventions.rst

  • Code organization: userguide/10-01-code-organization.rst

  • Coding standards: userguide/10-00-coding-standards.rst

Additional Resources

  • User guide entry point: userguide/userguide.rst

  • Specifications: specs/core-interop/

Metadata

Release files for codecraftai-interop 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codecraftai-interop 1.5.1
File Size Uploaded Provenance
codecraftai_interop-1.5.1.tar.gz 128.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-interop 1.5.1
File Interpreter ABI Platform
codecraftai_interop-1.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 317.5 kB

Release files / codecraftai_interop-1.5.1.tar.gz

Download URL codecraftai_interop-1.5.1.tar.gz
Size 128.1 kB
Tags Source
SHA-256 checksum
How to use checksums
adeb619b99f8e19dde3986c19122aced956775a13711e8d0a87f6c2a60ee6371
BLAKE2b-256 checksum
How to use checksums
0a431a5bafd79947a323bc06b748ed2c996fb8d7d3bb2d42049d7e615171824a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / codecraftai_interop-1.5.1-py3-none-any.whl

Download URL codecraftai_interop-1.5.1-py3-none-any.whl
Size 189.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebd2f2d5c5a6f00a3dfee1fef703ae7f059b10d54dade8eb15ae585dddfa934a
BLAKE2b-256 checksum
How to use checksums
6562e78a884e757d10afa212208073940f7cc7e847bc72857fa540a87b47c196
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for codecraftai-interop 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_interop-1.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.5.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page