MCPcopy Create free account

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

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

↓ 5 callersMethodget_score
Return trust record for *agent_did* WITHOUT inserting on miss. Unknown DIDs get a fresh ``untrusted`` record returned by value; the i
agent-governance-python/agent-mesh/packages/mcp-trust-server/src/mcp_trust_server/server.py:86
↓ 5 callersFunctionget_stars
Convert score to star rating.
agent-governance-python/agent-mesh/examples/00-registration-hello-world/simulated_registration.py:244
↓ 5 callersMethodget_stats
Get statistics about observation activity.
agent-governance-python/agent-os/examples/self-evaluating/src/ghost_mode.py:636
↓ 5 callersMethodget_status
Get current circuit breaker status.
agent-governance-python/agent-os/examples/self-evaluating/src/circuit_breaker.py:466
↓ 5 callersMethodget_tier
Get tier for a score.
agent-governance-python/agent-mesh/src/agentmesh/reward/scoring.py:227
↓ 5 callersMethodget_trust_report
Get trust status report.
agent-governance-python/agent-mesh/src/agentmesh/integrations/swarm/__init__.py:254
↓ 5 callersFunctiongoverned_shell
Temporarily route Python shell APIs through an OpenShell governance skill.
agent-governance-python/agentmesh-integrations/openshell-skill/openshell_agentmesh/skill.py:159
↓ 5 callersFunctionguardLangChainRunnable
( control: RunnableControl, runnable: TAgent, defaultOptions: AdapterOptions = {}, )
policy-engine/sdk/node/src/adapters.ts:238
↓ 5 callersFunctionguard_autogen_agent
Guard an AutoGen-style agent method without importing AutoGen.
policy-engine/sdk/python/agent_control_specification/_adapters/agents.py:14
↓ 5 callersFunctionguard_crewai_crew
Guard a CrewAI-style crew/agent kickoff method without importing CrewAI. CrewAI 1.6 prompts for first-run trace viewing unless it detects a test
policy-engine/sdk/python/agent_control_specification/_adapters/agents.py:45
↓ 5 callersFunctionguarded
(*args: Any, **kwargs: Any)
policy-engine/sdk/python/agent_control_specification/_adapters/mcp.py:179
↓ 5 callersFunctionhandleJsonRpcRequest
(state, request)
agent-governance-opencode/server/agt-mcp.mjs:38
↓ 5 callersMethodhandle_get_prompt
Handle MCP prompts/get request.
agent-governance-python/agent-os/modules/mcp-kernel-server/src/mcp_kernel_server/server.py:385
↓ 5 callersMethodhandler
(args, context=None)
policy-engine/sdk/python/tests/test_adapters.py:208
↓ 5 callersMethodhas
(self, nonce: str)
agent-governance-python/agent-os/src/agent_os/mcp_protocols.py:99
↓ 5 callersMethodhas_circular_dependency
Check if there are any circular dependencies
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:1597
↓ 5 callersMethodhas_non_reversible_actions
Check if any registered action is non-reversible.
agent-governance-python/agent-hypervisor/src/hypervisor/reversibility/registry.py:85
↓ 5 callersMethodhas_skill
Check if agent advertises a specific skill.
agent-governance-python/agentmesh-integrations/a2a-protocol/a2a_agentmesh/agent_card.py:197
↓ 5 callersMethodhighest_tier
Find the highest tier an agent qualifies for. Evaluates from GOLD down to BRONZE, returning the first passing tier. If no tier passes
agent-governance-python/agent-sre/src/agent_sre/certification/__init__.py:324
↓ 5 callersFunctionhyperlight_config_from_policy
Extract Hyperlight-relevant fields from a policy. Reads well-known attributes (``defaults.max_memory_mb``, ``defaults.timeout_seconds``, ``sa
agent-governance-python/agent-sandbox/src/agent_sandbox/hyperlight_provider/config.py:116
↓ 5 callersMethodimport_reputation_data
Import reputation data from other nodes in the network. Args: data: Dictionary of reputation scores from other nodes
agent-governance-python/agent-os/modules/iatp/iatp/attestation.py:440
↓ 5 callersMethodinc_counter
Increment a counter metric.
agent-governance-python/agent-sre/src/agent_sre/integrations/prometheus/exporter.py:54
↓ 5 callersMethodincrement_counter
Increment a counter metric
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:2198
↓ 5 callersMethodinput
( self, *, body: str | dict[str, Any], source: str = "user", headers:
agent-governance-python/agt-policies/src/agt/policies/snapshot.py:432
↓ 5 callersMethodintercept_tool_execution_async
Async version of intercept_tool_execution for non-blocking operation. This is the production-ready async implementation that support
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/agent_kernel.py:226
↓ 5 callersMethodinvoke
Execute the plan with step-by-step governance validation. Before execution, each step is checked against ``allowed_tools``. Execution
agent-governance-python/agent-os/src/agent_os/integrations/semantic_kernel_adapter.py:879
↓ 5 callersFunctionisAgentFailsafeAvailable
(pythonPath: string)
agent-governance-typescript/agent-os-vscode/src/services/sreServer.ts:54
↓ 5 callersMethodis_active
Check if this agreement is active (not expired or revoked).
agent-governance-python/agent-mesh/src/agentmesh/governance/federation.py:329
↓ 5 callersFunctionis_enabled
Check if OTel observability is enabled and functional.
agent-governance-python/agent-mesh/src/agentmesh/governance/otel_observability.py:249
↓ 5 callersMethodis_exceeded
(self)
agent-governance-python/agent-os/src/agent_os/policies/budget.py:53
↓ 5 callersMethodis_in_blackout
Check if the current time falls within any blackout window. Args: schedule: The schedule whose blackout windows to check.
agent-governance-python/agent-sre/src/agent_sre/chaos/chaos_scheduler.py:82
↓ 5 callersMethodis_verified
Check if a card is verified (with caching).
agent-governance-python/agent-mesh/src/agentmesh/integrations/ai_card/discovery.py:97
↓ 5 callersMethodis_within_threshold
Check if verification result passes this profile's thresholds.
agent-governance-python/agent-os/modules/cmvk/src/cmvk/profiles.py:59
↓ 5 callersFunctionjsonRpcError
(id, code, message)
agent-governance-opencode/server/agt-mcp.mjs:139
↓ 5 callersFunctionjsonRpcError
(id, code, message)
agent-governance-claude-code/server/agt-mcp.mjs:139
↓ 5 callersMethodkickoff
(self, inputs)
policy-engine/sdk/python/tests/test_adapters.py:420
↓ 5 callersMethodlatency_injection
Inject latency into a target.
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:56
↓ 5 callersMethodlist_channels
(self)
agent-governance-python/agent-sre/src/agent_sre/alerts/__init__.py:285
↓ 5 callersMethodlist_checkpoints
List all checkpoint images for the agent.
agent-governance-python/agent-sandbox/src/agent_sandbox/docker_provider/state.py:145
↓ 5 callersMethodlist_types
List all registered SLI type names.
agent-governance-python/agent-sre/src/agent_sre/slo/indicators.py:510
↓ 5 callersMethodloadYaml
Parse and load a YAML string as a Policy document.
agent-governance-typescript/src/policy.ts:396
↓ 5 callersMethodload_cedar
Load a .cedar file alongside YAML/JSON and Rego policies. Cedar evaluators run after Rego: YAML rules first, then Rego, then
agent-governance-python/agent-mesh/src/agentmesh/governance/policy.py:759
↓ 5 callersMethodload_from_yaml
Parse a simple YAML-like egress policy and add rules. Supported format (stdlib-only, no PyYAML dependency):: rules:
agent-governance-python/agent-os/src/agent_os/egress_policy.py:79
↓ 5 callersMethodload_rego
Convenience: register an OPA/Rego backend. Args: rego_path: Path to a ``.rego`` file. rego_content: Inline Rego polic
agent-governance-python/agent-os/src/agent_os/policies/evaluator.py:85
↓ 5 callersMethodlog
* Log an action to the audit trail.
agent-governance-python/agent-os/extensions/mcp-server/src/services/audit-logger.ts:44
↓ 5 callersMethodlog
(self, action: str, device_id: str, user: str, old_state: str = None, new_state: str = None,
agent-governance-python/agent-os/examples/iot-smart-home/main.py:201
↓ 5 callersMethodlog
Create audit entry with hash chain.
agent-governance-python/agent-os/examples/legal-review/main.py:260
↓ 5 callersMethodlog_artifact
Log artifact data. Args: run_name: Name of the run this artifact belongs to. artifact_path: Path/name for the artifac
agent-governance-python/agent-sre/src/agent_sre/integrations/mlflow/exporter.py:137
↓ 5 callersMethodlog_blocked_request
Log a request that was blocked by security policies.
agent-governance-python/agent-os/modules/iatp/iatp/telemetry/__init__.py:90
↓ 5 callersMethodlog_error
Log an error during request processing.
agent-governance-python/agent-os/modules/iatp/iatp/telemetry/__init__.py:72
↓ 5 callersMethodlog_handshake
Log a trust handshake event.
agent-governance-python/agent-mesh/src/agentmesh/services/audit/__init__.py:80
↓ 5 callersMethodlog_response
Log a response from an agent.
agent-governance-python/agent-os/modules/iatp/iatp/telemetry/__init__.py:52
↓ 5 callersFunctionmakeClient
(overrides?: Partial<MeshClientOptions>)
agent-governance-typescript/tests/mesh-client-auto-reconnect.test.ts:72
↓ 5 callersFunctionmake_context
()
agent-governance-python/agent-os/tests/test_escalation.py:44
↓ 5 callersMethodmark_as_failure
Create a new episode marked as a failure (immutable pattern). Args: reason: Optional reason for the failure
agent-governance-python/agent-os/modules/emk/emk/schema.py:104
↓ 5 callersMethodmatches
Return True if the given action + params match this planned action.
agent-governance-python/agent-os/src/agent_os/intent.py:99
↓ 5 callersFunctionmerge_top_level_section
Merge a top-level governance section across documents (last writer wins). Used for sections like ``tools``, ``annotators``, ``policies``, ``l
agent-governance-python/agt-policies/src/agt/manifest_resolution/merge.py:377
↓ 5 callersFunctionminutesAgo
ISO timestamp for N minutes ago.
agent-governance-typescript/agent-os-vscode/src/mockBackend/MockTopologyBackend.ts:21
↓ 5 callersMethodneeds_rotation
Check if SVID needs rotation. Args: threshold_minutes: Minutes before expiry to trigger rotation. Returns: T
agent-governance-python/agent-mesh/src/agentmesh/identity/spiffe.py:186
↓ 5 callersMethodon_chain_end
Called when a chain finishes executing.
agent-governance-python/agent-sre/src/agent_sre/integrations/langchain/callback.py:276
↓ 5 callersMethodon_chain_start
Called when a chain starts executing.
agent-governance-python/agent-sre/src/agent_sre/integrations/langchain/callback.py:260
↓ 5 callersMethodon_handoff
Called when control transfers from one agent to another. Governance actions performed: 1. **Handoff limit** — increments the handoff
agent-governance-python/agent-os/src/agent_os/integrations/openai_agents_sdk.py:959
↓ 5 callersMethodon_llm_error
Called when LLM errors out.
agent-governance-python/agent-sre/src/agent_sre/integrations/langchain/callback.py:189
↓ 5 callersMethodon_publish
Intercept broadcast/published messages. Scans published messages for blocked patterns and PII before they reach subscribers.
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:296
↓ 5 callersMethodon_send
(self, message, **kwargs)
agent-governance-python/agt-policies/tests/scenarios/test_autogen_adapter_scenarios.py:62
↓ 5 callersFunctionoutput_snapshot
Snapshot for the ``output`` intervention point (§2.7).
agent-governance-python/agt-policies/src/agt/policies/snapshot.py:226
↓ 5 callersFunctionparse_remote_mcp_servers
Extract inspectable Streamable HTTP and legacy SSE MCP server configs.
agent-governance-python/agent-os/src/agent_os/cli/mcp_scan.py:480
↓ 5 callersFunctionparse_stdio_mcp_servers
Extract inspectable stdio MCP server configs. Supports Claude Desktop style ``mcpServers`` and VS Code-style ``servers``. Remote HTTP-family
agent-governance-python/agent-os/src/agent_os/cli/mcp_scan.py:371
↓ 5 callersMethodpayload_hash
(self)
examples/pipeline-governance/demo.py:97
↓ 5 callersMethodpolicy_bypass
Attempt to bypass a governance policy.
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:78
↓ 5 callersFunctionprint_agent_header
(agent_name: str, ring: int)
agent-governance-python/agent-os/examples/trading-governance/demo.py:433
↓ 5 callersFunctionprint_log
(level: str, message: str)
agent-governance-python/agent-os/examples/crewai-safe-mode/langchain_safe_mode.py:78
↓ 5 callersFunctionprint_response
Print polymorphic response and UI component.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_polymorphic_output.py:43
↓ 5 callersFunctionprint_section
Print a formatted section header
agent-governance-python/agent-os/modules/control-plane/examples/kernel_v1_demo.py:24
↓ 5 callersMethodquarantine
Quarantine the agent due to a security or trust issue.
agent-governance-typescript/src/lifecycle.ts:127
↓ 5 callersMethodquery
( self, agent_did: Optional[str] = None, tool_name: Optional[str] = None, ceda
agent-governance-python/agentmesh-integrations/mcp-receipt-governed/mcp_receipt_governed/receipt.py:211
↓ 5 callersMethodquery_by_session
Get all events for a specific session.
agent-governance-python/agent-hypervisor/src/hypervisor/observability/event_bus.py:203
↓ 5 callersMethodquery_patterns
Query learned behavior patterns. Args: trigger: Optional trigger to filter by min_confidence: Minimu
agent-governance-python/agent-os/examples/self-evaluating/src/ghost_mode.py:229
↓ 5 callersFunctionrankPanelsByUrgency
(state: SidebarState, userSlots: SlotConfig)
agent-governance-typescript/agent-os-vscode/src/webviews/sidebar/priorityEngine.ts:56
↓ 5 callersFunctionreadFixture
(relativePath)
policy-engine/sdk/node/test/streaming_conformance.test.mjs:53
↓ 5 callersMethodreceive_a2a
Create a server-side span for an incoming A2A request. Call this on the *receiving* agent to link the incoming request back to the ca
agent-governance-python/agent-sre/src/agent_sre/tracing/__init__.py:577
↓ 5 callersMethodreconcile
Run reconciliation and return shadow agents. For each agent in the inventory: - If registered → mark as REGISTERED - If not r
agent-governance-python/agent-discovery/src/agent_discovery/reconciler.py:80
↓ 5 callersFunctionrecordFastTick
(timing: PanelTiming)
agent-governance-typescript/agent-os-vscode/src/webviews/sidebar/panelLatencyTracker.ts:62
↓ 5 callersMethodrecord_behavior
Record agent behavior for baseline establishment
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/ml_safety.py:417
↓ 5 callersMethodrecord_check
(self, compliant: bool, policy_name: str = "", metadata: dict[str, Any] | None = None)
agent-governance-python/agent-sre/src/agent_sre/integrations/agent_os/bridge.py:29
↓ 5 callersMethodrecord_event
Record an event in a session. Args: session_id: Session ID. event_type: Type of event. data: Optional eve
agent-governance-python/agent-sre/src/agent_sre/integrations/agentops/exporter.py:118
↓ 5 callersMethodrecord_event
(self, good)
agent-governance-python/agent-sre/tests/test_fleet.py:145
↓ 5 callersMethodrecord_failure
Record a failed action and return the updated score.
agent-governance-python/agentmesh-integrations/haystack-agentmesh/src/haystack_agentmesh/trust_gate.py:86
↓ 5 callersMethodrecord_metric
Record a metric for an agent
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:2168
↓ 5 callersMethodrecord_policy_decision
(self, decision: str, duration_ms: float)
agent-governance-python/agent-mesh/src/agentmesh/observability/otel_sdk.py:96
↓ 5 callersMethodrecord_policy_violation
Increment the policy-violation counter. Args: policy_id: Identifier of the violated policy.
agent-governance-python/agent-mesh/src/agentmesh/observability/prometheus_exporter.py:115
↓ 5 callersMethodrecord_span
Record a completed saga span as a native OTel span. Args: name: Span name (e.g. ``saga.step.validate``). start_time:
agent-governance-python/agent-sre/src/agent_sre/integrations/otel/saga_sink.py:59
↓ 5 callersMethodrecord_success
Record successful task execution. Returns the new trust score.
agent-governance-python/agentmesh-integrations/structural-authz-agentmesh/structural_authz_agentmesh/trust.py:597
↓ 5 callersMethodrecord_success
(self, agent: str, delta: float = 0.01)
agent-governance-python/agentmesh-integrations/langgraph-trust/langgraph_trust/gate.py:32
↓ 5 callersMethodrecord_success
Record a successful action and return the updated score.
agent-governance-python/agentmesh-integrations/haystack-agentmesh/src/haystack_agentmesh/trust_gate.py:78
↓ 5 callersMethodrecord_tokens
(self, count: int)
agent-governance-python/agent-os/src/agent_os/policies/budget.py:41
↓ 5 callersMethodrecord_trust_score
(self, agent_id: str, score: float)
agent-governance-python/agent-mesh/src/agentmesh/observability/otel_sdk.py:102
↓ 5 callersMethodrecord_usage
Record token consumption and return the updated status. Fires the ``on_warning`` callback the first time the warning threshold is cro
agent-governance-python/agent-os/src/agent_os/integrations/token_budget.py:68
↓ 5 callersMethodrecord_verification_failure
Increment the failed verifications counter. Args: reason: Failure reason label.
agent-governance-python/agent-mesh/src/agentmesh/observability/metrics.py:305
↓ 5 callersMethodrecord_violation
Increment the violation counter. Args: violation_type: Type of violation (e.g. ``"scope_exceeded"``).
agent-governance-python/agent-mesh/src/agentmesh/observability/prometheus_governance.py:181
← previousnext →2,801–2,900 of 32,326, ranked by callers