MCPcopy Create free account

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

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

Methodon_llm_error
Called when LLM errors out.
agent-governance-python/agent-sre/src/agent_sre/integrations/llamaindex/handler.py:205
Methodon_message
(message)
agent-governance-python/agent-os/modules/amb/amb_core/adapters/rabbitmq_broker.py:140
Functionon_policy_check
(event)
agent-governance-python/agent-os/tutorials/hipaa-compliant-agent/demo.py:212
Functionon_policy_check
(event)
agent-governance-python/agent-os/tutorials/langchain-5-minute-governance/demo.py:130
Methodon_policy_violation
(self, callback)
agent-governance-python/agent-os/examples/agent-lightning-training/sql_agent.py:40
Methodon_price_signal
React to grid operator price signal
agent-governance-python/agent-os/examples/grid-balancing/demo.py:182
Methodon_recovery_success
(agent_id: str, event: RecoveryEvent)
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:2782
Methodon_response
Intercept agent responses for output governance. Scans responses for blocked patterns and runs ``post_execute`` drift detection.
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:346
Methodon_revocation
Register a callback for when an agent's trust is revoked.
agent-governance-python/agent-mesh/src/agentmesh/services/reward_engine/__init__.py:73
Methodon_signal
Register a signal handler.
agent-governance-python/agent-os/src/agent_os/integrations/base.py:1933
Methodon_state_change
Register a callback for state changes
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:904
Methodon_state_transition
Audit-only hook for graph edge traversals. Does not block by default. Records every node->node transition for the governance audit tr
agent-governance-python/agent-os/src/agent_os/integrations/langgraph_adapter.py:416
Methodon_synthesize_end
Called when synthesis ends.
agent-governance-python/agent-sre/src/agent_sre/integrations/llamaindex/handler.py:272
Methodon_synthesize_start
Called when synthesis starts.
agent-governance-python/agent-sre/src/agent_sre/integrations/llamaindex/handler.py:268
Methodon_tool_end
Handle tool end event. Args: output: Tool output run_id: Unique run identifier parent_run_id: Parent run
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/callbacks.py:227
Methodon_tool_error
Handle tool error event. Args: error: The error that occurred run_id: Unique run identifier parent_run_id
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/callbacks.py:254
Methodon_tool_start
Handle tool start event with trust verification. Args: serialized: Serialized tool configuration input_str: Tool inpu
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/callbacks.py:160
Methodon_transaction
Analyze incoming transaction
agent-governance-python/agent-os/examples/defi-sentinel/demo.py:203
Functionon_violation
(event)
agent-governance-python/agent-os/tutorials/langchain-5-minute-governance/demo.py:133
Methodopen_breakers
Get all open or half-open circuit breakers.
agent-governance-python/agent-sre/src/agent_sre/incidents/circuit_breaker.py:195
Methodopen_face
(task: str)
agent-governance-python/agent-os/tests/test_mute_primitives.py:134
Methodopen_incidents
(self)
agent-governance-python/agent-sre/src/agent_sre/api/__init__.py:136
Methodopen_incidents
(self)
agent-governance-python/agent-sre/src/agent_sre/incidents/detector.py:317
Methodopen_mute
(step: ActionStep)
agent-governance-python/agent-os/tests/test_mute_primitives.py:184
Methodops_per_sec
(self)
agent-governance-python/benchmarks/governance_overhead.py:116
Functionoptimizer
(models: list[ModelConfig])
agent-governance-python/agent-sre/tests/test_cost_optimizer.py:53
Methodoptional_passed
(self)
agent-governance-python/agent-sre/src/agent_sre/certification/__init__.py:122
Methodorg_remaining_month
(self)
agent-governance-python/agent-sre/src/agent_sre/cost/guard.py:458
Methodorg_spent_month
(self)
agent-governance-python/agent-sre/src/agent_sre/cost/guard.py:453
Methodoriginal
(wrapper_self)
agent-governance-python/agent-os/src/agent_os/integrations/openai_agents_sdk.py:340
Methodoriginal
Return the original unwrapped agent before governance wrapping.
agent-governance-python/agent-os/src/agent_os/integrations/pydantic_ai_adapter.py:372
Methodotel_setup
(self)
agent-governance-python/agent-os/tests/test_otel_tracing.py:40
Methodoutput_types
(**kwargs)
agent-governance-python/agentmesh-integrations/haystack-agentmesh/src/haystack_agentmesh/trust_gate.py:29
Methodoutput_types
(**kwargs)
agent-governance-python/agentmesh-integrations/haystack-agentmesh/src/haystack_agentmesh/audit.py:31
Methodoutput_types
(**kwargs)
agent-governance-python/agentmesh-integrations/haystack-agentmesh/src/haystack_agentmesh/governance.py:33
Methodoverall_grade
(self)
agent-governance-python/agent-marketplace/src/agent_marketplace/quality_assessment.py:79
Methodoverall_score
(self)
agent-governance-python/agent-os/src/agent_os/content_governance.py:64
Methodoverall_score
Return the mean score across all assessed dimensions.
agent-governance-python/agent-marketplace/src/agent_marketplace/quality_scoring.py:55
Methodoverall_score
(self)
agent-governance-python/agent-marketplace/src/agent_marketplace/quality_assessment.py:73
Methodp50
(self)
agent-governance-python/benchmarks/governance_overhead.py:100
Methodp50_us
(self)
agent-governance-python/agent-sre/benchmarks/bench_chaos.py:41
Methodp50_us
(self)
agent-governance-python/agent-sre/benchmarks/bench_delivery.py:38
Methodp50_us
(self)
agent-governance-python/agent-sre/benchmarks/bench_slo.py:44
Methodp95
(self)
agent-governance-python/benchmarks/governance_overhead.py:104
Methodp95_latency_ms
95th percentile query latency in milliseconds.
agent-governance-python/agent-sre/src/agent_sre/integrations/llamaindex/handler.py:323
Methodp95_latency_ms
95th percentile chain latency in milliseconds.
agent-governance-python/agent-sre/src/agent_sre/integrations/langchain/callback.py:377
Methodp99
(self)
agent-governance-python/benchmarks/governance_overhead.py:108
Methodp99_us
(self)
agent-governance-python/agent-sre/benchmarks/bench_chaos.py:48
Methodp99_us
(self)
agent-governance-python/agent-sre/benchmarks/bench_delivery.py:45
Methodp99_us
(self)
agent-governance-python/agent-sre/benchmarks/bench_slo.py:51
Methodpanic
Trigger a kernel panic. This is a catastrophic, unrecoverable failure that halts all agent processing. The panic is recorded in the f
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/kernel_space.py:819
Methodparallel
Add parallel execution. Args: steps: Steps to run in parallel. collect_all: Whether to wait for all or return first.
agent-governance-python/agent-os/modules/atr/atr/composition.py:569
MethodparentDid
()
agent-governance-typescript/src/identity.ts:189
Methodparse_and_assign_tiers
Parse sections and assign content tiers. Args: sections: List of document sections doc_type: Type of
agent-governance-python/agent-os/modules/caas/src/caas/ingestion/structure_parser.py:73
Methodparse_json
Parse JSON string. Args: data: JSON string to parse Returns: Dict with parsed data
agent-governance-python/agent-os/modules/atr/atr/tools/safe/json_parser.py:92
Functionparse_pdf
Parse a PDF or text document and extract text content. Args: file_path: Path to the PDF or text file Returns:
agent-governance-python/agent-os/examples/carbon-auditor/src/tools.py:84
Methodparse_yaml
Parse YAML string safely. Uses yaml.safe_load to prevent arbitrary code execution. Args: data:
agent-governance-python/agent-os/modules/atr/atr/tools/safe/json_parser.py:134
Functionparser
(query: str)
agent-governance-python/agent-os/examples/self-evaluating/examples/example_evaluation_engineering.py:338
Methodparticipant_count
(self)
agent-governance-python/agent-hypervisor/src/hypervisor/session/__init__.py:65
Methodparticipants
Active participants in this session.
agent-governance-python/agent-hypervisor/src/hypervisor/session/__init__.py:60
Methodpassed
(self)
agent-governance-python/agentmesh-integrations/langgraph-trust/langgraph_trust/state.py:49
Methodpassed
(self)
agent-governance-python/agent-os/src/agent_os/content_governance.py:60
Methodpassed
(self)
agent-governance-python/agent-compliance/src/agent_compliance/policy_test.py:71
Methodpassed
(self)
agent-governance-python/agent-compliance/src/agent_compliance/lint_policy.py:83
Methodpassed
True if all scenarios passed.
agent-governance-python/agent-sre/src/agent_sre/benchmarks/__init__.py:416
Methodpassed_count
(self)
agent-governance-python/agent-sre/src/agent_sre/benchmarks/__init__.py:397
FunctionpatternMatchesMetadataTarget
(pattern)
agent-governance-antigravity-cli/lib/cli.mjs:723
FunctionpatternMatchesMetadataTarget
(pattern)
agent-governance-copilot-cli/lib/cli.mjs:708
Methodpause
Pause the rollout — not available in Public Preview.
agent-governance-python/agent-mesh/src/agentmesh/governance/_shadow_impl.py:511
MethodpauseAgent
(id: string)
agent-governance-python/agent-os/extensions/chrome/src/shared/api.ts:81
Functionpause_agent
Send SIGSTOP to pause an agent.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/signals.py:463
Methodpending_requests
Get all pending escalation requests.
agent-governance-python/agent-os/src/agent_os/escalation.py:263
Methodper_call_resolver
(intervention_point, result)
policy-engine/sdk/python/tests/test_escalation.py:270
Methodpercentage
Calculate percentage.
agent-governance-python/agent-os/modules/atr/atr/tools/safe/calculator.py:422
Methodpercentage
(self)
agent-governance-python/agent-marketplace/src/agent_marketplace/quality_assessment.py:60
Functionperfect_ai
(input_text: str)
agent-governance-python/agent-os/examples/self-evaluating/tests/test_evaluation_engineering.py:346
Functionpermissive_engine
Engine that denies nothing.
agent-governance-python/agent-os/tests/test_semantic_policy_engine.py:35
Functionpermissive_policy
()
agent-governance-python/agent-os/tests/test_data_classification.py:51
Methodpermits
True for decisions whose execution side proceeds with the action. Mirrors `core/src/verdict.rs::Decision::permits`: ``allow``, ``warn``,
policy-engine/sdk/python/agent_control_specification/_types.py:43
Methodpersistence
Get the message store.
agent-governance-python/agent-os/modules/amb/amb_core/bus.py:106
Methodphase
Get the current shutdown phase
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:1775
Methodpicky_run
(code: str, **kwargs: Any)
agent-governance-python/agent-sandbox/tests/test_hyperlight_sandbox.py:593
Methodpii_handler
(**kwargs)
agent-governance-python/agent-mesh/tests/test_negative_security.py:915
Functionpipe_agents
Create a simple two-agent pipeline with policy check. Example: pipeline = pipe_agents( research_agent, "research",
agent-governance-python/agent-os/modules/iatp/iatp/ipc_pipes.py:559
Functionpipeline_call
(s: dict = step)
examples/crewai-governed/crewai_governance_demo.py:956
Methodplain_fn
(task)
agent-governance-python/agent-os/tests/test_mute_primitives.py:274
Methodplanned_action_names
(self)
agent-governance-python/agent-os/src/agent_os/intent.py:258
Methodplatform
Return the configured mock platform identifier.
agent-governance-python/agent-mesh/src/agentmesh/identity/attestation_collector.py:125
Functionplugin
(pluginOptions: AdapterOptions = {})
policy-engine/sdk/node/src/adapters.ts:583
Functionplugin
Manage AgentMesh plugins.
agent-governance-python/agent-mesh/src/agentmesh/cli/marketplace_commands.py:52
Functionplugin
Manage AgentMesh plugins.
agent-governance-python/agent-marketplace/src/agent_marketplace/cli_commands.py:86
Methodplugin_name
(self)
agent-governance-python/agent-os/src/agent_os/integrations/google_adk_adapter.py:1241
Methodplugins
Access loaded plugins
agent-governance-python/agent-os/src/agent_os/integrations/semantic_kernel_adapter.py:561
Functionplugins_dir
(tmp_path: Path)
agent-governance-python/agent-mesh/tests/test_sandbox.py:18
Functionpm_input_transformer
Transform context for Product Manager.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_orchestration.py:140
Functionpm_input_transformer
(context: WorkflowContext)
agent-governance-python/agent-os/examples/self-evaluating/examples/example_orchestration_ai.py:190
Functionpoisoned_config_file
(tmp_path: Path)
agent-governance-python/agent-os/tests/test_mcp_scan_cli.py:131
Methodpolicies
Get the agent's active policies.
agent-governance-python/agent-os/src/agent_os/base_agent.py:303
Functionpolicy
(ctx: InjectionContext)
agent-governance-typescript/tests/credential-vault.test.ts:215
Functionpolicy
(ctx: InjectionContext)
agent-governance-typescript/examples/credential-vault-example.ts:34
← previousnext →15,601–15,700 of 32,326, ranked by callers