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
ai_sdlc_framework-0.1.0.tar.gz
(94.3 kB
view details)
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.1.0.tar.gz.
File metadata
- Download URL: ai_sdlc_framework-0.1.0.tar.gz
- Upload date:
- Size: 94.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2df63d3a9917294f2c7ec2e572153a58f82998282b71b5dad6f89186b96ca50
|
|
| MD5 |
9dd3494564660b32d584e4993a4a7c1d
|
|
| BLAKE2b-256 |
92abac00fb0f1e8201810daf1594c1d988649e0264bd913984ae7519fc487a48
|
File details
Details for the file ai_sdlc_framework-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ai_sdlc_framework-0.1.0-py3-none-any.whl
- Upload date:
- Size: 98.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aab75e5c483cb42a823eb6c68e7967cd839ddf70eb046a37768504ff6e90086e
|
|
| MD5 |
9f7d8b462ab6a4fc648643f36b1bcc0e
|
|
| BLAKE2b-256 |
6dda114ce21318122fc8ec6fc1ad9f35b6a52ea8dfa3ce4cac0e54fee6085b0b
|