Skip to main content

Cloud agents overview

Cloud agents run remotely instead of on your machine. Describe a task, start a run, and the agent keeps working after you close your laptop — editing code, running tests, and opening changes for you to review when it finishes.

Think of it as handing off a task to a teammate in the cloud: you set the goal and check the result on your schedule. Your organization controls which repositories, secrets, and network access each run can use. See Security & network for admin controls.

When to use cloud agents

ScenarioWhy cloud
Large refactorsRuns can take hours — no need to keep your machine awake
Parallel workStart several runs while you focus locally
CI-adjacent fixesReact to failing checks without dropping your current task
Scheduled maintenanceAutomations can triage issues or update docs overnight
Team handoffsAnyone with access can review the same run and diff

Use cloud agents when the job is long, parallel, or event-driven. Use the local agent when you want tight, interactive iteration in your IDE.

In practice

You want to…Cloud agents help by…
Fix a bug without context-switchingRunning the fix in the background while you stay on your main task
Ship a planned featureTaking a detailed task (or plan) and implementing it end-to-end in a remote environment
Respond to a failing checkInvestigating, patching, and opening a PR you review later
Keep work moving overnightContinuing after you sign off — results waiting in the morning
Compare approachesRunning parallel jobs from one prompt when your workflow supports it

Results arrive as chat history, terminal output, diffs, commits, or pull requests — the same review mindset as local work. See Agent security for approvals and sensitive operations.

How it works

  1. Start a run

    Open the Agents workspace, describe the task, and pick the repository and branch. You can also start from an automation or a connected integration such as GitHub.

  2. It runs remotely

    The agent works in an isolated cloud environment with your repo, setup commands, and the permissions your org allows. You can watch progress live or check back later.

  3. Monitor progress

    Follow messages, terminal output, and file changes as they stream in. Admins can use Sentinel for org-wide visibility when many runs are active.

  4. Review the result

    When the run finishes, inspect the diff or pull request, read the summary on the Review tab, and accept, follow up, or discard — just like local agent work.

Cloud vs local agents

Local agentCloud agent
Where it runsYour machine / IDEIsolated cloud environment
Session requiredYes — stay connected for the runNo — keeps working after you leave
NetworkYour machine's networkOrg-configured rules
Best forInteractive iterationLong jobs, automation, parallel work
Start small

Try a short, well-scoped task first — for example, "add a unit test for parseDate" — before delegating a multi-hour refactor. Confirm setup and repository access work as expected.

Why cloud agents

Local-onlyWith cloud agents
Long tasks tie up your laptop and IDE sessionWork continues in the cloud while you do something else
One agent run at a time on your machineSeveral runs in parallel across the team
You manually react to CI failuresAutomations can start runs from events
Same OS as your laptopConsistent Linux environment for every run

You still review before merging. Cloud agents extend reach and duration; they do not bypass your team's approval habits.

What you need before starting

  1. Connect a repository

    Install the GitHub integration and grant access to the repos cloud agents should use. See Setup for environment and secrets.

  2. Confirm org allowance

    Cloud runs consume usage under your organization's plan. If a run cannot start, check Usage or ask your admin.

  3. Review network access

    If the task needs package installs or external APIs, confirm required domains are allowed. See Security & network.

Agents Window

X4RGE Agents Window showing the cloud agent workspace

The Agents Window is X4RGE's cloud workspace at 4rged.ai/agents — where you start remote runs, follow progress, and reopen past work. Unlike a local IDE session, cloud agents keep running after you close your laptop.

From here you can start a New Agent run, manage Automations, browse Recent runs, and open a live Run view with chat, git changes, and terminal output.

Automations in the X4RGE Agents Window

Automations let you trigger cloud agents on a schedule or from events — for example when a pull request opens or a check fails. Configure triggers and templates without leaving the workspace. See Automations for details.

Agent Review

X4RGE Agent Review showing pull request and diff review in the Git panel

Agent Review is how you evaluate what a cloud agent produced before merging or discarding its work. On an open run, use the Git panel:

TabWhat it shows
DiffLine-by-line file changes, updated while the run is active
CommitsCommits the agent created
PRCreate or open a GitHub pull request for the run
ReviewOutcome summary, optional security notes, and PR context

Diff vs Review

Use both together:

  • Diff — inspect every file change before you merge or ask for follow-ups.
  • Review — read the condensed summary when you want the big picture quickly.

The same approval mindset applies everywhere: sensitive actions wait for your OK, and changes arrive as reviewable diffs. See Agent security.

Automations and review runs

Automations can start runs that review pull requests when events such as pull_request opened fire. The agent does a first pass; you validate the result in Diff and Review.

Not the same as Auto-review Run Mode

Auto-review is a separate desktop setting that reduces tool-approval prompts during local runs. It is not the Git Review tab in Cloud Agents.