autogen-nti
Drop-in post-quantum security for AutoGen and Microsoft Agent Framework, powered by NTI (Neutral Trust Infrastructure).
Install
pip install autogen-nti
Usage
from autogen_nti import NTISecurityWrapper
wrapper = NTISecurityWrapper(agent_id="finance_agent") wrapper.grant_capability("execute_transfer")
Verify an incoming message before processing
is_allowed = wrapper.verify_message( capability="execute_transfer", message={"action": "transfer", "amount": 100} )
What it enforces (all 5 pillars)
- Zero-Trust Capability Enforcement
- NIST Post-Quantum Cryptography (Dilithium5 / Kyber1024)
- BFT Multi-Agent Consensus
- Merkle-Chained Audit Trails
- P2P Agent Mesh & State Persistence
License
Apache License 2.0. See LICENSE.
Links
- Core SDK: https://pypi.org/project/ube-foundation/
- Homepage: https://abisheakp197.github.io/Neutral-Trust-Infrastructure/
Architecture
graph TD
subgraph AutoGen["AutoGen Framework"]
Sender["Sender Agent (ConversableAgent)"]
MsgLoop["GroupChat / Message Loop"]
Receiver["Receiver Agent (ConversableAgent)"]
end
subgraph NTILayer["NTI Security Layer"]
Interceptor["Message Interceptor (NTIAgentWrapper)"]
Wrapper["NTISecurityWrapper"]
PolicyCheck["Signature & Capability Evaluation"]
FailClosed["Fail-Closed Logic & Security Logger"]
end
subgraph CryptoEngine["Crypto Engine"]
PQCKey["PqcKeyPair (Dilithium5 / Kyber1024)"]
TrustEng["TrustEngine (Capability Policy Engine)"]
end
%% Flow
Sender -->|"1. Sign message payload"| PQCKey
Sender -->|"2. Send message into loop"| MsgLoop
MsgLoop -->|"3. Intercept on_messages()"| Interceptor
Interceptor -->|"4. Pass message to verification"| Wrapper
Wrapper -->|"5. Verify Dilithium5 signature"| PQCKey
Wrapper -->|"6. Evaluate capability request"| TrustEng
TrustEng --> PolicyCheck
PolicyCheck -->|"7a. Valid & Authorized"| Receiver
PolicyCheck -->|"7b. Unsigned / Spoofed / Unauthorized"| FailClosed
FailClosed -->|"Block Message & Log Security Event"| MsgLoop
Metadata
Release files for autogen-nti 0.1.3
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 |
|---|---|---|---|---|
| autogen_nti-0.1.3.tar.gz | 10.1 kB | With provenance | Details for autogen_nti-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autogen_nti-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for autogen_nti-0.1.3-py3-none-any.whl |
Total release size: 19.2 kB
Release files / autogen_nti-0.1.3.tar.gz
| Download URL | autogen_nti-0.1.3.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
481a221f0e265cfd690fa6951e2b1ce7e9c9f411c3bd2611d9559b2252017b24
|
|
BLAKE2b-256 checksum How to use checksums |
8a3014719460e43e68f5d618f9250c322d7f4ce9f2e4140cbc5ede252df55340
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / autogen_nti-0.1.3-py3-none-any.whl
| Download URL | autogen_nti-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a1cd7c3da19073bab588616c14ba43e234f153983c157daa4eee1ff959b367e
|
|
BLAKE2b-256 checksum How to use checksums |
b6c0489194029c98a439ff3e67dda9a08e1e1ece0ec67ab1ea5764726660c862
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for autogen-nti 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for autogen_nti-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA 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.