Run Autoheal for a Team
You built the PR Review agent alone in Build Your First Agent. In this track, you prepare Autoheal for a whole team. You learn what belongs to the organization and what belongs to a project. You make a practice project where new people learn before they get access to production projects. Then you make a person approve an agent's tool calls, and you read the record of what agents did. The track takes about 45 minutes.
| Page | You do | You learn |
|---|---|---|
| 1. Organize projects and roles | Make a practice project, give a teammate access, and check your roles. | What is in the organization and what is in a project, the four roles, and IAM |
| 2. Put a person in the loop | Make the PR Review agent ask a question. Make a policy that pauses a tool call, then allow one call and reject one call. | Agent policies, the approval card, the question card, and the CLI commands for both |
| 3. Share and audit | Share an Integration Connection with the practice project, save a secret, and find the calls from page 2 in the audit trail. | Shared resources, secrets, service accounts and API credentials, and the audit trail |
Before you start
- Do the Quick Start, Build Your First Agent chapters 1 to 3, and steps 1 and 3 of chapter 4. The agent must clone the repository and have the read-only tool filters. These steps need no GitHub Integration Connection. You need the
pr-reviewagent. - For page 1, you need the Org Admin role to make a project. A Project Admin can do the other steps in their own project.
- For page 2, you need the Project Admin role in the practice project, because only a Project Admin can make agent policies. You also need a GitHub Integration Connection in that project. Chapter 4 shows how to connect GitHub, and page 3 shows how to share a Integration Connection that you already have.
- For the "From the CLI" steps, install the
autohealCLI and log in. See chapter 8.
Each page shows the steps in the web app. The CLI steps are at the end of each page.