MCPcopy Create free account

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

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

↓ 4 callersMethodupdate_trust_score
Set the trust-score gauge for *agent_did*. Args: agent_did: DID of the agent. score: Current trust score value.
agent-governance-python/agent-mesh/src/agentmesh/observability/prometheus_exporter.py:104
↓ 4 callersMethodupdate_trust_score
Update the trust score gauge for an agent. Args: agent_did: DID of the agent. score: Current trust score value.
agent-governance-python/agent-mesh/src/agentmesh/observability/metrics.py:294
↓ 4 callersMethodvalidate
Validate a payload for a given topic. Args: topic: Topic the message is for payload: Message payload
agent-governance-python/agent-os/modules/amb/amb_core/schema.py:252
↓ 4 callersMethodvalidate
Validate that a string does not exceed the configured max length. Args: value: The text to check. metadata: Optional
agent-governance-python/agent-os/src/agent_os/integrations/guardrails_adapter.py:225
↓ 4 callersMethodvalidate
(self, plan: Dict[str, Any])
agent-governance-python/agent-os/examples/self-evaluating/src/constraint_engine.py:103
↓ 4 callersMethodvalidate
(self, plan: Dict[str, Any])
agent-governance-python/agent-os/examples/self-evaluating/src/constraint_engine.py:197
↓ 4 callersMethodvalidate_bridge_configuration
Validate that an agent's Entra bridge configuration is complete. Checks that all required fields for enterprise identity bridging
agent-governance-python/agent-mesh/src/agentmesh/identity/entra.py:340
↓ 4 callersMethodvalidate_hierarchy
Check hierarchy rules and return a list of violations (empty = valid). Rules: - Level 0 MUST exist and MUST be deterministic (not an
agent-governance-python/agent-os/src/agent_os/supervisor.py:74
↓ 4 callersMethodvalidate_or_raise
Validate and raise SagaSchemaError if invalid.
agent-governance-python/agent-hypervisor/src/hypervisor/saga/schema.py:157
↓ 4 callersMethodvalidate_request
Comprehensive validation of a request Returns (is_valid, reason_if_invalid)
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/policy_engine.py:636
↓ 4 callersMethodvalidate_token
Validate an Azure JWT token (structural check).
agent-governance-python/agent-mesh/src/agentmesh/identity/managed_identity.py:148
↓ 4 callersMethodvalidate_token
Structural validation for AWS tokens.
agent-governance-python/agent-mesh/src/agentmesh/identity/managed_identity.py:245
↓ 4 callersFunctionverify
Verify an Ed25519 signature. Args: verification_key: Public key in "ed25519:<base64>" format. message: Original message byte
agent-governance-python/agent-os/modules/nexus/crypto.py:57
↓ 4 callersMethodverify
()
examples/copilot-cli-agt/test/policy-engine.test.mjs:150
↓ 4 callersMethodverifyManifest
* Verify the integrity of an OCI manifest by checking layer digests.
agent-governance-typescript/src/oci-manifest.ts:153
↓ 4 callersMethodverify_access
Verify an agent has the required Entra scope and is active. Returns (allowed, reason) tuple.
agent-governance-python/agent-mesh/src/agentmesh/identity/entra.py:251
↓ 4 callersMethodverify_chain
Verify the integrity of the entire hash chain. Returns True if all hashes are valid and properly linked.
agent-governance-python/agentmesh-integrations/langflow-agentmesh/src/langflow_agentmesh/audit_logger.py:139
↓ 4 callersMethodverify_chain
Verify the integrity of the entire audit chain.
agent-governance-python/agentmesh-integrations/openai-agents-trust/src/openai_agents_trust/audit.py:80
↓ 4 callersMethodverify_chain
Verify the integrity of the entire audit chain.
agent-governance-python/agentmesh-integrations/flowise-agentmesh/src/flowise_agentmesh/audit_node.py:97
↓ 4 callersMethodverify_chain
Verify hash chain integrity. Returns (valid, count).
agent-governance-python/agent-mesh/tutorials/claude-desktop-mcp-proxy/demo.py:210
↓ 4 callersFunctionverify_delegation
Verify that a scope chain from *delegator_did* to *agent_did* is valid. Checks that the agent's DID is known, the delegator's trust score is
agent-governance-python/agent-mesh/packages/mcp-trust-server/src/mcp_trust_server/server.py:290
↓ 4 callersMethodverify_handoff
Verify if a handoff is allowed.
agent-governance-python/agent-mesh/src/agentmesh/integrations/swarm/__init__.py:98
↓ 4 callersMethodverify_integrity
Verify no entries have been tampered with.
agent-governance-python/agent-os/tutorials/hipaa-compliant-agent/demo.py:124
↓ 4 callersFunctionverify_receipt
Verify receipt signature offline. Only catches InvalidSignature — other errors (malformed key, hex decode failure) propagate so they can be d
examples/pipeline-governance/demo.py:125
↓ 4 callersFunctionverify_sequences
Calculate drift between two sequences of tokens/items. Uses edit distance and sequence alignment metrics. Args: seq_a: First se
agent-governance-python/agent-os/modules/cmvk/src/cmvk/verification.py:655
↓ 4 callersMethodverify_tool_integrity
Verify that a tool's handler has not been modified since registration. Compares the current SHA-256 hash of the handler's source code
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/tool_registry.py:361
↓ 4 callersMethodwake_agent
Wake up a hibernated agent and restore its state. Args: agent_id: Agent identifier to wake
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:647
↓ 4 callersFunctionwireExitListeners
(proc: ProcessExitTarget, onTerminated: () => void)
agent-governance-typescript/agent-os-vscode/src/services/sreServer.ts:131
↓ 4 callersFunctionwithSyntheticToolCallId
(options: AdapterOptions, toolName: string)
policy-engine/sdk/node/src/adapters.ts:990
↓ 4 callersMethodwrap
Wrap an ADK agent with governance callbacks. .. deprecated:: Use :meth:`as_plugin` instead. ``wrap()`` will be removed
agent-governance-python/agent-os/src/agent_os/integrations/google_adk_adapter.py:429
↓ 4 callersMethodwrap
Return a governed wrapper around *retriever* for *collection*. Args: retriever: Any object with an ``.invoke()`` or
agent-governance-python/agent-rag-governance/src/agent_rag_governance/governor.py:194
↓ 4 callersFunctionwrapMcpToolProvider
( control: RunnableControl, provider: TProvider, defaultOptions: AdapterOptions = {}, )
policy-engine/sdk/node/src/adapters.ts:516
↓ 4 callersFunctionwrapModel
( control: RunnableControl, model: TModel, defaultOptions: AdapterOptions = {}, )
policy-engine/sdk/node/src/adapters.ts:174
↓ 4 callersMethodwrite
(self, entry: AuditEntry)
agent-governance-python/agent-os/src/agent_os/audit_logger.py:79
↓ 4 callersMethodwrite
(self, entry: AuditEntry)
agent-governance-python/agent-os/src/agent_os/audit_logger.py:99
↓ 4 callersFunctionwriteResult
(id, result)
agent-governance-antigravity-cli/assets/extensions/agt-global-policy/mcp/server.mjs:199
↓ 4 callersMethodwrite_batch
Write a batch of audit entries to the sink.
agent-governance-python/agent-mesh/src/agentmesh/governance/audit_backends.py:40
↓ 4 callersMethodwrite_json
Write data as JSON.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/vfs.py:424
↓ 3 callersMethodCreateSession
CreateSession starts a hardened Docker container for the given agent.
agent-governance-golang/packages/agentmesh/sandbox.go:182
↓ 3 callersFunctionCredentialAuditDigest
CredentialAuditDigest computes a stable HMAC-SHA256 digest of an audit-event sequence. The digest covers handle names and decisions but never referenc
agent-governance-golang/packages/agentmesh/credential_vault.go:804
↓ 3 callersMethodDecommission
Decommission is a convenience method to start decommissioning.
agent-governance-golang/packages/agentmesh/lifecycle.go:136
↓ 3 callersFunctionDefaultRegistry
DefaultRegistry returns the process-wide default registry, pre-loaded with SQL and Kubernetes extractors. Call Register on it to add support for new p
agent-governance-golang/packages/agentmesh/protocol_facets.go:150
↓ 3 callersFunctionDefaultSandboxConfig
DefaultSandboxConfig returns a SandboxConfig with sensible defaults.
agent-governance-golang/packages/agentmesh/sandbox.go:106
↓ 3 callersMethodEvaluate
Evaluate returns structured findings for a prompt.
agent-governance-golang/packages/agentmesh/promptdefense.go:80
↓ 3 callersMethodEvaluate
Evaluate evaluates the given context using the configured OPA backend mode.
agent-governance-golang/packages/agentmesh/policy_backends.go:138
↓ 3 callersFunctionExtractK8sFacets
ExtractK8sFacets is the built-in Kubernetes extractor. Reads sub["method"] and sub["path"] and returns {verb, resource, namespace, name, subresource}.
agent-governance-golang/packages/agentmesh/protocol_facets.go:621
↓ 3 callersFunctionExtractProtocolFacets
ExtractProtocolFacets enriches a policy evaluation context with wire- protocol facets using DefaultRegistry. Mutates context in place.
agent-governance-golang/packages/agentmesh/protocol_facets.go:161
↓ 3 callersMethodGetRing
GetRing returns the ring for an agent and whether the agent is assigned.
agent-governance-golang/packages/agentmesh/rings.go:41
↓ 3 callersMethodHasObjective
HasObjective reports whether the named objective exists.
agent-governance-golang/packages/agentmesh/slo.go:97
↓ 3 callersMethodHistory
History returns a copy of scoped kill switch events in chronological order.
agent-governance-golang/packages/agentmesh/kill_switch.go:263
↓ 3 callersMethodInjectToolArgs
InjectToolArgs renders placeholders in MCP tool arguments (nested map/slice/string).
agent-governance-golang/packages/agentmesh/credential_vault.go:593
↓ 3 callersMethodIsActive
IsActive reports whether the kill switch is currently active.
agent-governance-golang/packages/agentmesh/kill_switch.go:154
↓ 3 callersMethodIsAvailable
IsAvailable reports whether the Docker daemon is reachable. The underlying `docker info` probe runs at most once per provider; the result is cached fo
agent-governance-golang/packages/agentmesh/sandbox.go:153
↓ 3 callersFunctionKillSwitchMiddleware
KillSwitchMiddleware blocks execution when a scoped kill switch is active.
agent-governance-golang/packages/agentmesh/middleware.go:155
↓ 3 callersMethodLoadRego
LoadRego registers an OPA/Rego backend with the policy engine.
agent-governance-golang/packages/agentmesh/policy.go:73
↓ 3 callersFunctionNewCredentialProfile
NewCredentialProfile creates a profile mapping action classes to handle names.
agent-governance-golang/packages/agentmesh/credential_vault.go:109
↓ 3 callersFunctionNewGovernanceMetrics
NewGovernanceMetrics creates a new metrics recorder.
agent-governance-golang/packages/agentmesh/metrics.go:14
↓ 3 callersFunctionNewPersistentCredentialVault
NewPersistentCredentialVault creates a vault with encrypted-at-rest persistence.
agent-governance-golang/packages/agentmesh/credential_vault.go:192
↓ 3 callersMethodRegisterProfile
RegisterProfile registers or replaces a per-agent profile.
agent-governance-golang/packages/agentmesh/credential_vault.go:331
↓ 3 callersMethodSuspend
Suspend is a convenience method to move to the suspended state.
agent-governance-golang/packages/agentmesh/lifecycle.go:126
↓ 3 callersMethod__new__
Singleton pattern - ensure single registry instance
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/plugin_registry.py:121
↓ 3 callersMethod__setattr__
(self, name: str, value: Any)
policy-engine/sdk/python/agent_control_specification/_adapters/_shared.py:47
↓ 3 callersMethod__setattr__
(self, key: str, value: Any)
agent-governance-python/agent-os/src/agent_os/sandbox.py:484
↓ 3 callersMethod_a2a_to_mcp
Convert A2A message to MCP format.
agent-governance-python/agent-mesh/src/agentmesh/trust/bridge.py:312
↓ 3 callersMethod_add_item
( self, layer: ContextLayer, content: str, metadata: Optional[Dict[str, Any]]
agent-governance-python/agent-os/modules/caas/src/caas/triad.py:33
↓ 3 callersMethod_agent
(self, output: str)
policy-engine/sdk/python/tests/test_real_packages.py:353
↓ 3 callersMethod_agent
(self, output: str)
policy-engine/sdk/python/tests/test_real_packages.py:456
↓ 3 callersFunction_agent_key
Internal composite key for per-agent tracking.
agent-governance-python/agent-hypervisor/src/hypervisor/rings/breach_detector.py:63
↓ 3 callersFunction_agent_token_entries
()
agent-governance-python/agent-os/services/cloud-board/api/auth.py:198
↓ 3 callersMethod_app
(self, middleware: TrustMiddleware)
agent-governance-python/agent-mesh/tests/test_http_middleware.py:213
↓ 3 callersMethod_app
(self, middleware: TrustMiddleware)
agent-governance-python/agent-mesh/tests/test_http_middleware.py:276
↓ 3 callersMethod_append_audit
(self, event_type: str, data: dict)
agent-governance-python/agent-os/examples/cross-project/cross_project_example.py:157
↓ 3 callersMethod_apply
(self, enabled: bool)
agent-governance-python/agent-os/src/agent_os/cli/output.py:60
↓ 3 callersMethod_applyPriority
()
agent-governance-typescript/agent-os-vscode/src/webviews/sidebar/GovernanceStore.ts:253
↓ 3 callersMethod_auth
(self, sk: SigningKey, did: str)
agent-governance-python/agent-mesh/tests/test_registration_auth.py:271
↓ 3 callersFunction_authorize
Authorize a tool call and record the result. Fail-closed on errors.
examples/mcp-trust-verified-server/server.py:105
↓ 3 callersFunction_authorize_escrow_participant
(escrow: dict, principal: AuthPrincipal)
agent-governance-python/agent-os/services/cloud-board/api/routes/escrow.py:592
↓ 3 callersMethod_available_tokens
(self)
agent-governance-python/agent-os/src/agent_os/context_budget.py:259
↓ 3 callersMethod_avg_score_in_window
Calculate average trust score within the rolling window.
agent-governance-python/agent-mesh/src/agentmesh/events/analytics.py:93
↓ 3 callersMethod_become_leader
Transition to leader role
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:1402
↓ 3 callersMethod_block_policy_violation
Record and score a denied tool call before returning an error to the caller.
agent-governance-python/agent-mesh/examples/01-mcp-tool-server/main.py:240
↓ 3 callersMethod_bucket_key
Build the per-(agent, session) bucket key. Using ``(agent_did, session_id)`` rather than the joined string ``f"{agent_did}:{session_i
agent-governance-python/agent-hypervisor/src/hypervisor/security/rate_limiter.py:115
↓ 3 callersMethod_build_cedar_request
Build a Cedar authorization request from execution context.
agent-governance-python/agent-os/src/agent_os/policies/backends.py:693
↓ 3 callersFunction_build_cli_args
Build a Namespace matching what argparse produces for ``cmd_atr_import``.
examples/atr-import/test_import_atr.py:312
↓ 3 callersFunction_build_execute_authenticator_from_env
()
agent-governance-python/agent-os/src/agent_os/server/app.py:252
↓ 3 callersMethod_build_request
Build a Cedar authorization request from context.
agent-governance-python/agent-mesh/src/agentmesh/governance/cedar.py:212
↓ 3 callersFunction_build_resource
Build an OTel resource with the given service name.
agent-governance-python/agent-sre/src/agent_sre/tracing/exporters.py:20
↓ 3 callersFunction_bus
Get the global event bus.
agent-governance-python/agent-hypervisor/src/hypervisor/api/server.py:102
↓ 3 callersFunction_calculate_score
Calculate trust score from history.
agent-governance-python/agent-os/services/cloud-board/api/routes/reputation.py:308
↓ 3 callersMethod_call_asgi
(self, app, path: str, body: Mapping[str, Any])
policy-engine/sdk/python/tests/test_real_packages.py:652
↓ 3 callersMethod_check_permission
(self, full_path: str, agent_did: str)
agent-governance-python/agent-hypervisor/src/hypervisor/session/sso.py:174
↓ 3 callersMethod_check_policy
Check if action is allowed by policies.
agent-governance-python/agent-mesh/examples/01-mcp-tool-server/main.py:201
↓ 3 callersMethod_check_python_code_block
Check Python code block for dangerous patterns.
agent-governance-python/agent-compliance/src/agent_compliance/security/scanner.py:733
↓ 3 callersMethod_check_rate_limit
Check and enforce rate limit.
agent-governance-python/agent-os/modules/atr/atr/tools/safe/http_client.py:173
↓ 3 callersMethod_check_readiness
Perform readiness check for an agent
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:353
↓ 3 callersFunction_clean_scalar
(value: str)
scripts/extract_workflow_shell.py:22
↓ 3 callersMethod_client
(self, content: str)
policy-engine/sdk/python/tests/test_real_packages.py:292
↓ 3 callersFunction_client_info
()
agent-governance-python/agent-os/src/agent_os/cli/mcp_scan.py:894
↓ 3 callersMethod_compute_content_hash
SHA-256 hex digest of the canonical payload.
agent-governance-python/agent-mesh/src/agentmesh/governance/audit_backends.py:171
↓ 3 callersMethod_compute_content_hash
Compute SHA-256 hash over all substantive fields for tamper detection. Unlike ``_compute_hash`` which builds the Merkle chain and is set
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/flight_recorder.py:149
← previousnext →3,701–3,800 of 32,326, ranked by callers