Observed since 20 Oct, 22:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Example adapter from AgentMesh AuditEntry output to an external accountability export shape
This integration is a small example adapter for mapping real AgentMesh
AuditEntry / AuditService output into a smallest-stable external
accountability export shape.
It follows the interoperability discussion in issue #1314 and the docs-only note merged in PR #1319.
The adapter treats AGT audit output as upstream runtime-governance evidence and emits a compact downstream accountability shape with:
The EEOAP mapping function is an external mapping example. It does not import an external validator and does not imply official AGT runtime support for EEOAP.
AuditEntry / AuditService contract changesagt verify --evidenceAuditService output
-> AuditEntry
-> external accountability export shape
-> EEOAP mapping example
from agentmesh.services.audit import AuditService
from audit_accountability_export import (
accountability_export_to_eeoap_statement,
audit_entry_to_accountability_export,
)
audit = AuditService()
entry = audit.log_policy_decision(
"did:mesh:research-agent",
"metadata.enrich",
decision="allow",
policy_name="approved-metadata-policy",
data={
"subject_ref": "urn:demo:client-note-001",
"input_refs": ["urn:demo:client-note-001"],
"output_refs": ["urn:demo:client-note-001-derived"],
},
)
export = audit_entry_to_accountability_export(entry)
statement = accountability_export_to_eeoap_statement(export)
{
"export_type": "agt.audit_entry.external_accountability_export",
"export_version": "0.1",
"actor_ref": "...",
"subject_ref": "...",
"operation": "...",
"policy_digest": "...",
"decision": "...",
"occurred_at": "...",
"input_refs": [],
"output_refs": [],
"evidence_refs": []
}
Exported data may include values derived from AuditEntry.data. Review and
redact sensitive fields before sharing externally. This example is intended to
demonstrate a smallest-stable external accountability export shape, not to
define a blanket-safe export for all audit records.
From the repository root:
pip install .[dev]
PYTHONPATH=agent-governance-python/agent-mesh/src:agent-governance-python/agentmesh-integrations/audit-accountability-export \
python -m pytest agent-governance-python/agentmesh-integrations/audit-accountability-export/tests -q
PYTHONPATH=agent-governance-python/agent-mesh/src:agent-governance-python/agentmesh-integrations/audit-accountability-export \
python agent-governance-python/agentmesh-integrations/audit-accountability-export/examples/basic_auditservice_export.py
The tests create real AuditService entries and use the returned AuditEntry
objects as the source. They do not rely on static synthetic fixtures.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 3.7.0 | 19 May 2026 | 1 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:64a09effa8a2c42e2b3db600c67dc76d96782698c8cb4a6e84a6d4688c49a712