Skip to main content

Python SDK for the AI-SDLC Framework

Project description

ai-sdlc

Python SDK for the AI-SDLC Framework — a Kubernetes-style declarative framework for governing AI agents in software development lifecycles.

Installation

pip install ai-sdlc

Quick Start

from ai_sdlc.core.types import Pipeline, API_VERSION
from ai_sdlc.core.validation import validate_resource
from ai_sdlc.builders.builders import PipelineBuilder

# Build a pipeline using the fluent API
pipeline = (
    PipelineBuilder("my-pipeline")
    .add_trigger({"event": "issue.assigned"})
    .add_provider("github", {"type": "github"})
    .add_stage({"name": "implement"})
    .build()
)

# Validate against JSON Schema
result = validate_resource(pipeline.model_dump(by_alias=True))
assert result.valid

Modules

Module Description
core Pydantic models for all 5 resource types, JSON Schema validation, comparison, provenance
builders Fluent builder classes for resource construction
policy Enforcement engine, autonomy evaluation, complexity routing, authorization
adapters Interface Protocols, adapter registry, community stubs
reconciler asyncio-based reconciliation loop with domain reconcilers
agents Orchestration patterns, executor, multi-tier memory
security Sandbox, JIT credentials, kill switch, approval workflow Protocols
telemetry OpenTelemetry semantic conventions, structured logging
compliance Regulatory framework mappings (EU AI Act, NIST AI RMF, ISO 42001, etc.)
metrics Metric store, standard metric definitions
audit JSONL audit logging with tamper-evident hashing

Requirements

  • Python 3.11+
  • pydantic >= 2.0
  • jsonschema >= 4.20
  • PyYAML >= 6.0
  • opentelemetry-api >= 1.20

License

Apache-2.0

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

ai_sdlc_framework-0.2.0.tar.gz (106.5 kB view details)

Uploaded Source

Built Distribution

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

ai_sdlc_framework-0.2.0-py3-none-any.whl (110.5 kB view details)

Uploaded Python 3

File details

Details for the file ai_sdlc_framework-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for ai_sdlc_framework-0.2.0.tar.gz
Algorithm Hash digest
SHA256 769853e486c58d4d791b06bd42931640245460656c88c383f793d18265456375
MD5 d89c24dee1d298ec74c0aa8d448c2c69
BLAKE2b-256 f2895f42d56d6b533f3327fe8161608594553bda131ef8190ae21d1f491ca011

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_sdlc_framework-0.2.0.tar.gz:

Publisher: release.yml on ai-sdlc-framework/ai-sdlc

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

File details

Details for the file ai_sdlc_framework-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_sdlc_framework-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45d2e89ff7d52ea6af58172152584cd4671aa1235c2f21a944c6b2e5a8fa5cd0
MD5 0eedfb0df9f8784f2f5a851d73a0a11c
BLAKE2b-256 665650e16775052e97eb9c995c0eb2f99c4be993da30ccaca43338e0f671431e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_sdlc_framework-0.2.0-py3-none-any.whl:

Publisher: release.yml on ai-sdlc-framework/ai-sdlc

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