MCPcopy Create free account

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

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

↓ 1 callersFunctionupload_experiment_logs
Upload experiment results/logs to Hugging Face Hub. Args: results_path: Path to local results file (JSON, CSV, etc.) repo_id
agent-governance-python/agent-os/modules/cmvk/src/cmvk/hf_utils.py:84
↓ 1 callersFunctionupload_experiment_logs
Upload experiment logs or benchmark results to Hugging Face Hub. This function uploads a single file (typically JSON results from experiment
agent-governance-python/agent-os/modules/amb/amb_core/hf_utils.py:73
↓ 1 callersMethodupload_experiment_logs
Upload experiment results to Hugging Face Hub. Args: file_path: Local path to the experiment results file (JSON/JSONL)
agent-governance-python/agent-os/modules/iatp/iatp/hf_utils.py:113
↓ 1 callersMethodupload_experiment_logs
Upload experiment results to Hugging Face Hub. Args: results_path: Local path to the results file (JSON or folder). p
agent-governance-python/agent-os/modules/caas/src/caas/hf_utils.py:229
↓ 1 callersMethodupload_folder
Upload a folder to Hugging Face Hub. Args: folder_path: Local folder path. path_in_repo: Target path within the repos
agent-governance-python/agent-os/modules/caas/src/caas/hf_utils.py:300
↓ 1 callersFunctionupload_to_hub
Upload the dataset to Hugging Face Hub. Args: repo_id: The repository ID on Hugging Face Hub dry_run: If True, only crea
agent-governance-python/agent-os/modules/control-plane/scripts/upload_dataset_to_hf.py:74
↓ 1 callersFunctionurlScope
(preliminaryPolicyInput)
policy-engine/examples/research_agent/app/index.js:61
↓ 1 callersFunctionuseContainerSize
Track the size of a container element via ResizeObserver.
agent-governance-typescript/agent-os-vscode/src/webviews/topologyDetail/TopologyDetail.tsx:124
↓ 1 callersFunctionuseScanRotation
Hook: manages scan rotation, pause/resume, and reduced motion detection.
agent-governance-typescript/agent-os-vscode/src/webviews/sidebar/Sidebar.tsx:36
↓ 1 callersFunctionuse_case_1_data_analysis_pipeline
Use Case 1: Data Analysis Pipeline An AI agent that analyzes customer data but must: - Only read from approved data sources - Ne
agent-governance-python/agent-os/modules/control-plane/examples/use_cases.py:19
↓ 1 callersFunctionuse_case_2_content_moderation
Use Case 2: Content Moderation Agent An AI agent that moderates user-generated content: - Can read content submissions - Can fla
agent-governance-python/agent-os/modules/control-plane/examples/use_cases.py:106
↓ 1 callersFunctionuse_case_3_testing_in_shadow_mode
Use Case 3: Testing New Agent in Shadow Mode Test a new autonomous agent in shadow mode before production: - Agent thinks it's execu
agent-governance-python/agent-os/modules/control-plane/examples/use_cases.py:175
↓ 1 callersFunctionuse_case_4_multi_tenant_saas
Use Case 4: Multi-Tenant SaaS Application Multiple customer tenants, each with their own agent: - Isolated permissions per tenant
agent-governance-python/agent-os/modules/control-plane/examples/use_cases.py:233
↓ 1 callersMethodutilization
(self)
agent-governance-python/agent-os/src/agent_os/policies/budget.py:78
↓ 1 callersFunctionvalid_field_name
(field: str)
policy-engine/scripts/lint_logging.py:145
↓ 1 callersMethodvalidate
Validate definition and return list of error messages (empty = valid). Performs both JSON schema validation and semantic checks: - Re
agent-governance-python/agent-hypervisor/src/hypervisor/saga/schema.py:132
↓ 1 callersMethodvalidate
Validate if the raw signal has required fields. Args: raw_signal: Raw signal data to validate
agent-governance-python/agent-os/examples/self-evaluating/src/universal_signal_bus.py:107
↓ 1 callersMethodvalidate
Validate file change signal has required fields.
agent-governance-python/agent-os/examples/self-evaluating/src/universal_signal_bus.py:188
↓ 1 callersMethodvalidate
Validate log stream signal has required fields.
agent-governance-python/agent-os/examples/self-evaluating/src/universal_signal_bus.py:291
↓ 1 callersMethodvalidate
Validate audio signal has required fields.
agent-governance-python/agent-os/examples/self-evaluating/src/universal_signal_bus.py:383
↓ 1 callersFunctionvalidateOPAURL
validateOPAURL rejects URLs with non-HTTP schemes or known SSRF targets.
agent-governance-golang/packages/agentmesh/policy_backends.go:174
↓ 1 callersFunctionvalidateOpaUrl
(endpoint: string)
agent-governance-typescript/src/policy-backends/opa.ts:17
↓ 1 callersFunctionvalidatePolicy
(policy: Policy)
agent-governance-python/agent-mesh/packages/mcp-proxy/src/policy.ts:127
↓ 1 callersFunctionvalidatePolicyBaseline
(policy, { allowBundledProfiles })
agent-governance-antigravity-cli/lib/cli.mjs:676
↓ 1 callersFunctionvalidatePolicyBaseline
(policy, { allowBundledProfiles })
agent-governance-copilot-cli/lib/cli.mjs:659
↓ 1 callersMethodvalidatePolicyCombination
* Validate that policies can be applied together (no conflicts).
agent-governance-python/agent-os/extensions/mcp-server/src/services/policy-engine.ts:450
↓ 1 callersFunctionvalidate_code
Check for dangerous code patterns.
agent-governance-python/fuzz/fuzz_input_validation.py:36
↓ 1 callersMethodvalidate_compatibility
Validate compatibility between this agent and another agent. Checks if this agent can work with another agent based on their
agent-governance-python/agent-os/examples/self-evaluating/src/agent_metadata.py:352
↓ 1 callersFunctionvalidate_financial
Quick validation against financial principles.
agent-governance-python/agent-os/modules/cmvk/src/cmvk/constitutional.py:878
↓ 1 callersMethodvalidate_input
Always allow input text.
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:253
↓ 1 callersFunctionvalidate_link
( link: Link, *, root: Path, anchor_cache: dict[Path, set[str]], require_directory_index:
scripts/docs/check_links.py:252
↓ 1 callersFunctionvalidate_manifest_cli
Validate plugin manifest files against the PluginManifest schema. Returns 0 if all files are valid, 1 if any fail.
agent-governance-python/agent-marketplace/src/agent_marketplace/hooks.py:32
↓ 1 callersFunctionvalidate_medical
Quick validation against medical principles.
agent-governance-python/agent-os/modules/cmvk/src/cmvk/constitutional.py:871
↓ 1 callersMethodvalidate_outcome
Validate task outcome using SCAK. Replays the flight recorder log against the Control Plane to deterministically ver
agent-governance-python/agent-os/modules/nexus/escrow.py:379
↓ 1 callersMethodvalidate_output
Always allow output text, passing it through unchanged.
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:265
↓ 1 callersMethodvalidate_parameters
Validate parameters against tool schema. Returns: {"valid": bool, "errors": List[str]}
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/tool_registry.py:310
↓ 1 callersFunctionvalidate_path
Check for path traversal attacks.
agent-governance-python/fuzz/fuzz_input_validation.py:24
↓ 1 callersFunctionvalidate_port
(manifest_path: Path)
policy-engine/examples/from_agentshield/validate_all.py:122
↓ 1 callersFunctionvalidate_proposal
Return a list of guardrail violations. Empty list means the proposal is safe.
scripts/ci/propose_workflow_updates.py:110
↓ 1 callersMethodvalidate_python
AST-based Python code validation. Uses ``ast.parse`` to walk the tree and applies heuristic regex checks on the raw source for patter
agent-governance-python/agent-os/src/agent_os/secure_codegen.py:196
↓ 1 callersMethodvalidate_request
Validate if request maps to a defined capability. Implements CapabilityValidatorInterface.validate_request()
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/mute_agent.py:110
↓ 1 callersFunctionvalidate_safety
Quick validation against safety principles. Args: output: Text to validate context: Optional context Return
agent-governance-python/agent-os/modules/cmvk/src/cmvk/constitutional.py:856
↓ 1 callersFunctionvalidate_sql
Check for destructive SQL.
agent-governance-python/fuzz/fuzz_input_validation.py:41
↓ 1 callersFunctionvalidate_stdio_launch_config
Validate launch fields for local stdio MCP configs without launching them. Static-only scans should not execute configured commands, but they sho
agent-governance-python/agent-os/src/agent_os/cli/mcp_scan.py:567
↓ 1 callersMethodvalidate_token
Structural validation for GCP tokens.
agent-governance-python/agent-mesh/src/agentmesh/identity/managed_identity.py:315
↓ 1 callersMethodvalidate_tool_call
Always allow tool calls.
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:257
↓ 1 callersMethodvalidate_tool_call
Validate a tool call through Agent Shield Stages 2 and 3. Stage 2 (state validation) checks whether the tool call is allowed given th
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:657
↓ 1 callersMethodvalidate_tool_result
Always allow tool results.
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:261
↓ 1 callersMethodvalidate_tool_result
Validate a tool result through Agent Shield Stage 4. Stage 4 screens the raw tool output for leaked secrets, blocked content, and app
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:764
↓ 1 callersFunctionvalidate_verdict
(point: str, verdict: dict)
policy-engine/examples/from_agentshield/validate_all.py:74
↓ 1 callersFunctionvalidate_version_format
Validate semantic version format
agent-governance-python/agent-os/modules/control-plane/scripts/prepare_release.py:52
↓ 1 callersMethodvalidate_weights
Validate that weights sum to approximately 1.0.
agent-governance-python/agent-os/examples/self-evaluating/src/evaluation_engineering.py:160
↓ 1 callersMethodvariance_percentage
Calculate variance between numeric claims
agent-governance-python/agent-os/examples/pharma-compliance/demo.py:82
↓ 1 callersFunctionvendorOne
(key)
policy-engine/sdk/node/scripts/fetch-opa.mjs:93
↓ 1 callersFunctionvendorRuntimeDependencies
({ destinationExtensionPath, packageLockPath, packageRoot })
agent-governance-antigravity-cli/lib/cli.mjs:526
↓ 1 callersFunctionvendorSdkDependencyTree
({ destinationExtensionPath, packageRoot })
agent-governance-copilot-cli/lib/cli.mjs:473
↓ 1 callersMethodverify
Verify the entire scope chain.
agent-governance-python/agentmesh-integrations/llamaindex-agentmesh/llama_index/agent/agentmesh/trust.py:265
↓ 1 callersMethodverify
Check that the content hash and HMAC signature are valid. Args: secret_key: The HMAC secret used when the entry was signed.
agent-governance-python/agent-mesh/src/agentmesh/governance/audit_backends.py:187
↓ 1 callersFunctionverifyBundle
(bundle: PreKeyBundle)
agent-governance-typescript/src/encryption/x3dh.ts:240
↓ 1 callersMethodverifyIntegrityManifest
(manifest: IntegrityManifest)
agent-governance-typescript/src/verify.ts:504
↓ 1 callersFunctionverifySignature
(body: string, signature: string | undefined)
agent-governance-python/agentmesh-integrations/copilot-governance/src/server.ts:64
↓ 1 callersFunctionverify_chain
Verify previous hash pointers across full receipt list.
examples/crypto-attestation-governed/getting_started.py:214
↓ 1 callersFunctionverify_chain
Verify a chain of exported receipts. Returns (exit_code, per_receipt_results). exit_code 0 = valid, 1 = errors.
agent-governance-python/agentmesh-integrations/mcp-receipt-governed/scripts/verify_receipts.py:42
↓ 1 callersMethodverify_chart
Verify chart for contradictions and errors.
agent-governance-python/agent-os/examples/healthcare-hipaa/main.py:345
↓ 1 callersFunctionverify_entries
( entries: Iterable[LockEntry], report: Report, *, npm_fetcher: Callable[[str, str], str] = fe
scripts/check_lockfile_integrity.py:794
↓ 1 callersMethodverify_findings
Verify findings across multiple models. Returns: (agreement_score, verified_findings)
agent-governance-python/agent-os/examples/legal-review/main.py:468
↓ 1 callersMethodverify_hash
Recompute hash and compare to stored value without mutation.
agent-governance-python/agent-hypervisor/src/hypervisor/audit/delta.py:72
↓ 1 callersMethodverify_hash
Verify that this entry's stored hash matches a fresh computation. Returns: ``True`` if ``entry_hash`` equals ``compute_hash()``.
agent-governance-python/agent-mesh/src/agentmesh/governance/audit.py:192
↓ 1 callersMethodverify_identity
Verify customer identity before sensitive actions.
agent-governance-python/agent-os/examples/ecommerce-support/main.py:213
↓ 1 callersFunctionverify_installation
Check all governance toolkit packages and critical dependencies.
scripts/check_gov.py:28
↓ 1 callersMethodverify_peer
Verify a peer agent trustworthiness.
agent-governance-python/agentmesh-integrations/llamaindex-agentmesh/llama_index/agent/agentmesh/trust.py:134
↓ 1 callersMethodverify_peer
Verify a peer agent's identity and capabilities.
agent-governance-python/agentmesh-integrations/dify/trust.py:65
↓ 1 callersMethodverify_peer
Verify peer agent before task interaction. Verification uses the AI Card attached to the peer's A2A card. Args: peer_did
agent-governance-python/agent-mesh/src/agentmesh/integrations/a2a/__init__.py:212
↓ 1 callersMethodverify_peer
Verify a peer before inter-agent communication.
agent-governance-python/agent-os/examples/cross-project/cross_project_example.py:127
↓ 1 callersMethodverify_project
Perform mathematical verification using cmvk. This is where "the Math decides, not the AI." Args:
agent-governance-python/agent-os/examples/carbon-auditor/src/agents/auditor_agent.py:139
↓ 1 callersFunctionverify_reasoning_envelope
Verify signed reasoning envelope and governance bindings.
examples/reasoning-attestation-governed/getting_started.py:149
↓ 1 callersMethodverify_response
Verify response consistency across models. Returns: (agreement_score, model_opinions) In production, this calls actu
agent-governance-python/agent-os/examples/customer-service/main.py:417
↓ 1 callersFunctionverify_signature
( manifest: PluginManifest, public_key: ed25519.Ed25519PublicKey, )
agent-governance-python/agent-mesh/src/agentmesh/marketplace/_marketplace_impl.py:131
↓ 1 callersMethodverify_signature
Verify a signature against this identity's public key. Args: data: The original data that was signed signature: The s
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/identity.py:183
↓ 1 callersMethodverify_signature
Verify a signature against this agent's public key. All verification failures are logged at DEBUG. Bad signatures are an expected, at
agent-governance-python/agent-mesh/src/agentmesh/identity/agent_id.py:212
↓ 1 callersMethodverify_signature
Verify identity via the underlying AI Card signature.
agent-governance-python/agent-mesh/src/agentmesh/integrations/a2a/__init__.py:168
↓ 1 callersMethodverify_trading_window
(self, symbol: str)
agent-governance-python/agent-os/examples/trading-governance/demo.py:259
↓ 1 callersFunctionviolationRate
Calculate violation rate as a percentage string.
agent-governance-typescript/agent-os-vscode/src/webviews/hubDetail/HubPolicyTab.tsx:48
↓ 1 callersMethodviolations_for_rule
Return all violation records for a given rule name.
agent-governance-python/agent-os/src/agent_os/shift_left_metrics.py:124
↓ 1 callersFunctionwaitForAgentOS
(callback, maxAttempts = 50)
agent-governance-python/agent-os/extensions/chrome/injected.js:14
↓ 1 callersFunctionwait_for_api
Block until the API health endpoint responds.
agent-governance-python/agent-hypervisor/examples/docker-compose/app/sample_workflow.py:30
↓ 1 callersMethodwake_agent
Wake up a hibernated agent by restoring its state from disk. Args: agent_id: Unique identifier for the agent to
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/agent_hibernation.py:235
↓ 1 callersMethodwalkDirectory
( rootPath: string, currentPath: string, maxDepth: number, includeSourcePatterns: boolean,
agent-governance-typescript/src/discovery.ts:210
↓ 1 callersFunctionwalkSync
(dir: string)
agent-governance-typescript/agent-os-vscode/src/test/server/vendorAssets.test.ts:39
↓ 1 callersFunctionwalkToolArgs
(value, keyPath, visitor)
agent-governance-antigravity-cli/assets/extensions/agt-global-policy/lib/policy.mjs:1264
↓ 1 callersFunctionwalkToolArgs
(value, keyPath, visitor)
agent-governance-opencode/lib/policy.mjs:1042
↓ 1 callersFunctionwalkToolArgs
(value, keyPath, visitor)
agent-governance-claude-code/lib/policy.mjs:1041
↓ 1 callersFunctionwalkToolArgs
(value, keyPath, visitor)
agent-governance-copilot-cli/assets/extensions/agt-global-policy/lib/policy.mjs:1225
↓ 1 callersFunctionwarnAndRedactionFlow
()
policy-engine/examples/research_agent/app/index.js:198
↓ 1 callersMethodwatch_audit_logs
Watch audit logs for policy violations and suspicious patterns.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/supervisor_agents.py:120
↓ 1 callersMethodwatch_execution_logs
Watch execution logs and detect violations. Returns list of new violations detected.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/supervisor_agents.py:86
↓ 1 callersFunctionweb_search
(query: str)
examples/quickstart/openai_agents_governed.py:52
↓ 1 callersFunctionweighted_euclidean_distance
Calculate weighted Euclidean distance between two vectors. Allows certain dimensions to contribute more to the overall distance. Args:
agent-governance-python/agent-os/modules/cmvk/src/cmvk/metrics.py:370
↓ 1 callersMethodwhat_if
Run a what-if trace comparison with modified span outputs. Replays the trace with the given overrides applied, returning a ReplayResu
agent-governance-python/agent-sre/src/agent_sre/replay/engine.py:236
↓ 1 callersMethodwho_vouches_for
Get all sponsors for a given agent.
agent-governance-python/agent-hypervisor/src/hypervisor/liability/__init__.py:59
← previousnext →10,701–10,800 of 32,326, ranked by callers