MCPcopy Create free account

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

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

↓ 13 callersMethodfinish
Complete this trace.
agent-governance-python/agent-sre/src/agent_sre/replay/capture.py:179
↓ 13 callersMethodfrom_env
Load configuration from AGENT_OS_* environment variables.
agent-governance-python/agent-os/src/agent_os/integrations/config.py:46
↓ 13 callersMethodfrom_yaml_file
Load a policy from a YAML file, resolving ``extends`` parents. Recursively loads parent policies referenced by ``extends``, merging r
agent-governance-python/agent-mesh/src/agentmesh/governance/policy.py:284
↓ 13 callersMethodget
Look up an action's reversibility entry.
agent-governance-python/agent-hypervisor/src/hypervisor/reversibility/registry.py:64
↓ 13 callersMethodgetBridges
()
agent-governance-typescript/agent-os-vscode/src/views/topologyTypes.ts:80
↓ 13 callersFunctiongetTrustTier
Mock implementations of script functions for testing
agent-governance-typescript/agent-os-vscode/src/test/webviews/agentDrilldown.test.ts:14
↓ 13 callersMethodget_agent
Get agent metadata.
agent-governance-python/agent-mesh/src/agentmesh/registry/app.py:229
↓ 13 callersMethodget_processor
Get processor for given format.
agent-governance-python/agent-os/modules/caas/src/caas/ingestion/processors.py:241
↓ 13 callersMethodget_stats
Get query statistics.
agent-governance-python/agent-os/examples/sql-agent/main.py:304
↓ 13 callersMethodget_trust_score
Return a normalised trust score (0.0-1.0) from AVP EigenTrust. Calls GET /v1/reputation/{did} and returns the ``score`` field. Return
agent-governance-python/agentmesh-integrations/agentmesh-avp/agentmesh_avp/provider.py:99
↓ 13 callersFunctiongoverned_call
Execute a tool call through the governance layer. Returns result or None.
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:532
↓ 13 callersMethodgrant
Grant a capability to an agent. Creates a ``CapabilityGrant``, adds it to the agent's scope, and tracks it by grantor for bulk revoca
agent-governance-python/agent-mesh/src/agentmesh/trust/capability.py:314
↓ 13 callersFunctionguard_openai_client
Guard common OpenAI-style async client create methods by duck typing.
policy-engine/sdk/python/agent_control_specification/_adapters/openai.py:30
↓ 13 callersMethodhealth_summary
Generate overall health summary.
agent-governance-python/agent-sre/src/agent_sre/slo/dashboard.py:169
↓ 13 callersMethodintercept
(self, request: ToolCallRequest)
agent-governance-python/agent-os/src/agent_os/integrations/base.py:950
↓ 13 callersFunctionisValidPythonPath
(p: string)
agent-governance-typescript/agent-os-vscode/src/services/sreServer.ts:41
↓ 13 callersMethodis_quarantined
Check if an agent is currently quarantined.
agent-governance-python/agent-mesh/src/agentmesh/services/behavior_monitor.py:152
↓ 13 callersMethodissue_svid
Issue a new SVID for this identity. In production, this would request an SVID from the SPIRE server. Args: ttl_hours: Ho
agent-governance-python/agent-mesh/src/agentmesh/identity/spiffe.py:146
↓ 13 callersFunctionline
(s: str)
policy-engine/sdk/python/acs_live_demo.py:23
↓ 13 callersMethodlist_installed
Return manifests for all installed plugins. On-disk manifests are re-verified against ``self._trusted_keys`` so a tampered or unsigne
agent-governance-python/agent-marketplace/src/agent_marketplace/installer.py:203
↓ 13 callersFunctionmakeFakeFetch
(responder: (req: RecordedRequest) => { status: number; body: string })
agent-governance-typescript/tests/registry-client.test.ts:26
↓ 13 callersFunctionmakePolicy
(name: string, rules: PolicyRule[])
agent-governance-typescript/tests/surface-parity.test.ts:6
↓ 13 callersFunctionmakeState
(overrides?: Partial<SidebarState>)
agent-governance-typescript/agent-os-vscode/src/test/webviews/priorityEngine.test.ts:8
↓ 13 callersFunctionmake_tx
(amount, sender, receiver, country="US", desc="")
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:853
↓ 13 callersFunctionmerge_policies
Merge a chain of PolicyDocuments into a flat, priority-sorted rule list. Rules from all levels are collected. A child rule with ``override=Tr
agent-governance-python/agent-os/src/agent_os/policies/merge.py:20
↓ 13 callersMethodnodes
Get current node positions.
agent-governance-typescript/agent-os-vscode/src/webviews/shared/forceSimulation.ts:42
↓ 13 callersMethodnotify
Send event to all matching webhooks synchronously.
agent-governance-python/agent-os/src/agent_os/integrations/webhooks.py:133
↓ 13 callersFunctionparse_version
Parse a semantic version string into a tuple. Args: version: Version string (e.g., "1.2.3"). Returns: Tuple of (major, minor
agent-governance-python/agent-os/modules/atr/atr/registry.py:47
↓ 13 callersMethodprocess
Process PDF content.
agent-governance-python/agent-os/modules/caas/src/caas/ingestion/processors.py:59
↓ 13 callersMethodrecord
(self, variant_name: str, metric_name: str, value: float)
agent-governance-python/agent-sre/src/agent_sre/experiments/__init__.py:155
↓ 13 callersMethodrecord_event
Record a good or bad event against the budget. Events are stored in a bounded deque. When ``max_events`` is reached, the oldest even
agent-governance-python/agent-sre/src/agent_sre/slo/objectives.py:87
↓ 13 callersMethodrecord_hallucination
Record a hallucination detected by cmvk and slash reputation. Args: agent_id: Agent that hallucinated severi
agent-governance-python/agent-os/modules/iatp/iatp/attestation.py:288
↓ 13 callersMethodrecord_interaction
( self, agent_id: str, peer_id: str, action: str, success: bool, )
agent-governance-python/agent-mesh/src/agentmesh/trust_types.py:93
↓ 13 callersMethodregister
Register an agent and create SPIFFE identity. Returns the existing identity if already registered. Args: agent_did: The
agent-governance-python/agent-mesh/src/agentmesh/identity/spiffe.py:220
↓ 13 callersFunctionreviewCode
(source: string)
agent-governance-python/agentmesh-integrations/copilot-governance/src/reviewer.ts:491
↓ 13 callersMethodrun
Record an audit entry and return ``entry_id`` and ``chain_hash``.
agent-governance-python/agentmesh-integrations/haystack-agentmesh/src/haystack_agentmesh/audit.py:84
↓ 13 callersMethodrun
Execute query and emit telemetry. No reflection or evolution - just execution. Args: query: User's query
agent-governance-python/agent-os/examples/self-evaluating/src/agent.py:455
↓ 13 callersMethodshutdown
(self, timeout_ms=5000)
agent-governance-python/agent-os/tests/test_event_sink.py:33
↓ 13 callersFunctionsign
Sign a message with an Ed25519 private key. Args: private_key_bytes: Raw 32-byte Ed25519 private key. message: Bytes to sign
agent-governance-python/agent-os/modules/nexus/crypto.py:42
↓ 13 callersMethodstart
Start the scaling manager
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:1051
↓ 13 callersMethodstart
Begin the rollout, moving to the first step. Sets state to ``CANARY``, ``current_step_index`` to 0, and records a ``step_start`` even
agent-governance-python/agent-sre/src/agent_sre/delivery/rollout.py:567
↓ 13 callersMethodtune
Auto-tune weights for document sections based on content analysis. Uses structure-aware indexing to assign tiers and calcula
agent-governance-python/agent-os/modules/caas/src/caas/tuning/tuner.py:81
↓ 13 callersMethodupdate
Update the trust score, respecting ceiling if set.
agent-governance-python/agent-mesh/src/agentmesh/reward/scoring.py:179
↓ 13 callersMethodupdate
* Update status bar based on enabled state
agent-governance-python/agent-os/extensions/cursor/src/statusBar.ts:28
↓ 13 callersFunctionvalidatePolicy
(rawPolicy: unknown)
agent-governance-python/agentmesh-integrations/copilot-governance/src/policy-validator.ts:68
↓ 13 callersMethodvalidate_plan
Validate an AI-generated plan against all constraint rules. Args: plan: Dictionary containing the action plan
agent-governance-python/agent-os/examples/self-evaluating/src/constraint_engine.py:330
↓ 13 callersMethodvalidate_risk
Validate request against risk policies
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/policy_engine.py:590
↓ 13 callersMethodvalidate_session
Validate a session token for a specific agent. Args: agent_id: Agent identifier expected to own the session. session_
agent-governance-python/agent-os/src/agent_os/mcp_session_auth.py:192
↓ 13 callersMethodverify
Run governance verification across all ASI controls.
agent-governance-python/agent-compliance/src/agent_compliance/verify.py:497
↓ 13 callersMethodverify_client
Verify client identity before allowing tool access.
agent-governance-python/agent-mesh/src/agentmesh/integrations/mcp/__init__.py:174
↓ 13 callersMethodverify_delegation_chain
Verify the entire delegation chain from *identity* to the root. Walks ``parent_did`` links, checking at each level that: 1. The paren
agent-governance-python/agent-mesh/src/agentmesh/identity/agent_id.py:421
↓ 13 callersFunctionverify_receipt_chain
Verify hash-chain integrity and Ed25519 signatures for an ordered receipt list. Returns a list of error strings; empty means the chain is fully v
agent-governance-python/agentmesh-integrations/mcp-receipt-governed/mcp_receipt_governed/receipt.py:150
↓ 12 callersMethodAssign
Assign places an agent in the specified privilege ring.
agent-governance-golang/packages/agentmesh/rings.go:34
↓ 12 callersMethodExecuteWithGovernance
ExecuteWithGovernance evaluates the action through the governance pipeline.
agent-governance-golang/packages/agentmesh/client.go:44
↓ 12 callersMethodRecordFailure
RecordFailure decreases an agent's trust score with asymmetric penalty.
agent-governance-golang/packages/agentmesh/trust.go:131
↓ 12 callersMethodSign
Sign signs data with the agent's private key.
agent-governance-golang/packages/agentmesh/identity.go:33
↓ 12 callersFunction_action_event
(tool_name: str)
agent-governance-python/agent-os/tests/test_bedrock_adapter.py:63
↓ 12 callersFunction_agent_id
Unique agent id per test invocation, capped to the Azure name regex.
agent-governance-python/agent-sandbox/tests/test_azure_sandbox_integration.py:74
↓ 12 callersFunction_agents_3
()
agent-governance-python/agent-mesh/tests/test_reward_distribution.py:27
↓ 12 callersFunction_capability_enabled
(initialize_result: Mapping[str, Any], key: str)
agent-governance-python/agent-os/src/agent_os/cli/mcp_scan.py:876
↓ 12 callersMethod_check_tool_allowed
Check whether *tool_name* is permitted by the active policy. Evaluation order: 1. If *tool_name* is in ``_blocked_tools`` → deny.
agent-governance-python/agent-os/src/agent_os/integrations/openai_agents_sdk.py:186
↓ 12 callersFunction_configure_command_policy
Set command execution policy. Call once from CLI entry point.
agent-governance-python/agent-os/src/agent_os/cli/mcp_scan.py:140
↓ 12 callersFunction_dampen_for_established_accounts
Down-grade volume/activity signals for accounts with organic credibility. Dampening is skipped entirely when abuse-pattern signals (credential
scripts/contributor_check.py:1046
↓ 12 callersFunction_deny_result
Build a common denied policy-check result.
agent-governance-python/agent-os/src/agent_os/policies/decision_factory.py:28
↓ 12 callersFunction_engine_with_policy
(policy: RiskPolicy)
agent-governance-python/agent-os/modules/control-plane/tests/test_policy_engine_url_validation.py:45
↓ 12 callersFunction_fallback_sql_check
Fallback SQL check when sqlglot is not available. Uses regex pattern matching. Rules are driven by *config*; when *config* is ``None`` a
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/policy_engine.py:743
↓ 12 callersMethod_get_agent
(self, agent_id: str)
agent-governance-python/agent-mesh/src/agentmesh/lifecycle/manager.py:306
↓ 12 callersFunction_hash_function_bytecode
SHA-256 hash of a function's compiled code object. Hashes the marshalled :class:`code` object (which covers ``co_code``, ``co_consts``, ``co_
agent-governance-python/agent-compliance/src/agent_compliance/integrity.py:186
↓ 12 callersFunction_http_mock
Build an httpx.AsyncClient.get mock that dispatches by URL. Responses include a Request so `raise_for_status()` works.
agent-governance-python/agent-mesh/tests/test_external_jwks.py:80
↓ 12 callersMethod_make_agent
Create a mock CrewAI agent with tools.
agent-governance-python/agent-os/tests/test_crewai_tool_interception.py:28
↓ 12 callersFunction_make_credential
( agent_did: str = "did:mesh:abc123", capabilities: list[str] | None = None, ttl_seconds: int = 90
agent-governance-python/agent-mesh/tests/test_spec_identity_trust_conformance.py:105
↓ 12 callersMethod_make_detector
Return a detector with frequency/entropy disabled for determinism.
agent-governance-python/agent-sre/tests/unit/test_rogue_detector.py:400
↓ 12 callersFunction_make_governor
(policy: RAGPolicy)
agent-governance-python/agent-rag-governance/tests/test_governor.py:32
↓ 12 callersFunction_make_mock_crew
Create a mock CrewAI crew.
agent-governance-python/agent-os/tests/test_integrations.py:68
↓ 12 callersFunction_make_request
(parameters: dict)
agent-governance-python/agent-os/modules/control-plane/tests/test_policy_engine_url_validation.py:31
↓ 12 callersFunction_make_request
( tool_name: str = "web_search", session_id: str = "sess-1", agent_id: str = "agent-1", transp
agent-governance-python/agent-os/tests/test_transparency.py:18
↓ 12 callersFunction_make_tool_result
Create a mock tool result (ToolMessage).
agent-governance-python/agent-os/tests/test_langchain_middleware.py:68
↓ 12 callersFunction_mock_response
Create a mock urllib response.
agent-governance-python/agent-os/tests/test_webhooks.py:70
↓ 12 callersFunction_pre_tool_snapshot
( tool_name: str = "lookup", args: dict[str, Any] | None = None, *, tool_call_count: int = 0,
agent-governance-python/agt-policies/tests/test_e2e_entry_paths.py:46
↓ 12 callersMethod_recalculate_score
Recalculate trust score from recent signals. Score is calculated as weighted sum of dimension scores, where each dimension i
agent-governance-python/agent-mesh/src/agentmesh/reward/engine.py:238
↓ 12 callersMethod_release_semaphore_if_held
Release a bounded-semaphore slot if this context currently holds one.
agent-governance-python/agent-os/src/agent_os/integrations/base.py:1147
↓ 12 callersFunction_serve
(handler_cls: type[BaseHTTPRequestHandler])
agent-governance-python/agent-os/tests/test_mcp_scan_cli.py:848
↓ 12 callersFunction_simulate_llm_call
Simulate on_llm_start → on_llm_end (or on_llm_error).
agent-governance-python/agent-sre/tests/test_langchain_callback.py:22
↓ 12 callersFunction_simulate_tool_call
Simulate on_tool_start → on_tool_end (or on_tool_error).
agent-governance-python/agent-sre/tests/test_langchain_callback.py:49
↓ 12 callersFunction_validate_agent_id
Reject ``agent_id`` values that would be unsafe to interpolate into Docker / kubectl command-lines and label values. Returns the validated id
agent-governance-python/agent-runtime/src/agent_runtime/deploy.py:46
↓ 12 callersFunction_write
(tmp_path: Path, name: str, content: str)
tests/ci/test_check_dependency_confusion.py:31
↓ 12 callersFunction_write_policy
Write a valid policy YAML, optionally overriding top-level keys.
scripts/tests/test_governance_gate.py:33
↓ 12 callersMethodadd
(self, receipt: GovernanceReceipt)
agent-governance-python/agentmesh-integrations/mcp-receipt-governed/mcp_receipt_governed/receipt.py:205
↓ 12 callersMethodadd_capability
Add a capability to the agent.
agent-governance-python/agent-os/examples/self-evaluating/src/agent_metadata.py:121
↓ 12 callersMethodadd_criteria
Add a scoring dimension to the rubric. Args: dimension: Name of the dimension (e.g., "correctness", "tone")
agent-governance-python/agent-os/examples/self-evaluating/src/evaluation_engineering.py:99
↓ 12 callersFunctionadd_error
(errors: list[str], path: str, field: str, expected: str, actual: str | None)
policy-engine/scripts/check_package_metadata.py:46
↓ 12 callersMethodadd_hot_context
Add context labelled as *hot*.
agent-governance-python/agent-os/modules/caas/src/caas/triad.py:55
↓ 12 callersFunctionalert_fingerprint
Generate a dedup fingerprint from alert fields. Args: alert: The alert to fingerprint. fields: Tuple of Alert attribute names to
agent-governance-python/agent-sre/src/agent_sre/alerts/dedup.py:26
↓ 12 callersMethodcanonicalize
Resolve a tool name to its canonical form. Checks exact aliases first, then regex patterns. Returns the original name (lowercased) if
agent-governance-python/agent-os/src/agent_os/integrations/tool_aliases.py:106
↓ 12 callersMethodcheck
Classify and enforce — raises PolicyDenied if intent is denied. Args: action: Action name params: Action par
agent-governance-python/agent-os/src/agent_os/semantic_policy.py:361
↓ 12 callersMethodcheck_promotion
Evaluate all applicable gates for a proposed promotion. Args: agent_id: Agent identifier. current: Current maturity l
agent-governance-python/agent-compliance/src/agent_compliance/promotion.py:312
↓ 12 callersMethodcheck_pyproject
Check pyproject.toml for loose version constraints. Uses ``tomllib`` (Python 3.11+) so the following layouts are all covered, includi
agent-governance-python/agent-compliance/src/agent_compliance/supply_chain.py:319
↓ 12 callersMethodcheck_tool_call
Check if a tool call is allowed by policy. Runs all governance checks: allowlist, call count, content, and semantic intent classifica
agent-governance-python/agentmesh-integrations/pydantic-ai-governance/src/pydantic_ai_governance/toolset.py:66
↓ 12 callersMethodclear
(self)
agent-governance-python/agent-sre/tests/test_otel.py:37
↓ 12 callersFunctioncompile_per_category
Compile ATR rules into one PolicyDocument YAML per category. Returns a manifest dict summarising what was written. Reuses the PR #908 conver
examples/atr-import/import_atr.py:145
← previousnext →901–1,000 of 32,326, ranked by callers