Skip to main content

ag2-tealtiger

Deterministic governance adapter for AG2 (AutoGen fork) — policy enforcement, PII detection, cost tracking, per-agent kill switch, governed speaker selection, and structured audit evidence.

No LLM in the governance path. All policy evaluation is deterministic, adding <5ms latency.

PyPI License Python

Installation

pip install ag2-tealtiger

Quick Start

Zero-Config Observe Mode

from ag2_tealtiger import TealTigerGuard

guard = TealTigerGuard()  # No engine = observe mode
guard.attach(my_agent)
# Cost, PII, and tool usage tracked automatically. Nothing blocked.

Or the convenience subclass:

from ag2_tealtiger import TealTigerAuditAgent

agent = TealTigerAuditAgent(name="coder")  # Zero config, observe mode built-in

Policy Enforcement

from ag2_tealtiger import TealTigerGuard, GovernanceMode

guard = TealTigerGuard(engine=my_engine, mode=GovernanceMode.ENFORCE)
guard.attach(agent)
# DENY blocks the call with a structured denial message

Governed GroupChat

from ag2_tealtiger import GovernedGroupChat, TealTigerGuard, GovernanceMode

guard = TealTigerGuard(engine=engine, mode=GovernanceMode.ENFORCE)
group_chat = GovernedGroupChat(agents=[agent1, agent2, agent3], guard=guard)
speaker = group_chat.select_speaker(last_speaker=agent1)

Features

Feature Observe Monitor Enforce
Cost tracking per agent ✅ ✅ ✅
PII detection in tool args ✅ ✅ ✅
Structured audit entries (TEEC) ✅ ✅ ✅
Per-agent freeze/unfreeze ✅ ✅ ✅
Policy evaluation — ✅ (log) ✅ (block)
Budget enforcement — ✅ (log) ✅ (block)
REFER escalation — ✅ ✅
Inter-agent message governance ✅ ✅ ✅
Governed speaker selection ✅ ✅ ✅
JSONL audit export ✅ ✅ ✅

License

Apache-2.0

Metadata

Release files for ag2-tealtiger 0.1.0

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

Source distribution (sdist)

Source distribution for ag2-tealtiger 0.1.0
File Size Uploaded Provenance Actions
ag2_tealtiger-0.1.0.tar.gz 96.2 kB Without provenance Details for ag2_tealtiger-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ag2-tealtiger 0.1.0
File Interpreter ABI Platform Actions
ag2_tealtiger-0.1.0-py3-none-any.whl Python 3 none any Details for ag2_tealtiger-0.1.0-py3-none-any.whl

Total release size: 99.1 kB

Release files / ag2_tealtiger-0.1.0.tar.gz

Download URL ag2_tealtiger-0.1.0.tar.gz
Size 96.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e9de8a5b5d1d534f3fdb838ffc88ae234ec380fd9363c17deeaadca7605a4d90
BLAKE2b-256 checksum
How to use checksums
488d18b0d16a858b9ff3f1542c53b989e68229bd7854f66e1cd0f84e80bdc966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / ag2_tealtiger-0.1.0-py3-none-any.whl

Download URL ag2_tealtiger-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6b421155747f5662db7a8c4af324f3154720373dfb9735d271a6338ceca2b6f
BLAKE2b-256 checksum
How to use checksums
3fba392458be85b295497d8483b3dfb3043a875532136591c9d3e2896f848004
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for ag2-tealtiger 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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