Catalog PyPI
PACKAGE EXPLORERView in registry

agent-failsafe

PyPI

FailSafe governance adapter for Microsoft Agent Governance Toolkit

agentfailsafegovernancesecuritytrust
Versions collected1
Direct dependencies7From release 0.6.1
Last observed20 Oct, 21:54 UTC

README

Version 0.6.1 documentation

agent-failsafe

PyPI Downloads Python License VS Code

FailSafe governance adapter for the Microsoft Agent Governance Toolkit.

agent-failsafe is a Python adapter that connects the FailSafe runtime governance engine to the Microsoft Agent Governance Toolkit.

• Adds runtime behavioral governance to the toolkit • Detects failure patterns such as tool recursion and reasoning collapse • Integrates through interceptors, validators, and policy providers • Install with pip install agent-failsafe

Core runtime: https://github.com/MythologIQ/Failsafe

Installation

# Core only (types, clients, patterns, trust scoring)
pip install agent-failsafe

# With specific toolkit packages
pip install agent-failsafe[agent-os]          # Interceptor + Integration + Webhook events
pip install agent-failsafe[agent-sre]         # SLI + Signal generation
pip install agent-failsafe[agent-mesh]        # Audit sink
pip install agent-failsafe[agent-hypervisor]  # ExecutionRing + KillSwitch

# Everything
pip install agent-failsafe[full]

The public extras above keep their names, but resolve to the consolidated Microsoft Agent Governance Toolkit 4.x packages: agent-os, agent-mesh, and agent-hypervisor pull agent-governance-toolkit-core (>=4.0.0,<5.0), while agent-sre pulls agent-governance-toolkit-cli (>=4.0.0,<5.0). full (and dev) install the union of both consolidated packages.

Extension Points

AdapterToolkit Extension PointModule
FailSafeInterceptorToolCallInterceptorinterceptor.py
FailSafeKernelBaseIntegration + @register_adapterintegration.py
GovernancePipelineFull lifecycle orchestrationpipeline.py
FailSafeRingAdapterExecutionRing + KillSwitchring_adapter.py
FailSafeTrustValidatorValidatorInterface (control plane)trust_validator.py
ShadowGenomePolicyProviderPolicyProviderInterfacepolicy_provider.py
FailSafeComplianceSLISLI (agent-sre)sli.py
FailSafeAuditSinkAuditSinkaudit_sink.py
FailSafeApprovalBackendApprovalBackendescalation.py
FailSafeTrustMapperDID translation (did:myth <> did:mesh)trust_mapper.py
decision_to_webhook_eventWebhookEvent translationwebhook_events.py

Architecture Diagram

AI Agent
↓
Agent Governance Toolkit
↓
agent-failsafe adapter
↓
FailSafe runtime engine
↓
Tool execution

Basic Usage Example

Basic interceptor example

from agent_failsafe import FailSafeInterceptor

interceptor = FailSafeInterceptor()
result = interceptor.intercept(request)
from agent_failsafe import FailSafeInterceptor

interceptor = FailSafeInterceptor()
result = interceptor.intercept(request)

See docs/ADAPTER_ARCHITECTURE.md for full API reference.

Ecosystem

FailSafe runtime engine https://github.com/MythologIQ/Failsafe

Developer extension https://marketplace.visualstudio.com/items?itemName=MythologIQ.mythologiq-failsafe https://open-vsx.org/extension/MythologIQ/mythologiq-failsafe

  • ai-agents
  • agent-governance
  • agentic-ai
  • ai-runtime
  • ai-reliability
  • llm-agents
  • ai-infrastructure
  • open-source

License

MIT

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.6.13 Jun 20267

Package advisories

0
No matching advisories collected

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

Repository

PENDING
mythologiq/agent-failsafe

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:54 UTC

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

Record identity

package:1abc790c5d669381ba51af7c3eb08c902b1a39da41201dd98009b9c5e863a3de