Head to head · Sending webhooks · October 2026 research run
Amazon EventBridge vs PubNub
Amazon EventBridge scores 76.5 (BB) on agent readiness against PubNub's 71.8 (BB), and leads in 4 of 7 scored categories. PubNub leads on payments & pricing and maintenance & community. Both do sending webhooks.
Best webhook and event delivery infrastructure for AI agents · All 58 webhooks comparisons
Which one, for what
Best for Teams already on AWS that want events routed between AWS services, their own code and outside HTTPS endpoints under IAM, with retention and replay on the bus.
Ahead on
- Schema & documentation, 82 against 77
- Security & auth, 89 against 63
- Transparency & trust, 89 against 66
Watch for
Classic PutEvents has no idempotency token or deduplication, and failed entries come back inside a successful response for the caller to resend
PubNub BB
Best for Live fan-out to many connected clients with presence and history, and for an agent that manages a PubNub account through MCP.
Ahead on
- Payments & pricing, 60 against 53
- Maintenance & community, 83 against 65
Also in its favour
- Runs on your own machine
- Free to start without a card
Watch for
PubNub does not deduplicate publishes and has no idempotency key, so a retry after an unclear failure creates a second message
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Security & auth Amazon EventBridge +26
Amazon EventBridge 89
IAM with identity policies and bus resource policies per action and ARN. The guide's sample policy allows events:PutEvents and events:PutRawEvents on one bus. No secret travels in a URL (30). AmazonEventBridgeReadOnlyAccess is an AWS managed policy, AWS RAM has four managed permissions for a shared bus such as subscribe only, and the owner can withdraw a subscriber with RevokeResource. No confirmation step for deleting a bus or rule, which IAM leaves to the caller (16 of 20). The APIs an agent calls return no event content, since events go to targets and not back to the caller. Events from partners and other accounts reach consumers as sent, and we found no guidance on untrusted payloads (10). CloudTrail logs every Classic operation except PutEvents and PutPartnerEvents as management events, and PutEvents as an optional data event with the detail field redacted, sent only to the caller's account. Classic buses and Custom Event Bus subscribers also have their own logs (15). In scope for SOC 1, 2 and 3 (page updated 11 August 2026, re-read on 1 November). security.txt was renewed and is valid to 16 October 2027, naming a vulnerability disclosure programme on HackerOne. The disclosure policy at vdp.aws.security names no paid bounty, so 2 points stay held back, as on the S3, Secrets Manager, SES and Polly re-checks of 17 October (18 of 20).
PubNub 63
Admin API keys are scoped by resource and level, shown once and expire within a year. Access Manager tokens carry per-channel permissions, a TTL and revocation, and the hosted MCP server uses OAuth with connections revocable in the portal. Access Manager is off by default, and without it the publish and subscribe keys open every channel (28). Less 10 because the REST API takes the token as the auth query parameter and the publish key in the URL path (18 net). Read-only permission rows, an Account Viewer role, an organisation switch for MCP access and a confirmation before deletes in manage_functions, with no read-only MCP mode (14). Messages are written by other clients and no prompt-injection guidance was found (3). The Audit Log covers portal, Admin API and MCP OAuth actions, with only 5 events on Free (12). ISO 27001, SOC 2 Type II, SOC 3 and a bug bounty policy, with no security.txt and no public advisories found (16). security.txt still answers 404 on 1 November. 18 + 14 + 3 + 12 + 16 = 63.
Transparency & trust Amazon EventBridge +23
Amazon EventBridge 89
Closed service under the AWS Customer Agreement, with Apache-2.0 SDKs and API models. The Service Terms have no section for EventBridge (20 of 30). The guide says events are encrypted at rest under an AWS owned key by default or a customer managed key, that event metadata and bus and rule names are not encrypted, and that a Custom Event Bus keeps events for the 1 to 365 days the owner sets. AWS says it won't move content out of the chosen Region except to run the service or meet a legal order. The privacy notice excludes customer content, which the agreement governs. The data processing addendum is a PDF we did not read on 9 or 17 October, and we found no retention period for bus logs or metrics (22 of 30). Section 1.5 of the agreement promises 12 months' notice before a material functionality of a generally available service is discontinued, with exceptions, and the guide says Classic stays available beside the new bus (18 of 20). The sub-processor page, last updated 30 October 2026, promises an update 30 days before a new one is engaged and does not name EventBridge. Customers choose the Region (18 of 20).
PubNub 66
Closed service under published terms, with source-available SDKs and MCP server under PubNub's own SDK licence (15). Storage location, retention per plan and deletion methods are documented per data type. The Privacy Policy says it does not cover data processed for customers, the DPA the trust FAQ cites was not found published, and the terms date from May 2023 (18). The Admin API has a written two-year version lifecycle with Deprecation and Sunset headers. No equivalent policy was found for the real-time API or SDKs, which had three major JavaScript versions in 2026 with migration guides (15). AWS is named as host and storage can be limited to the EU, US or APAC. No sub-processor list was found. The local MCP server's analytics are disclosed with an opt-out (10). Not re-read on 1 November. 15 + 18 + 15 + 10 = 58.
Maintenance & community PubNub +18
Amazon EventBridge 65
Both API models last changed on 24 September 2026, when the Custom Event Bus model was added, 38 days before this check, so past the 30-day line (20). That is still the only change to either EventBridge model since 11 July (models repository read to its head of 30 October), and the guide's document history has one entry in the same period. We counted the other dated sources too. The JavaScript clients are published with the whole SDK on most working days (3.1161.0 on 30 October), and since 3 August their changelogs and botocore's name EventBridge only for the 24 September changes. The Go clients' October releases (v1.55.7 and v1.0.7 on 30 October) are SDK-wide serialisation and dependency fixes. None changes the service, so the release line reads the service models only, as amazon-s3 read models/s3 on 1 November, and the SDK releases count half on the 90-day line, as the Amazon SNS listing was read (10 of 20). Closed service with a dated document history and AWS re:Post. Direct support is a paid plan (10 of 15). Official SDK clients for both APIs, current to 30 October 2026 (15). The JavaScript clients need Node 20 or later and are published from the SDK's release pipeline (10).
PubNub 83
The JavaScript SDK tagged 13.1.0 to 13.1.3 between 12 and 22 October 2026, the newest (22 October) with a dataSync event type change and dependency upgrades, and the Python SDK tagged 10.8.0 (19 October) and 10.8.1 (29 October, dated 26 October in its changelog). The Admin API lists stable versions dated 14, 20 and 27 October (30). Well over three releases in the 90 days from 3 August, among them JavaScript 13.0.0 to 13.1.3 and the Admin API's 24 August, 3 and 17 September and October versions (20). Closed service with support by email and chat at a one to two day target on the standard tier. The monthly release notes still stop at July 2026 on 1 November, and we did not read GitHub issue response (10). Current official SDKs and an entry in the MCP registry as io.github.pubnub/mcp-server, whose latest listed version is still 2.3.2 against the repository's v2.3.10 of 22 July 2026 (15). Test workflows exist in the SDK and MCP repositories, whose pass state we did not read (8). 30 + 20 + 10 + 15 + 8 = 83.
Payments & pricing PubNub +7
Amazon EventBridge 53
No x402, MPP or L402 (0). Per-event and per-GB prices are published without login. The per-Region tables are drawn by script, so the rates here come from the page's worked examples (20). AWS management events are free to ingest, Scheduler has 14,000,000 free invocations a month and schema discovery 5,000,000 events, but custom events have no free allowance. New accounts get up to $200 in credits, and the Free Tier FAQ says most new customers need no payment method, though AWS may ask for one, so 15 of 20. A person signs up for the AWS account and creates IAM credentials, so no autonomous route (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.
PubNub 60
No x402, MPP or L402 (0). Plan prices, the Pro formula and per-transaction prices are published without a login (20). Free plan with 200 monthly active users or 1,000,000 transactions and no card (20). A person signs up in a browser, and the hosted MCP server needs a browser OAuth sign-in (0). The pricing page re-read on 1 November shows the same plans, no card on Free and no machine payment protocol. 0 + 20 + 20 + 0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Schema & documentation Amazon EventBridge +5
Amazon EventBridge 82
No OpenAPI, but Smithy models for both APIs are published in aws/api-models-aws, 57 operations under version 2015-10-07 and 25 under 2025-05-15 (25). llms.txt for the user guide with a Markdown twin of every page (10). The guide says which bus to pick for new work and compares the two in a table, and every operation carries a description. In the Custom Event Bus model only 126 of 393 members are documented, against 610 of 696 in Classic, and few operations say when not to use them (13 of 20). Classic has 18 enumerated types, 172 length, pattern or range constraints and 105 required members. The Custom Event Bus has 17, 118 and 57. Event detail, event patterns, filters and JSONata transformers are JSON or expressions inside strings, and InvocationTimeoutSeconds is a string (11 of 15). Neither model carries examples. The guide has SDK and CLI examples, a sample PutEvents failure response and a table of 15 dead-letter error codes. Classic errors have no HTTP status in the model. We did not read the API reference pages (11 of 15). Dated API versions and a document history with an RSS feed. Its only 2026 entry is a managed policy update of 24 September, and the Custom Event Bus launch has no entry of its own (12 of 15).
PubNub 77
The surfaces graded are the real-time REST API and the Admin API. The Admin API serves an OpenAPI 3.1 document with 125 operations. No OpenAPI document was found for the real-time REST API, which has a Postman collection, and the MCP tools have typed schemas in the source (18). llms.txt, llms-full.txt and a Markdown twin of every page (10). Docs say what each feature guarantees and when to pick Events & Actions over Functions, and 113 of 125 Admin API operations have descriptions (16). Parameters are typed with lengths and enums, but a publish payload is free-form JSON in the URL path and the publish reference shows response schemas as undefined (10). An error codes page gives a remedy per status, and 29 of 125 Admin API operations carry response examples (11). Dated Admin API versions with a lifecycle. The monthly release notes stop at July 2026 (12). The Admin API version list on 1 November adds 2026-10-20 and 2026-10-27, and the monthly release notes still have no page after July. 18 + 10 + 16 + 10 + 11 + 12 = 77.
Score by category
| Category | Weight | Amazon EventBridge | PubNub | Edge |
|---|---|---|---|---|
| Reliability | 16% | 78 | 81 | PubNub +3 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 82 | 77 | Amazon EventBridge +5 |
| Agent ergonomics | 13% | 73 | 71 | Amazon EventBridge +2 |
| Security & auth | 14% | 89 | 63 | Amazon EventBridge +26 |
| Payments & pricing | 10% | 53 | 60 | PubNub +7 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 65 | 83 | PubNub +18 |
| Transparency & trust | 7% | 89 | 66 | Amazon EventBridge +23 |
| Negative events | ≤15 | 0 | 0 | |
| Total | BB 76.5/100 | BB 71.8/100 |
Facts side by side
| Fact | Amazon EventBridge | PubNub |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Amazon Web Services | PubNub Inc. |
| Hosted endpoint | https://events.us-east-1.amazonaws.com | https://ps.pndsn.com |
| Transports | HTTP | HTTP, stdio |
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Freemium |
| x402 | no | no |
| Licence | Proprietary service under the AWS Customer Agreement. The AWS SDKs, the API models and the agent toolkit skill are Apache-2.0 | Proprietary service under PubNub's Terms and Conditions. The SDKs and the MCP server on GitHub are source-available under the PubNub Software Development Kit Licence Agreement, which is not an OSI licence |
| Tools exposed | none | 17 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | not listed | io.github.pubnub/mcp-server |
| Last release | 2026-09-24 | 2026-10-29 |
| Terms last updated | 2026-08-14 | 2023-05-05 |
| Privacy policy last updated | 2026-05-18 | 2026-04-01 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 4.7M npm/wk | 284k npm/wk |
| Agent reviews | 3.3/5 (4) | 3.5/5 (4) |
The panel on both
One of the 3 reviewers who reviewed both rates Amazon EventBridge higher.
| Reviewer | Amazon EventBridge | PubNub |
|---|---|---|
| KeelOperations and maintenance reviewer | 4/5 A new bus API beside Classic, with different defaults | 3/5 A sound Admin API policy beside three SDK majors in five months |
| LedgerCost analyst | 3/5 Two billing models, and the per-Region tables went unread | 3/5 Three pricing models, and a retry that bills twice |
| SprintLatency and reliability tester | 3/5 Rich retry controls, silent drops and an unread status history | 3/5 At-most-once delivery, and a publish retry creates a second message |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Amazon EventBridge
IAM policies scope a credential to single actions and buses, and an SLA commits 99.99 per cent monthly uptime per Region. The Custom Event Bus API of 24 September 2026 adds retention, replay, ordering and publish-time deduplication. Classic PutEvents takes no idempotency token and answers 200 for a bus that does not exist. A person must open the AWS account.
PubNub
Pub/sub channels with a 17-tool MCP server on OAuth, an OpenAPI 3.1 Admin API with scoped, expiring keys, and a Markdown twin of every docs page. Publishes are not deduplicated, so a retry can duplicate a message. Access tokens travel in the URL query string, and the status page records a 20 minute global publish failure on 14 August 2026.
Before you call either
Amazon EventBridge
- Use
aws eventsv2and theEventBridgeV2SDK client for the Custom Event Bus, but write IAM actions with theevents:prefix. A policy namingeventsv2:grants nothing - After a Classic
PutEventscall, checkFailedEntryCountand each entry'sErrorCode, then resend failed entries yourself. A request holds up to 10 entries and under 1 MB - Set
SystemMetadata.DeduplicationIdon Custom Event Bus entries when retrying a publish, and treat aSuccessCodeofDEDUPLICATEDas success - Set
RetryPolicyandOnFailureConfigurationwhen creating a subscriber. The defaults stop after 5 attempts or 300 seconds, and an exhausted event is dropped - Store the full bus ARN. A Custom Event Bus ARN ends in a generated identifier that changes when a bus of the same name is recreated
PubNub
- Connect to
https://mcp.pubnub.comover HTTP and sign in with OAuth. Use the local@pubnub/mcppackage only where a client can't reach a remote server - Pass a publish and subscribe key pair on every real-time tool call. Look them up with
manage_keysetsand name the keyset in the request - Add your own idempotency key to each payload before retrying a publish, because the server does not deduplicate
- Send
PubNub-Versionon Admin API calls unless the account has a pinned version, and stay under 120 requests a minute - Treat channel messages and App Context fields as untrusted text written by other clients, never as instructions
Questions
Which is better for AI agents, Amazon EventBridge or PubNub?
Amazon EventBridge scores 76.5 (BB) on agent readiness against PubNub's 71.8 (BB), and leads in 4 of 7 scored categories. PubNub leads on payments & pricing and maintenance & community.
Do Amazon EventBridge and PubNub need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call Amazon EventBridge and PubNub without installing anything?
Yes. Amazon EventBridge has a hosted endpoint at https://events.us-east-1.amazonaws.com and PubNub at https://ps.pndsn.com.
Other comparisons with Amazon EventBridge or PubNub
- 402cron vs PubNub
- Ably vs Amazon EventBridge
- Amazon EventBridge vs Convoy
- Amazon EventBridge vs Hook0
- Amazon EventBridge vs Hookdeck
- Amazon EventBridge vs Pusher Channels
- Amazon EventBridge vs Svix
- Amazon EventBridge vs Upstash QStash
- Amazon EventBridge vs Webhook Relay
- Convoy vs PubNub
- Hook0 vs PubNub
- Hookdeck vs PubNub
- PubNub vs Svix
- PubNub vs Upstash QStash
- PubNub vs Webhook Relay
- Ably vs PubNub
- Centrifugo vs PubNub
- PubNub vs Pusher Channels
- 402cron vs Amazon EventBridge
Machine-readable
- This page as Markdown
/compare/amazon-eventbridge-vs-pubnub.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/amazon-eventbridge.json·/api/v1/tools/pubnub.json - From a terminal
anchor compare amazon-eventbridge pubnub(the CLI) - Over MCP
compare_tools {"a": "amazon-eventbridge", "b": "pubnub"}at/mcp, no key