Integration · SMS and messaging
AI agents for Ably
Publish realtime messages to Ably channels (one or many at once), read a channel's message history and who is present on it, list active channels, send push notifications to a user's devices.
- Actions
- 8
- Read
- 5
- Write
- 3
Actions
What your agents can do in Ably
Publish realtime messages to Ably channels (one or many at once), read a channel's message history and who is present on it, list active channels, send push notifications to a user's devices, and read the app's usage stats.
Read 5
Look things up. Nothing changes.
Read a channel's history
Reads messages published on a channel, newest first by default, as result[]: each with id, name, data, clientId and timestamp (Unix milliseconds).
See who is on a channel
Lists the clients present on a channel right now, as result[]: each with clientId, connectionId, action and data (what the client shared about itself, like a status).
List active channels
Lists the names of channels that are active now, at result[], optionally only those starting with prefix.
Get a channel's status
Reads a channel's details: channelId, status.isActive and status.occupancy.metrics (connections, publishers, subscribers, presence members).
Get usage stats
Reads the app's usage statistics per minute, hour, day or month, newest first, as result[].
Write 3
Create, change or send.
Publish a message
Publishes one message on a channel; every client subscribed to the channel gets it at once.
Publish to several channels
Publishes the same message to up to 100 channels in one request.
Send a push notification
Sends a push notification straight to the devices registered with Ably for a client_id (all of that user's devices) or one device_id, with a title, body and optional key-value data for the app.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Enter the API credentials from your Ably account.
What you enter
- API key name (before the colon)
- API key secret (after the colon)
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Ably data
Ask a question in plain words. The agent can read a channel's history, see who is on a channel or list active channels in Ably, then answers with what it found.
- 02
Let an agent update Ably
Have the agent publish a message or publish to several channels in Ably as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Work from your CRM
Give one agent HubSpot and Ably: it can search contacts in HubSpot and publish a message in Ably in the same run.
FAQ
Ably and MyDeepAgents
Can MyDeepAgents connect to Ably?
Yes. The Ably connector has 8 actions: 5 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Ably?
Enter the API credentials from your Ably account. You'll need: API key name (before the colon) and API key secret (after the colon). Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Ably without asking?
Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs.
Can I use Ably in workflows as well as agents?
Yes. Every Ably action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Ably to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.