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.
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 ai_mc2-2.1.1.tar.gz.
File metadata
- Download URL: ai_mc2-2.1.1.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01ba4db343d6b4f64b623bf9768fa42a418c8001cbd50320e9dd672a71bb36f6
|
|
| MD5 |
4ee354220a3b47c312dcd8ff6d820130
|
|
| BLAKE2b-256 |
225674b9861e7b4cfb6ecdebb71bc5dd37e0cac0b925857d4a1a4dcc73d03f10
|
File details
Details for the file ai_mc2-2.1.1-py3-none-any.whl.
File metadata
- Download URL: ai_mc2-2.1.1-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59ad0ab79236152c411f38111a157313cbf70d11f90ece1dce92b31a726c505e
|
|
| MD5 |
2d35ff9df7e162c65c9c25c9ebc14b3d
|
|
| BLAKE2b-256 |
7d9fe66142ff2ea12da5b442a00bd7266b83541dc0c73e0084493b3759bbfc2a
|