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
↓ 9 callers
Function
_write_governance
(path: Path, rule_name: str = "deny_dangerous_tool")
agent-governance-python/agt-policies/tests/test_migrate.py:36
↓ 9 callers
Function
actionIdentity
(policyInput: JsonValue)
policy-engine/sdk/node/src/index.ts:567
↓ 9 callers
Function
action_identity
(policy_input: JsonValue)
policy-engine/sdk/python/agent_control_specification/_types.py:327
↓ 9 callers
Method
add_conditional_permission
Add a conditional permission for ABAC (Attribute-Based Access Control). This moves from RBAC to ABAC, allowing context-aware policie
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/policy_engine.py:378
↓ 9 callers
Method
add_message
Add a message to the task conversation.
agent-governance-python/agentmesh-integrations/a2a-protocol/a2a_agentmesh/task.py:173
↓ 9 callers
Method
add_slo
Register an SLO.
agent-governance-python/agent-sre/src/agent_sre/api/__init__.py:115
↓ 9 callers
Method
append
Append a measurement (thread-safe).
agent-governance-python/agent-sre/src/agent_sre/slo/persistence.py:73
↓ 9 callers
Function
appliesTransform
(decision: Decision)
policy-engine/sdk/node/src/adapter-helpers.ts:77
↓ 9 callers
Function
assert_blocked
(exc: BaseException, point: InterventionPoint)
policy-engine/sdk/python/examples/real_packages/_common.py:46
↓ 9 callers
Method
assign_task
Attempt to assign a task to a specific agent. Validates trust score and capability match.
agent-governance-python/agentmesh-integrations/crewai-agentmesh/crewai_agentmesh/trust.py:247
↓ 9 callers
Function
authorize_agent
Authorize an authenticated principal for a specific agent DID.
agent-governance-python/agent-os/services/cloud-board/api/auth.py:108
↓ 9 callers
Method
batch
Governed batch execution. Each input in the batch is individually checked against the governance policy before the ba
agent-governance-python/agent-os/src/agent_os/integrations/langchain_adapter.py:692
↓ 9 callers
Method
cancel_run
Cancel a run (SIGKILL equivalent). ADK runs are local, so cancellation works by setting a flag that every governance hook checks. Whe
agent-governance-python/agent-os/src/agent_os/integrations/google_adk_adapter.py:1145
↓ 9 callers
Function
chain_receipt
Verbatim adapter from docs/proposals/azure-aca-sandbox.md Step 7.
agent-governance-python/agent-mesh/tests/test_step_receipt_to_audit_chain.py:38
↓ 9 callers
Function
check
(control: AgentControl, point: InterventionPoint, snapshot: dict, label: str)
policy-engine/examples/from_agentshield/policies/endpoint-governance/app/run_demo.py:32
↓ 9 callers
Method
check_budget
Check whether *agent_id* may proceed with an additional call. If *estimated_tokens* is provided, the check verifies that the agent wo
agent-governance-python/agent-mesh/src/agentmesh/governance/budget.py:96
↓ 9 callers
Method
check_content
Check text against blocked patterns. Returns PolicyCheckResult with allowed=False if any pattern matches.
agent-governance-python/agentmesh-integrations/pydantic-ai-governance/src/pydantic_ai_governance/policy.py:79
↓ 9 callers
Method
check_freshness
Check if a package version was published within the freshness window. Does NOT call external APIs — compares against a provided timestamp.
agent-governance-python/agent-compliance/src/agent_compliance/supply_chain.py:556
↓ 9 callers
Method
check_import
Check if a module import is allowed. Args: module_name: The module name to check. Returns: True if the impor
agent-governance-python/agent-os/src/agent_os/sandbox.py:638
↓ 9 callers
Function
cli
Main CLI entry point. Returns exit code.
agent-governance-python/agent-sre/src/agent_sre/cli/main.py:18
↓ 9 callers
Method
complete
Mark the experiment as completed.
agent-governance-python/agent-sre/src/agent_sre/chaos/engine.py:318
↓ 9 callers
Method
compute_adjustments
( self, signals: UsageSignals, )
agent-governance-python/agent-marketplace/src/agent_marketplace/usage_trust.py:53
↓ 9 callers
Method
confirm_disclosure
Mark AI disclosure as confirmed for a session.
agent-governance-python/agent-os/src/agent_os/transparency.py:165
↓ 9 callers
Method
connect
Connect to MCP server with trust verification.
agent-governance-python/agent-mesh/src/agentmesh/integrations/mcp/__init__.py:412
↓ 9 callers
Method
consume
Try to consume tokens. Returns True if successful.
agent-governance-python/agent-hypervisor/src/hypervisor/security/rate_limiter.py:45
↓ 9 callers
Function
control
()
policy-engine/sdk/python/examples/real_packages/_common.py:26
↓ 9 callers
Method
create
Mock the create() method that returns tool calls
agent-governance-python/agent-os/modules/control-plane/tests/test_adapter.py:69
↓ 9 callers
Method
create_session_async
( self, agent_id: str, policy: Any | None = None, config: SandboxConfig | None
agent-governance-python/agent-sandbox/src/agent_sandbox/sandbox_provider.py:206
↓ 9 callers
Function
create_sidecar
Factory function to create a sidecar proxy. Args: agent_url: URL of the backend agent (e.g., "http://localhost:8000") manife
agent-governance-python/agent-os/modules/iatp/iatp/sidecar/__init__.py:517
↓ 9 callers
Method
diff
Compare this policy with another, returning changed fields. Returns a dict mapping field names to (self_value, other_value) tuples fo
agent-governance-python/agent-os/src/agent_os/integrations/base.py:585
↓ 9 callers
Method
emit
(self, event: Event)
agent-governance-python/agent-mesh/src/agentmesh/events/bus.py:130
↓ 9 callers
Method
evaluate
Evaluate a policy check in dry-run mode. Runs the wrapped integration's pre_execute and records the decision without blockin
agent-governance-python/agent-os/src/agent_os/integrations/dry_run.py:81
↓ 9 callers
Function
evaluateDirectResourceAccess
(policy, context)
agent-governance-copilot-cli/assets/extensions/agt-global-policy/lib/policy.mjs:1038
↓ 9 callers
Method
evaluate_intervention_point
( self, intervention_point: InterventionPoint | str, snapshot: Mapping[str, JsonValue]
policy-engine/sdk/python/agent_control_specification/_orchestration.py:93
↓ 9 callers
Method
evaluate_intervention_point
(self, request)
policy-engine/sdk/python/tests/test_adapters.py:90
↓ 9 callers
Function
fetchAuditDetail
(p: DataProviders)
agent-governance-typescript/agent-os-vscode/src/webviews/sidebar/detailFetchers.ts:98
↓ 9 callers
Method
fromPath
( path: string, annotatorDispatcher?: AnnotatorDispatcher, policyDispatcher?: PolicyDispatcher,
policy-engine/sdk/node/src/index.ts:290
↓ 9 callers
Method
from_dict
Deserialize from dictionary.
agent-governance-python/agent-sre/src/agent_sre/replay/capture.py:103
↓ 9 callers
Method
from_json
Load a policy from a JSON string. Validates the ``apiVersion`` field against supported versions and emits deprecation warnings for ol
agent-governance-python/agent-mesh/src/agentmesh/governance/policy.py:377
↓ 9 callers
Method
from_jwk
Create an AgentIdentity from a JWK. Args: jwk: A dict representing a JWK with Ed25519 key material. Returns:
agent-governance-python/agent-mesh/src/agentmesh/identity/agent_id.py:375
↓ 9 callers
Method
generate
( self, *, prompt: str, out_dir: Path, tool_inventory: dict[str, dict[
policy-engine/generator/acs_generator/engine.py:44
↓ 9 callers
Method
generate
(self, task, context=None)
agent-governance-python/agent-os/modules/cmvk/tests/unit/test_agents.py:34
↓ 9 callers
Method
generateOneTimePreKeys
(count: number)
agent-governance-typescript/src/encryption/x3dh.ts:138
↓ 9 callers
Method
generate_one_time_pre_keys
Generate a batch of one-time pre-keys.
agent-governance-python/agent-mesh/src/agentmesh/encryption/x3dh.py:211
↓ 9 callers
Function
getAgents
()
agent-governance-python/agent-os/extensions/chrome/src/shared/storage.ts:41
↓ 9 callers
Method
get_agent_credits
Get credit balance for an agent.
agent-governance-python/agent-os/modules/nexus/escrow.py:279
↓ 9 callers
Method
get_applicable_policies
Get all policies applicable to a repo based on its tier.
agent-governance-python/agent-os/src/agent_os/github_enterprise.py:69
↓ 9 callers
Method
get_audit_summary
Get summary of tool usage.
agent-governance-python/agent-mesh/src/agentmesh/integrations/mcp/__init__.py:385
↓ 9 callers
Method
get_effective_capabilities
Get the effective capabilities at the end of the chain.
agent-governance-python/agent-mesh/src/agentmesh/identity/delegation.py:311
↓ 9 callers
Method
get_endorsements
Get all valid (non-expired) endorsements for an agent. Args: target_did: The agent DID to query endorsements for. end
agent-governance-python/agent-mesh/src/agentmesh/trust/endorsement.py:160
↓ 9 callers
Method
get_entries_by_type
Get the most recent entries of a given event type.
agent-governance-python/agent-mesh/src/agentmesh/governance/audit.py:563
↓ 9 callers
Function
get_output_format
Determine the output format from CLI arguments.
agent-governance-python/agent-os/src/agent_os/cli/output.py:88
↓ 9 callers
Method
get_rotation_proof
Return the most recent rotation proof. Raises: IdentityError: If no rotation has occurred yet.
agent-governance-python/agent-mesh/src/agentmesh/identity/rotation.py:123
↓ 9 callers
Method
get_session
(self, session_id: str)
agent-governance-python/agent-hypervisor/src/hypervisor/core.py:244
↓ 9 callers
Method
get_sli_snapshot
Get current SLI values for integration with SLO engine.
agent-governance-python/agent-sre/src/agent_sre/adapters/__init__.py:112
↓ 9 callers
Method
get_spans
Get all Flight Recorder entries as Lightning spans. Note: walks the full entry list every call. For polling loops prefer :me
agent-governance-python/agent-lightning/src/agent_lightning_gov/emitter.py:177
↓ 9 callers
Method
get_trace_logs
Retrieve all log entries for a given trace ID.
agent-governance-python/agent-os/modules/iatp/iatp/telemetry/__init__.py:134
↓ 9 callers
Method
get_usage
(self, agent_id: str)
agent-governance-python/agent-os/src/agent_os/context_budget.py:248
↓ 9 callers
Method
govern_step
Evaluate Cedar policy for a pipeline step and produce a signed receipt. Args: action: The pipeline action (e.g. LoadShard, RunInf
examples/pipeline-governance/demo.py:295
↓ 9 callers
Function
governanceMiddleware
(policy: GovernancePolicy)
agent-governance-python/agentmesh-integrations/mastra-agentmesh/src/governance.ts:32
↓ 9 callers
Function
governance_filter
Create a GovernanceFunctionFilter.
agent-governance-python/agent-os/tests/test_semantic_kernel_hooks.py:51
↓ 9 callers
Function
governed_call
Execute a tool call through the governance layer. Returns a mock result string on success, or None if blocked.
agent-governance-python/agent-os/examples/trading-governance/demo.py:324
↓ 9 callers
Function
guard_semantic_kernel_function
Guard a duck-typed Semantic Kernel KernelFunction.
policy-engine/sdk/python/agent_control_specification/_adapters/semantic_kernel.py:23
↓ 9 callers
Function
handleAgentRequest
( request: AgentRequest )
agent-governance-python/agentmesh-integrations/copilot-governance/src/agent.ts:129
↓ 9 callers
Method
happens_before
Return True if self causally precedes other. Clock A happens-before clock B iff every component of A is <= the corresponding componen
agent-governance-python/agent-hypervisor/src/hypervisor/session/vector_clock.py:55
↓ 9 callers
Function
info
(text)
agent-governance-python/agent-os/tutorials/langchain-5-minute-governance/demo.py:57
↓ 9 callers
Function
isLoopbackEndpoint
(endpoint: string)
agent-governance-typescript/agent-os-vscode/src/services/liveClient.ts:61
↓ 9 callers
Method
is_allowed
Check if the permission is allowed given the context. Args: context: The evaluation context Returns:
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/policy_engine.py:174
↓ 9 callers
Method
is_blocked
Check if a tool is in a block list after canonicalization. Args: tool_name: Tool name to check. blocked_tools: List o
agent-governance-python/agent-os/src/agent_os/integrations/tool_aliases.py:150
↓ 9 callers
Method
list_policies
List all loaded policy names. Returns: List of registered policy name strings.
agent-governance-python/agent-mesh/src/agentmesh/governance/policy.py:713
↓ 9 callers
Method
list_templates
List templates with optional filtering.
agent-governance-python/agent-sre/src/agent_sre/chaos/library.py:211
↓ 9 callers
Method
log
Log a message with structured context
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:2228
↓ 9 callers
Method
log
Log a query result.
agent-governance-python/agent-os/examples/sql-agent/main.py:276
↓ 9 callers
Function
makeClient
(overrides?: Partial<MeshClientOptions>)
agent-governance-typescript/tests/mesh-client-reconnect.test.ts:70
↓ 9 callers
Function
makeExtension
(handler, options)
policy-engine/sdk/node/test/ghcp.test.mjs:36
↓ 9 callers
Method
normalize
Normalize a raw signal into a standard ContextObject. Args: raw_signal: Raw signal data from the source
agent-governance-python/agent-os/examples/self-evaluating/src/universal_signal_bus.py:95
↓ 9 callers
Function
parse_args
Parse command line arguments.
agent-governance-python/agent-os/modules/mcp-kernel-server/src/mcp_kernel_server/cli.py:43
↓ 9 callers
Function
percentColor
(value: number, target: number)
agent-governance-typescript/agent-os-vscode/src/webviews/sidebar/healthColors.ts:11
↓ 9 callers
Function
print_section
Print a section header.
agent-governance-python/agent-os/examples/carbon-auditor/demo_audit.py:52
↓ 9 callers
Method
process
Assess rogue risk before allowing tool execution.
agent-governance-python/agent-os/src/agent_os/integrations/maf_adapter.py:948
↓ 9 callers
Method
publish_prekey_bundle
Generate and publish this agent's pre-key bundle. Args: include_otk: Whether to include a one-time pre-key. Returns:
agent-governance-python/agent-mesh/src/agentmesh/encryption/bridge.py:89
↓ 9 callers
Method
query
Return rows for *name* with timestamp >= *since* (thread-safe).
agent-governance-python/agent-sre/src/agent_sre/slo/persistence.py:78
↓ 9 callers
Method
reactivate
Reactivate a suspended sponsor. Raises: ValueError: If the sponsor has been permanently revoked.
agent-governance-python/agent-mesh/src/agentmesh/identity/sponsor.py:160
↓ 9 callers
Function
readJsonFile
(path, { allowComments = false } = {})
agent-governance-antigravity-cli/lib/cli.mjs:625
↓ 9 callers
Method
read_file
Read the content of a file. Args: path: Path of the file to read Returns: The f
agent-governance-python/agent-os/modules/caas/src/caas/vfs/filesystem.py:168
↓ 9 callers
Method
record
Record a tool call and return ``True`` if it is a violation.
agent-governance-python/agent-sre/src/agent_sre/anomaly/rogue_detector.py:272
↓ 9 callers
Method
record_exception
Record an exception.
agent-governance-python/agent-os/modules/observability/src/agent_os_observability/tracer.py:204
↓ 9 callers
Method
record_handshake
Record a handshake with its duration and result. Args: duration_seconds: Handshake latency in seconds. result: Outcom
agent-governance-python/agent-mesh/src/agentmesh/observability/metrics.py:282
↓ 9 callers
Function
record_interaction
Record an interaction outcome to update trust scores. Valid outcomes: ``success``, ``failure``, ``timeout``, ``partial``. Positive outcomes r
agent-governance-python/agent-mesh/packages/mcp-trust-server/src/mcp_trust_server/server.py:329
↓ 9 callers
Method
register
Register a new sponsor. Args: sponsor: The HumanSponsor to register. Raises: ValueError: If a sponsor with t
agent-governance-python/agent-mesh/src/agentmesh/identity/sponsor.py:182
↓ 9 callers
Method
register
Register a new agent on Nexus. Args: manifest: Complete agent manifest signature: Ed25519 signature
agent-governance-python/agent-os/modules/nexus/registry.py:86
↓ 9 callers
Method
register
Register a schema for a topic. Args: topic: Topic pattern to register schema for schema: Schema spec
agent-governance-python/agent-os/modules/amb/amb_core/schema.py:190
↓ 9 callers
Method
register_agent
Register an agent with its termination callback.
agent-governance-python/agent-hypervisor/src/hypervisor/security/kill_switch.py:98
↓ 9 callers
Method
register_agent
Register a new agent with proof-of-possession.
agent-governance-python/agent-mesh/src/agentmesh/registry/app.py:178
↓ 9 callers
Method
release_read
(self)
agent-governance-python/agent-mesh/src/agentmesh/governance/async_policy_evaluator.py:109
↓ 9 callers
Method
requires_approval
Check if an action requires human approval per policy.
agent-governance-python/agent-os/src/agent_os/escalation.py:139
↓ 9 callers
Method
revoke
Revoke a credential and notify registered callbacks. Propagation target: ≤5 seconds to all systems. Args: credential_id:
agent-governance-python/agent-mesh/src/agentmesh/identity/credentials.py:353
↓ 9 callers
Function
runModelStream
( control: RunnableControl, request: JsonValue, execute: (request: JsonValue) => Promise<StreamInput> |
policy-engine/sdk/node/src/streaming.ts:92
↓ 9 callers
Method
search
Search plugins by name or description substring. Args: query: Case-insensitive search string. Returns: List
agent-governance-python/agent-mesh/src/agentmesh/marketplace/registry.py:117
↓ 9 callers
Method
select_for_task
Select agents capable and trusted enough for a task. Returns agents sorted by trust score (highest first).
agent-governance-python/agentmesh-integrations/crewai-agentmesh/crewai_agentmesh/trust.py:219
← previous
next →
1,401–1,500 of 32,326, ranked by callers