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
Release history Release notifications | RSS feed
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_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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
769853e486c58d4d791b06bd42931640245460656c88c383f793d18265456375
|
|
| MD5 |
d89c24dee1d298ec74c0aa8d448c2c69
|
|
| BLAKE2b-256 |
f2895f42d56d6b533f3327fe8161608594553bda131ef8190ae21d1f491ca011
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_sdlc_framework-0.2.0.tar.gz -
Subject digest:
769853e486c58d4d791b06bd42931640245460656c88c383f793d18265456375 - Sigstore transparency entry: 1176713400
- Sigstore integration time:
-
Permalink:
ai-sdlc-framework/ai-sdlc@e8904212cdf02660e9d5f2b6f971ba30850cc690 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ai-sdlc-framework
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8904212cdf02660e9d5f2b6f971ba30850cc690 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ai_sdlc_framework-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ai_sdlc_framework-0.2.0-py3-none-any.whl
- Upload date:
- Size: 110.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45d2e89ff7d52ea6af58172152584cd4671aa1235c2f21a944c6b2e5a8fa5cd0
|
|
| MD5 |
0eedfb0df9f8784f2f5a851d73a0a11c
|
|
| BLAKE2b-256 |
665650e16775052e97eb9c995c0eb2f99c4be993da30ccaca43338e0f671431e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_sdlc_framework-0.2.0-py3-none-any.whl -
Subject digest:
45d2e89ff7d52ea6af58172152584cd4671aa1235c2f21a944c6b2e5a8fa5cd0 - Sigstore transparency entry: 1176713564
- Sigstore integration time:
-
Permalink:
ai-sdlc-framework/ai-sdlc@e8904212cdf02660e9d5f2b6f971ba30850cc690 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ai-sdlc-framework
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8904212cdf02660e9d5f2b6f971ba30850cc690 -
Trigger Event:
push
-
Statement type: