Go to main content
Team agent setupChoose · Review · Connect

Betterloop handbook

From a team decision to a working session

Instructions for connecting people, reviewed rules, and repository knowledge to the coding agents your team uses.

A device connection is the starting point. These guides help you follow a reviewed configuration into an actual repository session.

02 / Betterloop handbook

A useful order for the first connection

For the person who owns the rollout

Identify the first team and its configuration repository. Review the organization rules. Publish the approved revision. Then prepare the team release.

Assign a working repository through the reviewed team configuration. Invite one developer. Check the resulting session before you expand the rollout.

One organization owns one configuration. Each team also owns one configuration. Drafts, review submissions, and published releases describe versions of those configurations.

For the person who writes code

Open your team invitation. Obtain the personal enrollment command. Select the agents you intend to use on this device.

Complete provider sign-in inside each selected agent. Review any native hook trust request. Start a new session in the assigned repository.

Use doctor to inspect that specific agent and repository. Read the individual results before you tell the team that setup is complete.

For an existing connection with a problem

Record the affected repository and agent first. Read status. Run doctor for that combination. Identify the failed part of the connection.

A provider account problem needs native sign-in. A stale release needs refresh. An inactive plugin needs an activation check. These repairs change different state.

03 / Betterloop handbook

The vocabulary behind the connection

The vocabulary behind the connection
Name in these guidesWhat it refers to
Coding agentThe application that works on your task. Betterloop commands select it with the harness flag.
EnrollmentA device authorization for one organization and one team. Repositories use that existing device connection.
Rules configurationThe organization or team record whose revisions move through drafting, review, and publication.
Signed releaseA reviewed version whose signature and scope the client validates before applying it.
HookAn integration called by the coding agent at a particular supported event.
CoverageA control-specific description of support for the installed agent version and observed execution event.
ClientThe installed coding agent that consumes the applicable Betterloop release.
AdapterThe integration code that connects Betterloop behavior to one agent.
Runtime gateA check performed at a supported action before that action proceeds.
BaselineThe reviewed organization revision selected by a team for inherited rules.
RegistryThe versioned collection containing approved resource files and descriptive metadata.
ResourceA skill, instruction, reference, hook, or rule available through the approved collection.
DigestA calculated content value used to identify the exact file bytes.
Learning entryA lesson with review history, applicability, and evidence for its proposed use.
Learning packThe signed delivery collection containing eligible learning entries.
CohortThe set of recipients assigned to a stage of release delivery.
CanaryThe first small recipient group used to check a release before expansion.
MCPModel Context Protocol, used for connections to external tools and resources.
OAuthAn account authorization flow that provides scoped access to another service.
AttestationIndependent evidence about a device. A report produced by the connected client does not provide this independence.

04 / Betterloop handbook

What you can conclude from a result

Installation establishes that the selected software is present. Authentication establishes provider access. Signed release validation establishes the applicable reviewed configuration.

Activation requires an observed supported invocation. Coverage describes the controls available at the relevant events. Check these results individually.

A conditional result names requirements that must hold during execution. An advisory result supplies instructions without a guaranteed blocking check.

A required control without adapter support prevents acceptance as fully governed. Discuss a compatible client or a changed rollout requirement with the administrator.

The initial examples use npx @betterloop/setup. Later examples use betterloop when your approved installation provides that command.

You can connect only Claude Code, only Codex, or both. Mimir is a separate optional runtime. The native integrations do not require it.

Keep the native agent documentation available. It remains the reference for provider sign-in, host permissions, managed settings, and native trust.

Prepare your first rollout

Make setup a
team decision.

Bring a repository and a concrete requirement. Agree on the checks that will determine your next step.