What Are Agents?
Agents are configurable AI jobs that review changes in a Trail and evaluate them using customizable instructions. They run in isolated cloud sandboxes, or on your own machine, and can produce summaries, identify code review findings, or report evaluation scores. Agents can evaluate different aspects of a change, such as Confidence, Risk, Security, and Drift. Each Agent can report a score and flag issues that need attention as Findings.Project Agents are separate from file-based repository Runners
configured in
.entire/runners/. entire runner manages those files, while
entire agent manages local coding-agent integrations. To manage project Agents
from the CLI, use entire api. To run self-hosted
Agents on your own machine, use entire project agent setup and serve.Code review and Security review flag a change, then pass once the fix is pushed.
How Agents Work
Each Agent’s trigger settings determine when it evaluates changes in its selected repositories. An enabled push trigger runs when its readiness condition and branch or path filters match an open change. The repository’s Auto build on push setting for Runners does not control project Agents. Each Agent uses its instructions and selected configuration to evaluate the changes. Entire displays the results on the Trail. Reviewers can use the scores to focus their review, investigate Findings, and push fixes for another evaluation. The available preset Agents include:- Code review: Reviews every push and flags what needs to be fixed.
- Security review: Checks every change for anything that could lead to a security breach in your codebase.
- Slop: Catches sloppy patterns and drift before you merge them on your main codebase.

Preset agents available on the project's Agents page.
An agent's verdict on a change, with its reasoning and findings.
Your coding agent can read the same verdicts from the Entire CLI.
Who Can Manage Agents
Who can create and edit Agents depends on where your project lives:- GitHub organization projects: Only GitHub organization owners can create and edit Agents. Other organization members, including those with write access to the repositories, can’t.
- Entire projects: Anyone with write access to the project can create and edit Agents.
Set Up Your First Agent
To create your first Agent:- Navigate to your project on Entire.com.
- Open your project and go to Agents then click on Manage Agents.
- Choose an Agent from the list of presets and click Enable to start using it.
Creating a Custom Agent
If you want to create an Agent with your own configuration, follow these steps: Click New agent. Under Agent, give it a name and description. Select the harness, model, reasoning effort, and timeout. Then write the Instructions describing what the Agent should review and evaluate. For example, you can create a Migration Risk Agent to evaluate database migration changes. Under Agent, enter the following details:- Name: Migration Risk
- Description: Evaluates database migration changes for potential deployment and rollback risks.
- Harness, model, reasoning effort, and timeout: Select the configuration that meets your evaluation requirements.
Leave the Active toggle enabled and click Create agent.
After it is successfully created, you should see it under the Agents tab as in the image below.

