MCPcopy Create free account

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

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

↓ 3 callersMethodrun_stream
Stream a governed run. Buffers events, post-checks the complete stream, then yields them only after governance allows disclo
agent-governance-python/agent-os/src/agent_os/integrations/openai_adapter.py:601
↓ 3 callersFunctionrun_traffic
Send *n* requests and record against SLIs. Returns summary stats.
agent-governance-python/agent-sre/examples/chaos-chatbot/demo.py:191
↓ 3 callersMethodsanitizeArguments
(args?: Record<string, any>)
agent-governance-python/agent-mesh/packages/mcp-proxy/src/audit.ts:113
↓ 3 callersMethodsaveLogs
* Persist the in-memory log buffer to globalState. * * `globalState.update` writes synchronously to its in-memory map and * returns a T
agent-governance-typescript/agent-os-vscode/src/auditLogger.ts:147
↓ 3 callersMethodsaveLogs
* Save logs to storage
agent-governance-python/agent-os/extensions/cursor/src/auditLogger.ts:134
↓ 3 callersMethodscanEntry
(entry)
agent-governance-antigravity-cli/test/policy-engine.test.mjs:210
↓ 3 callersFunctionscan_file
Scan a single Python file. Args: file_path: Path to the .py file to scan. Returns: List of findings. Empty list if file cann
agent-governance-python/agent-os/src/agent_os/security_skills.py:498
↓ 3 callersMethodscan_lockfile_drift
Check if lockfile is in sync with manifest. Compares package names in the manifest against those in the lockfile and flags any that a
agent-governance-python/agent-compliance/src/agent_compliance/supply_chain.py:758
↓ 3 callersMethodscan_secrets
Scan for hardcoded secrets using detect-secrets.
agent-governance-python/agent-compliance/src/agent_compliance/security/scanner.py:382
↓ 3 callersFunctionscan_source
Run all security skills against source code. Args: source: Raw Python source text. path: Optional file path for findings metadata
agent-governance-python/agent-os/src/agent_os/security_skills.py:482
↓ 3 callersMethodscore_trace
Score a trace with an arbitrary metric. Args: trace_id: Langfuse trace ID name: Score name value: Score v
agent-governance-python/agent-sre/src/agent_sre/integrations/langfuse/exporter.py:184
↓ 3 callersMethodsearch
Search for similar documents. Args: query_embedding: Query vector top_k: Number of results to return
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/multimodal.py:454
↓ 3 callersMethodsearch
* Search templates by query and filters
agent-governance-python/agent-os/extensions/copilot/src/templateGallery.ts:54
↓ 3 callersMethodself_critique
Perform self-critique on a proposed response. This is a key Constitutional AI technique where the system evaluates i
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/compliance.py:573
↓ 3 callersMethodsendErrorResponse
(id: number | string, message: string)
agent-governance-python/agent-mesh/packages/mcp-proxy/src/proxy.ts:210
↓ 3 callersMethodsend_message
Send a message to a peer, translating protocols if needed.
agent-governance-python/agent-mesh/src/agentmesh/trust/bridge.py:269
↓ 3 callersMethodserve_forever
Start serving (blocks).
agent-governance-python/agent-sre/src/agent_sre/api/__init__.py:349
↓ 3 callersMethodset
(self, key: str, value: dict[str, Any], ttl: int | None = None)
agent-governance-python/agent-os/src/agent_os/stateless.py:334
↓ 3 callersFunctionsetIfDifferent
(data, key, value, drift)
scripts/sync-claude-marketplace-version.mjs:30
↓ 3 callersMethodset_gauge
( self, name: str, value: float, labels: dict[str, str] | None = None, help_text: str
agent-governance-python/agent-hypervisor/src/hypervisor/observability/prometheus_collector.py:57
↓ 3 callersMethodset_handler
Set a custom signal handler. Returns the previous handler, or None. Note: SIGKILL handler cannot be changed.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/signals.py:232
↓ 3 callersMethodset_risk_policy
Set a risk policy
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:419
↓ 3 callersMethodset_tag
Set a tag on the span.
agent-governance-python/agent-os/modules/amb/amb_core/tracing.py:51
↓ 3 callersMethodsha256Digest
(content: string)
agent-governance-typescript/src/oci-manifest.ts:207
↓ 3 callersFunctionsha256_hex
Return SHA-256 hex digest.
examples/crypto-attestation-governed/getting_started.py:65
↓ 3 callersFunctionshared_to_policy_document
Convert a SharedPolicySchema into the existing PolicyDocument format.
agent-governance-python/agent-os/src/agent_os/policies/shared.py:270
↓ 3 callersMethodshould_admit
Always admits in Public Preview.
agent-governance-python/agent-hypervisor/src/hypervisor/liability/ledger.py:111
↓ 3 callersMethodshould_block
Check if action should be blocked per policy.
agent-governance-python/agent-os/src/agent_os/reversibility.py:241
↓ 3 callersMethodshould_sample_interaction
Determine if this interaction should be sampled for review. This implements the "Strategic Sample" from the problem statemen
agent-governance-python/agent-os/examples/self-evaluating/src/wisdom_curator.py:290
↓ 3 callersMethodshould_warn
Check if score should trigger warning.
agent-governance-python/agent-mesh/src/agentmesh/reward/scoring.py:244
↓ 3 callersMethodshutdown
Initiate graceful shutdown. Returns a summary of the shutdown process.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:1827
↓ 3 callersMethodshutdown
(self)
agent-governance-python/agent-os/modules/observability/tests/test_tracer.py:40
↓ 3 callersMethodsigkill
Send SIGKILL to a running assistant — immediately cancels the run. This is the primary mechanism for forcibly stopping a governed ass
agent-governance-python/agent-os/src/agent_os/integrations/openai_adapter.py:819
↓ 3 callersMethodsign
Sign data with this agent's private key.
agent-governance-python/agentmesh-integrations/langgraph-trust/langgraph_trust/identity.py:36
↓ 3 callersMethodsignIn
(providerId?: string)
agent-governance-typescript/agent-os-vscode/src/enterprise/auth/ssoProvider.ts:142
↓ 3 callersMethodsignMessage
* Sign an arbitrary message with the Ed25519 identity private key. * * Used for registry registration proof-of-possession (the server * verif
agent-governance-typescript/src/encryption/x3dh.ts:126
↓ 3 callersFunctionsign_receipt
Sign receipt payload with Ed25519 (fail-closed).
examples/pipeline-governance/demo.py:113
↓ 3 callersMethodsignal
Send a signal to another agent.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/kernel_space.py:926
↓ 3 callersMethodsigstop
Send SIGSTOP to a running assistant. .. note:: The OpenAI Assistants API does not support pausing a run, so this beh
agent-governance-python/agent-os/src/agent_os/integrations/openai_adapter.py:834
↓ 3 callersMethodsimulateFrame
(frame: Record<string, unknown>)
agent-governance-typescript/tests/mesh-client-knock.test.ts:42
↓ 3 callersMethodsimulateServerClose
Simulate the relay closing the socket (server-side disconnect).
agent-governance-typescript/tests/mesh-client-event-hooks.test.ts:46
↓ 3 callersMethodstage_distribution
Return counts of violations per stage.
agent-governance-python/agent-os/src/agent_os/shift_left_metrics.py:78
↓ 3 callersMethodstart_session
( self, agent_dids: list[str] | None = None, policy_names: list[str] | None = None,
agent-governance-python/agent-mesh/src/agentmesh/governance/_shadow_impl.py:311
↓ 3 callersMethodstatus
(self, agent_id: str)
agent-governance-python/agent-runtime/src/agent_runtime/deploy.py:206
↓ 3 callersMethodstop
Ask the worker to drain its queue and exit. Idempotent. Blocks up to ``join_timeout`` seconds for the thread to finish; if it's still
agent-governance-python/agent-sandbox/src/agent_sandbox/hyperlight_provider/provider.py:191
↓ 3 callersMethodstop
Stop the agent gracefully.
agent-governance-python/agent-os/examples/carbon-auditor/src/agents/base.py:100
↓ 3 callersFunctionstream
(input)
policy-engine/sdk/node/test/adapters.test.mjs:173
↓ 3 callersMethodstream
Stream spans as they are recorded. Args: stop_event: Optional cooperative-stop signal. When set, the str
agent-governance-python/agent-lightning/src/agent_lightning_gov/emitter.py:222
↓ 3 callersFunctionstripCommandToken
(token)
agent-governance-antigravity-cli/assets/extensions/agt-global-policy/lib/policy.mjs:1347
↓ 3 callersFunctionstripCommandToken
(token)
agent-governance-opencode/lib/policy.mjs:1118
↓ 3 callersFunctionstripCommandToken
(token)
agent-governance-claude-code/lib/policy.mjs:1117
↓ 3 callersFunctionstripCommandToken
(token)
agent-governance-copilot-cli/assets/extensions/agt-global-policy/lib/policy.mjs:1301
↓ 3 callersMethodsubmit_counter_evidence
Submit counter-evidence from the other party.
agent-governance-python/agent-os/modules/nexus/arbiter.py:162
↓ 3 callersMethodsubmit_event
Submit a Datadog event. Args: title: Event title text: Event description alert_type: Alert type (info, wa
agent-governance-python/agent-sre/src/agent_sre/integrations/datadog/exporter.py:121
↓ 3 callersMethodsubscribe
(self, pattern: str, handler: EventHandler)
agent-governance-python/agent-mesh/src/agentmesh/events/bus.py:140
↓ 3 callersMethodsubscribe
Subscribe to topic
agent-governance-python/agent-os/examples/grid-balancing/demo.py:92
↓ 3 callersFunctionsummarizeBackendReasons
(backendResults)
agent-governance-antigravity-cli/assets/extensions/agt-global-policy/lib/policy.mjs:794
↓ 3 callersFunctionsummarizeBackendReasons
(backendResults)
agent-governance-copilot-cli/assets/extensions/agt-global-policy/lib/policy.mjs:788
↓ 3 callersMethodsummary
(self)
agent-governance-python/agent-os/src/agent_os/integrations/dry_run.py:120
↓ 3 callersMethodsuspend
(cls, handle: JsonValue | None = None, action_identity: str | None = None)
policy-engine/sdk/python/agent_control_specification/_types.py:306
↓ 3 callersFunctionsvgEl
Create an SVG element in the SVG namespace.
agent-governance-typescript/agent-os-vscode/src/webviews/topologyDetail/ForceGraph.tsx:55
↓ 3 callersMethodsync_group_memberships
Sync Entra group memberships to AGT capabilities for an agent. Fetches the agent's group memberships from Microsoft Graph API,
agent-governance-python/agent-mesh/src/agentmesh/identity/entra.py:291
↓ 3 callersFunctiontempFilePath
()
agent-governance-typescript/tests/trust-persistence.test.ts:9
↓ 3 callersMethodterminate
Begin session termination.
agent-governance-python/agent-hypervisor/src/hypervisor/session/__init__.py:139
↓ 3 callersMethodterminate
Send SIGTERM (graceful shutdown request).
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/process_isolation.py:224
↓ 3 callersFunctiontext_from
(value: Json)
policy-engine/examples/support_agent/app/run_demo.py:36
↓ 3 callersMethodtierFor
(score float64)
agent-governance-golang/packages/agentmesh/trust.go:176
↓ 3 callersFunctiontoPermission
( gateResult: { deny: string } | { ask: string } | undefined, )
policy-engine/sdk/node/src/integrations/ghcp.ts:525
↓ 3 callersMethodto_dict
Serialize for VFS persistence.
agent-governance-python/agent-hypervisor/src/hypervisor/saga/state_machine.py:154
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agentmesh-integrations/openai-agents-trust/src/openai_agents_trust/audit.py:27
↓ 3 callersMethodto_dict
Serialize the card to a plain dictionary. Includes identity and signature fields only when they are populated. Returns:
agent-governance-python/agent-mesh/src/agentmesh/trust/cards.py:158
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-mesh/src/agentmesh/governance/_shadow_impl.py:75
↓ 3 callersMethodto_dict
Convert to dictionary (excludes None values). Returns: Dictionary representation
agent-governance-python/agent-os/modules/amb/amb_core/cloudevents.py:176
↓ 3 callersMethodto_dict
Serialize to a flat dict suitable for JSON delivery.
agent-governance-python/agent-os/src/agent_os/event_sink.py:101
↓ 3 callersMethodto_dict
Return a JSON-serializable dictionary.
agent-governance-python/agent-os/src/agent_os/integrations/health.py:43
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-os/examples/self-evaluating/src/prioritization.py:60
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/alerts/__init__.py:61
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:184
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/k8s/__init__.py:225
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/delivery/rollout.py:76
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/fleet/__init__.py:140
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:68
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/integrations/arize/exporter.py:39
↓ 3 callersMethodto_dict
(self)
agent-governance-python/agent-sre/src/agent_sre/integrations/mcp/__init__.py:65
↓ 3 callersMethodto_headers
Convert trace context to headers for propagation. Returns: Headers dict
agent-governance-python/agent-os/modules/amb/amb_core/tracing.py:275
↓ 3 callersMethodto_json
Convert to JSON string.
agent-governance-python/agent-lightning/src/agent_lightning_gov/emitter.py:52
↓ 3 callersMethodto_json
Serialize to a single-line JSON string.
agent-governance-python/agent-rag-governance/src/agent_rag_governance/audit.py:99
↓ 3 callersFunctionto_jwks
Export an AgentIdentity as a JWK Set. Args: identity: The agent identity to export. include_private: If True, include private key
agent-governance-python/agent-mesh/src/agentmesh/identity/jwk.py:138
↓ 3 callersFunctionto_markdown
Render an ``AnnexIVDocument`` as Markdown. Args: doc: The document to render. Returns: A Markdown string suitable for inclus
agent-governance-python/agent-mesh/src/agentmesh/governance/annex_iv.py:464
↓ 3 callersMethodto_markdown
Render a :class:`DriftReport` as a Markdown string. Args: report: The report to render. Returns: Markdown-fo
agent-governance-python/agent-os/src/agent_os/integrations/drift_detector.py:371
↓ 3 callersMethodto_slsa_statement
Serialize to an in-toto SLSA Provenance v1.0 statement.
agent-governance-python/agent-mesh/src/agentmesh/marketplace/sigstore_provenance.py:91
↓ 3 callersMethodto_yaml
Export this policy as a YAML string. Returns: YAML-formatted policy document.
agent-governance-python/agent-mesh/src/agentmesh/governance/policy.py:423
↓ 3 callersMethodto_yaml
Save this SLO spec to a YAML file.
agent-governance-python/agent-sre/src/agent_sre/slo/spec.py:79
↓ 3 callersMethodtool_error
(tool: str, error: str = "internal_error", rate: float = 1.0)
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:108
↓ 3 callersMethodtrace_audit_append
(self, entry_seq: int)
agent-governance-python/agent-mesh/src/agentmesh/observability/otel_sdk.py:77
↓ 3 callersMethodtrace_identity_operation
(self, op: str, did: str)
agent-governance-python/agent-mesh/src/agentmesh/observability/otel_sdk.py:87
↓ 3 callersMethodtrace_policy_decision
Create an OTEL span for a policy decision. Args: policy_name: Identifier of the policy that was evaluated. decision:
agent-governance-python/agent-mesh/src/agentmesh/observability/otel_governance.py:84
↓ 3 callersMethodtrace_signal
Start a signal trace.
agent-governance-python/agent-os/modules/observability/src/agent_os_observability/tracer.py:151
↓ 3 callersMethodtrace_trust_evaluation
Create a span for trust score evaluation. Args: agent_did: DID of the agent whose trust was evaluated. trust_score: C
agent-governance-python/agent-mesh/src/agentmesh/observability/otel_governance.py:122
↓ 3 callersMethodtrust_perturbation
Dynamically change an agent's trust score during execution.
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:180
← previousnext →4,501–4,600 of 32,326, ranked by callers