cli README

The project's README from github.com/entireio/cli. As one markdown file: README.md.

Entire CLI

Entire CLI

Entire is a Git forge built for agent–human collaboration. This CLI is how you and your agents use Entire from the terminal — anything you do on entire.com, you can do here:

Works with Claude Code, Codex, Cursor, Copilot CLI, OpenCode, Antigravity, Factory AI Droid, Pi, and more, and extends through plugins. Pushes through a GitHub mirror still trigger your GitHub Actions, and Trails can also show CI results from Buildkite and Depot.

Open source under the MIT license. Docs: docs.entire.com.

Contents

Install

brew install --cask entireio/tap/entire          # macOS and Linux
curl -fsSL https://entire.com/install.sh | bash  # macOS and Linux, without Homebrew
irm https://entire.com/install.ps1 | iex         # Windows PowerShell 5.1+

For the nightly channel (prerelease builds with the latest changes):

brew install --cask entireio/tap/entire@nightly
curl -fsSL https://entire.com/install.sh | bash -s -- --channel nightly
iex "& {$(irm https://entire.com/install.ps1)} -Channel nightly"

Requires Git on macOS, Linux, or Windows. Scoop, go install, and installing during a GitHub outage are covered in Installation.

Quick Start

1. Capture agent sessions — works in any Git repository, no account needed:

cd your-project
entire enable                    # pick your agents; installs their hooks and Entire's git hooks
entire status                    # current sessions and where checkpoints are uploaded

2. Put a repository on Entire — sign in, then mirror a GitHub repository into one or more clusters, or create an Entire-native one. Mirroring needs the Entire GitHub App installed for that repository.

entire login

entire repo mirror add                          # wizard: pick repos and clusters
entire repo clone /gh/<owner>/<repo> --nearest

entire project create                           # wizard: owner, name, region
entire repo create <name> --project <project>
entire repo clone /et/<project>/<name>

Then cd into the clone and run entire enable there to capture sessions in it.

3. Open a Trail — in a repository on Entire, on the branch you're working on:

git switch -c add-rate-limiting
entire trail create --title "Add rate limiting"
entire trail show

Repositories & Git Hosting

Entire hosts Git repositories on clusters in several regions, so agents can clone, fetch, and push against a copy near where they run.

Repository references name their forge: /et/<project>/<repo> for an Entire-native repository, /gh/<owner>/<repo> for a GitHub mirror, or a full entire://<cluster>/… clone URL.

entire repo create web --project acme                   # Entire-native, private by default
entire repo mirror add /gh/acme/web --cluster aws-us-east-2.entire.io,aws-eu-central-1.entire.io
entire repo clone /gh/acme/web --nearest                # time each cluster and use the fastest
entire repo remote add entire                           # add Entire to an existing checkout, beside origin

A GitHub mirror keeps GitHub as the source of truth: clones and fetches come from Entire, and pushes are forwarded to GitHub, where your GitHub permissions, branch protection, and required checks still apply. Clones use entire:// URLs through the git-remote-entire helper that ships with the packaged installs; after that, it is plain Git.

See Repositories and Mirrors in the CLI for regions, mirroring, unmirrored branches, moving a mirror off GitHub, branch protection, and access.

Trails

A Trail follows a change from intent to merge. Instead of reviewing a diff, you get a heads-up display for it — the Trail's page on entire.com, or entire trail show and entire trail watch here — with findings from evals that agents score on every push. Each Trail has a number in its project, such as #42.

entire trail create --title "Add rate limiting" --type feature   # publishes the current branch
entire trail list --project et/acme --status open
entire trail show                       # the Trail for the current branch
entire trail watch                      # stream reviews, findings, and agent run events live

entire trail finding                    # findings and each review agent's latest reading for this branch
entire trail finding apply <id>         # apply a finding's suggested fix
entire trail finding resolve <id> -m "fixed in abc123"
entire trail finding reply <id> -m "intentional: the cache is per process"

entire trail comment add -m "Should this cover the admin API too?"
entire trail ready                      # mark this branch's change ready for review (--undo: back to draft)
entire trail retarget --base release/2  # change the base branch it merges into
entire trail attachment add shot.png    # upload an image; prints the line that shows it in the description
entire trail approve
entire trail rerun-review               # review the current head again (--agent <id> for one agent)
entire trail update-branch              # merge the base into the branch on the server (Entire-native repos)
entire trail merge                      # merge this branch's change into its base
entire trail resume 42                  # continue Trail #42: restore its branch's sessions in your agent

Trail commands use the current repository's project (gh/<owner> or et/<project>); pass --project or --repo to work on another one without a checkout. entire trail list always takes --project. Other subcommands are checkout, link, unlink, update, and approvals.

Project agents are those evals: review agents such as risk, confidence, drift, security, and review, configured per project in Entire, which score each push to a Trail and raise its findings. entire project agent lists them and adds Entire's presets to your repository with add; entire project agent run lists, inspects, cancels, and retries their runs. Preset agents run on free credit; a custom agent runs once the project's billing is set up.

Agent Sessions