A custom agent listed on the project’s Agents page.
Understand the Agent Configuration
Run Agents Only for Relevant Paths
In a monorepo, use path filters to run specialized Agents only when a change touches relevant files. For example, setfrontend/** for a frontend review Agent so changes confined to other directories do not trigger it.
- Open the project’s Agents page and select the Agent you want to configure.
- Under When to run, click on Add filters.
- Then on Only when these paths change, enter a repository-relative pattern, such as
frontend/**, and press Enter to add it. - Save the Agent configuration.
An Agent’s push trigger matches when at least one changed path matches any of its patterns. Use
* to match within a folder and ** to match across folders. For example, frontend/** matches files anywhere under frontend/, while **/*.go matches Go files across the repository.
Path filters check files changed across the whole change, from its merge base to its head, rather than only the latest push. An empty path filter matches every change. The Agent’s repository selection, readiness condition, and branch filters still apply.
Manual runs ignore branch and path filters. Path filters control when an Agent runs; use its instructions to define what it should review.
Manage Agents from the CLI
Useentire api directly or ask your coding agent to run it to manage project Agents and retrieve their results. Your coding agent needs terminal access to the CLI and your Entire login.
Prerequisites
Install the Entire CLI and sign in withentire login if you have not already. The examples below also use jq and uuidgen.
Reading Agents requires access to the project. Creating or editing Agents requires permission to manage project agents and write access to the selected repositories. Custom Agents also require a payment method on the billing account.
- CLI
- Agent Prompt
Set your project path. Use Replace the example project and repository names throughout with your own.List the project’s environments and choose the environment in which the Agent will run. Projects get a Repository sandbox environment once Agents are enabled:Use this object as the value of Create the Agent:The Update Set the repository name and the repository’s Change number (not the project Trail number) for the results you want to inspect:Read the Trail’s Agent verdicts. For a boolean signal with Retrieve the findings behind those verdicts:
et/<project> for an Entire project or gh/<owner> for a GitHub-backed project:Look Up Repository and Environment IDs
Find the ID of a repository the Agent should evaluate.entire repo list --project accepts the project name or ULID:List Presets, Models, and Existing Agents
Create an Agent
Save the following preset configuration asagent.json, replacing the repository and environment IDs with the values you found above:"when": "ready" runs the Agent on pushes once a change is ready for review. In repositories without an approvals gate, open changes are treated as ready.For a custom Agent, omit preset and add name, harness (claude, codex or pi), model, instructions, timeout_ms, and signal. For example, a signal that reports whether issues were found uses:signal in the custom Agent’s configuration. Select a model returned by the models endpoint for your chosen harness.Generate an idempotency key once for this creation request:Idempotency-Key header is required. Omitting it returns 422 validation failed. To retry the same creation request, rerun only the entire api command with the same key and unchanged agent.json. Do not regenerate the key for a retry.Update or Archive an Agent
Both operations require the Agent’s currentetag. Set the Agent ID, then retrieve it:agent.json with the complete desired configuration, then replace the Agent’s configuration:PUT performs a full replacement. Include all configuration you want to retain. Retrieve the current etag again before another update or before archiving:Retrieve Runs, Verdicts, and Findings
List recent Agent runs in the project:lower_is_better polarity, true means issues were found (Fail), and false means Pass. This example prints other or missing signal values as See details:Run Agents on Your Own Machine
A self-hosted Agent runs on a machine you control instead of Entire’s cloud sandbox. You need billing set up, permission to manage the Entire project for setup, andgit, git-remote-entire and a signed-in Claude Code on that machine.
-
Create a custom Agent with
"runs_on": "self_hosted"and"harness": "claude", and leave outenvironment_id. The first one also creates the project’s self-hosted environment. -
From a checkout of a repository the Agent reviews, create a service account that can run the project’s self-hosted Agents (reference):
-
Create its secret, using the service account ID that
setupprinted. The secret is shown only once: -
Start the worker. Add
--onceto handle a single job and exit: - Trigger a run: push to a change that is ready for review, or start a run by hand.
Agent Insights
Agent Insights helps you understand how coding agents use tokens across your Trails and repositories. You can track token consumption by activity, compare usage across models, and identify changes that required more agent effort than expected.How to Enable Agent Insights
To start tracking agent token usage, go to the Plugins tab in your project and find the Agent Insights extension. Click Install, select the repositories on Entire where you want to enable Agent Insights, and click Install again.View Token Usage in a Trail
Once it is enabled, open a Trail and navigate to Sessions to see a breakdown of token usage across agent activities, such as understanding code, building, checking, reworking, reviewing, and coordinating. Hover over the visualization to see the percentage of tokens spent on each activity. This helps you understand how the agent worked on a change and whether it spent more tokens implementing changes or making repeated fixes.Token usage by activity in a Trail's Sessions section.
View Agent Insights in Repository Analytics
Open your repository’s existing Analytics page and scroll to the Agent Insights section. The Analytics page is available independently of the plugin. Enabling Agent Insights adds more detailed token usage metrics across merged Trails through three visualizations:- Token Volume by Model: Track daily token consumption grouped by the models used.
- Tokens vs. Lines Changed: Compare token usage against the number of lines modified in each Trail. This helps identify which Trails consume the most tokens.
- Tokens by Activity: Compare token usage across activities between the current and previous week to understand how agent behavior changes over time.
Agent Insights on the repository Analytics page.