Skip to main content

Transform Kubernetes CRDs into type-safe KCL schemas and developer-friendly blueprints

Project description

AMDF - Agnostic Multi-cloud Delivery Framework

AMDF CLI MCP Kubernetes

Transform any Kubernetes CRD into type-safe KCL schemas and developer-friendly blueprints

Quick Start{ .md-button .md-button--primary } Examples{ .md-button }

Why AMDF?

Direct interaction with Kubernetes Custom Resource Definitions (CRDs) presents critical challenges:

  • ❌ Security & Compliance Risks Without strict schemas, misconfigurations are easy to commit and hard to validate.

  • ❌ Developer Velocity Bottleneck Writing thousands of lines of YAML manually is slow, error-prone, and hard to reuse across teams.

  • ❌ Inefficient Feedback Loops Engineers waste valuable cycles waiting for CI/CD pipelines to fail, rather than catching configuration errors instantly in the IDE.

The AMDF Solution

AMDF automatically transforms complex CRDs into simple, validated interfaces:

graph LR
    A[Complex CRD] --> B[AMDF] --> C[Type-Safe Schema] --> D[Simple Blueprint]
    style A fill:#ffcccc
    style D fill:#ccffcc

What You Get

Before AMDF After AMDF
Complex CRD Manifests Streamlined Blueprints
Runtime validation errors Compile-time type checking
Provider-specific patterns Unified interface
Manual documentation Auto-generated examples

Core Capabilities

🔍 Universal Discovery

Automatically finds and catalogs all CRDs in your cluster

🏗️ Smart Generation

  • The Library Model (Schema) - Complete, type-safe representations of the raw CRD.

  • The Developer Interface (Blueprint) - A concise, easy-to-read module that exposes only essential configuration.

🤖 AI-Enhanced Experience

Built-in AI assistant explains generated code and provides usage examples via Ollama integration.

🔌 Multiple Interfaces

  • CLI Tool - Direct command-line usage
  • MCP Server - Integration with AI development tools
  • Guided Mode - Interactive wizard for beginners

Architecture

AMDF follows a clean, modular design:

graph TB
    subgraph "User Interfaces"
        CLI[CLI Commands]
        MCP[MCP Server]
        GUI[Guided Mode]
    end

    subgraph "Core Engine"
        DISC[CRD Discovery]
        GEN[Schema Generator]
        BP[Blueprint Creator]
    end

    subgraph "Output"
        SCHEMA[KCL Schemas]
        BLUE[KCL Blueprints]
    end

    CLI --> DISC
    MCP --> DISC
    GUI --> DISC
    DISC --> GEN
    GEN --> BP
    GEN --> SCHEMA
    BP --> BLUE

Real-World Impact

Platform Teams

Transform hundreds of CRDs into consistent, validated schemas that development teams can actually use.

DevOps Engineers

Eliminate configuration drift and deployment failures with compile-time validation.

Application Developers

Focus on business logic instead of learning complex CRD specifications.

Getting Started

Installation

pip install amdf

Basic Workflow

# Discover what's available
amdf list-crds --filter aws

# Generate schemas
amdf generate instances.ec2.aws.upbound.io

# Use the blueprint
import library.blueprints.Instance

server = Instance.InstanceBlueprint {
    _metadataName = "web-server"
    _instanceType = "t3.medium"
}

Interactive Mode

# Guided experience with AI explanations
amdf guided --ai-model qwen3-coder:30b

Ecosystem Integration

AMDF orchestrates a best-in-class stack to deliver infrastructure as code:

  • KCL (Configuration Engine) Provides the modeling language, validation logic, and schema generation capabilities.

  • CNCF Ecosystem (Target Resource Model) Compatible with any Kubernetes CRD, like as Crossplane, ACK, , KRO, Config Connector, and custom operators.

  • Kubernetes (Control Plane) Serves as the universal API and reconciliation engine that AMDF extends.

  • Ollama (Local Intelligence) Powers the integrated AI assistant for offline, privacy-focused schema explanations and guidance.

  • Model Context Protocol (MCP) (Agentic Interface) Exposes AMDF as a standardized server, allowing AI clients to directly interact with, query, and generate infrastructure.

Project details


Download files

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

Source Distribution

amdf-0.1.1.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

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

amdf-0.1.1-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file amdf-0.1.1.tar.gz.

File metadata

  • Download URL: amdf-0.1.1.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for amdf-0.1.1.tar.gz
Algorithm Hash digest
SHA256 51f8fd1761868691db5b1e59d501817b63239ec829ac70c64a260091a247eb76
MD5 d750ff28576f203ff1e20e3ae4dcfd09
BLAKE2b-256 fdd895da3a07968499c17fee22406560a8c1f38519671cbb2dd1c3dae288bf72

See more details on using hashes here.

Provenance

The following attestation bundles were made for amdf-0.1.1.tar.gz:

Publisher: publish-to-pypi.yml on segoja7/agnostic-multicloud-delivery-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amdf-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: amdf-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for amdf-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea527b0fdbae6a267062fabe48087f607664fd10816bbbdc4d47c9e5c37ba6ee
MD5 6063e1c184f850f69428439d7f9363fd
BLAKE2b-256 627405762d8e08e9834e4bc3207f6bfdb1eceaba4b3b4eaad18d22b645cd7673

See more details on using hashes here.

Provenance

The following attestation bundles were made for amdf-0.1.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on segoja7/agnostic-multicloud-delivery-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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