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
test_basic
(self)
agent-governance-python/agentmesh-integrations/a2a-protocol/tests/test_a2a.py:162
Method
test_basic
(self)
agent-governance-python/agentmesh-integrations/crewai-agentmesh/tests/test_crewai_trust.py:26
Method
test_basic
(self)
agent-governance-python/agent-os/tests/test_coverage_boost.py:59
Method
test_basic
(self)
agent-governance-python/agent-sre/tests/test_evals.py:47
Method
test_basic
(self)
agent-governance-python/agent-sre/tests/test_adapters.py:25
Method
test_basic
(self)
agent-governance-python/agent-sre/tests/test_mcp_drift.py:24
Method
test_basic
(self)
agent-governance-python/agent-sre/tests/test_arize.py:24
Method
test_basic
(self)
agent-governance-python/agent-sre/tests/test_arize.py:163
Method
test_basic
(self)
agent-governance-python/agent-sre/tests/test_experiments.py:21
Method
test_basic
(self)
agent-governance-python/agent-sre/tests/test_alerts.py:30
Method
test_basic_allocation
(self, scheduler)
agent-governance-python/agent-os/tests/test_context_budget.py:27
Method
test_basic_attribution
(self)
agent-governance-python/agent-hypervisor/tests/unit/test_liability_improvements.py:24
Method
test_basic_claim_verification
(self)
agent-governance-python/agent-os/modules/mcp-kernel-server/tests/test_tools.py:122
Method
test_basic_construction
(self)
agent-governance-python/agent-marketplace/tests/test_org_marketplace.py:216
Method
test_basic_create
(self, docker_provider)
agent-governance-python/agent-sandbox/tests/test_docker_sandbox.py:436
Method
test_basic_creation
(self)
agent-governance-python/agent-runtime/tests/test_deploy.py:60
Method
test_basic_creation
(self)
agent-governance-python/agentmesh-integrations/a2a-protocol/tests/test_a2a.py:66
Method
test_basic_creation
(self)
agent-governance-python/agent-mesh/tests/test_trust_types.py:21
Method
test_basic_creation
(self)
agent-governance-python/agent-mesh/tests/test_trust_types.py:66
Method
test_basic_destroy
(self, docker_provider)
agent-governance-python/agent-sandbox/tests/test_docker_sandbox.py:608
Method
test_basic_execute
(self)
agent-governance-python/agent-os/modules/mcp-kernel-server/tests/test_server.py:140
Method
test_basic_execution
(self, docker_provider)
agent-governance-python/agent-sandbox/tests/test_docker_sandbox.py:496
Method
test_basic_format
(self)
agent-governance-python/agent-os/tests/test_logging.py:49
Method
test_basic_format
(self)
agent-governance-python/agent-sre/tests/test_alerts.py:409
Method
test_basic_format
(self)
agent-governance-python/agent-sre/tests/test_alerts.py:430
Method
test_basic_headers
Basic headers with API key and agent ID.
agent-governance-python/agent-sre/tests/test_helicone.py:17
Method
test_basic_host_scenario_through_native_runtime
(self)
policy-engine/sdk/python/tests/test_native_runtime.py:70
Method
test_basic_lifecycle
(self)
agent-governance-python/agent-sre/tests/test_adapters.py:39
Method
test_basic_lifecycle
(self)
agent-governance-python/agent-sre/tests/test_adapters.py:89
Method
test_basic_lifecycle
(self)
agent-governance-python/agent-sre/tests/test_adapters.py:122
Method
test_basic_lifecycle
(self)
agent-governance-python/agent-sre/tests/test_adapters.py:154
Method
test_basic_lifecycle
(self)
agent-governance-python/agent-sre/tests/test_adapters.py:251
Method
test_basic_lifecycle
(self)
agent-governance-python/agent-sre/tests/test_adapters.py:286
Method
test_basic_mapping
(self)
agent-governance-python/agent-mesh/tests/test_entra_graph.py:190
Method
test_basic_override
(self)
agent-governance-python/agent-os/tests/test_policy_compose.py:20
Method
test_basic_penalty
(self)
agent-governance-python/agent-lightning/tests/test_lightning_comprehensive.py:545
Method
test_basic_pipeline
(self)
agent-governance-python/agent-os/tests/test_mute_primitives.py:199
Method
test_basic_put_get
Test basic put and get operations.
agent-governance-python/agent-os/modules/caas/tests/test_caching.py:95
Method
test_basic_recording
(self)
agent-governance-python/agent-sre/tests/unit/test_indicators.py:52
Method
test_basic_routing
(self)
agent-governance-python/agentmesh-integrations/langgraph-trust/tests/test_edges.py:45
Method
test_basic_run
(self)
agent-governance-python/agent-sre/tests/test_evals.py:358
Method
test_basic_timing
(self)
agent-governance-python/agent-os/tests/test_profiling.py:50
Method
test_basic_vouch
(self)
agent-governance-python/agent-hypervisor/tests/unit/test_liability.py:31
Method
test_batch_all_benign
(self, client)
agent-governance-python/agent-os/tests/test_server.py:171
Method
test_batch_all_inputs_policy_checked
Batch of 5 inputs — each goes through pre_execute.
agent-governance-python/agent-os/tests/test_integrations.py:1605
Method
test_batch_blocked
(self)
agent-governance-python/agent-os/tests/test_human_approval_all_adapters.py:129
Method
test_batch_blocks_if_any_input_violates
(self)
agent-governance-python/agent-os/tests/test_integrations.py:924
Method
test_batch_detection
Batch detection scans multiple inputs.
agent-governance-python/agent-os/tests/test_security_policy_enforcement.py:609
Method
test_batch_detection
(self, client)
agent-governance-python/agent-os/tests/test_server.py:154
Method
test_batch_detection_with_allowlist
Batch API must also enforce the fix.
agent-governance-python/agent-os/tests/test_allowlist_bypass_fix.py:255
Method
test_batch_detects_injections
(self)
agent-governance-python/agent-os/tests/test_prompt_injection.py:367
Method
test_batch_empty
Batch evaluation with empty list returns empty list.
agent-governance-python/agent-os/tests/test_async_evaluator.py:354
Method
test_batch_empty_inputs
Batch with empty list should succeed.
agent-governance-python/agent-os/tests/test_integrations.py:1629
Method
test_batch_empty_list
(self)
agent-governance-python/agent-os/tests/test_prompt_injection.py:389
Method
test_batch_empty_list
(self, client)
agent-governance-python/agent-os/tests/test_server.py:185
Method
test_batch_empty_when_no_audit
(self)
agent-governance-python/agent-mesh/tests/test_decision_bom.py:304
Method
test_batch_from_json
Test parsing batch from JSON array.
agent-governance-python/agent-os/modules/amb/tests/test_cloudevents.py:365
Method
test_batch_iteration
Test iterating over batch.
agent-governance-python/agent-os/modules/amb/tests/test_cloudevents.py:377
Method
test_batch_large
Batch evaluation handles 100 items.
agent-governance-python/agent-os/tests/test_async_evaluator.py:359
Method
test_batch_length_mismatch_raises
Mismatched batch lengths should raise.
agent-governance-python/agent-os/modules/cmvk/tests/test_enhanced_features.py:307
Method
test_batch_operations
Test batch get/set operations.
agent-governance-python/agent-mesh/tests/test_storage.py:139
Method
test_batch_post_execute_called_for_results
Post-execute increments call_count for each result.
agent-governance-python/agent-os/tests/test_integrations.py:1649
Method
test_batch_queue
(self)
agent-governance-python/agent-hypervisor/tests/unit/test_audit.py:92
Method
test_batch_reconstruction
(self)
tests/test_example_smoke.py:132
Method
test_batch_returns_correct_count
(self)
agent-governance-python/agent-os/tests/test_prompt_injection.py:357
Method
test_batch_returns_ordered_results
Batch evaluation returns one result per context in order.
agent-governance-python/agent-os/tests/test_async_evaluator.py:337
Method
test_batch_returns_results
(self)
agent-governance-python/agent-os/tests/test_integrations.py:917
Method
test_batch_run
(self)
agent-governance-python/agent-sre/tests/test_evals.py:397
Method
test_batch_spec_values
(self)
agent-governance-python/agent-sre/tests/test_slo_spec.py:253
Method
test_batch_to_json
Test serializing batch to JSON array.
agent-governance-python/agent-os/modules/amb/tests/test_cloudevents.py:350
Method
test_batch_verification_basic
Batch verification should process multiple pairs.
agent-governance-python/agent-os/modules/cmvk/tests/test_enhanced_features.py:278
Method
test_batch_violation_blocks_entire_batch
If one input violates policy, the whole batch is rejected.
agent-governance-python/agent-os/tests/test_integrations.py:1616
Method
test_batch_with_canary
(self)
agent-governance-python/agent-os/tests/test_prompt_injection.py:377
Method
test_batch_with_different_outcomes
(self, now)
agent-governance-python/agent-mesh/tests/test_decision_bom_hardened.py:239
Method
test_batch_with_metric
Batch should apply same metric to all pairs.
agent-governance-python/agent-os/modules/cmvk/tests/test_enhanced_features.py:297
Method
test_batch_with_mixed_pattern_violations
Only the first violation pattern causes rejection.
agent-governance-python/agent-os/tests/test_integrations.py:1639
Method
test_batcher_with_manager
(self)
agent-governance-python/agent-sre/tests/test_alert_dedup.py:314
Method
test_bearer_token_in_output_is_denied
ASI-02/03: Bearer token in output must be denied.
agent-governance-python/agent-os/tests/test_asi_starter_packs.py:395
Function
test_bearer_token_length_cap
F#15 — overlong bearer tokens are rejected before SHA-256.
agent-governance-python/agent-os/tests/cloud_board/test_api_auth.py:596
Function
test_bedrock_action_events_are_checked_before_yield
()
agent-governance-python/agent-os/tests/test_adapter_mediation_contract.py:248
Function
test_bedrock_adapter_imports_shared_pii_patterns
()
agent-governance-python/agent-os/tests/test_pii_patterns.py:138
Function
test_bedrock_legacy_pii_re_alias_still_points_to_shared_object
Back-compat alias keeps existing imports of ``_PII_RE`` working.
agent-governance-python/agent-os/tests/test_pii_patterns.py:142
Function
test_bedrock_scan_pii_blocks_every_ssn_variant
``bedrock_adapter._scan_pii`` reports the SSN regex for every variant.
agent-governance-python/agent-os/tests/test_pii_patterns.py:150
Function
test_before_agent_callback_deny_blocks_agent
A ``deny`` verdict on agent invocation blocks the agent.
agent-governance-python/agt-policies/tests/scenarios/test_google_adk_adapter_scenarios.py:284
Method
test_before_agent_callback_deny_path
(self, tmp_path)
agent-governance-python/agent-os/tests/test_integrations.py:3206
Method
test_before_agent_tracks_name
(self)
agent-governance-python/agent-os/tests/test_google_adk_adapter.py:1063
Method
test_before_model_increments_count
(self)
agent-governance-python/agent-os/tests/test_google_adk_adapter.py:965
Method
test_before_run_allow
(self, tmp_path)
agent-governance-python/agent-os/tests/test_integrations.py:3708
Function
test_before_run_allow_path_forwards_prompt
An ``allow`` verdict on input returns the original prompt unchanged.
agent-governance-python/agt-policies/tests/scenarios/test_pydantic_ai_adapter_scenarios.py:106
Method
test_before_run_blocked_when_cancelled
(self)
agent-governance-python/agent-os/tests/test_google_adk_adapter.py:956
Method
test_before_run_creates_context
(self)
agent-governance-python/agent-os/tests/test_google_adk_adapter.py:946
Function
test_before_run_deny_path_raises_policy_violation
A ``deny`` verdict raises :class:`PolicyViolationError`.
agent-governance-python/agt-policies/tests/scenarios/test_pydantic_ai_adapter_scenarios.py:120
Method
test_before_run_deny_raises
(self, tmp_path)
agent-governance-python/agent-os/tests/test_integrations.py:3716
Function
test_before_run_escalate_with_approving_resolver_forwards
An ``escalate`` verdict that the resolver approves forwards the prompt.
agent-governance-python/agt-policies/tests/scenarios/test_pydantic_ai_adapter_scenarios.py:173
Function
test_before_run_escalate_with_no_resolver_denies
An ``escalate`` verdict without a resolver fails closed to deny.
agent-governance-python/agt-policies/tests/scenarios/test_pydantic_ai_adapter_scenarios.py:199
Method
test_before_run_escalate_with_resolver
(self, tmp_path)
agent-governance-python/agent-os/tests/test_integrations.py:3747
Function
test_before_run_transform_path_rewrites_prompt
A ``transform`` verdict rewrites the outbound prompt.
agent-governance-python/agt-policies/tests/scenarios/test_pydantic_ai_adapter_scenarios.py:146
Method
test_before_run_transform_rewrites_prompt
(self, tmp_path)
agent-governance-python/agent-os/tests/test_integrations.py:3728
Method
test_before_tool_call_allow
(self, tmp_path)
agent-governance-python/agent-os/tests/test_integrations.py:4023
Function
test_before_tool_call_allow_path_allows
An ``allow`` verdict lets the CrewAI tool call through.
agent-governance-python/agt-policies/tests/scenarios/test_crewai_adapter_scenarios.py:163
← previous
next →
17,901–18,000 of 32,326, ranked by callers