AI-MC2 Fabric Intelligence Layer SDK
Python SDK for the AI-MC2 autonomous intelligence layer for multi-cluster congestion control. Zero dependencies — standard library only.
Install
# Open-source SDK (MIT) — zero dependencies
pip install ai-mc2
# From source (clone + editable install)
git clone https://github.com/HONEYPOTZ-AI/ai-mc2.git
cd ai-mc2
pip install -e .
Quick Start
from ai_mc2.topology import LatencyModel
from ai_mc2.models import TopologyType, FlowPriority
# Compare AI-MC2 vs Fat-tree latency at 6 hops
model = LatencyModel(TopologyType.AIMC2)
latency = model.p99_us(6, FlowPriority.LATENCY)
print(f"AI-MC2 p99 @ 6 hops: {latency:.2f} µs") # 2.89 µs
# AI-MC2 is ~8× faster than Fat-tree
c = model.compare_all(6)
print(f"Fat-tree: {c['fat_tree']:.1f} µs, AI-MC2: {c['aimc2']:.1f} µs")
# CLI demo
python scripts/demo.py
REST API (Proprietary)
# Install API extras
pip install ai-mc2[api]
# Start the API server
uvicorn api.main:app --reload --host 0.0.0.0 --port 8080
# Open OpenAPI docs
open http://localhost:8080/docs
Subsystems
| Subsystem | Path | Description |
|---|---|---|
| §1 Topology | /api/v1/topology |
Near-linear hop-latency routing |
| §2 Congestion | /api/v1/congestion |
Incast suppression & flow admission |
| §3 Failure Domain | /api/v1/failure-domain |
CXL/PCIe blast-radius isolation |
| §4 Optical | /api/v1/optical |
800G DR8 power/thermal envelope |
| Fabric | /api/v1/fabric |
Unified orchestrator |
Development
make install-dev # Install SDK + API + test deps
make test # Run unit + integration tests
make demo # End-to-end walkthrough
make kpi # Validate KPI targets
make smoke # Smoke-test running API
make serve # Start dev server on :8080
Deployment
# Docker
docker compose up -d
# Kubernetes
kubectl apply -f deploy/k8s/all.yaml
# Helm
helm upgrade --install ai-mc2 deploy/helm/ai-mc2 \
--set ingress.host=ai-mc2-api.your-domain.com
License & Pricing
This repository uses a dual-tier license model:
| Tier | License | Price | Components |
|---|---|---|---|
| Community | MIT | $0 | ai_mc2/ SDK, unit tests, integration tests, demo script |
| Pro | Proprietary | $2,500/mo or $25,000/yr | Full REST API, Docker + docker-compose, CI pipeline, smoke/integration tests, email support (2-day SLA) |
| Enterprise | Proprietary | Contact us | K8s/Helm deployment, KEDA autoscaling, Bicep IaC, KPI compliance harness, RBAC + audit logging, priority SLA |
SDK is open-source (MIT) to drive adoption and build trust — the moat is in the operational, deployment, and compliance tooling.
📧 mc2@honeypotz.net for Pro/Enterprise inquiries.
Metadata
Release files for ai-mc2 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ai_mc2-2.1.1.tar.gz | 28.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_mc2-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.6 kB
Release files / ai_mc2-2.1.1.tar.gz
| Download URL | ai_mc2-2.1.1.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01ba4db343d6b4f64b623bf9768fa42a418c8001cbd50320e9dd672a71bb36f6
|
|
BLAKE2b-256 checksum How to use checksums |
225674b9861e7b4cfb6ecdebb71bc5dd37e0cac0b925857d4a1a4dcc73d03f10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.6
|
Release files / ai_mc2-2.1.1-py3-none-any.whl
| Download URL | ai_mc2-2.1.1-py3-none-any.whl |
|---|---|
| Size | 23.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59ad0ab79236152c411f38111a157313cbf70d11f90ece1dce92b31a726c505e
|
|
BLAKE2b-256 checksum How to use checksums |
7d9fe66142ff2ea12da5b442a00bd7266b83541dc0c73e0084493b3759bbfc2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.6
|
Security for ai-mc2 2.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.