Skip to main content
Marshal logo

Marshal — an agent ledger

PyPI Python Tests License

A vendor-neutral, open-source ledger for enterprise AI agents. Any format in, any format out, with versions, diffs, portability and audit across every platform.

Live demo · Documentation · Getting started

Marshal reads the agent definitions teams already produce: Databricks bundles, Copilot Studio agents, Bedrock templates, Agentforce metadata, agent code and the open standards. It builds a normalized, versioned record of every agent: what model it asks for, what tools and data it can reach, and who it acts as. Every field says where its value came from, and nothing is guessed.

A walk through the Marshal web view: the inventory of 29 public agents, a Copilot Studio agent in drift whose tool was switched to the maker's credentials, a proposed change that adds a refund function, and the agents that share an Apex action

Status: alpha. Before 1.0 a minor release may change the ledger model, the ingest API or the command line; the changelog lists each such change.

What it does

  • Inventory of every agent across platforms, with versions, deployments, and each record's completeness.
  • Risk-ranked review: pull requests that change an agent get a comment that lists permission escalations, new write tools and removed guardrails first.
  • Drift and freshness: compares what is live with what was shipped, and shows how recently each record was confirmed and by which channel.
  • Dependencies: "who uses this tool, this knowledge source, this permission?" Refs on other platforms that reach the same HTTP operation, MCP server, knowledge URL or API host are listed too, each with how it matched.
  • Translation between formats, with a fidelity report computed by reading the result back.
  • Portability scores for moving an agent to another platform, from a community-maintained capability matrix.

Easy to approve

Most tools that touch AI agents raise questions in a security review. Marshal is built so it doesn't:

  • It runs inside your network. You host it, on your own database. There is no Marshal cloud service, so the agent definitions, instructions and permissions it records never go to a vendor. The service's only outbound requests fetch your CI provider's public signing keys.
  • It uses no AI. Marshal reads definitions with ordinary parsers and fixed, documented rules. It never sends your agents' instructions, tools or permissions to a language model, so there is no AI system to evaluate before you approve it.
  • It needs no platform credentials. Your existing CI pipelines push definitions to Marshal, signed in with their own short-lived OIDC tokens. Marshal never connects to Copilot Studio, Bedrock or any other platform where your agents live, so it holds no keys to them.

The security review covers what Marshal stores, what it connects to, and how releases are signed.

How it runs

How Marshal runs: agent definitions in repositories and web designers reach your CI pipelines, which push proposed, shipped and observed events to Marshal's ingest API with their OIDC token. Marshal records them in the ledger, and teams see risk-ranked pull request comments, the web view and the CLI. Marshal never connects to an agent platform.

Pipelines you already run record each agent: a pull request records the proposed definition and gets a comment ranking its changes, a deploy records what was shipped, and an optional scheduled export records what is live in a web designer. See the GitHub Action, GitLab CI, Jenkins and Azure DevOps and Deployment.

Formats

Source Read Write Writer tested by
Databricks Asset Bundles (Genie spaces, agent apps) ✓
AWS CloudFormation and CDK (Bedrock Agents, AgentCore) ✓ Bedrock Agents cfn-lint; deployed to Bedrock
Terraform plan and state (Bedrock Agents, AgentCore; AWS and Cloud Control providers) ✓
Microsoft Copilot Studio (agent workspaces, solutions) ✓ ✓ published schema, partly
Salesforce Agentforce (Agent Script, legacy metadata) ✓ Agent Script round trip
Google ADK Agent Config ✓ ✓ published schema; loads in ADK
Vertex AI Agent Engine (saved API responses) inventory
Python agent code (OpenAI Agents SDK, LangChain/LangGraph, Google ADK, CrewAI, direct model API calls) ✓
ADL, Open Agent Spec, AGNTCY OASF ✓ ✓ round trip; published schema for ADL and Agent Spec
Marshal file: a hand-written definition for agents no reader covers, recorded as attested ✓ ✓ round trip

Readers are tested against real, public definitions, pinned to a commit. Only the Bedrock writer's output has been deployed to its platform so far; see how each format is verified.

Try it

Browse the live demo, or build it yourself from 29 public agents, with nothing to install but uv:

$ uvx --from 'marshal-ledger[server]' marshal demo
$ uvx --from 'marshal-ledger[server]' marshal web --db demo.sqlite

Or pip install 'marshal-ledger[server]', then marshal demo and marshal web --db demo.sqlite. marshal demo downloads the agents' definitions from their public GitHub repositories, pinned to a commit.

Then on your own agents. See Getting started:

$ marshal read path/to/bundle                        # print ledger records
$ marshal collect path/to/bundle --target prod --event shipped
$ marshal ls                                         # every agent, latest version, where it is shipped
$ marshal diff my-team/my_agent                      # proposed against shipped, ranked by risk
$ marshal status my-team/my_agent                    # shipped vs live per environment, drift, freshness
$ marshal deps "*my_tool" --shipped                  # who depends on this, and where it is live
$ marshal convert agent.adl.yaml --to agent-spec     # translate, with a fidelity report
$ marshal port my-team/my_agent --to all             # portability to every platform
$ marshal web                                        # browse the store

collect writes to a local SQLite store (marshal.sqlite, or --db / $MARSHAL_DB). In a shared deployment, pipelines run marshal push, the GitHub Action or the GitLab CI template against the ingest API. Optional scheduled workflows export agents built in a web designer, such as Copilot Studio and Agentforce, and report drift from what was shipped.

Documentation

The documentation is published at marshal-ledger.github.io/marshal.

Development

$ pip install -e '.[dev]'
$ python scripts/fetch_fixtures.py     # golden fixtures: real public agent definitions, pinned by commit
$ pytest

See Contributing. Golden fixtures are fetched rather than committed, so each file stays under its upstream license. After changing the model, regenerate the schema with python scripts/generate_schema.py. Report vulnerabilities as described in Security.

License

Marshal is licensed under the Apache License 2.0.

Metadata

Release files for marshal-ledger 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marshal-ledger 0.7.1
File Size Uploaded Provenance Actions
marshal_ledger-0.7.1.tar.gz 405.1 kB With provenance Details for marshal_ledger-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for marshal-ledger 0.7.1
File Interpreter ABI Platform Actions
marshal_ledger-0.7.1-py3-none-any.whl Python 3 none any Details for marshal_ledger-0.7.1-py3-none-any.whl

Total release size: 620.5 kB

Release files / marshal_ledger-0.7.1.tar.gz

Download URL marshal_ledger-0.7.1.tar.gz
Size 405.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4048063e144202f9162988c295ca489326dbee6f4c79432e2ecc2c7cf1beaac2
BLAKE2b-256 checksum
How to use checksums
1c0c8d2595b6d965afd2bd0f4e0ed8950267bc7dc934700dd85b592a2b25168d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / marshal_ledger-0.7.1-py3-none-any.whl

Download URL marshal_ledger-0.7.1-py3-none-any.whl
Size 215.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72a3fdb8263f63568508ccbf02f4dea495cbdaf85e5792c20455cd3889a31a63
BLAKE2b-256 checksum
How to use checksums
fbb0450afbb63056b86d10341bffe87d6c22e4549c33c4d974b62931169ccb72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for marshal-ledger 0.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for marshal_ledger-0.7.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page