MCPcopy Create free account

hub / github.com/microsoft/agent-governance-toolkit / functions

Functions32,326 in github.com/microsoft/agent-governance-toolkit

Functioncatching_agent
Adversarial agent that catches BaseException. In-process: this catches AgentKernelPanic. Process-level SIGKILL: this CANNOT catch os.kill
agent-governance-python/agent-os/modules/control-plane/tests/test_process_isolation.py:60
Functioncedar_text
(profile: Profile)
examples/aegis-governance-profile/tests/test_compilation.py:74
Methodchain
Return the current chain.
agent-governance-python/agentmesh-integrations/flowise-agentmesh/src/flowise_agentmesh/audit_node.py:125
Methodchain
Access the underlying audit chain for verification.
agent-governance-python/agent-mesh/src/agentmesh/services/audit/__init__.py:37
Methodchain_length
Number of entries in the chain.
agent-governance-python/agentmesh-integrations/langflow-agentmesh/src/langflow_agentmesh/audit_logger.py:135
Methodchains
(self)
agent-governance-python/agent-sre/src/agent_sre/integrations/langchain/callback.py:398
Methodchange_case
Change text case. Args: text: Text to transform case: "lower", "upper", "title", "capitalize", "swap
agent-governance-python/agent-os/modules/atr/atr/tools/safe/text_tool.py:375
Methodchannel_name
(self)
agent-governance-python/agent-sre/src/agent_sre/integrations/pagerduty.py:101
Functioncharge_payment
Always fails to demonstrate compensation.
agent-governance-python/agent-hypervisor/tutorials/saga-compensation/demo.py:66
Methodchat
Access the wrapped chat API
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/adapter.py:330
Methodchat
Governed chat.
agent-governance-python/agent-os/src/agent_os/integrations/llamaindex_adapter.py:313
Methodchat
Execute a governed chat completion. Validates message content against the configured AGT manifest at the ``input`` intervention point
agent-governance-python/agent-os/src/agent_os/integrations/mistral_adapter.py:272
Functionchat_agent
Process a chat message and generate a response. Args: user_message: The user's input message conversation_id: Unique ID
agent-governance-python/agent-os/examples/chat-agent/chat.py:30
Functionchebyshev_distance
Calculate Chebyshev (L∞) distance between two vectors. Maximum absolute difference across any single dimension. Useful for detecting if
agent-governance-python/agent-os/modules/cmvk/src/cmvk/metrics.py:204
Functioncheck
* Check input against governance policies. * Returns a GovernanceResult indicating whether execution is allowed.
agent-governance-python/agentmesh-integrations/mastra-agentmesh/src/governance.ts:38
Methodcheck
Evaluate context and return an advisory decision. Args: context: Policy evaluation context (same dict passed to PolicyEngine).
agent-governance-python/agent-mesh/src/agentmesh/governance/advisory.py:84
Methodcheck
(_: int)
agent-governance-python/agent-mesh/tests/test_multi_agent_policy_hardened.py:243
Methodcheck
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:237
Methodcheck
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:266
Methodcheck
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:295
Methodcheck
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:335
Methodcheck
Perform HTTP health check.
agent-governance-python/agent-os/modules/atr/atr/health.py:129
Methodcheck
Perform TCP health check.
agent-governance-python/agent-os/modules/atr/atr/health.py:196
Methodcheck_access_controls
SOC 2 CC6.1 - Logical and physical access controls
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:404
Methodcheck_action
(self, **kwargs)
agent-governance-python/agent-os/tests/test_stateless.py:149
Methodcheck_action
(self, **kwargs)
agent-governance-python/agent-os/tests/test_stateless.py:352
Methodcheck_action
(self, **kwargs)
agent-governance-python/agent-os/tests/test_stateless.py:385
Methodcheck_alignment
Check if a request aligns with ethical principles. Args: context: Request context to evaluate
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/governance_layer.py:172
Methodcheck_all_async
Check health of all registered tools asynchronously. Args: use_cache: Whether to use cached results. Returns:
agent-governance-python/agent-os/modules/atr/atr/health.py:454
Methodcheck_and_record
(agent_id: str)
agent-governance-python/agent-sre/tests/test_alert_dedup.py:166
Functioncheck_auth
Check if Hugging Face authentication is configured. Returns: True if authenticated, False otherwise. Example: >>> if ch
agent-governance-python/agent-os/modules/cmvk/src/cmvk/hf_utils.py:65
Methodcheck_cascade
(self)
agent-governance-python/agent-os/src/agent_os/_circuit_breaker_impl.py:210
Functioncheck_credit_score
( customer_id: Annotated[str, Field(description="The bank customer identifier.")], )
examples/maf-integration/01-loan-processing/python/main.py:172
Methodcheck_data_minimization
GDPR Article 5(1)(c) - Data minimization
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:431
Methodcheck_drift
(self, agent_did: str, claimed, observed)
agent-governance-python/agent-hypervisor/examples/demo.py:304
Functioncheck_drug_interactions
( pair: Annotated[str, Field(description="Two medications to compare.")], )
examples/maf-integration/03-healthcare/python/main.py:173
Methodcheck_freshness_live
Check version freshness against live registry (PyPI, npm). Calls PyPI JSON API or npm registry. Returns finding if version < freshnes
agent-governance-python/agent-compliance/src/agent_compliance/supply_chain.py:615
Functioncheck_health
(_incident)
examples/agent-sre/basic-runbook/main.py:83
Methodcheck_health_async
Run health check asynchronously. Returns: HealthCheckResult or None if no health check configured.
agent-governance-python/agent-os/modules/atr/atr/schema.py:472
Methodcheck_human_oversight
EU AI Act Article 14 - Human oversight
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:377
Functioncheck_installation
Check which Agent OS packages are installed.
agent-governance-python/agent-os/src/agent_os/__init__.py:87
Methodcheck_loop
()
agent-governance-python/agent-os/modules/atr/atr/health.py:513
Methodcheck_many
()
agent-governance-python/agent-os/tests/test_health.py:261
Methodcheck_monitoring
SOC 2 CC7.2 - System monitoring
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:417
Functioncheck_network
()
agent-governance-python/agent-os/modules/atr/tests/test_executor.py:172
Functioncheck_no_harmful_content
Basic harmful content check
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/governance_layer.py:409
Methodcheck_permission
Check if an action is permitted for the given session. Args: session_id: ID of the agent session act
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/kernel_interface.py:130
Functioncheck_pipeline_status
( service: Annotated[str, Field(description="The service to inspect.")], )
examples/maf-integration/05-devops-deploy/python/main.py:166
Methodcheck_policy
Check if an action is allowed.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/kernel_space.py:941
Methodcheck_principle
(principle: Principle)
agent-governance-python/agent-os/modules/cmvk/src/cmvk/constitutional.py:793
Functioncheck_privacy_compliance
Check for privacy compliance
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/governance_layer.py:423
Functioncheck_ring_access
Check if an action is allowed for the given ring level and sigma.
agent-governance-python/agent-hypervisor/src/hypervisor/api/server.py:373
Methodcheck_rollback
Check rollback conditions — not available in Public Preview.
agent-governance-python/agent-mesh/src/agentmesh/governance/_shadow_impl.py:499
Methodcheck_sandbox
Return whether *module_name* is permitted under the sandbox policy. This is a **policy predicate** — it answers "is this module on the
agent-governance-python/agent-mesh/src/agentmesh/marketplace/_marketplace_impl.py:327
Functioncheck_service_health
( service: Annotated[str, Field(description="The service to inspect.")], )
examples/maf-integration/04-it-helpdesk/python/main.py:166
Methodcheck_signals
Check signal state and respond appropriately. Call this at safe points in agent execution.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/signals.py:421
Methodcheck_staged_files
Check all staged git files for violations.
agent-governance-python/agent-os/src/agent_os/cli/policy_checker.py:312
Methodcheck_sybil
Check for potential Sybil attacks on this identity. Uses the /similar endpoint to detect potential Sybil attacks.
agent-governance-python/agentmesh-integrations/nostr-wot/agentmesh_nostr_wot/provider.py:67
Methodcheck_transparency
EU AI Act Article 13 - Transparency
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:390
Functionchecker
()
agent-governance-python/agent-os/tests/test_health.py:28
Methodchecker
()
agent-governance-python/agent-hypervisor/tests/test_rate_limiter.py:262
Functionchecker_with_checks
(checker)
agent-governance-python/agent-os/tests/test_health.py:33
Functionchild_spec
()
agent-governance-python/agent-sre/tests/test_slo_spec.py:53
Methodchurner
()
agent-governance-python/agent-mesh/tests/test_event_bus.py:291
Functionclarity_evaluator
Evaluate if the response is clear and concise.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_evaluation_engineering.py:182
Functionclassification_task
()
agent-governance-python/agent-sre/tests/test_cost_optimizer.py:79
Functionclassifier
()
agent-governance-python/agent-mesh/tests/governance/test_eu_ai_act.py:15
Functionclaude_data
Minimal valid Claude plugin manifest dict.
agent-governance-python/agent-marketplace/tests/test_schema_adapters.py:51
Functionclean_config_file
(tmp_path: Path)
agent-governance-python/agent-os/tests/test_mcp_scan_cli.py:124
Functionclean_otel
Reset OTel state before each test.
agent-governance-python/agent-mesh/tests/test_otel_observability.py:24
Methodcleanup
Remove expired entries. Returns: Number of entries removed
agent-governance-python/agent-os/modules/caas/src/caas/caching.py:766
Methodcleanup
(self)
agent-governance-python/agent-os/src/agent_os/mcp_protocols.py:117
Methodcleanup_expired
Remove expired messages. Returns count removed.
agent-governance-python/agent-mesh/src/agentmesh/relay/store.py:51
Methodcleanup_expired_data
GDPR: Delete candidate data past retention period.
agent-governance-python/agent-os/examples/hr-recruiting/main.py:313
Methodcleanup_expired_sessions
Remove expired sessions and return the number removed. Returns: The number of expired sessions removed from the store and interna
agent-governance-python/agent-os/src/agent_os/mcp_session_auth.py:261
Methodcleanup_old_hibernated_agents
Clean up hibernated agents older than the specified age. Args: max_age_days: Maximum age in days (uses config de
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/agent_hibernation.py:337
Functionclear
* Clear all entries (for testing).
agent-governance-python/agentmesh-integrations/mastra-agentmesh/src/audit.ts:132
Methodclear
(self)
agent-governance-python/agent-os/modules/observability/tests/test_tracer.py:50
Methodclear
Clear all registered dependencies.
agent-governance-python/agent-os/modules/atr/atr/injection.py:278
Methodclear
()
agent-governance-python/agent-os/extensions/copilot/src/auditLogger.ts:75
Methodclear
Delete measurements. Pass *name* to delete one SLI only.
agent-governance-python/agent-sre/src/agent_sre/slo/persistence.py:271
Methodclear
Clear all stored events.
agent-governance-python/agent-sre/src/agent_sre/integrations/sentry/exporter.py:146
Methodclear
Clear all offline storage.
agent-governance-python/agent-sre/src/agent_sre/integrations/braintrust/exporter.py:257
Methodclear
Clear all offline storage.
agent-governance-python/agent-sre/src/agent_sre/integrations/langsmith/exporter.py:347
Methodclear
Clear all offline storage.
agent-governance-python/agent-sre/src/agent_sre/integrations/datadog/exporter.py:287
Methodclear
(self)
agent-governance-python/agent-sre/tests/test_tracing.py:38
MethodclearAudit
()
agent-governance-typescript/src/credential-vault.ts:383
Functionclear_all_context
Clear all context layers.
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:774
Methodclear_audit
(self)
agent-governance-python/agent-os/src/agent_os/credential_vault.py:438
Methodclear_audit_log
Clear the audit log.
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/tools.py:281
Methodclear_audit_log
Clear the audit log.
agent-governance-python/agentmesh-integrations/llamaindex-agentmesh/llama_index/agent/agentmesh/query_engine.py:203
Methodclear_audit_log
Clear the audit log.
agent-governance-python/agent-os/modules/atr/atr/access.py:291
Functionclear_cache
Clear the provider cache. Useful for testing.
agent-governance-python/agent-mesh/src/agentmesh/providers.py:150
Functionclear_cache
Clear the provider cache.
agent-governance-python/agent-sre/src/agent_sre/providers.py:114
Methodclear_cache
Clear verification cache.
agent-governance-python/agent-hypervisor/src/hypervisor/verification/history.py:139
Methodclear_cache
Clear all cached verification results.
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/trust.py:666
Methodclear_cache
(self)
agent-governance-python/agentmesh-integrations/llamaindex-agentmesh/llama_index/agent/agentmesh/trust.py:198
Methodclear_cache
Clear verification cache.
agent-governance-python/agentmesh-integrations/dify/trust.py:173
Methodclear_cache
Clear the health check cache.
agent-governance-python/agent-os/modules/atr/atr/health.py:531
Functionclear_cold_context
Clear all cold context items.
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:767
← previousnext →13,301–13,400 of 32,326, ranked by callers