Skip to main content

How AI models work

You do not need a machine-learning degree to use 4RGE well. This short lesson explains what models are, how they behave, and how your organization controls which ones you can use — so the model picker and agent runs make sense.

What this page is for

You want to…This page helps you…
Understand "the model"Plain language — not a math lecture
Pick sensiblyFast vs capable for the task at hand
Know who decidesYour org's catalog vs your personal choice
Set expectationsWhy answers vary and why review still matters
Use 4RGE confidentlySee how models fit inside agents and tools
Part of 4RGED Learn

This is a foundation lesson. When you are ready to run agents, start with Quickstart. For admin catalog setup, see Model control.

Who this page is for

You are…Focus on
New to AI coding toolsThe idea in one minute → What to expect
Daily developerHow to pick a model + Models vs agents
Team leadModels in 4RGE — share with new hires
Org adminModel control — this page is member-facing context

The idea in one minute

A language model reads your prompt and predicts what text should come next — over and over until it finishes a reply. It learned patterns from huge amounts of text during training; it does not look things up in a database the way search does.

Mental modelReality
"It knows my codebase"It only sees what you (or the agent) put in context — files, chat, tool output
"It always gives the same answer"Models are probabilistic — same prompt can produce different wording
"Smarter model = always better"Stronger models cost more and can be slower — match the task
"It runs commands on its own"In 4RGE, agents wrap the model with tools and your approvals

That last row is the important one for 4RGE: the model suggests; the agent loop reads files, runs tests, and asks you before risky steps.

Models in 4RGE

In the app, CLI, and cloud, a model is the AI engine behind an agent run. Your organization defines a catalog — which models and providers members may use. Admins set defaults and limits in Model control; members pick from what is allowed.

SurfaceWhere you choose
DesktopModel picker in the agent panel
CLIFlags or defaults from your org catalog
CloudDefaults for unattended runs — often set by admins
MobileSame org policy; mostly for reviewing runs, not picking models

If the picker is empty or a model is missing, your org may not have enabled it — ask an admin, do not assume your account is broken.

Usage from every model call counts toward Usage under your org (and often a project). Heavier models generally consume more allowance than lighter ones.

How to pick a model

There is no single "best" model for everyone — task type, speed, and cost all matter. Use this as a starting guide; your org may only expose a subset.

You're doing…Sensible approach
Quick question or one-file fixA fast default from your catalog
Multi-file feature or tricky bugA more capable model — or ask for a plan first
Large refactor or architecture changeCapable model + small steps; consider cloud agents for long runs
CI or scripted runsUse the default your admin configured — see Model control
Try a few, then settle

Many developers prefer different models for the same repo — experiment within your allowed catalog, then stick with what matches your style. Admins can narrow the list so onboarding stays simple.

Switching models mid-task usually starts a fresh context — finish or discard the current run before changing.

Models vs agents

ModelAgent
What it isThe AI that generates textModel + tools + loop + policy
What it doesSuggests words and plansReads files, runs commands, iterates until done
SafetyCan hallucinate or guessApprovals, .gitignore, org rules, logging
In 4RGEYou pick from the catalogYou prompt, review diffs, merge when ready

The agent is what makes model output useful and inspectable in your repository — not magic autopilot. See Agent overview for the full loop.

What to expect

Good habits:

  • Ground the model — point at files, paste errors, describe constraints.
  • Review diffs — treat agent output like a junior teammate's PR.
  • One task at a time — smaller scope beats "rewrite the whole app."

Normal limitations:

  • Wrong API names, paths, or config keys (hallucination) — verify with tools and tests.
  • Context limits — very long chats drop older messages; start a new run if the agent loses the plot.
  • Non-determinism — re-running the same prompt may wording-differ; check behavior, not exact text.

For deeper lessons: Hallucination & limitations, Context, Tokens & pricing.

Where to go next

Your goalNext step
Run your first taskQuickstart
Org vocabularyCore concepts
Prompt patternsPrompting
Admin: allow modelsModel control
Spend and budgetsUsage

Questions about models?

QuestionAnswer
Does the model "know" my private code?Only what is in context for that run — opened files, search results, tool output.
Why did my answer change when I asked again?Models are probabilistic — small randomness is normal.
Who enables GPT / Claude / etc.?Org admins in Model control.
Why is my picker empty?No models enabled for your org or surface — contact an admin.
Does a bigger model always fix bugs?Not always — clear prompts and good context often matter more.
Is the model the same as the agent?No — the agent adds tools, iterations, and approvals around the model.