Skip to main content
Reason has one model you need before anything else. An agent thinks in the cloud, and its commands run where you point it: on your computer, on a Reason cloud computer, or both in one Session.
  • Session: the conversation for one task. It has an ID, shows in the Reason app, and you can continue it from any path.
  • Computer: where commands run. Your own computer runs them after reason connect. A Reason cloud computer runs them when you choose cloud.
  • One Session, two computers: the agent can list your computers and start or continue work on another one, so a single thread can run pwd on your Mac and on a cloud computer.

Three paths

The Reason API and the CLI both create and continue Sessions. ACP is only the link between an editor and the CLI; no commands run over it.

Try it in a terminal

Install the CLI, sign in, then run a read-only task in a folder:
reason whoami names the account and Workspace. Pick a Workspace with reason login --pair CODE or --workspace SLUG. Check it worked: the command prints the answer and a Session ID, and the Session appears in the Reason app.

Run on the cloud instead

The agent runs on a Reason cloud computer and its shell runs there. Add --repo OWNER/REPO to start on a GitHub repository. Cloud work on a private repository needs the Reason GitHub App installed on that repository.

Continue a Session

Continue a Session from the app, from the CLI, or from your own editor or API client. Every path reads the same Session.

Connect GitHub

Connecting GitHub installs the Reason GitHub App on a GitHub account or organization, so Reason can read the repositories you choose and open pull requests.
  1. In Reason, open Customize, then GitHub, and choose Connect GitHub. GitHub opens in a new tab.
  2. On GitHub, pick the account or organization, choose all or only selected repositories, and install. GitHub may first ask you to confirm access with your password, passkey or two-factor code; finish that on the same page. Then approve the authorization step that follows.
  3. GitHub returns you to Reason and your repositories appear. To add more later, choose Add repositories on the same page.
If GitHub shows a 404 at github.com/apps/reason-machines/installations, its confirm-access page expired. Reloading it, or a phone switching to an authenticator app, does this. Nothing was installed. Go back to Reason, choose Try again on the notice (or Connect GitHub), and finish confirming without leaving the page.
If you are a member but not an owner of a GitHub organization, GitHub sends your install request to the organization’s owners. Invite an owner to your Reason workspace; the repositories appear once they approve the request and connect GitHub there.

Next steps