MCPcopy Create free account

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

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

↓ 23 callersFunction_make_mock_chain
Create a mock LangChain-like chain/runnable.
agent-governance-python/agent-os/tests/test_integrations.py:48
↓ 23 callersMethodadd_agent
Add an agent with its dependencies
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:1552
↓ 23 callersMethodcalculate_trust_score
Calculate trust score from 0-1000. Base score from verification level + modifiers from behavior and capabilities.
agent-governance-python/agent-os/modules/nexus/reputation.py:170
↓ 23 callersFunctioncmd_init
Initialize .agents/ directory with Agent OS support.
agent-governance-python/agent-os/src/agent_os/cli/cmd_init.py:17
↓ 23 callersMethodcreate_file
Create a new file in the file system. Args: path: Path where to create the file content: Initial con
agent-governance-python/agent-os/modules/caas/src/caas/vfs/filesystem.py:108
↓ 23 callersFunctiondeny
()
policy-engine/sdk/node/src/index.ts:72
↓ 23 callersMethodevaluate
(self, eval_input: EvalInput, criterion: EvalCriterion)
agent-governance-python/agent-sre/src/agent_sre/evals/__init__.py:118
↓ 23 callersMethodexecute
Execute a runbook's steps sequentially against an incident. Args: runbook: The runbook to execute. incident: The inci
agent-governance-python/agent-sre/src/agent_sre/incidents/runbook_executor.py:45
↓ 23 callersFunctionextractSqlFacets
(sqlCtx: Record<string, unknown>)
agent-governance-typescript/src/protocol-facets.ts:531
↓ 23 callersMethodfail
Create a failed result.
agent-governance-python/agent-os/modules/atr/atr/composition.py:69
↓ 23 callersMethodfrom_dict
Create episode from dictionary.
agent-governance-python/agent-os/modules/emk/emk/schema.py:86
↓ 23 callersMethodopen
Open the pipe for communication.
agent-governance-python/agent-os/modules/iatp/iatp/ipc_pipes.py:177
↓ 23 callersMethodpayload_hash
(self)
agent-governance-python/agentmesh-integrations/mcp-receipt-governed/mcp_receipt_governed/receipt.py:65
↓ 23 callersFunctionpre_tool_call_snapshot
Snapshot for the ``pre_tool_call`` intervention point (§2.5).
agent-governance-python/agt-policies/src/agt/policies/snapshot.py:184
↓ 23 callersMethodreconstruct
Reconstruct a Decision BOM from observability signals. Provide either a trace_id (preferred, most precise) or an agent_id + timestamp
agent-governance-python/agent-mesh/src/agentmesh/governance/decision_bom.py:241
↓ 23 callersMethodrun
( self, input_value: JsonValue, execute: Execute, *, snapshot: Mapping
policy-engine/sdk/python/agent_control_specification/_orchestration.py:115
↓ 23 callersMethodstat
Get file metadata.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/vfs.py:449
↓ 23 callersMethodthen
Add a step to the pipeline.
agent-governance-python/agent-os/modules/atr/atr/composition.py:290
↓ 23 callersFunctionverify
Calculate drift/hallucination score between two outputs. This is the primary verification function - a pure function with no side effects.
agent-governance-python/agent-os/modules/cmvk/src/cmvk/verification.py:115
↓ 23 callersMethodverify
Verify hash-chain integrity of the entire log.
agent-governance-typescript/src/audit.ts:67
↓ 23 callersFunctionverify_embeddings
Calculate drift score between two embedding vectors. Enhanced verification function with configurable metrics, weighting, threshold prof
agent-governance-python/agent-os/modules/cmvk/src/cmvk/verification.py:189
↓ 23 callersMethodverify_integrity
Verify hash integrity of a memory entry. Returns ``True`` if the stored hash matches a fresh computation.
agent-governance-python/agent-os/src/agent_os/memory_guard.py:244
↓ 23 callersMethodverify_peer
Verify a peer before communication.
agent-governance-python/agent-mesh/src/agentmesh/trust/bridge.py:149
↓ 23 callersMethodwrite
Write a single entry, rotating the file if necessary.
agent-governance-python/agent-mesh/src/agentmesh/governance/audit_backends.py:254
↓ 22 callersFunctionGenerateIdentity
GenerateIdentity creates a new Ed25519-based identity for the given agent.
agent-governance-golang/packages/agentmesh/identity.go:19
↓ 22 callersMethod_checker
(self)
agent-governance-python/agent-os/tests/test_cli_extended_coverage.py:38
↓ 22 callersMethod_log
Log a message with agent context.
agent-governance-python/agent-os/examples/carbon-auditor/src/agents/base.py:106
↓ 22 callersFunction_make_agent
Create a TrustAwareAgent with a pre-configured trust store.
agent-governance-python/agent-mesh/tests/test_crewai_integration.py:20
↓ 22 callersFunction_make_context
Create a mock RunHooks context.
agent-governance-python/agent-os/tests/test_openai_agents_sdk_adapter.py:53
↓ 22 callersMethodactivate
Activate the agent (from provisioning, suspended, rotating, degraded, or quarantined).
agent-governance-typescript/src/lifecycle.ts:117
↓ 22 callersFunctionaddFinding
( findings: PolicyFinding[], field: string, message: string, severity: PolicyFinding["severity"] )
agent-governance-python/agentmesh-integrations/copilot-governance/src/policy-validator.ts:38
↓ 22 callersMethodadd_grant
Add a capability grant to this scope. Args: grant: The ``CapabilityGrant`` to add. Raises: ValueError: If th
agent-governance-python/agent-mesh/src/agentmesh/trust/capability.py:167
↓ 22 callersMethodburn_rate
Calculate current burn rate within a time window. Burn rate = (actual errors in window / window size) / (budget / total window) A bur
agent-governance-python/agent-sre/src/agent_sre/slo/objectives.py:106
↓ 22 callersMethodcheck_action
(self, **kwargs)
agent-governance-python/agent-os/tests/test_stateless.py:194
↓ 22 callersMethodcheck_call
Check if an agent is trusted enough to call a function. Order of checks: 1. Function not blocked 2. Trust score meet
agent-governance-python/agentmesh-integrations/openai-agents-agentmesh/openai_agents_agentmesh/trust.py:137
↓ 22 callersMethodcheck_violation
Check if an action violates the constraint graph. Uses a three-level check: 1. Role-Based Check: Is this tool allowed for th
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/policy_engine.py:459
↓ 22 callersMethodconnect
Connect to the broker.
agent-governance-python/agent-os/modules/amb/amb_core/bus.py:115
↓ 22 callersFunctiondrift
( current: number, step: number, lo: number, hi: number, )
agent-governance-typescript/agent-os-vscode/src/mockBackend/mockUtils.ts:16
↓ 22 callersMethodfunction
(self)
examples/demos/maf_governance_demo.py:363
↓ 22 callersMethodget_score
(self, agent_id: str)
agent-governance-python/agent-mesh/src/agentmesh/trust_types.py:90
↓ 22 callersFunctionguard_litellm_proxy
Return ASGI middleware for LiteLLM proxy JSON calls. This adapter targets the LiteLLM proxy server app. Install proxy support with ``pip inst
policy-engine/sdk/python/agent_control_specification/_adapters/litellm.py:200
↓ 22 callersMethodhas_permission
Check whether an agent is permitted to perform an action.
agent-governance-python/agent-os/src/agent_os/integrations/rbac.py:88
↓ 22 callersMethodinvoke
(self, messages)
agent-governance-python/agent-os/modules/control-plane/examples/langchain_demo.py:52
↓ 22 callersMethodprocess
Guard tool invocations against capability policy.
agent-governance-python/agent-os/src/agent_os/integrations/maf_adapter.py:645
↓ 22 callersMethodprocess_audit_entry
Process an Agent OS audit log entry and return a Signal if relevant.
agent-governance-python/agent-sre/src/agent_sre/integrations/agent_os/bridge.py:72
↓ 22 callersMethodset_attribute
(self, key, value)
agent-governance-python/agent-mesh/src/agentmesh/telemetry.py:205
↓ 22 callersMethodshould_send
Return True if *alert* is novel and should be delivered. .. note:: For multi-threaded delivery, prefer :meth:`consume`, which
agent-governance-python/agent-sre/src/agent_sre/alerts/dedup.py:94
↓ 22 callersMethodspawn
Spawn an agent function in an isolated process.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/process_isolation.py:517
↓ 21 callersMethod__init__
(self, message: str)
agent-governance-python/agent-os/modules/nexus/exceptions.py:273
↓ 21 callersFunction_b64
(data: bytes)
agent-governance-python/agent-mesh/tests/test_registry.py:28
↓ 21 callersMethod_create_container
Create a hardened Docker container for the session. Args: agent_id: Validated agent identifier. session_id: Internall
agent-governance-python/agent-sandbox/src/agent_sandbox/docker_provider/provider.py:1091
↓ 21 callersFunction_detect
Shortcut: create a detector and scan a single input.
agent-governance-python/agent-os/tests/test_prompt_injection.py:29
↓ 21 callersFunction_get_server
Create a KernelMCPServer, skip if not installed.
agent-governance-python/agent-os/tests/test_mcp_integration.py:17
↓ 21 callersFunction_make_schedule
( schedule_id: str = "s1", cron: str = "0 9 * * 1-5", enabled: bool = True, blackouts: list[Bl
agent-governance-python/agent-sre/tests/test_chaos_scheduler.py:30
↓ 21 callersFunction_make_tool
Create a mock PydanticAI tool entry.
agent-governance-python/agent-os/tests/test_pydantic_ai_adapter.py:32
↓ 21 callersFunction_rule_with_condition
( name: str, action: str, condition: dict, priority: int = 0 )
agent-governance-python/agt-policies/tests/test_manifest_resolution.py:150
↓ 21 callersMethod_run
(*_args, **_kwargs)
agent-governance-python/agent-os/tests/test_policy_backends.py:889
↓ 21 callersFunction_setup_engine
Set up a FederationEngine with pre-loaded data.
agent-governance-python/agent-mesh/tests/test_federation.py:77
↓ 21 callersMethodallow
(tool: string)
agent-governance-python/agent-mesh/packages/mcp-proxy/src/rate-limiter.ts:32
↓ 21 callersMethodassign_role
Assign a role to an agent.
agent-governance-python/agent-os/src/agent_os/integrations/rbac.py:73
↓ 21 callersMethodget
Get a scanner instance by name.
agent-governance-python/agent-discovery/src/agent_discovery/scanners/base.py:60
↓ 21 callersFunctionget_runtime_bridge
Return a fresh :class:`AdapterRuntimeBridge` for ``policy``. Adapters call this once per kernel instance. Pass ``runtime`` to inject a pre-bu
agent-governance-python/agent-os/src/agent_os/integrations/_v5_runtime_bridge.py:595
↓ 21 callersMethodhandle_call_tool
Handle MCP tools/call request.
agent-governance-python/agent-os/modules/mcp-kernel-server/src/mcp_kernel_server/server.py:250
↓ 21 callersMethodinvoke
(self, value)
policy-engine/sdk/python/tests/test_adapters.py:225
↓ 21 callersFunctionk8s
── K8s ──────────────────────────────────────────────────────────────────────
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:264
↓ 21 callersFunctionprovider
A ready-to-use provider with the default sandbox queued.
agent-governance-python/agent-sandbox/tests/test_azure_sandbox.py:190
↓ 21 callersMethodreceive
Receive the next message. Args: timeout: Maximum seconds to wait. None means wait forever. Returns: Received
agent-governance-python/agent-mesh/src/agentmesh/transport/base.py:112
↓ 21 callersMethodrecord_signal
Record a reward signal for an agent. Args: agent_did: The agent's DID dimension: Which dimension this affect
agent-governance-python/agent-mesh/src/agentmesh/reward/engine.py:122
↓ 21 callersMethodrecord_tool_call
Record a tool invocation and check for anomalies.
agent-governance-python/agent-mesh/src/agentmesh/services/behavior_monitor.py:96
↓ 21 callersMethodresolve
(self, note: str = "")
agent-governance-python/agent-sre/src/agent_sre/incidents/detector.py:133
↓ 21 callersMethodvalidate
Validate a value against all validators (and the AGT bridge if wired). Returns a ValidationResult with aggregated outcomes and the a
agent-governance-python/agent-os/src/agent_os/integrations/guardrails_adapter.py:561
↓ 20 callersMethodRecordSuccess
RecordSuccess increases an agent's trust score with decay.
agent-governance-golang/packages/agentmesh/trust.go:116
↓ 20 callersFunction_create_plugin
Helper to create a plugin with the given code.
agent-governance-python/agent-mesh/tests/test_sandbox.py:24
↓ 20 callersMethod_evaluate_policy
Consult the PolicyEvaluator if one is configured. Returns ``(allowed, reason)``. When no evaluator is set, returns ``(True, "")`` so
agent-governance-python/agent-os/src/agent_os/integrations/base.py:1192
↓ 20 callersFunction_get_utc_timestamp
Get current UTC timestamp in ISO 8601 format.
agent-governance-python/agent-os/modules/iatp/iatp/telemetry/__init__.py:16
↓ 20 callersFunction_hv
Get the global Hypervisor instance.
agent-governance-python/agent-hypervisor/src/hypervisor/api/server.py:95
↓ 20 callersMethod_make_action
(self, action_id="act1", reversibility=ReversibilityLevel.FULL, **kw)
agent-governance-python/agent-hypervisor/tests/unit/test_reversibility_registry.py:13
↓ 20 callersFunction_make_agent_public_key
Generate a fresh Ed25519 agent public key.
agent-governance-python/agent-mesh/tests/test_ca_security.py:51
↓ 20 callersFunction_make_artifact
( did: str = "did:authz:alice", grade: TrustGrade = TrustGrade.TRUSTED, scopes: Optional[List[str]
agent-governance-python/agentmesh-integrations/structural-authz-agentmesh/tests/test_structural_authz.py:54
↓ 20 callersFunction_pct
(value: float)
agent-governance-python/agent-os/benchmarks/injection_benchmark.py:327
↓ 20 callersFunction_rule
(name: str, action: str, priority: int = 0, override: bool = False)
agent-governance-python/agt-policies/tests/test_manifest_resolution.py:139
↓ 20 callersFunction_run_demo
Run a demo script and return its combined stdout+stderr.
tests/test_example_smoke.py:22
↓ 20 callersFunction_tree
(icon: str, colour: str, label: str, detail: str)
examples/smolagents-governed/smolagents_governance_demo.py:133
↓ 20 callersFunction_write_manifest
Create a plugin subdirectory with an agent-plugin.yaml manifest.
agent-governance-python/agent-marketplace/tests/test_batch.py:30
↓ 20 callersMethodadd_step
Add a step to a saga.
agent-governance-python/agent-hypervisor/src/hypervisor/saga/orchestrator.py:60
↓ 20 callersMethodcancel
Cancel the task.
agent-governance-python/agentmesh-integrations/a2a-protocol/a2a_agentmesh/task.py:160
↓ 20 callersMethodclassify
Classify the risk level for an AI system per EU AI Act Article 6. Evaluates the profile through the following cascade: 1. **Article
agent-governance-python/agent-mesh/src/agentmesh/governance/eu_ai_act.py:131
↓ 20 callersMethodclear
(self)
agent-governance-python/agentmesh-integrations/mcp-receipt-governed/mcp_receipt_governed/receipt.py:231
↓ 20 callersMethodevaluate
(self, context: dict[str, Any])
agent-governance-python/agent-os/src/agent_os/policies/backends.py:169
↓ 20 callersFunctionevaluate_plugin_compliance
Check whether a plugin manifest complies with a marketplace policy. Args: manifest: The plugin manifest to evaluate. policy: The
agent-governance-python/agent-marketplace/src/agent_marketplace/marketplace_policy.py:222
↓ 20 callersFunctiongetSuppressComment
(languageId: string, code: string)
agent-governance-typescript/agent-os-vscode/src/language/governanceCodeActions.ts:189
↓ 20 callersMethodget_public_bundle
Build a public pre-key bundle for distribution. Args: otk_id: Optional one-time pre-key ID to include.
agent-governance-python/agent-mesh/src/agentmesh/encryption/x3dh.py:222
↓ 20 callersMethodget_root_hash
Get the current Merkle root hash.
agent-governance-python/agent-mesh/src/agentmesh/governance/audit.py:397
↓ 20 callersMethodis_active
(self)
agent-governance-python/agent-mesh/src/agentmesh/lifecycle/models.py:153
↓ 20 callersMethodis_expired
Check whether this endorsement has passed its expiry time.
agent-governance-python/agent-mesh/src/agentmesh/trust/endorsement.py:92
↓ 20 callersMethodload
Load policy from a YAML file.
agent-governance-python/agent-os/src/agent_os/integrations/base.py:580
↓ 20 callersMethodlog
()
examples/copilot-cli-agt/test/policy-engine.test.mjs:144
↓ 20 callersMethodlog_action
Log action to audit trail.
agent-governance-python/agent-mesh/examples/02-customer-service/main.py:75
↓ 20 callersMethodrecord_action
Record an action for regime detection.
agent-governance-python/agent-mesh/src/agentmesh/reward/trust_decay.py:165
↓ 20 callersMethodrefreshNow
()
agent-governance-typescript/agent-os-vscode/src/webviews/sidebar/GovernanceStore.ts:99
← previousnext →401–500 of 32,326, ranked by callers