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
↓ 1 callers
Function
demo_tool_call_limits
Demonstrate tool call limits.
agent-governance-python/agent-os/examples/integrations/policy_violations_demo.py:37
↓ 1 callers
Method
demo_tool_invocations
Demo tool invocations to show governance in action.
agent-governance-python/agent-mesh/examples/01-mcp-tool-server/main.py:342
↓ 1 callers
Function
demo_trusted_request
Send a normal request to the trusted bank agent.
agent-governance-python/agent-os/modules/iatp/examples/demo_client.py:93
↓ 1 callers
Function
demo_usage_tracking
Demonstrate usage and cost tracking.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_agent_brokerage.py:188
↓ 1 callers
Function
demo_user_constraints
Demonstrate execution with user constraints.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_agent_brokerage.py:156
↓ 1 callers
Function
demo_user_override
Demonstrate the user override flow.
agent-governance-python/agent-os/modules/iatp/examples/demo_client.py:150
↓ 1 callers
Function
demo_with_doer_agent
Demonstrate DoerAgent with prioritization.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_prioritization.py:152
↓ 1 callers
Function
demo_with_observer_agent
Demonstrate ObserverAgent learning with prioritization.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_prioritization.py:195
↓ 1 callers
Function
demonstrate_batch_processing
Demonstrate processing multiple signals in sequence.
agent-governance-python/agent-os/examples/self-evaluating/examples/sample_full_stack_agent.py:262
↓ 1 callers
Function
demonstrate_eval_dd
Demonstrate the Eval-DD workflow. The Old World: Write implementation → Write tests The New World: Write golden dataset → Write rubr
agent-governance-python/agent-os/examples/self-evaluating/examples/example_evaluation_engineering.py:380
↓ 1 callers
Function
demonstrate_file_change_input
Demonstrate processing a file change event (IDE integration).
agent-governance-python/agent-os/examples/self-evaluating/examples/sample_full_stack_agent.py:215
↓ 1 callers
Function
demonstrate_log_stream_input
Demonstrate processing a log stream event (monitoring).
agent-governance-python/agent-os/examples/self-evaluating/examples/sample_full_stack_agent.py:238
↓ 1 callers
Function
demonstrate_text_input
Demonstrate processing a text input (traditional chat).
agent-governance-python/agent-os/examples/self-evaluating/examples/sample_full_stack_agent.py:197
↓ 1 callers
Function
demonstrate_upgrade_purge
Demonstrate the upgrade purge process.
agent-governance-python/agent-os/examples/self-evaluating/examples/example_upgrade_purge.py:66
↓ 1 callers
Function
deniedFlow
()
policy-engine/examples/research_agent/app/index.js:172
↓ 1 callers
Method
deny
Deny an escalation request. Returns True if found and updated.
agent-governance-python/agent-os/src/agent_os/integrations/escalation.py:136
↓ 1 callers
Method
denyOverrides
(candidates: CandidateDecision[])
agent-governance-typescript/src/policy.ts:83
↓ 1 callers
Method
deny_all
Create a policy that denies all access.
agent-governance-python/agent-os/modules/atr/atr/access.py:150
↓ 1 callers
Function
deployAzure
()
agent-governance-python/agent-os/extensions/copilot/deploy.js:138
↓ 1 callers
Function
deployVercel
()
agent-governance-python/agent-os/extensions/copilot/deploy.js:116
↓ 1 callers
Function
deploy_to_production_impl
(service: str)
examples/maf-integration/05-devops-deploy/python/main.py:153
↓ 1 callers
Method
deregister
Remove an agent from the registry.
agent-governance-python/agent-os/modules/nexus/registry.py:202
↓ 1 callers
Function
describe_policy_target
(policy_input: dict[str, Any], transformed: Any | None)
policy-engine/examples/bank_agent/demo/run_demo.py:235
↓ 1 callers
Method
deserializeEstablishment
(obj: Record<string, unknown>)
agent-governance-typescript/src/encryption/mesh-client.ts:1068
↓ 1 callers
Method
deserialize_agent_state
Deserialize agent state from a dictionary. Args: state: Dictionary containing serialized agent state
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/agent_hibernation.py:145
↓ 1 callers
Method
detach_sink
Detach the current SpanSink.
agent-governance-python/agent-hypervisor/src/hypervisor/observability/saga_span_exporter.py:148
↓ 1 callers
Function
detectCTEInnerVerb
detectCTEInnerVerb finds the first DML keyword at top-level paren depth in a WITH-prefixed query. Falls back to SELECT.
agent-governance-golang/packages/agentmesh/protocol_facets.go:365
↓ 1 callers
Function
detectCommand
Detect the command from the last user message.
agent-governance-python/agentmesh-integrations/copilot-governance/src/agent.ts:43
↓ 1 callers
Function
detectCteInnerVerb
* For a CTE-prefixed query (`WITH ... AS (...) <verb> ...`), find the first * DML keyword that appears at top-level paren depth (i.e. not inside a CT
agent-governance-typescript/src/protocol-facets.ts:230
↓ 1 callers
Method
detectEdgeCases
* Detect potential edge cases for an agent
agent-governance-python/agent-os/extensions/copilot/src/testSimulator.ts:176
↓ 1 callers
Method
detectErrorType
(error: string, stack: string)
agent-governance-python/agent-os/extensions/copilot/src/debugHelper.ts:560
↓ 1 callers
Method
detectHiddenInstructions
(tool: McpToolDefinition, threats: McpThreat[])
agent-governance-typescript/src/mcp.ts:229
↓ 1 callers
Method
detectHiddenInstructions
detectHiddenInstructions catches zero-width and homoglyph characters.
agent-governance-golang/packages/agentmesh/mcp.go:153
↓ 1 callers
Function
detectPageType
()
agent-governance-python/agent-os/extensions/chrome/src/content/github.ts:54
↓ 1 callers
Function
detectPageType
()
agent-governance-python/agent-os/extensions/chrome/src/content/jira.ts:53
↓ 1 callers
Function
detectPlatform
(url: string)
agent-governance-python/agent-os/extensions/chrome/src/background/service-worker.ts:221
↓ 1 callers
Function
detectPlatform
(url: string)
agent-governance-python/agent-os/extensions/chrome/src/popup/App.tsx:36
↓ 1 callers
Method
detectRugPull
(tool: McpToolDefinition, threats: McpThreat[])
agent-governance-typescript/src/mcp.ts:259
↓ 1 callers
Method
detectRugPull
detectRugPull flags oversized descriptions that embed instruction-like payloads.
agent-governance-golang/packages/agentmesh/mcp.go:180
↓ 1 callers
Function
detectSensitiveData
detectSensitiveData checks for credit cards and SSNs
agent-governance-python/agent-os/modules/iatp/sidecar/go/main.go:144
↓ 1 callers
Method
detectToolPoisoning
(tool: McpToolDefinition, threats: McpThreat[])
agent-governance-typescript/src/mcp.ts:178
↓ 1 callers
Method
detectToolPoisoning
detectToolPoisoning looks for hidden prompt-injection instructions inside a tool's description (e.g. "ignore previous instructions").
agent-governance-golang/packages/agentmesh/mcp.go:87
↓ 1 callers
Method
detectTyposquatting
(tool: McpToolDefinition, threats: McpThreat[])
agent-governance-typescript/src/mcp.ts:213
↓ 1 callers
Method
detectTyposquatting
detectTyposquatting compares the tool name against known common tool names and flags suspiciously similar names (Levenshtein distance ≤ 2, but not exa
agent-governance-golang/packages/agentmesh/mcp.go:112
↓ 1 callers
Method
detect_activity_spike
Flag if current month transactions exceed 3x average.
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:402
↓ 1 callers
Function
detect_cluster
Detect a coordination cluster starting from a seed account.
scripts/cluster_detect.py:320
↓ 1 callers
Function
detect_co_comments
Find accounts that comment on the same issues as the seed.
scripts/cluster_detect.py:211
↓ 1 callers
Method
detect_conflicts
Detect conflicts between official and practical sources. Looks for cases where: - Official docs say one thing
agent-governance-python/agent-os/modules/caas/src/caas/pragmatic_truth.py:221
↓ 1 callers
Method
detect_dormant_activation
Account dormant > 180 days suddenly active.
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:342
↓ 1 callers
Function
detect_gaps
Return changed areas that no workflow path filter currently covers.
scripts/ci/propose_workflow_updates.py:83
↓ 1 callers
Method
detect_injection_target
(self, messages: Sequence[ChatMessage], state: ScriptedState)
policy-engine/benchmarks/agentdojo/acs_agentdojo_bench/pipeline.py:264
↓ 1 callers
Method
detect_phi
Detect all PHI in text.
agent-governance-python/agent-os/examples/healthcare-hipaa/main.py:307
↓ 1 callers
Method
detect_round_trip
A→B→C→A circular flow.
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:329
↓ 1 callers
Function
detect_shared_forks
Find repos that the seed forked, then check if other accounts forked the same repos.
scripts/cluster_detect.py:159
↓ 1 callers
Method
detect_structuring
Multiple transactions just under $10K CTR threshold.
agent-governance-python/agent-os/examples/aml-fraud-detection/demo.py:316
↓ 1 callers
Function
detect_sync_filing
Find accounts that filed issues in the same repos within 48 hours of the seed.
scripts/cluster_detect.py:255
↓ 1 callers
Method
dhRatchetStep
(remoteDHPublic: Uint8Array)
agent-governance-typescript/src/encryption/ratchet.ts:238
↓ 1 callers
Method
diff
Compare two policies, returning changed fields as (self, other) tuples.
agent-governance-python/agentmesh-integrations/pydantic-ai-governance/src/pydantic_ai_governance/policy.py:134
↓ 1 callers
Function
diff_entries
Return entries in *new* that are not byte-for-byte in *old*. Identity is (ecosystem, name, version, integrity). A version bump, a new depende
scripts/check_lockfile_integrity.py:780
↓ 1 callers
Function
diff_rules
Compare two PolicyDocuments rule-by-rule. Return a list of change strings.
docs/tutorials/policy-as-code/examples/07_policy_versioning.py:46
↓ 1 callers
Method
disable_agent
Disable an agent (admin action).
agent-governance-python/agent-mesh/src/agentmesh/identity/entra.py:242
↓ 1 callers
Function
disable_mfa_impl
(user_id: str)
examples/maf-integration/04-it-helpdesk/python/main.py:153
↓ 1 callers
Function
disable_release_gates_impl
(service: str)
examples/maf-integration/05-devops-deploy/python/main.py:157
↓ 1 callers
Method
disconnect
Close connection to Redis.
agent-governance-python/agent-mesh/src/agentmesh/storage/redis_provider.py:64
↓ 1 callers
Method
disconnect
Close connection (no-op for memory).
agent-governance-python/agent-mesh/src/agentmesh/storage/memory_provider.py:37
↓ 1 callers
Method
disconnect
Close connection to PostgreSQL.
agent-governance-python/agent-mesh/src/agentmesh/storage/postgres_provider.py:124
↓ 1 callers
Method
discover_agents
Get list of discovered peer agents.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/a2a_adapter.py:429
↓ 1 callers
Function
discover_docs
(root: Path, extras: Iterable[Path])
scripts/docs/check_frontmatter.py:152
↓ 1 callers
Method
discover_links
Auto-discover delegation links by scanning traces for DELEGATION spans. Scans all registered agent traces for spans of kind DELEGATION,
agent-governance-python/agent-sre/src/agent_sre/replay/distributed.py:140
↓ 1 callers
Function
discover_lockfiles
Auto-discover lockfiles in the working tree. When *base_ref* is supplied and resolves, we restrict the discovery to files changed in the diff
scripts/check_lockfile_integrity.py:730
↓ 1 callers
Function
discover_markdown
Discover markdown files under ``root/docs`` plus root-level ``*.md``. ``extra_paths`` overrides discovery when non-empty.
scripts/docs/check_links.py:369
↓ 1 callers
Method
dispatch
( annotatorName: string, annotatorConfig: Record<string, JsonValue>, preliminaryPolicyInput: JsonV
policy-engine/sdk/node/src/index.ts:162
↓ 1 callers
Method
dispose
()
agent-governance-typescript/agent-os-vscode/src/webviews/onboarding/OnboardingPanel.ts:221
↓ 1 callers
Method
dispose
()
agent-governance-typescript/agent-os-vscode/src/webviews/policyEditor/PolicyEditorPanel.ts:600
↓ 1 callers
Method
dispose
()
agent-governance-typescript/agent-os-vscode/src/webviews/workflowDesigner/WorkflowDesignerPanel.ts:851
↓ 1 callers
Method
dispose
()
agent-governance-typescript/agent-os-vscode/src/webviews/metricsDashboard/MetricsDashboardPanel.ts:214
↓ 1 callers
Method
do_GET
(self)
agent-governance-python/agent-os/tests/test_mcp_scan_cli.py:782
↓ 1 callers
Method
do_POST
(self)
agent-governance-python/agent-os/tests/test_mcp_scan_cli.py:798
↓ 1 callers
Method
download_benchmark_corpus
Download the CaaS benchmark corpus from Hugging Face. Args: local_dir: Local directory to download to. Defaults to cache.
agent-governance-python/agent-os/modules/caas/src/caas/hf_utils.py:162
↓ 1 callers
Method
download_benchmark_dataset
Download the IATP benchmark dataset. Args: filename: Name of the file to download repo_id: Repository ID. De
agent-governance-python/agent-os/modules/iatp/iatp/hf_utils.py:222
↓ 1 callers
Function
download_dataset
Download a dataset file from Hugging Face Hub. Args: repo_id: Repository ID on HF Hub (e.g., "microsoft/amb-benchmarks"). fi
agent-governance-python/agent-os/modules/amb/amb_core/hf_utils.py:153
↓ 1 callers
Function
download_vpn_credentials_impl
(user_id: str)
examples/maf-integration/04-it-helpdesk/python/main.py:157
↓ 1 callers
Function
drainBuffer
(state, buffer)
agent-governance-opencode/server/agt-mcp.mjs:167
↓ 1 callers
Function
drainBuffer
(state, buffer)
agent-governance-claude-code/server/agt-mcp.mjs:167
↓ 1 callers
Function
drainInputBuffer
()
agent-governance-antigravity-cli/assets/extensions/agt-global-policy/mcp/server.mjs:51
↓ 1 callers
Method
drainPreKnockBuffer
(from: string)
agent-governance-typescript/src/encryption/mesh-client.ts:1034
↓ 1 callers
Method
drop
(self, sid: str)
policy-engine/sdk/python/agent_control_specification/_adapters/litellm.py:549
↓ 1 callers
Method
emergency_access
Break-the-glass emergency access. Bypasses normal access controls but triggers alerts.
agent-governance-python/agent-os/examples/healthcare-hipaa/main.py:671
↓ 1 callers
Method
emergency_command
Execute emergency command - bypasses normal checks.
agent-governance-python/agent-os/examples/iot-smart-home/main.py:362
↓ 1 callers
Method
emergency_override
Break-the-glass emergency access. Grants temporary access but triggers alerts.
agent-governance-python/agent-os/examples/healthcare-hipaa/main.py:469
↓ 1 callers
Method
emit
(self, events: Sequence[GovernanceEvent])
agent-governance-python/agent-os/src/agent_os/event_sink.py:146
↓ 1 callers
Method
emit
(self, events)
agent-governance-python/agent-os/tests/test_spec_audit_compliance_conformance.py:542
↓ 1 callers
Method
emit
(self, entry: Any)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:348
↓ 1 callers
Method
enable
Enable colors on *this* instance.
agent-governance-python/agent-os/src/agent_os/cli/output.py:69
↓ 1 callers
Function
encrypt
(key: Uint8Array, plaintext: Uint8Array, aad: Uint8Array)
agent-governance-typescript/src/encryption/ratchet.ts:80
↓ 1 callers
Method
end_session
(self, session_id: str | None = None)
agent-governance-python/agent-mesh/src/agentmesh/governance/_shadow_impl.py:391
↓ 1 callers
Method
end_turn
Mark the end of a conversation turn.
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:249
↓ 1 callers
Method
end_turn
End the current turn within the session.
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:557
↓ 1 callers
Function
enforce
Apply the demo's host-side enforcement of an AGT verdict. Returns ``(blocked, transformed_policy_target)``. AGT D1 strictly rejects ``effect
policy-engine/examples/bank_agent/demo/run_demo.py:202
↓ 1 callers
Method
enforce_eol_dates
Scan deprecated plugins and auto-transition those past EOL date. Returns: List of plugins that were transitioned to EOL.
agent-governance-python/agent-mesh/src/agentmesh/marketplace/lifecycle.py:284
← previous
next →
8,301–8,400 of 32,326, ranked by callers