Skip to main content
Integrations · Ably
A Guild agent can create, update, delete, and inspect Ably applications, API keys, namespaces, queues, and Reactor rules on your behalf. Guild stores your Ably API key server-side and injects it as a bearer token, so agent code never sees the credential. Credential policies let you restrict which operations each agent may call, and every request is auditable through Guild’s credential proxy.

Book a demo

See how teams govern agents that use Ably.

Talk to sales

Get access to Guild, then connect Ably to your first agent.

What the Ably integration exposes

The integration provides tools that map to the Ably Control REST API at control.ably.net/v1. Tools cover application lifecycle, API key management and revocation, namespace and queue administration, Reactor rule configuration, APNs push notification settings, and account and token inspection. Each tool is prefixed ably_ and can be selected individually with pick() from the SDK tools.

How it works

1

Open credentials and connect

In Guild, go to Access & setup > Credentials, click Connect, and select ably. Paste your Ably Control API key into the API Key field.
2

Scope the credential

By default the credential serves every workspace the account owns. See Credentials to scope it to one workspace, one member, or a single agent.
3

Add tools to your agent

Import AblyTools from @guildai-services/guildai~ably and spread it into your agent’s tools object. Use pick() to include only the tools your agent needs.

Why Ably access needs governing

Ably API keys can create and delete applications, revoke other keys, and configure Reactor rules that forward messages to external endpoints. An agent with unrestricted access to these operations could disrupt live channels or expose data. Guild’s credential policies let you write ALLOW and DENY rules that the credential proxy enforces before any request leaves Guild, limiting agents to specific ably_ operations or HTTP methods. Credentials are injected server-side by Guild’s proxy, so agent code never reads the key directly. You can scope a credential to one workspace, one member, or a single agent using Credentials, and you can grant or revoke access at any time without redeploying agent code. Teams that share one Ably account but run agents in separate workspaces can restrict each workspace to its own scoped credential, keeping blast radius small.

About the Ably integration

Agents can create, update, and delete Ably applications, API keys, namespaces, queues, and Reactor rules. They can also retrieve account and app details, revoke keys, and update APNs push notification settings. The integration is guildai~ably.

Authentication

  • Type: API key
  • Header: Guild sends the key as a bearer token in the Authorization header

Setup

1

Connect Ably

In Guild, go to Access & setup > Credentials, click Connect, select ably, and paste the key into API Key.
See Credentials for workspace, member, and agent-scoped credentials.

Usage

Selecting specific tools

Tools are named with the ably_ prefix. Use pick() to include only what your agent needs.

Tools

Tools in the latest published version of guildai~ably:

Frequently asked questions

Yes. The ably_post_apps_by_app_id_keys_by_key_id_revoke tool revokes any API key by key ID and application ID, regardless of which process created it. Use a credential policy to restrict this operation to specific agents if needed.
No. The catalog entry lists no webhook events for this integration. Agents interact with Ably through Control API calls only; they do not receive inbound events from Ably.
Guild stores the key and sends it as a bearer token in the Authorization header server-side. Agent code never sees the credential; the key is injected only after the credential proxy checks the applicable credential policies.
Yes. Write a DENY rule targeting ably_delete_apps_by_id and an ALLOW rule for the Reactor rule operations, then scope both rules to that agent. Guild’s credential proxy enforces the rules before any request reaches Ably. See Credential policies for syntax.

Put a governed agent on Ably this week

Book a demo

See how teams govern agents that use Ably.

Talk to sales

Get access to Guild, then connect Ably to your first agent.
Also runs on Guild: Discord · Email · Gmail · SendGrid Read: Docs: Credential policies · Credentials · Tools in agents
Last modified on November 25, 2026