Policies for Agents (P4A)
Now supporting PDK 1.8+

Deploy policies for Agentic AI at scale

The community marketplace for MuleSoft Omni Gateway policies and API Governance rulesets. Enforce rules on agent and API traffic at runtime, and check API specs before they ship.

Policies for Agents (P4A)
222
Global Users
64
Connected Organizations
371
Deployments
59
Available Policies
2
Available Rulesets
56
Submitted Ideas

Features

Everything you need to discover, deploy, and manage custom policies for MuleSoft Omni Gateway.

Build a policy with P4A

Drive the whole contributor workflow with Claude Code — install our skills, then write, validate, and submit your PDK policy.

1

Install the Claude Code skills

Clone or symlink our PDK skills into ~/.claude/skills so Claude Code can coach you through the whole workflow.

PDK Skills repo
2

Write & test your policy

Follow the PDK reference for idiomatic Rust policy code and local testing.

PDK Docs
3

Validate the build

Use the MuleSoft Developer Hub to validate the toolchain and build artifacts.

Developer Hub
4

Submit to P4A

Submit your public GitHub repo; we validate it and build it through our pipeline.

Submitting a policy

Policies

Browse our curated collection of policies for MuleSoft AI Gateway. Each policy is validated and ready for deployment.

Rulesets

API Governance rulesets check your API and agent specs at design time, before anything reaches the gateway. Reuse what the community has written, or share your own.

MCP Server Safety

MCP

Checks that an MCP server's manifest declares how clients authenticate, what each tool does to the world, and that tool inputs reject undeclared fields, so gateways and agents can call it safely. Four rules: two…

2violations2warnings
MCP

MCP Server Usability

MCP

Checks that an MCP server's tools, resources and prompts are named and described well enough for an agent to pick the right one and call it correctly. Eight rules: one violation, six warnings and one informational…

1violation6warnings1info
MCP

Ideas

Policies the community wants next. Vote on the ideas you need or propose your own.

Leaderboards

What the community values most — the most-liked policies and rulesets and the most-voted ideas.

Top Rulesets
Ranked by likes
Top Contributors
Ranked by contribution points

Sign up to see top contributors

Testimonials

What the community says about building and shipping policies with P4A.

Be the first to share a testimonial

Sign up and tell the community what P4A has done for you.

Sign up to share

Sign up to unlock the full P4A

Browse every policy, deploy and install on your Anypoint org, vote on ideas, and propose new ones — built for any API, agent, MCP, or LLM. Free account.