Skip to content

Start building

Integration · Cloud and hosting

AI agents for Heroku

See Heroku apps, dynos, releases and builds, restart dynos, scale process types, roll back a release and switch maintenance mode, with a Heroku API token.

Actions
16
Read
10
Write
6

Actions

What your agents can do in Heroku

16 actions. Each one is a tool your agents can call and a step your workflows can run.

Read 10

Look things up. Nothing changes.

  • List apps

    Lists the Heroku apps the token can see (owned, team and collaborated), as result.

  • Get an app

    Reads one app by name or ID: its region, stack, build stack, team, owner, web address, Git URL, slug and repository size, whether maintenance mode is on, and when it was created.

  • List dynos

    Lists an app's running dynos as result: each with its ID, name (like web.1), process type, size, state (up, starting, crashed, idle, down), command, the release it runs.

  • List process types

    Lists an app's formation, its process types, as result: each with its type (like web), how many dynos it runs (quantity), the dyno size (dyno_size.name), the command, and when it was last updated.

  • List releases

    Lists an app's releases, newest first, as result: each with its ID, version number, status (succeeded, pending, failed), description.

  • Get a release

    Reads one release of an app by its version number or ID: status, description, whether it is current and can be rolled back to, the slug it runs, the add-on plans attached, who made it and when.

  • List builds

    Lists an app's builds, newest first, as result: each with its ID, status (pending, succeeded, failed), the source version.

  • Get a build

    Reads one build by ID: status, source version, buildpacks, stack, the slug and release it produced, and output_stream_url, the address of its build log.

  • List add-ons

    Lists an app's add-ons (databases, caches, logging and others) as result.

  • Get the signed-in account

    Reads the Heroku account the token belongs to: its ID, email, name, default team, whether two-factor authentication is on, and when it last signed in.

Write 6

Create, change or send.

  • Restart a dyno

    Restarts one dyno of an app by its name (like web.1 or worker.2) or ID.

  • Restart a process type

    Restarts every dyno of one process type of an app, like all web dynos.

  • Restart all dynos

    Restarts every dyno of an app (all process types), the API form of heroku ps:restart.

  • Scale a process type

    Sets how many dynos one process type runs, like 3 web dynos; 0 stops it.

  • Roll back to a release

    Rolls an app back to an earlier release by creating a new release that runs the old release's code and config.

  • Turn maintenance mode on or off

    Turns an app's maintenance mode on (visitors see a maintenance page and web requests are not served) or off.

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.

API key

Paste an API key from your Heroku account.

What you enter

  • API token

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.

How we protect your data

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 Heroku data

    Ask a question in plain words. The agent can list apps, get an app or list dynos in Heroku, then answers with what it found.

  • 02

    Let an agent update Heroku

    Have the agent restart a dyno or restart a process type in Heroku as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Heroku and Slack: it can list apps in Heroku and post a summary to a Slack channel in the same run.

FAQ

Heroku and MyDeepAgents

Can MyDeepAgents connect to Heroku?

Yes. The Heroku connector has 16 actions: 10 read and 6 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Heroku?

Paste an API key from your Heroku account. You'll need: API token. 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 Heroku without asking?

Only if you let it. Each of the 6 actions that change data can be set to wait for a person's approval before it runs.

Can I use Heroku in workflows as well as agents?

Yes. Every Heroku action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Heroku to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.