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.0

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.0
File Size Uploaded Provenance
codecraftai_interop-1.5.0.tar.gz 128.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 317.8 kB

Release files / codecraftai_interop-1.5.0.tar.gz

Download URL codecraftai_interop-1.5.0.tar.gz
Size 128.4 kB
Tags Source
SHA-256 checksum
How to use checksums
73bc2b6d3bc25ab29cfe527eb5687a79faa690c72150493a0fa87e124f20d47b
BLAKE2b-256 checksum
How to use checksums
8e8b264749d42e3a114288f0d743f021e71f7e327156f7a0ec34c012ac79eb83
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 19, 2026.

Transparency log

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

Download URL codecraftai_interop-1.5.0-py3-none-any.whl
Size 189.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ed816252f41c26c5f606561be5e743e4b5cfd0927c3efa302bc38870208b36d
BLAKE2b-256 checksum
How to use checksums
3500c2710538c9d18bc1c24a3d083d01f56030ca402f135cbd9add4884260e4a
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 19, 2026.

Transparency log

Security for codecraftai-interop 1.5.0

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.0.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 19, 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.0 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