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
Function
catching_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
Function
cedar_text
(profile: Profile)
examples/aegis-governance-profile/tests/test_compilation.py:74
Method
chain
Return the current chain.
agent-governance-python/agentmesh-integrations/flowise-agentmesh/src/flowise_agentmesh/audit_node.py:125
Method
chain
Access the underlying audit chain for verification.
agent-governance-python/agent-mesh/src/agentmesh/services/audit/__init__.py:37
Method
chain_length
Number of entries in the chain.
agent-governance-python/agentmesh-integrations/langflow-agentmesh/src/langflow_agentmesh/audit_logger.py:135
Method
chains
(self)
agent-governance-python/agent-sre/src/agent_sre/integrations/langchain/callback.py:398
Method
change_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
Method
channel_name
(self)
agent-governance-python/agent-sre/src/agent_sre/integrations/pagerduty.py:101
Function
charge_payment
Always fails to demonstrate compensation.
agent-governance-python/agent-hypervisor/tutorials/saga-compensation/demo.py:66
Method
chat
Access the wrapped chat API
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/adapter.py:330
Method
chat
Governed chat.
agent-governance-python/agent-os/src/agent_os/integrations/llamaindex_adapter.py:313
Method
chat
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
Function
chat_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
Function
chebyshev_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
Function
check
* Check input against governance policies. * Returns a GovernanceResult indicating whether execution is allowed.
agent-governance-python/agentmesh-integrations/mastra-agentmesh/src/governance.ts:38
Method
check
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
Method
check
(_: int)
agent-governance-python/agent-mesh/tests/test_multi_agent_policy_hardened.py:243
Method
check
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:237
Method
check
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:266
Method
check
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:295
Method
check
(self, profile: AgentProfile, risk_level: RiskLevel)
agent-governance-python/agent-mesh/examples/06-eu-ai-act-compliance/compliance_checker.py:335
Method
check
Perform HTTP health check.
agent-governance-python/agent-os/modules/atr/atr/health.py:129
Method
check
Perform TCP health check.
agent-governance-python/agent-os/modules/atr/atr/health.py:196
Method
check_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
Method
check_action
(self, **kwargs)
agent-governance-python/agent-os/tests/test_stateless.py:149
Method
check_action
(self, **kwargs)
agent-governance-python/agent-os/tests/test_stateless.py:352
Method
check_action
(self, **kwargs)
agent-governance-python/agent-os/tests/test_stateless.py:385
Method
check_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
Method
check_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
Method
check_and_record
(agent_id: str)
agent-governance-python/agent-sre/tests/test_alert_dedup.py:166
Function
check_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
Method
check_cascade
(self)
agent-governance-python/agent-os/src/agent_os/_circuit_breaker_impl.py:210
Function
check_credit_score
( customer_id: Annotated[str, Field(description="The bank customer identifier.")], )
examples/maf-integration/01-loan-processing/python/main.py:172
Method
check_data_minimization
GDPR Article 5(1)(c) - Data minimization
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:431
Method
check_drift
(self, agent_did: str, claimed, observed)
agent-governance-python/agent-hypervisor/examples/demo.py:304
Function
check_drug_interactions
( pair: Annotated[str, Field(description="Two medications to compare.")], )
examples/maf-integration/03-healthcare/python/main.py:173
Method
check_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
Function
check_health
(_incident)
examples/agent-sre/basic-runbook/main.py:83
Method
check_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
Method
check_human_oversight
EU AI Act Article 14 - Human oversight
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:377
Function
check_installation
Check which Agent OS packages are installed.
agent-governance-python/agent-os/src/agent_os/__init__.py:87
Method
check_loop
()
agent-governance-python/agent-os/modules/atr/atr/health.py:513
Method
check_many
()
agent-governance-python/agent-os/tests/test_health.py:261
Method
check_monitoring
SOC 2 CC7.2 - System monitoring
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:417
Function
check_network
()
agent-governance-python/agent-os/modules/atr/tests/test_executor.py:172
Function
check_no_harmful_content
Basic harmful content check
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/governance_layer.py:409
Method
check_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
Function
check_pipeline_status
( service: Annotated[str, Field(description="The service to inspect.")], )
examples/maf-integration/05-devops-deploy/python/main.py:166
Method
check_policy
Check if an action is allowed.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/kernel_space.py:941
Method
check_principle
(principle: Principle)
agent-governance-python/agent-os/modules/cmvk/src/cmvk/constitutional.py:793
Function
check_privacy_compliance
Check for privacy compliance
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/governance_layer.py:423
Function
check_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
Method
check_rollback
Check rollback conditions — not available in Public Preview.
agent-governance-python/agent-mesh/src/agentmesh/governance/_shadow_impl.py:499
Method
check_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
Function
check_service_health
( service: Annotated[str, Field(description="The service to inspect.")], )
examples/maf-integration/04-it-helpdesk/python/main.py:166
Method
check_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
Method
check_staged_files
Check all staged git files for violations.
agent-governance-python/agent-os/src/agent_os/cli/policy_checker.py:312
Method
check_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
Method
check_transparency
EU AI Act Article 13 - Transparency
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:390
Function
checker
()
agent-governance-python/agent-os/tests/test_health.py:28
Method
checker
()
agent-governance-python/agent-hypervisor/tests/test_rate_limiter.py:262
Function
checker_with_checks
(checker)
agent-governance-python/agent-os/tests/test_health.py:33
Function
child_spec
()
agent-governance-python/agent-sre/tests/test_slo_spec.py:53
Method
churner
()
agent-governance-python/agent-mesh/tests/test_event_bus.py:291
Function
clarity_evaluator
Evaluate if the response is clear and concise.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_evaluation_engineering.py:182
Function
classification_task
()
agent-governance-python/agent-sre/tests/test_cost_optimizer.py:79
Function
classifier
()
agent-governance-python/agent-mesh/tests/governance/test_eu_ai_act.py:15
Function
claude_data
Minimal valid Claude plugin manifest dict.
agent-governance-python/agent-marketplace/tests/test_schema_adapters.py:51
Function
clean_config_file
(tmp_path: Path)
agent-governance-python/agent-os/tests/test_mcp_scan_cli.py:124
Function
clean_otel
Reset OTel state before each test.
agent-governance-python/agent-mesh/tests/test_otel_observability.py:24
Method
cleanup
Remove expired entries. Returns: Number of entries removed
agent-governance-python/agent-os/modules/caas/src/caas/caching.py:766
Method
cleanup
(self)
agent-governance-python/agent-os/src/agent_os/mcp_protocols.py:117
Method
cleanup_expired
Remove expired messages. Returns count removed.
agent-governance-python/agent-mesh/src/agentmesh/relay/store.py:51
Method
cleanup_expired_data
GDPR: Delete candidate data past retention period.
agent-governance-python/agent-os/examples/hr-recruiting/main.py:313
Method
cleanup_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
Method
cleanup_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
Function
clear
* Clear all entries (for testing).
agent-governance-python/agentmesh-integrations/mastra-agentmesh/src/audit.ts:132
Method
clear
(self)
agent-governance-python/agent-os/modules/observability/tests/test_tracer.py:50
Method
clear
Clear all registered dependencies.
agent-governance-python/agent-os/modules/atr/atr/injection.py:278
Method
clear
()
agent-governance-python/agent-os/extensions/copilot/src/auditLogger.ts:75
Method
clear
Delete measurements. Pass *name* to delete one SLI only.
agent-governance-python/agent-sre/src/agent_sre/slo/persistence.py:271
Method
clear
Clear all stored events.
agent-governance-python/agent-sre/src/agent_sre/integrations/sentry/exporter.py:146
Method
clear
Clear all offline storage.
agent-governance-python/agent-sre/src/agent_sre/integrations/braintrust/exporter.py:257
Method
clear
Clear all offline storage.
agent-governance-python/agent-sre/src/agent_sre/integrations/langsmith/exporter.py:347
Method
clear
Clear all offline storage.
agent-governance-python/agent-sre/src/agent_sre/integrations/datadog/exporter.py:287
Method
clear
(self)
agent-governance-python/agent-sre/tests/test_tracing.py:38
Method
clearAudit
()
agent-governance-typescript/src/credential-vault.ts:383
Function
clear_all_context
Clear all context layers.
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:774
Method
clear_audit
(self)
agent-governance-python/agent-os/src/agent_os/credential_vault.py:438
Method
clear_audit_log
Clear the audit log.
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/tools.py:281
Method
clear_audit_log
Clear the audit log.
agent-governance-python/agentmesh-integrations/llamaindex-agentmesh/llama_index/agent/agentmesh/query_engine.py:203
Method
clear_audit_log
Clear the audit log.
agent-governance-python/agent-os/modules/atr/atr/access.py:291
Function
clear_cache
Clear the provider cache. Useful for testing.
agent-governance-python/agent-mesh/src/agentmesh/providers.py:150
Function
clear_cache
Clear the provider cache.
agent-governance-python/agent-sre/src/agent_sre/providers.py:114
Method
clear_cache
Clear verification cache.
agent-governance-python/agent-hypervisor/src/hypervisor/verification/history.py:139
Method
clear_cache
Clear all cached verification results.
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/trust.py:666
Method
clear_cache
(self)
agent-governance-python/agentmesh-integrations/llamaindex-agentmesh/llama_index/agent/agentmesh/trust.py:198
Method
clear_cache
Clear verification cache.
agent-governance-python/agentmesh-integrations/dify/trust.py:173
Method
clear_cache
Clear the health check cache.
agent-governance-python/agent-os/modules/atr/atr/health.py:531
Function
clear_cold_context
Clear all cold context items.
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:767
← previous
next →
13,301–13,400 of 32,326, ranked by callers