Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/agent-governance-toolkit
/ functions
Functions
32,326 in github.com/microsoft/agent-governance-toolkit
⨍
Functions
32,326
◇
Types & classes
6,875
↳
Endpoints
332
Method
record_costs
()
agent-governance-python/agent-sre/tests/unit/test_cost_hardened.py:112
Method
record_csat
Record customer satisfaction score (1-5).
agent-governance-python/agent-os/examples/customer-service/main.py:517
Method
record_decision
Record an allow or deny decision.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:24
Method
record_decision
(self, **kwargs)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:44
Method
record_decision
(self, **kwargs)
agent-governance-python/agent-os/tests/test_mcp_security.py:27
Method
record_duration
(self, seconds: float)
agent-governance-python/agent-os/src/agent_os/policies/budget.py:50
Function
record_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
Method
record_event
(self, good)
agent-governance-python/agent-sre/tests/test_fleet.py:216
Method
record_failure
Record a failed call.
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:114
Function
record_handshake
(requester_did: str, provider_did: str, outcome: str)
agent-governance-python/agent-os/services/cloud-board/api/routes/compliance.py:76
Method
record_handshake
Record a trust handshake outcome.
agent-governance-python/agent-mesh/src/agentmesh/services/reward_engine/__init__.py:65
Method
record_interaction
(self, agent_did: str, *, success: bool)
agent-governance-python/agent-mesh/src/agentmesh/integrations/langchain/callback.py:73
Method
record_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
Method
record_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
Method
record_policy_violation
Record a policy violation (negative signal).
agent-governance-python/agent-mesh/src/agentmesh/services/reward_engine/__init__.py:61
Method
record_rate_limit_hit
Record a rate limit rejection.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:43
Method
record_rate_limit_hit
(self, *, agent_id: str, tool_name: str)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:50
Method
record_rate_limit_hit
(self, *, agent_id: str, tool_name: str)
agent-governance-python/agent-os/tests/test_mcp_security.py:35
Method
record_scan
Record an MCP scan invocation.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:46
Method
record_scan
(self, *, operation: str, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:53
Method
record_scan
(self, *, operation: str, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_security.py:38
Method
record_security_event
Record a security posture signal.
agent-governance-python/agent-mesh/src/agentmesh/services/reward_engine/__init__.py:69
Method
record_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
Function
record_slo_event
Record a good or bad event against an SLO.
agent-governance-python/agent-sre/src/agent_sre/api/server.py:322
Method
record_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
Method
record_success
Record a successful call.
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:109
Method
record_task_outcome
(self, agent_did: str, outcome: str)
agent-governance-python/agent-hypervisor/tests/integration/test_scenarios.py:79
Method
record_task_outcome
(self, agent_did, outcome)
agent-governance-python/agent-hypervisor/examples/demo.py:299
Method
record_threats_detected
Record detected threats from an MCP scan.
agent-governance-python/agent-os/src/agent_os/_mcp_metrics.py:34
Method
record_threats_detected
(self, count: int, *, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_gateway.py:47
Method
record_threats_detected
(self, count: int, *, tool_name: str, server_name: str)
agent-governance-python/agent-os/tests/test_mcp_security.py:30
Method
records
(self)
agent-governance-python/agent-os/src/agent_os/shift_left_metrics.py:71
Function
recovery_config
Create recovery config
agent-governance-python/agent-os/modules/control-plane/tests/test_lifecycle.py:141
Function
red_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
Method
redact
Redact PII for display purposes.
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:202
Method
redirect_request
(self, req, fp, code, msg, headers, newurl)
scripts/check_lockfile_integrity.py:183
Method
redis_provider
Create and connect a Redis storage provider.
agent-governance-python/agent-mesh/tests/test_storage.py:185
Method
refresh
()
agent-governance-typescript/agent-os-vscode/src/views/kernelDebuggerView.ts:113
Method
refresh
()
agent-governance-typescript/agent-os-vscode/src/views/kernelDebuggerView.ts:429
Method
refresh
Refresh policies from source
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/plugin_interface.py:439
Function
refund_payment
(step: SagaStep)
agent-governance-python/agent-hypervisor/tutorials/saga-compensation/demo.py:72
Function
refund_payment
()
agent-governance-python/agent-os/modules/iatp/examples/integration_demo.py:117
Method
regex_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
Method
regex_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
Function
register
(api: unknown)
policy-engine/sdk/node/src/adapters.ts:666
Function
register
Register an agent with AgentMesh.
agent-governance-python/agent-mesh/src/agentmesh/cli/main.py:281
Function
register
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
Method
register
(self, manifest: PluginManifest)
agent-governance-python/agent-mesh/src/agentmesh/marketplace/_marketplace_impl.py:159
Method
register
Register a policy backend. Args: backend: An object implementing ExternalPolicyBackend. Raises: TypeError: I
agent-governance-python/agent-mesh/src/agentmesh/governance/backend.py:98
Method
registerBackend
()
agent-governance-antigravity-cli/test/policy-engine.test.mjs:231
Method
registerBackend
()
agent-governance-copilot-cli/test/policy-engine.test.mjs:227
Method
registerBackend
()
examples/copilot-cli-agt/test/policy-engine.test.mjs:194
Method
registerSink
(sink: MetricSink)
agent-governance-typescript/src/metrics.ts:99
Function
register_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
Function
register_agent
Register an agent and assign an execution ring based on reputation.
agent-governance-python/agent-hypervisor/examples/docker-compose/app/server.py:174
Function
register_agent
Register an agent identity with proof-of-possession.
agent-governance-python/agent-mesh/src/agentmesh/server/trust_engine.py:152
Function
register_agent
(request: Request)
agent-governance-python/agent-mesh/examples/docker-compose/app/server.py:196
Function
register_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
Method
register_agent
Register an agent with the trust system.
agent-governance-python/agent-mesh/src/agentmesh/integrations/swarm/__init__.py:91
Method
register_agent
Register an agent for broadcasts.
agent-governance-python/agent-os/services/cloud-board/workers/reputation_sync.py:117
Method
register_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
Function
register_all
Register all tools with an ATR registry.
agent-governance-python/agent-os/modules/atr/atr/tools/safe/toolkit.py:147
Method
register_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
Method
register_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
Method
register_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
Method
register_handler
Register a message handler for a topic.
agent-governance-python/agent-os/examples/carbon-auditor/src/agents/base.py:84
Method
register_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
Method
register_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
Method
register_many
(start)
agent-governance-python/agent-os/tests/test_health.py:248
Method
register_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
Method
register_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
Function
register_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
Method
register_resource
Register a resource with the server.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/mcp_adapter.py:598
Function
register_slo
Register a new SLO.
agent-governance-python/agent-sre/src/agent_sre/api/server.py:262
Method
register_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
Method
register_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
Method
register_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
Method
register_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
Method
register_verifier
Register a verifier (for cmvk integration)
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/plugin_registry.py:523
Function
registry
(reputation_engine)
agent-governance-python/agent-os/modules/nexus/tests/test_registry.py:30
Function
registry_with_agents
Create a registry with two registered agents.
agent-governance-python/agent-mesh/tests/test_mtls.py:33
Function
rego_text
(profile: Profile)
examples/aegis-governance-profile/tests/test_compilation.py:79
Function
reimport_agent_compliance
Force a fresh import of agent_compliance with controllable state.
agent-governance-python/agent-compliance/tests/test_init_imports.py:24
Method
reject
(point, result)
policy-engine/sdk/python/tests/test_streaming_adapter_hardening.py:262
Function
release_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
Method
reload_agent
Reload an agent with optional state preservation
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:2447
Function
reload_policies
Reload policies from disk.
agent-governance-python/agent-mesh/src/agentmesh/server/policy_server.py:179
Function
reload_policies
Hot-reload policies from disk.
agent-governance-python/agent-mesh/src/agentmesh/server/sidecar.py:143
Method
remaining
(self)
agent-governance-python/agent-os/src/agent_os/context_budget.py:81
Method
remaining
(self)
agent-governance-python/agent-os/examples/governed-chatbot/chatbot.py:82
Method
remaining
Remaining error budget as a fraction (0.0 to 1.0).
agent-governance-python/agent-sre/src/agent_sre/slo/objectives.py:71
Method
remaining_atomic
(self)
examples/spendguard-composite/spendguard_composite_demo.py:97
Method
remaining_percent
Remaining error budget as percentage.
agent-governance-python/agent-sre/src/agent_sre/slo/objectives.py:78
Method
remaining_seconds
(self)
agent-governance-python/agent-hypervisor/src/hypervisor/rings/elevation.py:88
Method
remaining_seconds
(self)
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:282
Method
remaining_today_usd
(self)
agent-governance-python/agent-sre/src/agent_sre/cost/guard.py:90
Method
remaining_tokens
(self, messages, *, tools=())
policy-engine/sdk/python/tests/test_real_packages.py:484
Method
remaining_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
Method
remote_identity_key
(self)
agent-governance-python/agent-mesh/src/agentmesh/encryption/channel.py:204
Function
remove
Delete a credential by handle name.
agent-governance-python/agent-compliance/src/agent_compliance/cli/cred.py:119
← previous
next →
15,901–16,000 of 32,326, ranked by callers