Skip to main content

Agents

A chat model answers in text. An agent goes further: it explores your repo, uses tools, iterates when something fails, and stops for your OK on risky steps. You describe the outcome; the agent does the legwork — you review the result like any other contribution.

What this page is for

You want to…This page helps you…
Understand "agent" vs "model"Plain language — not harness internals
See how work actually happensThe understand → act → verify loop
Know where agents runDesktop, CLI, and cloud — when each fits
Delegate safelyApprovals, diffs, and undo — without blind trust
Go deeper in the productPointers to Agent overview and daily habits
Part of 4RGED Learn

Foundation order: How AI models work → Tool calling → Agents → Working with agents. For your first run, see Quickstart.

Who this page is for

You are…Focus on
New to AI codingWhat an agent is → The agent loop
Daily developerYou stay in the loop + Habits
Team leadShare delegation habits; link to Agent security for policy
AdminSurfaces and org limits — Model control, Cloud agents

What an agent is

An agent is not a smarter autocomplete. It is a system that combines:

PiecePlain meaning
ModelThe AI that reasons and writes — you pick from your org catalog
ToolsActions on your project — read, edit, test, integrations — Tool calling
InstructionsTeam rules, plugins, and built-in guidance that shape behavior

Together, these let the agent work toward a goal instead of stopping at a single paragraph. The model proposes; tools gather facts; you approve sensitive steps and merge when ready.

Mental modelReality
"It will finish while I sleep"Cloud agents can run longer; you still review before shipping
"It knows the whole repo"It discovers code through search and reads — Context
"One prompt = one perfect PR"Agents iterate — tests fail, plans adjust, you refine
"Fully autonomous"You are the manager — scope, approve, verify

That last row is the shift many teams feel: you move from doing every keystroke to defining tasks, reviewing output, and steering when the loop goes off track.

The agent loop

Most agent work follows the same rhythm — whether you are in the desktop app, the CLI, or the cloud:

PhaseWhat happensWhat you do
UnderstandAgent reads your ask, searches the repo, loads relevant filesWrite a clear goal; @ key files if you know them — Prompting
ActEdits, shell commands, integration calls — via toolsWatch the thread; approve when prompted
VerifyRuns tests or linters when appropriate; shows diffsRead output; accept, refine, or reject
IterateIf something failed, tries another pathNarrow scope if it loops or wanders

For a large change, ask for a plan first — outline steps before wide edits. That mirrors how experienced teams use agents: plan → execute in chunks → verify each chunk, not one giant "rewrite everything" message.

When a task is too big for one pass, the agent may delegate a focused sub-task and return a summary to the main conversation — you stay in one thread without every intermediate step cluttering chat.

Where agents run

4RGE exposes the same agent idea on different surfaces. Pick by how interactive you need to be:

SurfaceBest forHow it feels
Desktop appDay-to-day coding, tight feedback, local buildsChat beside your editor; quick approve/deny
CLITerminal workflows, scripts, CI-style runsSame loop from the command line — CLI overview
Cloud agentsLong refactors, parallel jobs, work after you sign offStart a run, come back to diffs or a PR — Cloud agents
MobileReview runs and messages on the goMostly monitor and steer, not full implementation

Local agents use the folder you opened on your machine. Cloud agents run in an isolated environment your org configures — same review mindset, different place and duration.

Use local when you want to pair closely with the agent. Use cloud when the job is long, parallel, or can wait until you are back at your desk.

You stay in the loop

Agents are powerful because they act — that is also why 4RGE keeps you in charge:

SafeguardWhat it means for you
Visible tool stepsYou see reads, edits, and commands — not a black box
ApprovalsRisky shell, sensitive files, and many external calls wait for you — Tools
Reviewable diffsChanges land like a PR you can skim before accepting
CheckpointsSnapshots during a session so you can undo agent edits locally — not a substitute for Git
Org policyAdmins can limit models, networks, and integrations — Agent security
You are the final gate

Agents can still be wrong — Hallucination & limitations. Green tests and your judgment beat the agent saying "done."

You can also queue follow-up instructions while a run is busy, or start a fresh conversation when you switch features — see Working with agents for day-to-day habits.

Habits for delegating well

  1. One outcome per run — "fix failing auth test" beats "clean up the repo."
  2. Plan before big edits — especially multi-file or cross-service work.
  3. Say constraints aloud — tests that must pass, files off limits, no push.
  4. Review like a teammate's PR — diffs, commands, and test output.
  5. Split when context fills up — Context — or the agent repeats mistakes.
  6. Match surface to job — local for pairing; cloud for marathon refactors.
  7. Verify with real signals — CI, staging, or reproduction steps you trust.

Leads: treat agent output as team code — same review bar, same security awareness. Onboarding should cover approvals and scope, not only prompts.

Where to go next

Your goalNext step
Day-to-day habitsWorking with agents
Product detail (checkpoints, queue)Agent overview
Tools & approvalsTools
Long / background runsCloud agents overview
Prompt patternsPrompting
First runQuickstart

Questions about agents?

QuestionAnswer
Is an agent the same as the model?No — the agent adds tools, loop, and policy — How AI models work.
Will it push to main without me?Sensitive git and network actions require approval — Tools.
Can I run several agents at once?Cloud supports parallel long runs; locally, focus one interactive thread at a time for quality.
What if it goes down a wrong path?Stop, narrow scope, restore a checkpoint or revert in Git — Agent overview.
Why did it stop mid-task?Step limits, approval waits, or errors — restate the next step or start a focused new run.
Where is the full technical loop?Agent overview — Learn stays conceptual.