InfraStudio Agents Start free

Reference

Commands

The commands the agents answer on GitHub, in Chat and in Telegram.

Last updated

You can tell the agents what to do in a few words. On GitHub, you write a comment that mentions the agents. In Chat and in Telegram, you write a short command. A suggestion has a label, such as F6, and most commands name it.

On GitHub

Write a comment on a pull request or an issue that starts with @infrastudio-ai, then a command. Only people with write access to the repository can use them, and the Mentions agent must be on.

CommandWhereWhat it does
@infrastudio-ai review [what to look at]A pull requestReviews the pull request now and posts the review on it, with comments on the lines.
@infrastudio-ai fix [a note for the fix]A pull requestWhen the automatic tests (CI) failed on the pull request's latest version, finds the cause and puts the fix on the pull request's branch, whatever the CI fixer's option says. For a pull request from a fork (a copy of the repository on another account), the fix is a comment instead. If the tests did not fail, it says so and does nothing.
@infrastudio-ai triageAn issueReads the issue against the code, labels it with your own labels and comments what it found.
@infrastudio-ai implement [a note for the plan]An issueTurns the issue into a plan, the code and a pull request that fixes it.

Any other text after @infrastudio-ai is a question about the code. The answer comes as a comment.

In Chat and Telegram

Write the command as the whole message. F6 stands for a suggestion's label. You can name several labels, or all.

CommandWhat it does
approve F6 [note]Writes the plan for the suggestion, and waits for you.
implement F6 [note]Writes a plan if there is none yet, then the code, and opens a pull request.
reject F6 [why]Closes the suggestion, and its pull request if it has one. It is not suggested again, unless what the agents see changes.
change F6 <what to change>Corrects the open pull request as you describe.
merge F6Puts the change into your code once the automatic tests passed and the review found nothing that blocks it. This puts the change on your product. merge F6 anyway does not wait for the review's verdict.
review F6Reviews the suggestion's pull request again. The review also starts by itself each time the automatic tests pass. Without a label, review is a question.
push F6 anywayFor a change that was larger than your limits: opens the pull request for it as it is, up to twice the usual limits.
cancel F6Stops the suggestion's job that is waiting or working.
statusLists the suggestions, their pull requests and what is working now.
loadLoads the newest report of the Product analytics review that is not loaded yet.
help or startLists the commands.
analyse [focus] or analyze [focus]Starts the Product analytics review now. Words after it give it a focus.
docs or update docs [focus]Starts the Docs updater now. It opens a pull request if the docs no longer match the code. docs anyway looks at the last week's changes again.

Anyone who may ask the agents questions can use status, load, help and start, and ask questions. The other commands need the permission to say yes or no to suggestions. Any other message is a question.

In Telegram, a workspace with several products can use one chat. Then start a question, analyse or load with the product's name, for example analyse shop why sign-ups fell. To link Telegram, see News in Slack or Telegram.