Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/agent-governance-toolkit
/ functions
Functions
32,326 in github.com/microsoft/agent-governance-toolkit
⨍
Functions
32,326
◇
Types & classes
6,875
↳
Endpoints
332
Method
__init__
( self, plugins_dir: Path, registry: PluginRegistry, trusted_keys: Optional[Ma
agent-governance-python/agent-marketplace/src/agent_marketplace/installer.py:81
Method
__init__
(self, max_adjustment: int = 200)
agent-governance-python/agent-marketplace/src/agent_marketplace/usage_trust.py:50
Method
__init__
( self, storage_path: Optional[Path] = None, marketplace_policy: Optional[MarketplaceP
agent-governance-python/agent-marketplace/src/agent_marketplace/registry.py:42
Method
__init__
(self, private_key: ed25519.Ed25519PrivateKey)
agent-governance-python/agent-marketplace/src/agent_marketplace/signing.py:35
Method
__init__
(self, log_path: Optional[str] = None)
agent-governance-python/agent-rag-governance/src/agent_rag_governance/audit.py:126
Method
__init__
(self, active_policies: List[str])
agent-governance-python/agent-rag-governance/src/agent_rag_governance/content_scanner.py:140
Method
__init__
( self, query_engine: Any, governor: RAGGovernor, collection: str = "default",
agent-governance-python/agent-rag-governance/src/agent_rag_governance/llamaindex.py:82
Method
__init__
(self, retriever: Any)
agent-governance-python/agent-rag-governance/src/agent_rag_governance/llamaindex.py:233
Method
__init__
(self, query_engine: Any)
agent-governance-python/agent-rag-governance/src/agent_rag_governance/llamaindex.py:258
Method
__init__
(self, collection: str, agent_id: str, reason: str = "denied")
agent-governance-python/agent-rag-governance/src/agent_rag_governance/exceptions.py:35
Method
__init__
(self, agent_id: str, limit: int, window_seconds: int = 60)
agent-governance-python/agent-rag-governance/src/agent_rag_governance/exceptions.py:54
Method
__init__
( self, retriever: Any, collection: str, governor: "RAGGovernor", )
agent-governance-python/agent-rag-governance/src/agent_rag_governance/governor.py:54
Method
__init__
(self, policy: RAGPolicy, agent_id: str = "default")
agent-governance-python/agent-rag-governance/src/agent_rag_governance/governor.py:183
Method
__init__
(self, window_seconds: int = 60)
agent-governance-python/agent-rag-governance/src/agent_rag_governance/rate_limiter.py:35
Method
__init__
(self, text: str)
agent-governance-python/agent-rag-governance/tests/test_governor.py:19
Method
__init__
(self, docs: List[_FakeDoc])
agent-governance-python/agent-rag-governance/tests/test_governor.py:25
Method
__init__
(self, docs: List[_FakeDoc])
agent-governance-python/agent-rag-governance/tests/test_governor.py:194
Method
__init__
(self, docs: List[_FakeDoc])
agent-governance-python/agent-rag-governance/tests/test_governor.py:281
Method
__init__
(self, text: str)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:20
Method
__init__
(self, nodes: List[_FakeNode])
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:26
Method
__init__
(self, nodes: List[_FakeNode])
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:33
Method
__init__
(self, nodes: List[_FakeNode])
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:42
Method
__init__
(self)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:289
Method
__init__
(self)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:306
Method
__init__
(self, text: str)
agent-governance-python/agent-rag-governance/tests/test_cedar_policy.py:31
Method
__init__
(self, docs: list)
agent-governance-python/agent-rag-governance/tests/test_cedar_policy.py:37
Method
__init__
(self, text: str)
agent-governance-python/agent-rag-governance/tests/test_rate_limit_window.py:22
Method
__init__
(self, docs: list[_FakeDoc])
agent-governance-python/agent-rag-governance/tests/test_rate_limit_window.py:27
Method
__init__
(self, reason: ResolutionReason, detail: str = "")
agent-governance-python/agt-policies/src/agt/manifest_resolution/errors.py:42
Method
__init__
( self, outcome: str, *, enforced_identity: str | None = None, handle:
agent-governance-python/agt-policies/src/agt/policies/runtime.py:106
Method
__init__
( self, manifest_path: Path | str, *, resolution_root: Path | None = None,
agent-governance-python/agt-policies/src/agt/policies/runtime.py:216
Method
__init__
(self, path: Path)
agent-governance-python/agt-policies/src/agt/cli/migrate.py:265
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/test_runtime.py:62
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_guardrails_adapter_scenarios.py:66
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_agentshield_adapter_scenarios.py:75
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_a2a_adapter_scenarios.py:61
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_openai_adapter_scenarios.py:68
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_crewai_adapter_scenarios.py:110
Method
__init__
( self, tool_name: str = "search", tool_input: Any = None, )
agent-governance-python/agt-policies/tests/scenarios/test_crewai_adapter_scenarios.py:147
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_bedrock_adapter_scenarios.py:72
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_semantic_kernel_adapter_scenarios.py:71
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_llamaindex_adapter_scenarios.py:66
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_pydantic_ai_adapter_scenarios.py:69
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_gemini_adapter_scenarios.py:71
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_google_adk_adapter_scenarios.py:75
Method
__init__
(self, tool_name="search", tool_args=None, agent_name="agent")
agent-governance-python/agt-policies/tests/scenarios/test_google_adk_adapter_scenarios.py:112
Method
__init__
(self, agent_name="root-agent", invocation_id="inv-001")
agent-governance-python/agt-policies/tests/scenarios/test_google_adk_adapter_scenarios.py:121
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_mistral_adapter_scenarios.py:80
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_anthropic_adapter_scenarios.py:69
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_smolagents_adapter_scenarios.py:75
Method
__init__
(self, tool_calls: list[Any] | None = None, observation: Any = None)
agent-governance-python/agt-policies/tests/scenarios/test_smolagents_adapter_scenarios.py:112
Method
__init__
(self, tool_name: str = "search", tool_arguments: Any = None)
agent-governance-python/agt-policies/tests/scenarios/test_smolagents_adapter_scenarios.py:120
Method
__init__
(self, id: str = "call-1", name: str = "", arguments: str = "")
agent-governance-python/agt-policies/tests/scenarios/test_autogen_adapter_scenarios.py:50
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_autogen_adapter_scenarios.py:105
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_maf_adapter_scenarios.py:78
Method
__init__
(self, verdicts: list[dict[str, Any]])
agent-governance-python/agt-policies/tests/scenarios/test_langchain_adapter_scenarios.py:68
Method
__init__
(self, config: PromptDefenseConfig | None = None)
agent-governance-python/agent-compliance/src/agent_compliance/prompt_defense.py:452
Method
__init__
( self, manifest_path: Optional[str] = None, modules: Optional[list[str]] = None,
agent-governance-python/agent-compliance/src/agent_compliance/integrity.py:231
Method
__init__
(self, controls: Optional[dict] = None)
agent-governance-python/agent-compliance/src/agent_compliance/verify.py:494
Method
__init__
(self, root_node: Any)
agent-governance-python/agent-compliance/src/agent_compliance/lint_policy.py:132
Method
__init__
( self, gates: Optional[list[PromotionGate]] = None )
agent-governance-python/agent-compliance/src/agent_compliance/promotion.py:295
Method
__init__
(self, config: SupplyChainConfig | None = None)
agent-governance-python/agent-compliance/src/agent_compliance/supply_chain.py:215
Method
__init__
Create a security finding. Args: severity: One of "critical", "high", "medium", "low". category: Finding category (e.
agent-governance-python/agent-compliance/src/agent_compliance/security/scanner.py:119
Method
__init__
Initialize security scanner. Args: plugin_dir: Path to the plugin directory to scan. plugin_name: Human-readable plug
agent-governance-python/agent-compliance/src/agent_compliance/security/scanner.py:255
Method
__init__
( self, output_json: bool = False, verbose: bool = False, quiet: bool = False,
agent-governance-python/agent-compliance/src/agent_compliance/cli/agt.py:117
Method
__init__
(self, *args: Any, **kwargs: Any)
agent-governance-python/agent-compliance/src/agent_compliance/cli/agt.py:133
Method
__init__
(self, payload: dict[str, Any])
agent-governance-python/agent-compliance/tests/test_cli_api_retry.py:50
Method
__init__
(self, agent_id: str, version: str)
agent-governance-python/agent-sre/src/agent_sre/sbom.py:48
Method
__init__
(self, private_key_path: str | None = None)
agent-governance-python/agent-sre/src/agent_sre/signing.py:78
Method
__init__
( self, window_seconds: float = 300, group_by: tuple[str, ...] = ("agent_id", "title")
agent-governance-python/agent-sre/src/agent_sre/alerts/dedup.py:53
Method
__init__
( self, batch_window_seconds: float = 60, max_batch_size: int = 50, )
agent-governance-python/agent-sre/src/agent_sre/alerts/dedup.py:159
Method
__init__
(self, db_path: str = "agent_sre_alerts.db", dedup_window_seconds: float = 300.0)
agent-governance-python/agent-sre/src/agent_sre/alerts/__init__.py:419
Method
__init__
( self, window_seconds: float = 60.0, z_threshold: float = 2.5, min_windows: i
agent-governance-python/agent-sre/src/agent_sre/anomaly/rogue_detector.py:129
Method
__init__
( self, low_threshold: float = 0.3, high_threshold: float = 3.5, min_actions:
agent-governance-python/agent-sre/src/agent_sre/anomaly/rogue_detector.py:195
Method
__init__
(self, violation_weight: float = 1.0)
agent-governance-python/agent-sre/src/agent_sre/anomaly/rogue_detector.py:261
Method
__init__
(self, config: RogueDetectorConfig | None = None)
agent-governance-python/agent-sre/src/agent_sre/anomaly/rogue_detector.py:310
Method
__init__
(self, config: DetectorConfig | None = None)
agent-governance-python/agent-sre/src/agent_sre/anomaly/detector.py:129
Method
__init__
(self, z_threshold: float = 2.5, iqr_multiplier: float = 1.5)
agent-governance-python/agent-sre/src/agent_sre/anomaly/strategies.py:19
Method
__init__
( self, max_sequence_length: int = 50, min_pattern_frequency: int = 5, )
agent-governance-python/agent-sre/src/agent_sre/anomaly/strategies.py:68
Method
__init__
( self, token_budget: float | None = None, api_rate_limit: float | None = None, )
agent-governance-python/agent-sre/src/agent_sre/anomaly/strategies.py:128
Method
__init__
(self, interceptor: Any)
agent-governance-python/agent-sre/src/agent_sre/chaos/adversarial_policy.py:171
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/chaos/library.py:65
Method
__init__
(self, schedules: list[ChaosSchedule] | None = None)
agent-governance-python/agent-sre/src/agent_sre/chaos/chaos_scheduler.py:27
Method
__init__
(self, experiment: ChaosExperiment)
agent-governance-python/agent-sre/src/agent_sre/chaos/adversarial.py:98
Method
__init__
( self, name: str, target_agent: str, faults: list[Fault], duration_se
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:249
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/k8s/__init__.py:381
Method
__init__
( self, event_type: str, environment: Environment, details: dict[str, Any] | N
agent-governance-python/agent-sre/src/agent_sre/delivery/blue_green.py:66
Method
__init__
(self, config: BlueGreenConfig | None = None)
agent-governance-python/agent-sre/src/agent_sre/delivery/blue_green.py:93
Method
__init__
( self, policy_engine: Any | None = None, similarity_threshold: float = 0.9, m
agent-governance-python/agent-sre/src/agent_sre/delivery/rollout.py:271
Method
__init__
( self, name: str, steps: list[RolloutStep] | None = None, rollback_conditions
agent-governance-python/agent-sre/src/agent_sre/delivery/rollout.py:534
Method
__init__
( self, heartbeat_timeout: float = 300.0, success_rate_threshold: float = 0.9, )
agent-governance-python/agent-sre/src/agent_sre/fleet/__init__.py:196
Method
__init__
( self, name: str, variants: list[Variant] | None = None, metrics: list[str] |
agent-governance-python/agent-sre/src/agent_sre/experiments/__init__.py:108
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/adapters/__init__.py:150
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/adapters/__init__.py:207
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/adapters/__init__.py:265
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/adapters/__init__.py:318
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/adapters/__init__.py:383
Method
__init__
(self)
agent-governance-python/agent-sre/src/agent_sre/adapters/__init__.py:445
Method
__init__
( self, z_threshold: float = 2.5, iqr_multiplier: float = 1.5, ewma_alpha: flo
agent-governance-python/agent-sre/src/agent_sre/cost/anomaly.py:91
Method
__init__
(self, models: list[ModelConfig])
agent-governance-python/agent-sre/src/agent_sre/cost/optimizer.py:61
← previous
next →
12,301–12,400 of 32,326, ranked by callers