maigp-light
Minimal detect & respond governance for AI model calls.
Zero dependencies. Five minutes to integrate. Forward-compatible with the full AIGP/MAIGP protocol.
Install
pip install maigp-light
Quick Start
from aigp_light import AigpLight
gov = AigpLight.from_yaml("aigp-light.yaml")
# Wrap any model call
response = gov.call(
client.chat.completions.create,
model="gpt-4o",
messages=[{"role": "user", "content": "Hello"}]
)
What It Does
- Detects behavioral deviation: latency spikes, error rates, refusal patterns, token explosions, cost overruns
- Responds automatically: LOG, ALERT, RATE_LIMIT, FALLBACK, BLOCK, CIRCUIT_BREAK
- Traces every call in RFC-010 §5.3 format (forward-compatible with full AIGP)
What It Doesn't Need
No external services. No governance server. No delegation tokens. No consent providers. No network calls. Everything runs locally from a YAML policy file.
Documentation
Upgrade Path
maigp-light → maigp-agent-core → maigp-client (full protocol)
Your traces carry forward. Your trust history accumulates from day one.
License
Source Available — free to use, no modification without permission. See LICENSE.md.
© 2024-2026 Causum. All rights reserved.
Metadata
Release files for maigp-light 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maigp_light-1.0.0.tar.gz | 15.9 kB | Without provenance | Details for maigp_light-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maigp_light-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for maigp_light-1.0.0-py3-none-any.whl |
Total release size: 34.8 kB
Release files / maigp_light-1.0.0.tar.gz
| Download URL | maigp_light-1.0.0.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe83e0d7ffe74dfa2d754a1947cf08675672ce6fe0fba04bc9eeba172b45c0cb
|
|
BLAKE2b-256 checksum How to use checksums |
d49c36e861ceb5976b08af3aad8e682bb8fea4f3d7758e1f2954482025d5555b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / maigp_light-1.0.0-py3-none-any.whl
| Download URL | maigp_light-1.0.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07ef21ae58b8cd5db39a0ec94dac683504668fb39a2e790bf96f46b469c9787b
|
|
BLAKE2b-256 checksum How to use checksums |
b435df1313a82d80c69320f3c8ba0270739d267b15f72daad515886dd0363c2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for maigp-light 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.