MCPcopy Create free account

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

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

↓ 8 callersMethodadd_warm_context
Add context labelled as *warm*.
agent-governance-python/agent-os/modules/caas/src/caas/triad.py:64
↓ 8 callersMethodanalyze
Analyze a message in conversation context. Considers both the message's own score and the trend of recent messages in this conversati
agent-governance-python/agent-os/src/agent_os/integrations/conversation_guardian.py:360
↓ 8 callersMethodas_step_callback
Create a governance callback for smolagents' native ``step_callbacks``. Returns a ``GovernanceStepCallback`` that can be passed directly to
agent-governance-python/agent-os/src/agent_os/integrations/smolagents_adapter.py:337
↓ 8 callersFunctionbanner
(title: str, width: int = 70)
docs/demos/conversation-guardian-demo.py:84
↓ 8 callersMethodbegin_handshake
Transition to handshaking phase.
agent-governance-python/agent-hypervisor/src/hypervisor/session/__init__.py:76
↓ 8 callersMethodbootstrap_session
Persist a pre-provisioned session token bound to an agent. Intended for environments that need deterministic bootstrap credentials (f
agent-governance-python/agent-os/src/agent_os/mcp_session_auth.py:120
↓ 8 callersFunctionbudgetHealth
(remainingPercent: number)
agent-governance-typescript/agent-os-vscode/src/views/sloBuilders.ts:24
↓ 8 callersFunctionbuildViolationTooltip
* Build a tooltip string for the violation counter status bar item. * * @param count - Total violation count for today. * @param breakdown - Severi
agent-governance-typescript/agent-os-vscode/src/governanceStatusBarTypes.ts:108
↓ 8 callersMethodcall
(self, func: Any, *args: Any, fallback: Any = None, **kwargs: Any)
agent-governance-python/agent-os/src/agent_os/_circuit_breaker_impl.py:116
↓ 8 callersMethodcall_tool
(self, request, context=None)
policy-engine/sdk/python/tests/test_adapters.py:438
↓ 8 callersMethodcan_communicate
Check whether *from_did* may communicate with *to_did*. Same namespace (or shared lineage) → always allowed. Cross-namespace → only i
agent-governance-python/agent-mesh/src/agentmesh/identity/namespace_manager.py:158
↓ 8 callersMethodcancel_run
Cancel a run (SIGKILL equivalent). Immediately marks the run as cancelled locally and issues a cancel request to the OpenAI API. If
agent-governance-python/agent-os/src/agent_os/integrations/openai_adapter.py:339
↓ 8 callersFunctioncheck
(control: AgentControl, point: InterventionPoint, snapshot: dict, label: str)
policy-engine/examples/from_agentshield/policies/sql-protect-with-regex/app/run_demo.py:52
↓ 8 callersMethodcheck
Check if an agent has a specific capability. Args: agent_did: The agent's decentralized identifier. capability: Capab
agent-governance-python/agent-mesh/src/agentmesh/trust/capability.py:379
↓ 8 callersFunctioncheckFile
(filePath, description)
agent-governance-python/agent-os/extensions/copilot/deploy.js:40
↓ 8 callersFunctioncheckRateLimit
( ip: string, requestCounts: Map<string, RateLimitRecord> )
agent-governance-typescript/agent-os-vscode/src/server/serverHelpers.ts:102
↓ 8 callersFunctioncheck_account_shape
Check account age, repo velocity, follower ratios.
scripts/contributor_check.py:145
↓ 8 callersMethodcheck_action
Check whether an action is allowed under the declared intent. This is the core method called by the kernel before executing each action.
agent-governance-python/agent-os/src/agent_os/intent.py:539
↓ 8 callersMethodcheck_content
Check text against blocked patterns.
agent-governance-python/agentmesh-integrations/langflow-agentmesh/src/langflow_agentmesh/policy.py:85
↓ 8 callersFunctioncheck_pyproject_toml
Check a pyproject.toml for unregistered package dependencies.
scripts/check_dependency_confusion.py:368
↓ 8 callersFunctionchunk
(**kw: Any)
policy-engine/tests/conformance/streaming/generate.py:37
↓ 8 callersFunctioncleanup
()
agent-governance-antigravity-cli/test/mcp-server.test.mjs:95
↓ 8 callersFunctionclose
()
agent-governance-typescript/agent-os-vscode/src/extension.ts:1134
↓ 8 callersFunctioncollect
(gen: AsyncGenerator<{ content: string }>)
agent-governance-python/agentmesh-integrations/copilot-governance/tests/index.test.ts:361
↓ 8 callersMethodcollect
Return a snapshot of all metrics as a framework-agnostic dict. Returns: Dictionary with metric names as keys and nested dicts/val
agent-governance-python/agent-hypervisor/src/hypervisor/observability/prometheus_collector.py:158
↓ 8 callersMethodcompute_hash_chain_root
Return hash of last delta in the chain.
agent-governance-python/agent-hypervisor/src/hypervisor/audit/delta.py:108
↓ 8 callersFunctioncompute_report_data_hash
Compute ADR 0010 canonical report-data binding. The hash binds attestation evidence to the agent DID, handshake challenge, nonce, and Ed25519
agent-governance-python/agent-mesh/src/agentmesh/identity/attestation.py:60
↓ 8 callersMethodconsume
Atomically check-and-record an alert for delivery. Returns ``True`` if the caller should deliver *alert*, in which case the alert is
agent-governance-python/agent-sre/src/agent_sre/alerts/dedup.py:67
↓ 8 callersMethodcount
Return the number of registered bundles.
agent-governance-python/agent-marketplace/src/agent_marketplace/workflow_bundle.py:108
↓ 8 callersMethodcreate
(self, messages, **kwargs)
policy-engine/sdk/python/tests/test_real_packages.py:461
↓ 8 callersFunctioncreateDetailPanel
( config: DetailPanelConfig, extensionUri: vscode.Uri, callbacks: DetailPanelCallbacks, )
agent-governance-typescript/agent-os-vscode/src/webviews/shared/panelHost.ts:38
↓ 8 callersMethodcreate_challenge
Create and register a new challenge. Args: require_freshness: If True, include an RFC 9334 freshness nonce in the
agent-governance-python/agent-mesh/src/agentmesh/trust/handshake.py:569
↓ 8 callersFunctioncreate_default_supervisor
Create a supervisor with default detection rules
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/supervisor_agents.py:416
↓ 8 callersMethodcreate_restricted_globals
Create a restricted globals dict with a whitelist of safe builtins. Only names in :data:`_SAFE_BUILTINS_WHITELIST` are exposed. Names in
agent-governance-python/agent-os/src/agent_os/sandbox.py:692
↓ 8 callersFunctioncreate_signal_from_file_change
Helper: Create a file change signal.
agent-governance-python/agent-os/examples/self-evaluating/src/universal_signal_bus.py:576
↓ 8 callersFunctioncreate_signed_manifest
Return (manifest, registration_signature, private_key_bytes) with a real Ed25519 keypair.
agent-governance-python/agent-os/tests/nexus/test_registry.py:21
↓ 8 callersMethoddata_exfiltration
Simulate data exfiltration attempt.
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:88
↓ 8 callersFunctiondefaultString
(value string, fallback string)
agent-governance-golang/packages/agentmesh/discovery.go:899
↓ 8 callersMethoddelete
Delete a file.
agent-governance-python/agent-hypervisor/src/hypervisor/session/sso.py:72
↓ 8 callersMethoddetectSurfaces
* Detect which surfaces a rule targets. * Returns empty array for universal rules (no surface restriction).
agent-governance-typescript/src/surface-parity.ts:79
↓ 8 callersMethoddetect_conflicts
Detect conflicting or contradictory policy settings. Returns: A list of human-readable warning strings describing each c
agent-governance-python/agent-os/src/agent_os/integrations/base.py:376
↓ 8 callersMethoddetect_data_type
Analyze data and determine its type. Args: data: The response data Returns: str
agent-governance-python/agent-os/examples/self-evaluating/src/polymorphic_output.py:163
↓ 8 callersFunctiondetect_manifest_format
Detect whether *data* represents a Copilot, Claude, or generic manifest. Returns: ``"copilot"``, ``"claude"``, or ``"generic"``.
agent-governance-python/agent-marketplace/src/agent_marketplace/schema_adapters.py:108
↓ 8 callersMethoddisable
Disable colors on *this* instance.
agent-governance-python/agent-os/src/agent_os/cli/output.py:64
↓ 8 callersFunctiondiscover_policies
Discover governance.yaml files from ``action_path`` up to ``root``. Args: action_path: Path where the agent action originates. If it is a
agent-governance-python/agt-policies/src/agt/manifest_resolution/discover.py:32
↓ 8 callersMethodenable_mute_agent
Enable Mute Agent mode for an agent. The agent will only execute actions that match its defined capabilities and ret
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:459
↓ 8 callersFunctionenforceOpenClawHookPoint
( control: RunnableControl, interventionPoint: InterventionPoint, snapshot: Record<string, JsonValue>,
policy-engine/sdk/node/src/adapters.ts:779
↓ 8 callersMethodenterprise
Production enterprise policy with balanced defaults. Moderate limits with SQL injection and shell injection patterns blocked. Audit l
agent-governance-python/agent-os/src/agent_os/integrations/templates.py:79
↓ 8 callersMethodentropy
Compute Shannon entropy of the agent's action distribution. Returns ``None`` when fewer than ``min_actions`` have been recorded.
agent-governance-python/agent-sre/src/agent_sre/anomaly/rogue_detector.py:211
↓ 8 callersMethoderror_injection
Inject errors into a target.
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:61
↓ 8 callersFunctionescHtml
Escape HTML entities for safe rendering.
agent-governance-typescript/agent-os-vscode/src/extension.ts:1105
↓ 8 callersMethodevaluate
Evaluate an agent's trust score and determine routing tier.
agent-governance-python/agentmesh-integrations/flowise-agentmesh/src/flowise_agentmesh/trust_gate_node.py:40
↓ 8 callersMethodevaluate
Evaluate the condition against a context. Args: context: Dictionary containing the evaluation context
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/policy_engine.py:98
↓ 8 callersMethodevaluate
( self, rule_name: str, message: str, location: str = "", suggestion:
agent-governance-python/agent-os/src/agent_os/execution_context_policy.py:96
↓ 8 callersFunctionevaluatePreToolUse
(state, input = {})
agent-governance-claude-code/lib/policy.mjs:213
↓ 8 callersFunctionevaluateText
(agentControl, text)
policy-engine/sdk/node/test/native-runtime.test.mjs:98
↓ 8 callersMethodevaluate_and_decide
Evaluate metrics and make rollout decision. Returns: Decision dictionary from watchdog
agent-governance-python/agent-os/examples/self-evaluating/src/circuit_breaker.py:455
↓ 8 callersMethodevaluate_troubleshooting
Evaluate a troubleshooting conversation. Args: turn_count: Number of turns in the conversation resol
agent-governance-python/agent-os/examples/self-evaluating/src/intent_detection.py:136
↓ 8 callersFunctionevaluator
(input_text: str, output_text: str, context: Any)
agent-governance-python/agent-os/examples/self-evaluating/src/evaluation_engineering.py:435
↓ 8 callersMethodexecute
Execute a callable function in a Docker container. The function is serialized and executed inside an ephemeral container. The
agent-governance-python/agent-os/modules/atr/atr/executor.py:159
↓ 8 callersFunctionfail
(message: str)
policy-engine/scripts/lint_logging.py:82
↓ 8 callersMethodfor_high_risk
Create declaration with recommended HIGH risk thresholds.
agent-governance-python/agent-sre/src/agent_sre/accuracy_declaration.py:62
↓ 8 callersMethodforce_open
Manually open the circuit breaker.
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:122
↓ 8 callersMethodfromJSON
Reconstruct an AgentIdentity from its JSON representation.
agent-governance-typescript/src/identity.ts:371
↓ 8 callersMethodfrom_env
Return ``None`` if the operator has not opted into verification. Both ``AGENTMESH_ENTRA_AUDIENCE`` and ``AGENTMESH_ENTRA_TENANT_ID``
agent-governance-python/agent-mesh/src/agentmesh/identity/entra_verifier.py:82
↓ 8 callersMethodfrom_json
Create episode from JSON string.
agent-governance-python/agent-os/modules/emk/emk/schema.py:91
↓ 8 callersFunctiongenerate_agents_md
Generate a valid AGENTS.md string from *config*. The output includes YAML frontmatter followed by Markdown sections for project overview, bui
agent-governance-python/agent-os/src/agent_os/agents_compat.py:330
↓ 8 callersFunctiongenerate_ed25519_keypair
Generate an Ed25519 key pair for IATP attestation signing. Returns: Tuple of (private_key_b64, public_key_b64) — both raw base64 enc
agent-governance-python/agent-os/modules/iatp/iatp/attestation.py:228
↓ 8 callersFunctiongenerate_keypair
Generate an Ed25519 keypair. Returns: (private_key_bytes, verification_key_str) where verification_key_str has the format "e
agent-governance-python/agent-os/modules/nexus/crypto.py:28
↓ 8 callersMethodget
Get an identity by DID.
agent-governance-python/agent-mesh/src/agentmesh/identity/agent_id.py:571
↓ 8 callersMethodget
(self, key: str)
agent-governance-python/agent-os/src/agent_os/stateless.py:215
↓ 8 callersMethodget
Get or create a circuit breaker for an agent.
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:184
↓ 8 callersFunctiongetPackageRoot
()
agent-governance-antigravity-cli/lib/cli.mjs:434
↓ 8 callersFunctiongetPackageRoot
()
agent-governance-copilot-cli/lib/cli.mjs:384
↓ 8 callersMethodget_baseline
Return current baseline for a metric, or ``None``.
agent-governance-python/agent-sre/src/agent_sre/anomaly/detector.py:317
↓ 8 callersFunctionget_current_trace
Get the current trace context.
agent-governance-python/agent-os/modules/amb/amb_core/tracing.py:327
↓ 8 callersMethodget_endorsements
Get valid endorsements for a peer from the endorsement registry. Returns an empty list if no endorsement registry is configured. Endo
agent-governance-python/agent-mesh/src/agentmesh/trust/bridge.py:215
↓ 8 callersMethodget_inactive
Return the standby (inactive) environment.
agent-governance-python/agent-sre/src/agent_sre/delivery/blue_green.py:122
↓ 8 callersMethodget_key_history
Return the list of previous public keys with rotation timestamps. Returns: List of dicts with keys ``public_key``, ``verification
agent-governance-python/agent-mesh/src/agentmesh/identity/rotation.py:169
↓ 8 callersMethodget_last_output
Get the last output, optionally filtered by worker type.
agent-governance-python/agent-os/examples/self-evaluating/src/orchestrator.py:74
↓ 8 callersMethodget_or_create_score
Get or create a reputation score for an agent. Args: agent_id: Agent identifier Returns: Reputation
agent-governance-python/agent-os/modules/iatp/iatp/attestation.py:269
↓ 8 callersMethodget_pending_reviews
Get all pending review items, optionally filtered by type. Args: review_type: Optional filter by review type
agent-governance-python/agent-os/examples/self-evaluating/src/wisdom_curator.py:435
↓ 8 callersMethodget_plugin
Retrieve a specific plugin manifest. When *version* is ``None`` the latest version (highest semver) is returned. Args: n
agent-governance-python/agent-mesh/src/agentmesh/marketplace/registry.py:87
↓ 8 callersMethodget_state
Get the current conversation state. Returns: The current conversation state
agent-governance-python/agent-os/modules/caas/src/caas/conversation.py:181
↓ 8 callersMethodget_tool
Get a tool by ID or name
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/tool_registry.py:229
↓ 8 callersFunctionguard_anthropic_client
Guard Anthropic messages calls. Anthropic streaming uses typed message events rather than OpenAI chat completion SSE chunks. Streamed calls f
policy-engine/sdk/python/agent_control_specification/_adapters/anthropic.py:15
↓ 8 callersMethodhandle
Process a request through rate limiting then delegate to *handler*. Args: request: The incoming request. handler: The
agent-governance-python/agent-mesh/src/agentmesh/services/rate_limit_middleware.py:86
↓ 8 callersMethodhandle_check
Evaluate a policy decision. Request: {"agent_id": "...", "action": "...", "context": {...}} Response: {"allowed": bool, "decision": "
agent-governance-python/agent-mesh/src/agentmesh/gateway/policy_provider.py:25
↓ 8 callersFunctionhandle_error
Centralized error handler for compliance CLI. Echoes the exception detail for known (user-facing) error classes so the operator can act on th
agent-governance-python/agent-compliance/src/agent_compliance/cli/main.py:24
↓ 8 callersMethodhealth_check
Get the health check if set.
agent-governance-python/agent-os/modules/atr/atr/schema.py:188
↓ 8 callersMethodhibernate_agent
Hibernate an agent by serializing its state to disk. This implements the "Serverless Agents" pattern - agents sitting idle
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:618
↓ 8 callersMethodinject
Produce propagation headers for an outgoing call. Returns a dict suitable for merging into HTTP headers / A2A metadata.
agent-governance-python/agent-sre/src/agent_sre/tracing/__init__.py:556
↓ 8 callersFunctioninput_snapshot
Snapshot for the ``input`` intervention point (AGT-SNAPSHOT §2.2).
agent-governance-python/agt-policies/src/agt/policies/snapshot.py:118
↓ 8 callersMethodinstall
Install this hook into sys.meta_path.
agent-governance-python/agent-os/src/agent_os/sandbox.py:286
↓ 8 callersMethodintercept
(self, request: ToolCallRequest)
agent-governance-python/agent-os/examples/finance-soc2/main.py:180
↓ 8 callersFunctionisObject
(v: unknown)
agent-governance-typescript/agent-os-vscode/src/services/translators.ts:28
↓ 8 callersMethodis_allowed
Check if action is allowed. Returns bool (non-raising).
agent-governance-python/agent-os/src/agent_os/lite.py:97
↓ 8 callersMethodis_available
(self)
agent-governance-python/agent-sandbox/src/agent_sandbox/hyperlight_provider/provider.py:352
↓ 8 callersMethodis_healthy
Check if status indicates tool is usable.
agent-governance-python/agent-os/modules/atr/atr/health.py:50
↓ 8 callersMethodis_path_allowed
Check if a path is accessible under this session's isolation. Args: path: Absolute path to check. Returns: T
agent-governance-python/agent-hypervisor/src/hypervisor/session/isolation.py:72
← previousnext →1,601–1,700 of 32,326, ranked by callers