MCPcopy Create free account

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

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

Methodget_stats
Return summary statistics for this callback.
agent-governance-python/agent-mesh/src/agentmesh/integrations/langchain/callback.py:221
Methodget_stats
Get pipe statistics.
agent-governance-python/agent-os/modules/iatp/iatp/ipc_pipes.py:302
Methodget_stats
Get storage statistics.
agent-governance-python/agent-os/modules/amb/amb_core/persistence.py:178
Methodget_stats
Get storage statistics.
agent-governance-python/agent-os/modules/amb/amb_core/persistence.py:313
Methodget_stats
Get storage statistics.
agent-governance-python/agent-os/modules/amb/amb_core/persistence.py:521
Methodget_stats
Return Agent Shield validation statistics. Returns: Dict with total validations, pass/fail counts, and per-stage brea
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:1024
Methodget_stats
Get exporter statistics.
agent-governance-python/agent-sre/src/agent_sre/integrations/sentry/exporter.py:150
Methodget_stats
Get statistics about recorded data.
agent-governance-python/agent-sre/src/agent_sre/integrations/braintrust/exporter.py:262
Methodget_stats
Get statistics about recorded data.
agent-governance-python/agent-sre/src/agent_sre/integrations/langsmith/exporter.py:352
Methodget_stats
Get statistics about recorded data.
agent-governance-python/agent-sre/src/agent_sre/integrations/datadog/exporter.py:292
Methodget_summary
Get conversation summary if available.
agent-governance-python/agent-os/examples/chat-agent/memory.py:71
Methodget_supervisors
Get all registered supervisors
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/plugin_registry.py:479
Methodget_supported_security_levels
Get supported security levels
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/protocol_interfaces.py:136
Methodget_supported_strategies
Get supported routing strategies
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/protocol_interfaces.py:385
Methodget_supported_verification_types
Get supported verification types
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/protocol_interfaces.py:243
Methodget_task_status
Get the current status of a task on a peer agent.
agent-governance-python/agent-mesh/src/agentmesh/trust/bridge.py:402
Methodget_thread
Retrieve an existing thread by ID. Args: thread_id: The thread to retrieve. Returns: The OpenAI thread objec
agent-governance-python/agent-os/src/agent_os/integrations/openai_adapter.py:449
Methodget_time_window_metrics
Get metrics for a specific time window. Args: tool_name: Name of the tool. window: Time window to aggregate over.
agent-governance-python/agent-os/modules/atr/atr/metrics.py:246
Methodget_token
Acquire an access token for the given scope.
agent-governance-python/agent-mesh/src/agentmesh/identity/managed_identity.py:54
Methodget_token_usage
Return cumulative token usage statistics. Returns: A dict with ``prompt_tokens``, ``completion_tokens``, ``total_toke
agent-governance-python/agent-os/src/agent_os/integrations/anthropic_adapter.py:513
Methodget_token_usage
Return cumulative token usage statistics. Returns: A dict with ``prompt_tokens``, ``completion_tokens``, ``total_toke
agent-governance-python/agent-os/src/agent_os/integrations/mistral_adapter.py:438
Methodget_token_usage
Return cumulative token usage statistics. Returns: A dict with ``prompt_tokens``, ``completion_tokens``, ``total_toke
agent-governance-python/agent-os/src/agent_os/integrations/gemini_adapter.py:395
Functionget_tool
Retrieve a tool specification from the global registry. Args: name: The unique tool identifier. version: Version constraint (e.g.
agent-governance-python/agent-os/modules/atr/atr/__init__.py:361
Methodget_tool
Get a registered tool by name. Args: name: Tool name Returns: The tool if found, None otherwise
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/tools.py:174
Functionget_tool_handle
Get a ToolHandle for executing a tool with all policies applied. The ToolHandle provides a convenient interface for executing tools with auto
agent-governance-python/agent-os/modules/atr/atr/__init__.py:389
Methodget_tools_by_type
Get all tools of a specific type
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/tool_registry.py:234
Functionget_trace
Retrieve flight recorder logs for a specific trace ID. Useful for debugging and distributed tracing across agent calls.
agent-governance-python/agent-os/modules/iatp/iatp/main.py:458
Methodget_trace
Retrieve flight recorder logs for a trace ID.
agent-governance-python/agent-os/modules/iatp/iatp/sidecar/__init__.py:384
Functionget_treatment_guidelines
( condition: Annotated[str, Field(description="The condition to review.")], )
examples/maf-integration/03-healthcare/python/main.py:180
Functionget_triad_state
Get the current state of the tiered context. Returns: Current tiered context state with item counts
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:736
Functionget_trust
(agent_id: str)
agent-governance-python/agent-mesh/examples/docker-compose/app/server.py:245
Functionget_trust_bridge
Get the best available trust bridge. Advanced: Cross-protocol trust translation (A2A/MCP/IATP). Community: Direct passthrough without transla
agent-governance-python/agent-mesh/src/agentmesh/providers.py:71
Methodget_trust_circle
Return direct trust connections for the given agent.
agent-governance-python/agentmesh-integrations/nostr-wot/agentmesh_nostr_wot/provider.py:97
Functionget_trust_decay
Get the best available trust decay engine. Advanced: Trust contagion + KL divergence regime detection. Community: Linear decay over time.
agent-governance-python/agent-mesh/src/agentmesh/providers.py:113
Methodget_trust_footer
Get trust verification footer for A2A messages.
agent-governance-python/agent-mesh/src/agentmesh/integrations/a2a/__init__.py:304
Functionget_trust_protocol
Get the best available trust protocol engine. Advanced: Full IATP with sidecar attestation and capability handshake. Community: Basic policy
agent-governance-python/agent-os/src/agent_os/providers.py:140
Methodget_trust_report
Get trust status summary for this agent. Returns: Dictionary with agent DID, current score, threshold, interaction co
agent-governance-python/agent-mesh/src/agentmesh/integrations/crewai/agent.py:199
Methodget_trust_report
Get trust status report for this client.
agent-governance-python/agent-mesh/src/agentmesh/integrations/flowise/__init__.py:256
Methodget_trust_score
Retrieve trust score for an agent. Args: agent_did: The agent's DID identifier. Returns: Trust score dict or
agent-governance-python/agent-mesh/src/agentmesh/storage/redis_backend.py:95
Methodget_trust_statistics
Get aggregate trust statistics. Returns: Dictionary of trust statistics
agent-governance-python/agent-mesh/src/agentmesh/services/registry/agent_registry.py:226
Methodget_tuple
(self, config: Any)
agent-governance-python/agent-os/src/agent_os/integrations/langgraph_adapter.py:172
Methodget_unverified_events
Get all unverified events. Returns: List of unverified events
agent-governance-python/agentmesh-integrations/langchain-agentmesh/langchain_agentmesh/callbacks.py:444
Methodget_user_activity
Get user activity within time window.
agent-governance-python/agent-os/examples/healthcare-hipaa/main.py:288
Methodget_validation_log
Get log of validation decisions
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/plugin_interface.py:181
Methodget_validators_for_action
Get all validators for an action type
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/plugin_registry.py:278
Functionget_value
()
agent-governance-python/agent-os/modules/atr/tests/test_executor.py:30
Functionget_version
Return the current version of CaaS.
agent-governance-python/agent-os/modules/caas/src/caas/__init__.py:160
Functionget_version_info
Get detailed version information about the emk package.
agent-governance-python/agent-os/modules/emk/emk/__init__.py:77
Functionget_vfs_file_history
Get the edit history of a file. Shows all edits made to a file, including which agents made changes and when. Useful for understandi
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:1350
Functionget_vfs_state
Get the complete Virtual File System state. Returns the entire file system state, useful for debugging or snapshotting the current p
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:1378
Methodget_violation_history
Get history of detected violations
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/interfaces/plugin_interface.py:495
Methodget_workflow_status
Get the current status of a workflow
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/orchestrator.py:391
Methodget_working_memory
Get all working memory contents.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/vfs.py:560
Functionglobal_func
Uses global registry.
agent-governance-python/agent-os/modules/atr/tests/test_decorator.py:285
Functionglobal_limiter
()
agent-governance-python/agent-os/tests/test_rate_limiter.py:28
Functiongood_agent
Agent that always returns correct answers.
agent-governance-python/agent-sre/tests/test_benchmarks.py:23
Functiongood_ai
(input_text: str)
agent-governance-python/agent-os/examples/self-evaluating/tests/test_evaluation_engineering.py:395
Functiongovern
Decorator that enforces governance policy on a PydanticAI tool. Checks tool name allowlist, argument content against blocked patterns, semant
agent-governance-python/agentmesh-integrations/pydantic-ai-governance/src/pydantic_ai_governance/decorator.py:29
Methodgovernance_after_llm
Governance gate executed after every LLM call. Scans the LLM response for blocked patterns and runs ``post_execute`` drift de
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:498
Methodgovernance_after_tool
Governance gate executed after every tool call. Scans the tool result for blocked patterns and runs drift detection via ``pos
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:308
Methodgovernance_before_llm
Governance gate executed before every LLM call. Scans the message list for blocked patterns and runs Cedar/OPA ``pre_execute`
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:388
Methodgovernance_before_tool
Governance gate executed before every tool call. Checks tool allowlist/blocklist, scans arguments for blocked patterns, and r
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:194
FunctiongovernedExecute
(this: unknown, ...args: unknown[])
agent-governance-python/agentmesh-integrations/mastra-agentmesh/src/governed-tool.ts:70
Functiongoverned_action
()
agent-governance-python/benchmarks/governance_overhead.py:535
Methodgoverned_async
(*args: Any, **kwargs: Any)
agent-governance-python/agent-os/src/agent_os/integrations/langchain_adapter.py:278
Methodgoverned_delegate
Governed wrapper around CrewAI agent delegation. Intercepts delegation calls between agents, tracks delegation depth, and enf
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:1112
Functiongoverned_delete
Delete a file through the governed kernel.
agent-governance-python/agent-os/examples/copilot_governed.py:182
Methodgoverned_execute
Governed wrapper around a CrewAI agent's task execution. Intercepts each task execution call, applies pre-execution
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:901
Functiongoverned_fn
Governed wrapper that validates and delegates PydanticAI tool calls.
agent-governance-python/agent-os/src/agent_os/integrations/pydantic_ai_adapter.py:583
Methodgoverned_forward
Governed wrapper around a smolagents tool's forward method. Intercepts the tool invocation, validates the call against the ac
agent-governance-python/agent-os/src/agent_os/integrations/smolagents_adapter.py:439
Methodgoverned_function
Governed wrapper around an AutoGen function_map entry.
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:938
Methodgoverned_generate_reply
(messages=None, sender=None, **kwargs)
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:823
Methodgoverned_initiate_chat
(recipient, message=None, **kwargs)
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:770
Methodgoverned_invoke
(input_data: Any, **kwargs: Any)
agent-governance-python/agent-os/src/agent_os/integrations/langchain_adapter.py:443
Functiongoverned_policy_only
()
agent-governance-python/benchmarks/governance_overhead.py:566
Methodgoverned_receive
(message, sender, **kwargs)
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:874
Methodgoverned_reset
(*args: Any, **kwargs: Any)
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:1110
Methodgoverned_route
( *args: Any, _orig=original_route, _attr=route_attr, **kwargs: Any )
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:1033
Methodgoverned_run
Governed wrapper around a CrewAI tool's run method. Intercepts the tool call, runs pre-execution policy checks,
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:841
Methodgoverned_save
Governed wrapper around CrewAI memory save operations. Validates content before it is written to crew memory,
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:1045
Methodgoverned_save_context
Governed wrapper around ``memory.save_context``.
agent-governance-python/agent-os/src/agent_os/integrations/langchain_adapter.py:370
Methodgoverned_select_speaker
(*args: Any, **kwargs: Any)
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:999
Methodgoverned_step
Governed wrapper around a CrewAI task step. Intercepts individual step calls within a task, validates inputs against
agent-governance-python/agent-os/src/agent_os/integrations/crewai_adapter.py:976
Methodgoverned_sync
(*args: Any, **kwargs: Any)
agent-governance-python/agent-os/src/agent_os/integrations/langchain_adapter.py:286
Methodgoverned_tool
(input_str: str)
agent-governance-python/agent-os/examples/crewai-safe-mode/langchain_safe_mode.py:163
Methodgoverned_update
(*args: Any, **kwargs: Any)
agent-governance-python/agent-os/src/agent_os/integrations/autogen_adapter.py:1075
Methodgrab
()
agent-governance-python/agent-sre/tests/unit/test_cost_hardened.py:402
Methodgrab_proxy
()
agent-governance-python/agent-os/tests/test_sandbox.py:459
Methodgrade
(self)
agent-governance-python/agent-marketplace/src/agent_marketplace/quality_assessment.py:47
Functiongrant_capability
Grant a capability to an agent. Authentication: required. The caller must present an ``Ed25519-Timestamp`` header signed by the grantor DID.
agent-governance-python/agent-mesh/src/agentmesh/server/trust_engine.py:275
Functiongrant_domain_admin
( user_id: Annotated[str, Field(description="The user who would receive Domain Admin.")], )
examples/maf-integration/04-it-helpdesk/python/main.py:208
Functiongraph
Show trust relationships as an ASCII art or Mermaid diagram.
agent-governance-python/agent-mesh/src/agentmesh/cli/trust_cli.py:373
Functiongreet
(name: str = "World")
agent-governance-python/agent-os/modules/atr/tests/test_executor.py:41
Functiongreet
Greet someone.
agent-governance-python/agent-os/modules/atr/tests/test_integration_executor.py:123
Functionguard
(runnable: TAgent, callOptions: AdapterOptions = {})
policy-engine/sdk/node/src/adapters.ts:285
Functionguard
()
agent-governance-python/agent-compliance/tests/test_supply_chain.py:25
Methodguard
(self, agent: AgentT, control: AgentControl)
policy-engine/sdk/python/agent_control_specification/_adapters/_generic.py:41
Methodguard
(self, agent: AgentT, control: AgentControl)
policy-engine/sdk/python/agent_control_specification/_adapters/_generic.py:58
Methodguard
(func: Callable)
agent-governance-python/agent-os/src/agent_os/integrations/openai_agents_sdk.py:457
FunctionguardAgent
(agent: TAgent, callOptions: AdapterOptions = {})
policy-engine/sdk/node/src/adapters.ts:288
← previousnext →14,801–14,900 of 32,326, ranked by callers