Skip to main content

NTI Verified

autogen-nti

License

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)

  1. Zero-Trust Capability Enforcement
  2. NIST Post-Quantum Cryptography (Dilithium5 / Kyber1024)
  3. BFT Multi-Agent Consensus
  4. Merkle-Chained Audit Trails
  5. P2P Agent Mesh & State Persistence

License

Apache License 2.0. See LICENSE.

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autogen-nti 0.1.2
File Size Uploaded Provenance Actions
autogen_nti-0.1.2.tar.gz 9.4 kB With provenance Details for autogen_nti-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autogen-nti 0.1.2
File Interpreter ABI Platform Actions
autogen_nti-0.1.2-py3-none-any.whl Python 3 none any Details for autogen_nti-0.1.2-py3-none-any.whl

Total release size: 18.5 kB

Release files / autogen_nti-0.1.2.tar.gz

Download URL autogen_nti-0.1.2.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
eed1c1350fbfda153cfd04a8364646ec197791061d8ac1cc90d4f807879f77f7
BLAKE2b-256 checksum
How to use checksums
a7f5c470db4b305fcd2bec4544b1980302e7ab105109658f56cf096aaf7901ea
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 24, 2026.

Transparency log

Release files / autogen_nti-0.1.2-py3-none-any.whl

Download URL autogen_nti-0.1.2-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff3846cf3a080469d80a4f3c28f592ace84df0fb084af27a794aca9a8b40c0f1
BLAKE2b-256 checksum
How to use checksums
9f107ea6cd0604046f0219c18e0409561c4806924d3383e9061f18101859930a
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 24, 2026.

Transparency log

Security for autogen-nti 0.1.2

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.

Select from 2 files

Attestation for autogen_nti-0.1.2.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 24, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page