MCPcopy Create free account

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

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

Methodrecord_costs
()
agent-governance-python/agent-sre/tests/unit/test_cost_hardened.py:112
Methodrecord_csat
Record customer satisfaction score (1-5).
agent-governance-python/agent-os/examples/customer-service/main.py:517
Methodrecord_decision
Record an allow or deny decision.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:24
Methodrecord_decision
(self, **kwargs)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:44
Methodrecord_decision
(self, **kwargs)
agent-governance-python/agent-os/tests/test_mcp_security.py:27
Methodrecord_duration
(self, seconds: float)
agent-governance-python/agent-os/src/agent_os/policies/budget.py:50
Functionrecord_escrow_event
(event_type: str, requester_did: str, provider_did: str, escrow_id: str)
agent-governance-python/agent-os/services/cloud-board/api/routes/compliance.py:85
Methodrecord_event
(self, good)
agent-governance-python/agent-sre/tests/test_fleet.py:216
Methodrecord_failure
Record a failed call.
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:114
Functionrecord_handshake
(requester_did: str, provider_did: str, outcome: str)
agent-governance-python/agent-os/services/cloud-board/api/routes/compliance.py:76
Methodrecord_handshake
Record a trust handshake outcome.
agent-governance-python/agent-mesh/src/agentmesh/services/reward_engine/__init__.py:65
Methodrecord_interaction
(self, agent_did: str, *, success: bool)
agent-governance-python/agent-mesh/src/agentmesh/integrations/langchain/callback.py:73
Methodrecord_latency
Record a latency measurement. Args: latency_ms: Latency in milliseconds agent_id: Optional agent identifier
agent-governance-python/agent-sre/src/agent_sre/integrations/otel/metrics.py:243
Methodrecord_outcome
Record the outcome of an execution for learning. Args: request_id: ID of the execution request outco
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/kernel_interface.py:250
Methodrecord_policy_violation
Record a policy violation (negative signal).
agent-governance-python/agent-mesh/src/agentmesh/services/reward_engine/__init__.py:61
Methodrecord_rate_limit_hit
Record a rate limit rejection.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:43
Methodrecord_rate_limit_hit
(self, *, agent_id: str, tool_name: str)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:50
Methodrecord_rate_limit_hit
(self, *, agent_id: str, tool_name: str)
agent-governance-python/agent-os/tests/test_mcp_security.py:35
Methodrecord_scan
Record an MCP scan invocation.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:46
Methodrecord_scan
(self, *, operation: str, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:53
Methodrecord_scan
(self, *, operation: str, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_security.py:38
Methodrecord_security_event
Record a security posture signal.
agent-governance-python/agent-mesh/src/agentmesh/services/reward_engine/__init__.py:69
Methodrecord_slo_check
Record SLO evaluation as an event. Args: session_id: Session ID. slo: An agent_sre.slo.objectives.SLO instance.
agent-governance-python/agent-sre/src/agent_sre/integrations/agentops/exporter.py:142
Functionrecord_slo_event
Record a good or bad event against an SLO.
agent-governance-python/agent-sre/src/agent_sre/api/server.py:322
Methodrecord_span
( self, name: str, start_time: float, end_time: float, attributes: dic
agent-governance-python/agent-hypervisor/tests/unit/test_saga_span_exporter.py:30
Methodrecord_success
Record a successful call.
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:109
Methodrecord_task_outcome
(self, agent_did: str, outcome: str)
agent-governance-python/agent-hypervisor/tests/integration/test_scenarios.py:79
Methodrecord_task_outcome
(self, agent_did, outcome)
agent-governance-python/agent-hypervisor/examples/demo.py:299
Methodrecord_threats_detected
Record detected threats from an MCP scan.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:34
Methodrecord_threats_detected
(self, count: int, *, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:47
Methodrecord_threats_detected
(self, count: int, *, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_security.py:30
Methodrecords
(self)
agent-governance-python/agent-os/src/agent_os/shift_left_metrics.py:71
Functionrecovery_config
Create recovery config
agent-governance-python/agent-os/modules/control-plane/tests/test_lifecycle.py:141
Functionred_team
Adversarial security testing for AI agents. \b Combines two testing approaches: 1. Static prompt defense scanning (PromptDefenseEvaluat
agent-governance-python/agent-compliance/src/agent_compliance/cli/red_team.py:54
Methodredact
Redact PII for display purposes.
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:202
Methodredirect_request
(self, req, fp, code, msg, headers, newurl)
scripts/check_lockfile_integrity.py:183
Methodredis_provider
Create and connect a Redis storage provider.
agent-governance-python/agent-mesh/tests/test_storage.py:185
Methodrefresh
()
agent-governance-typescript/agent-os-vscode/src/views/kernelDebuggerView.ts:113
Methodrefresh
()
agent-governance-typescript/agent-os-vscode/src/views/kernelDebuggerView.ts:429
Methodrefresh
Refresh policies from source
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/plugin_interface.py:439
Functionrefund_payment
(step: SagaStep)
agent-governance-python/agent-hypervisor/tutorials/saga-compensation/demo.py:72
Functionrefund_payment
()
agent-governance-python/agent-os/modules/iatp/examples/integration_demo.py:117
Methodregex_find
Find regex matches. Args: pattern: Regex pattern text: Text to search flags: Optional fl
agent-governance-python/agent-os/modules/atr/atr/tools/safe/text_tool.py:245
Methodregex_replace
Replace regex matches. Args: pattern: Regex pattern replacement: Replacement string text
agent-governance-python/agent-os/modules/atr/atr/tools/safe/text_tool.py:299
Functionregister
(api: unknown)
policy-engine/sdk/node/src/adapters.ts:666
Functionregister
Register an agent with AgentMesh.
agent-governance-python/agent-mesh/src/agentmesh/cli/main.py:281
Functionregister
Register a function as a tool in the Agent Tool Registry. This decorator transforms a Python function into a discoverable tool by: 1. Extract
agent-governance-python/agent-os/modules/atr/atr/__init__.py:265
Methodregister
(self, manifest: PluginManifest)
agent-governance-python/agent-mesh/src/agentmesh/marketplace/_marketplace_impl.py:159
Methodregister
Register a policy backend. Args: backend: An object implementing ExternalPolicyBackend. Raises: TypeError: I
agent-governance-python/agent-mesh/src/agentmesh/governance/backend.py:98
MethodregisterBackend
()
agent-governance-antigravity-cli/test/policy-engine.test.mjs:231
MethodregisterBackend
()
agent-governance-copilot-cli/test/policy-engine.test.mjs:227
MethodregisterBackend
()
examples/copilot-cli-agt/test/policy-engine.test.mjs:194
MethodregisterSink
(sink: MetricSink)
agent-governance-typescript/src/metrics.ts:99
Functionregister_adapter
Class decorator that registers an adapter in the global registry. Usage:: @register_adapter("my_framework") class MyAdapter(Base
agent-governance-python/agent-os/src/agent_os/integrations/registry.py:99
Functionregister_agent
Register an agent and assign an execution ring based on reputation.
agent-governance-python/agent-hypervisor/examples/docker-compose/app/server.py:174
Functionregister_agent
Register an agent identity with proof-of-possession.
agent-governance-python/agent-mesh/src/agentmesh/server/trust_engine.py:152
Functionregister_agent
(request: Request)
agent-governance-python/agent-mesh/examples/docker-compose/app/server.py:196
Functionregister_agent
Register a new agent on Nexus. Requires proof-of-possession: the caller must sign (verification_key || proof_timestamp) with the private
agent-governance-python/agent-os/services/cloud-board/api/routes/registry.py:92
Methodregister_agent
Register an agent with the trust system.
agent-governance-python/agent-mesh/src/agentmesh/integrations/swarm/__init__.py:91
Methodregister_agent
Register an agent for broadcasts.
agent-governance-python/agent-os/services/cloud-board/workers/reputation_sync.py:117
Methodregister_agent_keys
Register an agent's public key for verification. Args: agent_id: ID of the agent public_key: Agent's
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/protocol_interfaces.py:117
Functionregister_all
Register all tools with an ATR registry.
agent-governance-python/agent-os/modules/atr/atr/tools/safe/toolkit.py:147
Methodregister_context_router
Register a context router for caas integration. Args: router: Context router implementing ContextRouterInterface
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:541
Methodregister_executor
Register an executor for a specific action type
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/execution_engine.py:74
Methodregister_handler
Register a context handler. Args: handler_id: ID of the handler capabilities: List of content types/
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/protocol_interfaces.py:334
Methodregister_handler
Register a message handler for a topic.
agent-governance-python/agent-os/examples/carbon-auditor/src/agents/base.py:84
Methodregister_instance
Register an instance by its type. Convenience method that registers the instance using its type as key. Args: instance:
agent-governance-python/agent-os/modules/atr/atr/injection.py:184
Methodregister_kernel
Register a custom kernel with the control plane. This allows injecting custom kernels like SCAK without hard imports.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:526
Methodregister_many
(start)
agent-governance-python/agent-os/tests/test_health.py:248
Methodregister_message_security
Register a message security provider for iatp integration. Args: security: Security provider implementing Messag
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:556
Methodregister_message_security
Register a message security provider (for iatp integration)
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/plugin_registry.py:490
Functionregister_profile
Register a custom threshold profile. Args: profile: ThresholdProfile to register Raises: ValueError: If profile name al
agent-governance-python/agent-os/modules/cmvk/src/cmvk/profiles.py:238
Methodregister_resource
Register a resource with the server.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/mcp_adapter.py:598
Functionregister_slo
Register a new SLO.
agent-governance-python/agent-sre/src/agent_sre/api/server.py:262
Methodregister_target
Register a routing target with its capabilities
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/plugin_interface.py:359
Methodregister_tool
Register a tool callable for content-hash fingerprinting. Call this for any tool function that participates in governance so that its
agent-governance-python/agent-os/src/agent_os/integrations/langgraph_adapter.py:290
Methodregister_validator
Register a validator with the control plane. This is the preferred method for adding validators instead of using ena
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:505
Methodregister_verifier
Register a verifier for cmvk integration. Args: verifier: Verifier implementing VerificationInterface
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/control_plane.py:568
Methodregister_verifier
Register a verifier (for cmvk integration)
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/plugin_registry.py:523
Functionregistry
(reputation_engine)
agent-governance-python/agent-os/modules/nexus/tests/test_registry.py:30
Functionregistry_with_agents
Create a registry with two registered agents.
agent-governance-python/agent-mesh/tests/test_mtls.py:33
Functionrego_text
(profile: Profile)
examples/aegis-governance-profile/tests/test_compilation.py:79
Functionreimport_agent_compliance
Force a fresh import of agent_compliance with controllable state.
agent-governance-python/agent-compliance/tests/test_init_imports.py:24
Methodreject
(point, result)
policy-engine/sdk/python/tests/test_streaming_adapter_hardening.py:262
Functionrelease_escrow
Release escrow based on outcome. - success: Credits go to provider - failure: Credits returned to requester - dispute: Escalate to A
agent-governance-python/agent-os/services/cloud-board/api/routes/escrow.py:219
Methodreload_agent
Reload an agent with optional state preservation
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:2447
Functionreload_policies
Reload policies from disk.
agent-governance-python/agent-mesh/src/agentmesh/server/policy_server.py:179
Functionreload_policies
Hot-reload policies from disk.
agent-governance-python/agent-mesh/src/agentmesh/server/sidecar.py:143
Methodremaining
(self)
agent-governance-python/agent-os/src/agent_os/context_budget.py:81
Methodremaining
(self)
agent-governance-python/agent-os/examples/governed-chatbot/chatbot.py:82
Methodremaining
Remaining error budget as a fraction (0.0 to 1.0).
agent-governance-python/agent-sre/src/agent_sre/slo/objectives.py:71
Methodremaining_atomic
(self)
examples/spendguard-composite/spendguard_composite_demo.py:97
Methodremaining_percent
Remaining error budget as percentage.
agent-governance-python/agent-sre/src/agent_sre/slo/objectives.py:78
Methodremaining_seconds
(self)
agent-governance-python/agent-hypervisor/src/hypervisor/rings/elevation.py:88
Methodremaining_seconds
(self)
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:282
Methodremaining_today_usd
(self)
agent-governance-python/agent-sre/src/agent_sre/cost/guard.py:90
Methodremaining_tokens
(self, messages, *, tools=())
policy-engine/sdk/python/tests/test_real_packages.py:484
Methodremaining_ttl
Get remaining TTL in seconds. Returns: Remaining TTL, 0 if expired, None if no TTL set
agent-governance-python/agent-os/modules/amb/amb_core/models.py:130
Methodremote_identity_key
(self)
agent-governance-python/agent-mesh/src/agentmesh/encryption/channel.py:204
Functionremove
Delete a credential by handle name.
agent-governance-python/agent-compliance/src/agent_compliance/cli/cred.py:119
← previousnext →15,901–16,000 of 32,326, ranked by callers