Skip to content

Agent Mesh

845 B
Raw Blame
{
  "roles": [
    {
      "name": "mesh:role:node",
      "allowed_services": [
        "system://mesh.catalog",
        "a2a://support.acme",
        "inference://office-llm",
        "mcp://orders-db",
        "egress://api.github.com"
      ],
      "allowed_publish": ["a2a://support.acme", "inference://office-llm", "mcp://orders-db"],
      "allowed_targets": ["*"],
      "allowed_labels": [
        "env=staging",
        "team=support",
        "team=contractor",
        "site=office",
        "replica=*"
      ],
      "http": [
        {
          "service": "egress://api.github.com",
          "methods": ["GET"],
          "paths": ["/repos/google/agentmesh/pulls*"]
        }
      ]
    }
  ],
  "egress": [
    {
      "name": "api.github.com",
      "credential": "github-ro",
      "served_by": ["site=office"]
    }
  ]
}