Catalog PyPI
PACKAGE EXPLORERView in registry

ag2-tealtiger

PyPI

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.

ag2ai-agentsauditautogencost-trackingdeterministicgovernancegroupchatguardrailskill-switchllmmulti-agentpiipolicysecuritytealtiger
Versions collected1
Direct dependencies7From release 0.1.0
Last observed20 Oct, 21:17 UTC

README

Version 0.1.0 documentation

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

FeatureObserveMonitorEnforce
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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.011 Jun 20267

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
agentguard-ai/tealtiger

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c0ac3f8323b93f0ed05f57d1159356dfb917ca39e0bf0988c4c76e4e2074fe81