InfraStudio Agents Start free

Guides

Choose what starts by itself

Turn each agent on or off, choose whom it works for, and start an agent by hand.

Last updated

After this guide, only the agents you want start by themselves, and you know how to start one yourself.

Who can do it:

  • Turn agents on or off and change their options: a workspace admin or owner, or a person who may change everything in that product.
  • Start an agent by hand: a workspace admin or owner, or a person who may run agents in that product.

See Roles. Each job an agent does counts toward the jobs of your monthly plan. See Plans and limits.

What starts an agent

An agent is an AI helper with one kind of work. Each one starts in one of three ways:

  • When something happens on GitHub, for example a pull request (a proposed change to your code) opens, or an issue (a request or a bug report) is opened.
  • On a schedule, for example once a week.
  • By hand, when you press Start now.

A new product starts with five agents on: PR reviewer, CI fixer, Issue triage, Issue implementer and Mentions. The other four start off. Agents lists all of them, with what starts each one.

Note

If your workspace already has an AI key, the agents that are on can start as soon as you add a repository. Turn off the ones you do not want first, or add the key afterwards.

Turn an agent on or off

  1. Open Agents in the side bar. The page shows the agents of the product you picked in the side bar.
  2. Find the agent. The agents are in groups: When something happens on GitHub, On a schedule and By hand.
  3. Press its switch. The word beside it says On or Off.

The switch saves at once.

You can do the same in the product's settings: open Product settings on the Agents page, and find the part Agents.

What you see when it worked

  • The switch says On or Off.
  • The top of the Agents page counts how many agents are on.
  • Under Starts when, each agent that answers GitHub says what starts it. A scheduled agent says when it starts next, under Next start.

Choose whom an agent works for

On a public repository, anyone can open an issue or a pull request. Each job uses your AI account. So the agents work only for people with write access to the repository, unless you choose otherwise.

  1. Open Product settings and find the part Agents.
  2. Under the agent, open Options.
  3. In Act for, choose People with write access or Everyone.
  4. Press Save in the bar at the bottom of the window.

The PR reviewer and Issue triage have this option.

The options of each agent

Open Options under an agent in Product settings. Press Save after a change.

PR reviewer:

  • Review draft pull requests too. Off at first.
  • Review again after new changes. On at first.

CI fixer. CI is the automatic tests that run on each pull request.

  • Put the fix on the pull request's branch. Off at first: the CI fixer writes the fix as a comment. On: it changes the pull request's branch itself. It does this only for a pull request whose branch is in this repository, and never on the main branch of your code.
  • Attempts per pull request: from 1 to 5. The default is 2.

Issue triage:

  • Add labels. On at first.
  • Comment on the issue. On at first.

Issue implementer:

  • Label that starts it. The default is agent:implement. When an issue gets this label, the agent writes a plan, the code and a pull request.

Auto-merge has its own guide: Turn on Auto-merge.

Turn off the CI fixer's changes, and Mentions

The CI fixer only comments, unless you turn on Put the fix on the pull request's branch.

Mentions is the agent that answers when someone writes @infrastudio-ai in an issue or a pull request. A comment such as @infrastudio-ai fix asks for a fix on the pull request's branch, also when the CI fixer's option is off. If you want the agents to comment only, turn off Mentions too.

Start an agent by hand

Start now makes an agent work at once. It works also when the agent is off. Off only means that it does not start by itself.

  1. Open Agents.
  2. Press Start now on the agent's row.
  3. For the PR reviewer and the CI fixer, type the pull request's number. For Issue triage and the Issue implementer, type the issue's number. You can add a note, for example what to look at.
  4. Press Start now in the window.

Mentions and Auto-merge have no Start now. They only answer what happens on GitHub.

What you see when it worked

  • The row shows the job as In line, then Working.
  • When the job ends, Last job says Done or Did not work. Press it to open the job on the Activity page.
  • A review or a comment appears on GitHub.

Change when a scheduled agent starts

A scheduled agent has a default time, for example Monday morning. The times are the platform's local time. To change it, open Product settings, find the agent, and open Technical settings under it. Type the new time in Schedule and press Save.

More