Documentation

Get started

In this tutorial you ask Hydra for a small change to a repository. Hydra's agents file an issue, write the change and open a pull request. You review the pull request and merge it.

You need an account in a Hydra organization where an admin has connected GitHub. See Connect GitHub.

Sign in

  1. Click Sign in with GitHub.
  2. If Hydra shows Pick an organization, pick your organization.

Ask for a change

  1. Click New session at the top of the sidebar.

  2. In the What do you want to work on? box, type this request, with your repository's name in place of acme/shop:

    In acme/shop, add a "Contributing" section to README.md that says to open a pull request against main.

  3. Press Enter.

Hydra opens the session page. The agent replies in the transcript and files an issue for the change. The issue appears in the Issues card at the right of the transcript.

Follow the work

  1. Open the issue from the Issues card.
  2. Read the issue's description. It states the change the agent asked for.
  3. Wait for the Patches card on the issue to list a patch. An agent writes the change and opens a pull request on GitHub. The Sessions card shows the agent at work.
  4. Open the patch.

Review and merge the pull request

  1. On the patch page, open the Diff tab and read the change.
  2. Click the link in the GitHub field. The pull request opens on GitHub.
  3. Merge the pull request on GitHub.

The patch page shows Merged. Your repository's README.md now has the new section.

Next steps

Build your first automation: create an agent that runs on every new pull request.