entire enable connects your agents and installs Entire's git hooks, keeping any hooks you already have. Use your agent and commit as usual: each commit that includes agent work gets a checkpoint — the prompts, transcript, and files touched — linked to the commit by an Entire-Checkpoint trailer. Entire never adds commits to your branch; by default, checkpoints are stored as their own Git refs (refs/entire/checkpoints/…) and pushed alongside your code.

entire checkpoint list                # checkpoints on this branch
entire checkpoint explain <id>        # the prompt, transcript, and files behind a checkpoint
entire session resume <branch>        # restore a branch's sessions and continue in your agent
entire agent add <name>               # add an agent later; entire configure for other settings
entire disable                        # turn capture off (--uninstall removes Entire from the repo)

See Sessions and Checkpoint Storage for how capture works and migrating from legacy branch storage, Settings and Git Hooks for configuration, and Checkpoint Destination for choosing the remote or a separate checkpoint repository.

Checkpoints are also the raw material for continuous memory: entire-brain, installed separately, combines them with entire-graph's code map into project memory your agents can query. From the CLI, entire search and entire checkpoint explain are the way in.

Search, Activity & the API

entire api /api/v1/clusters
entire api --to cell "/api/v1/me/recap?repo={repo_id}"
entire api /api/v1/me

Plugins

Any executable named entire-<name> on $PATH runs as entire <name>. Install plugins from the plugin index or any Git host:

entire plugin search
entire plugin install <name>
entire plugin list

Installs from a Git host are verified against the release's checksums.txt. See entire plugin.

Security & Privacy

Session transcripts are pushed to your Git remote — as checkpoint refs, not commits on your branch. If that repository is public, anyone can read them. Entire redacts detected secrets before writing a checkpoint, but redaction is best effort; entire checkpoint list --outgoing shows what your next push will upload, and entire checkpoint explain <id> shows a checkpoint's contents.

To keep transcripts out of a public repository, upload them to a separate private repository (entire configure --local --checkpoint-remote github:<owner>/<repo>) or stop uploading them (entire configure --local --skip-push-sessions). entire enable names the checkpoint destination every time it runs. See Security for redaction, scanners, deleting checkpoints, and cleaning up data from older versions.

Troubleshooting

Issue Solution
"Not a git repository" Navigate to a Git repository first
"Entire is disabled" Run entire enable
Agent hooks outdated after a CLI upgrade Run entire agent add <name>; add --force if that does not fix them
A session stuck ACTIVE, or leftover session state Run entire doctor, then entire clean --force if it persists
Anything else Run entire doctor; entire doctor bundle produces a redacted diagnostic bundle for a bug report

Set ENTIRE_LOG_LEVEL=debug for debug logs, and ACCESSIBLE=1 for screen-reader-friendly prompts. Headless servers and CI: see entire login.

Documentation

License

MIT License — see LICENSE.

cli (entireio/cli)

Searching Database…

5.3K ·GitHub
What is this?Entire is a CLI that hooks into your Git workflow to capture AI coding agent sessions (prompts, responses, files touched) and indexes them alongside your commits, creating a searchable record of how code was written.
Is this a GUI app, or does it run quietly in the background?It's a command-line tool that installs Git hooks in your repo; it runs in the background while you use your AI agent and you only interact with it directly through commands like entire session or entire search.
How do I install it and start using it on a project?On macOS/Linux install via Homebrew (brew install --cask entire) or the install script; on Windows use the PowerShell installer (which uses Scoop when available). Then run entire enable in your repository to install the git hooks and pick which agent integrations to add.
What do I need before using it, and which agents does it support?You need Git and a supported AI agent installed and authenticated - Claude Code, Codex, Gemini, Cursor, Pi, and OpenCode are mentioned. Building from source with go install additionally requires Go 1.26+.
Does Entire ever touch my commit history, and what about CI or headless machines?No - Entire never creates commits on your active branch; checkpoints are stored as independent git refs outside branch history. On headless machines without a usable browser or OS keyring (CI, containers, minimal VMs) you need the device-code login flow or a file-backed/token-based login instead of the default keyring.
Where does my session data and login token actually live?Session transcripts and checkpoints are stored in your own repo's git object store as separate refs, never in your branch history; login tokens are stored in the OS keyring (macOS Keychain, Linux Secret Service, Windows Credential Manager) by default, or in a local tokens.json file for headless setups.
What's the difference between a session and a checkpoint?A session is the full interaction with your AI agent from start to finish, capturing all prompts, responses and files touched; a checkpoint is a snapshot taken whenever you or the agent make a git commit, linked to that commit via an Entire-Checkpoint trailer.
How do I resume a previous AI session?Run entire session resume (interactively or by branch) and Entire checks out the branch, restores the latest checkpointed session metadata, and prints the command to continue exactly where you left off.
Does it work with git worktrees and multiple concurrent agent sessions?Yes - each worktree gets independent session tracking, and if multiple AI sessions run on the same commit Entire tracks them separately while preserving all their checkpoints.
What release channels are available?Entire ships a 'stable' channel, the default for Homebrew, Scoop and install.sh, plus a more frequently updated 'nightly' channel for users who want the latest changes earlier.
Creator
entireio
Size
745 MB
Stars
5.3K
Age
10mo
Commits · 90 Days