MCPcopy Create free account

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

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

Methodpurge_queue
Purge all messages from the queue.
agent-governance-python/agent-os/modules/amb/amb_core/adapters/aws_sqs_broker.py:370
Methodpurged_session_count
(self)
agent-governance-python/agent-hypervisor/src/hypervisor/audit/gc.py:98
Functionpush_dataset_to_hub
Push a dataset folder to Hugging Face Hub. Creates the repository if it doesn't exist and uploads the data. Args: data_path: Path to
agent-governance-python/agent-os/modules/caas/src/caas/hf_utils.py:440
Functionpush_experiment_results
Push experiment results to Hugging Face Hub. This is useful for tracking experiment runs and sharing reproducible results with the r
agent-governance-python/agent-os/modules/emk/emk/hf_utils.py:200
Methodpush_logs
Push message logs to the repository. Args: messages: List of message dictionaries. split: Dataset split name
agent-governance-python/agent-os/modules/amb/amb_core/hf_utils.py:515
Functionpush_to_hub
Generic utility to push JSON data to Hugging Face Hub. Args: repo_id: The Hugging Face repo ID. data: Dictionary to serialize as
agent-governance-python/agent-os/modules/atr/atr/hf_utils.py:392
Methodput_agent
(self, record: AgentRecord)
agent-governance-python/agent-mesh/src/agentmesh/registry/store.py:122
Methodquarantine_count
(self)
agent-governance-python/agent-hypervisor/src/hypervisor/liability/quarantine.py:118
Methodqueries
(self)
agent-governance-python/agent-sre/src/agent_sre/integrations/llamaindex/handler.py:336
Methodquery
( self, query: str, runtime: FunctionsRuntime, env=EmptyEnv(), message
policy-engine/benchmarks/agentdojo/acs_agentdojo_bench/pipeline.py:79
Methodquery
( self, query: str, runtime: FunctionsRuntime, env=EmptyEnv(), message
policy-engine/benchmarks/agentdojo/acs_agentdojo_bench/pipeline.py:175
Methodquery
Governed query.
agent-governance-python/agent-os/src/agent_os/integrations/llamaindex_adapter.py:293
Methodquery
(self, query: str, **kwargs: Any)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:36
Methodquery
(self, query: str, **kwargs: Any)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:108
Methodquery
(self, query: str, **kwargs: Any)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:292
Methodquery
(self, query: str, **kwargs: Any)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:323
Methodquery
(self, query: str, **kwargs: Any)
agent-governance-python/agent-rag-governance/tests/test_llamaindex.py:377
Methodquery_by_agent
(self, agent_id: str, start: datetime, end: datetime)
examples/decision-bom/decision_bom_demo.py:33
Methodquery_by_agent
(self, agent_id, start, end)
agent-governance-python/agent-mesh/tests/test_decision_bom_hardened.py:33
Methodquery_by_trace
(self, trace_id: str)
examples/decision-bom/decision_bom_demo.py:30
Methodquery_by_trace
(self, trace_id: str)
agent-governance-python/agent-mesh/tests/test_decision_bom.py:30
Methodquery_by_trace
(self, trace_id)
agent-governance-python/agent-mesh/tests/test_decision_bom_hardened.py:30
Functionquery_database
Execute a read-only SQL query. Requires trust >= 800, db_query capability, rate-limited to 10/min. Args: sql: The SQL query to execute (r
examples/mcp-trust-verified-server/server.py:167
Functionquery_entries
Query audit entries by agent DID or event type.
agent-governance-python/agent-mesh/src/agentmesh/server/audit_collector.py:150
Functionquery_events
Query events with optional filters.
agent-governance-python/agent-hypervisor/src/hypervisor/api/server.py:642
Functionqueue
(*sandbox_clients)
agent-governance-python/agent-sandbox/tests/test_azure_sandbox.py:175
Methodqueue_slash_event
Queue a slash event for broadcast.
agent-governance-python/agent-os/services/cloud-board/workers/reputation_sync.py:133
Functionraise_dispute
Raise a dispute on an escrow. Only escrows in an open state (``pending``, ``active``, ``awaiting_validation``) may be transitioned to ``dispu
agent-governance-python/agent-os/services/cloud-board/api/routes/escrow.py:306
Methodraise_func
()
agent-governance-python/agent-os/tests/test_sandbox.py:308
Methodraising
(intervention_point, result)
policy-engine/sdk/python/tests/test_escalation.py:88
Methodrate
Alias for ``refill_rate`` for callers that prefer ``rate`` terminology.
agent-governance-python/agent-os/src/agent_os/policies/rate_limiting.py:52
FunctionrateLimit
(req: Request, res: Response, next: NextFunction)
agent-governance-python/agent-mesh/services/api/src/middleware/rateLimit.ts:15
Functionrate_limit_policy
()
agent-governance-python/agent-mesh/tests/test_multi_agent_policy.py:30
Methodrate_limit_policy
Get the rate limit policy if set.
agent-governance-python/agent-os/modules/atr/atr/schema.py:178
Methodre_emit_on_first
(event: HypervisorEvent)
agent-governance-python/agent-hypervisor/tests/unit/test_observability.py:306
Methodreactivate
Reactivate a suspended identity. Args: override_reason: If True, bypass the security-suspension guard. Must be ex
agent-governance-python/agent-mesh/src/agentmesh/identity/agent_id.py:316
Methodread
Read file contents.
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/vfs.py:127
Methodread
(self, path: str)
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/vfs.py:175
Methodread
(self, path: str)
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/vfs.py:612
FunctionreadResource
(request)
policy-engine/sdk/node/test/adapters.test.mjs:397
Functionread_base_blob
Return the contents of *path* at *base_ref*, or None if it didn't exist.
scripts/check_lockfile_integrity.py:717
Functionread_file
Read a file by path. Requires minimum trust score of 300. Args: path: File path to read. agent_did: The calling agent's DID (e.g.
examples/mcp-trust-verified-server/server.py:133
Functionread_file
Read a file from disk.
agent-governance-python/agent-os/modules/atr/examples/demo.py:33
Methodread_file
Read a file's contents. Args: path: Path to file (must be within sandbox) encoding: File encoding (d
agent-governance-python/agent-os/modules/atr/atr/tools/safe/file_reader.py:146
Methodread_file
(path: str)
agent-governance-python/agent-os/examples/crewai-safe-mode/langchain_safe_mode.py:226
Methodread_lines
Read specific lines from a file. Args: path: Path to file start_line: First line to read (1-indexed)
agent-governance-python/agent-os/modules/atr/atr/tools/safe/file_reader.py:209
Methodread_mute
(step: ActionStep)
agent-governance-python/agent-os/tests/test_mute_primitives.py:225
Methodread_only_mute
(step: ActionStep)
agent-governance-python/agent-os/tests/test_mute_primitives.py:174
Functionread_vfs_file
Read a file from the Virtual File System. Agents can read files created or modified by other agents, ensuring shared visibility of p
agent-governance-python/agent-os/modules/caas/src/caas/api/server.py:1267
Functionreader
()
agent-governance-python/agent-os/src/agent_os/cli/mcp_scan.py:1331
Methodreader
()
agent-governance-python/agent-marketplace/tests/test_registry_concurrency_and_dup_check.py:173
Methodreader_a
()
agent-governance-python/agent-mesh/tests/test_async_policy_evaluator.py:210
Methodreader_b
()
agent-governance-python/agent-mesh/tests/test_async_policy_evaluator.py:219
Methodreadiness_check
(self)
agent-governance-python/agent-os/modules/control-plane/tests/test_lifecycle.py:111
Methodreadiness_check
Check if agent is ready to process requests
agent-governance-python/agent-os/modules/control-plane/examples/lifecycle_demo.py:89
Methodreadiness_check
(self)
agent-governance-python/agent-os/modules/control-plane/examples/lifecycle_demo.py:159
Methodreadiness_check
(self)
agent-governance-python/agent-os/modules/control-plane/examples/lifecycle_demo.py:181
Functionready
Readiness probe. Reports loaded policy count.
agent-governance-python/agent-mesh/src/agentmesh/server/sidecar.py:60
Functionready
()
agent-governance-python/agent-os/modules/observability/src/agent_os_observability/server.py:194
Functionready
Readiness probe.
agent-governance-python/agent-os/src/agent_os/server/app.py:443
Functionreadyz
Kubernetes-style readiness probe.
agent-governance-python/agent-mesh/src/agentmesh/server/sidecar.py:74
Functionreadyz
()
agent-governance-python/agent-mesh/src/agentmesh/server/__init__.py:44
Functionreal_call
()
examples/demos/maf_governance_demo.py:927
Functionreal_call
()
examples/crewai-governed/crewai_governance_demo.py:519
Functionreal_file_delete
Actually delete a file.
agent-governance-python/agent-os/examples/copilot_governed.py:49
Functionreal_file_exists
Check if file exists.
agent-governance-python/agent-os/examples/copilot_governed.py:64
Functionreal_file_list
Actually list directory contents.
agent-governance-python/agent-os/examples/copilot_governed.py:57
Functionreal_file_mkdir
Create directory.
agent-governance-python/agent-os/examples/copilot_governed.py:69
Functionreal_file_read
Actually read a file from disk.
agent-governance-python/agent-os/examples/copilot_governed.py:34
Functionreal_file_write
Actually write content to a file.
agent-governance-python/agent-os/examples/copilot_governed.py:40
Functionreal_llm_call
()
examples/demos/maf_governance_demo.py:491
Methodreason
(self)
agent-governance-python/agent-os/src/agent_os/integrations/_v5_runtime_bridge.py:96
Methodreason
Return the reason from whichever stage blocked the call.
agent-governance-python/agent-os/src/agent_os/integrations/agentshield_adapter.py:181
Methodreasoning_ratio
(self)
agent-governance-python/agent-os/src/agent_os/context_budget.py:51
Methodrecall
(self)
agent-governance-python/agent-os/benchmarks/injection_benchmark.py:266
Methodreceive
()
policy-engine/sdk/python/tests/test_real_packages.py:657
Methodreceive
Decrypt a received message. Args: message: The encrypted message from the peer. Returns: Decrypted plaintext
agent-governance-python/agent-mesh/src/agentmesh/encryption/channel.py:160
Methodreceive
Receive a message from the pipe.
agent-governance-python/agent-os/modules/iatp/iatp/ipc_pipes.py:130
Methodreceive_heartbeat
Receive a heartbeat from the leader
agent-governance-python/agent-os/modules/control-plane/src/agent_control_plane/lifecycle.py:1420
Functionreconcile
Reconcile discovered agents against governance registry.
agent-governance-python/agent-discovery/src/agent_discovery/cli/main.py:214
Functionrecord
* Record an audit entry with hash chain integrity.
agent-governance-python/agentmesh-integrations/mastra-agentmesh/src/audit.ts:46
Methodrecord
(event: MetricEvent)
agent-governance-typescript/tests/metrics.test.ts:17
Methodrecord
(self, entry: AuditEntry)
examples/data-quality-aware-governance/example.py:133
Methodrecord
(self, *args, **kwargs)
agent-governance-python/agent-mesh/src/agentmesh/telemetry.py:237
Methodrecord
Record a request.
agent-governance-python/agent-os/modules/atr/atr/tools/safe/http_client.py:41
Methodrecord
Persist a structured audit *entry*.
agent-governance-python/agent-os/src/agent_os/mcp_protocols.py:56
Methodrecord
(self, entry: dict[str, Any])
agent-governance-python/agent-os/src/agent_os/mcp_protocols.py:155
Methodrecord
(self, *, agent_id: str, role: str, tool: str, raw_input: str, decision: str, reason: str)
agent-governance-python/agent-os/examples/crewai-governance/demo.py:132
Methodrecord
Record a measurement value.
agent-governance-python/agent-sre/src/agent_sre/slo/indicators.py:81
MethodrecordApproval
* Record an approval decision.
agent-governance-python/agent-os/extensions/mcp-server/src/services/approval-workflow.ts:173
MethodrecordEvent
(good: boolean, timestampMs: number = Date.now())
agent-governance-typescript/src/metrics.ts:219
MethodrecordFailure
* Record a failed call between agents. May trigger containment actions.
agent-governance-typescript/src/cascade-containment.ts:167
MethodrecordSuccess
* Record a successful call between agents.
agent-governance-typescript/src/cascade-containment.ts:151
MethodrecordViolation
()
agent-governance-typescript/agent-os-vscode/src/views/kernelDebuggerView.ts:307
Methodrecord_actions
(agent_id: str)
agent-governance-python/agent-mesh/tests/test_multi_agent_policy_hardened.py:204
Methodrecord_activity
Record that an agent was seen (heartbeat). Args: did: Agent's DID
agent-governance-python/agent-mesh/src/agentmesh/services/registry/agent_registry.py:171
Methodrecord_cmvk_model_response
Record individual model response in CMVK.
agent-governance-python/agent-os/modules/observability/src/agent_os_observability/metrics.py:318
Functionrecord_cost
Record a cost event.
agent-governance-python/agent-sre/src/agent_sre/api/server.py:359
Methodrecord_cost
Record cost data as an evaluation. Args: trace_id: Trace identifier agent_id: Agent identifier cost_usd:
agent-governance-python/agent-sre/src/agent_sre/integrations/braintrust/exporter.py:230
Methodrecord_cost
Record a cost event. Args: agent_id: Agent identifier cost_usd: Cost in USD for this event avg_per_task:
agent-governance-python/agent-sre/src/agent_sre/integrations/otel/metrics.py:221
← previousnext →15,801–15,900 of 32,326, ranked by callers