Grok 4.7 · xAI · launched 21 Sep 2026 · every run on this page recorded 22 Sep

How To Run Grok 4.7 Inside Hermes Agent

Grok 4.7 just dropped, and I'm about to show you how to run it inside Hermes Agent in about two minutes.

This gives the newest Grok a real body, so it can build apps, run its own tests, read the web, and fix its own mistakes before it ever says done.

One command creates the profile, one line points it at Grok 4.7, and it shows up inside the Agent OS on its own.

I'll show you five things it did for me this morning, including a full working app it built and checked without me touching a single line.

Stick with me to the end, because there's one flag that runs the same job through two different brains, and it's the most useful trick in this whole setup.

One profile, five things it did this morningBuilds apps and checks themReads pages into clean JSONBuilds a 3D game from one promptSecond opinion with one flagShows up in the Agent OSGrok 4.7one profile folderinside HermesEvery one of them is on this page, recorded
Straight from xAI + Hermes ↓
§1Meet Grok 4.7

The new Grok, in three facts

Grok 4.7, in three facts21 Sep2026 · launch day$2 / $6per million tokens, in / out500kcontext window · as listedSame price as Grok 4.6. Bigger, and it works longer on hard jobs.
sources: x.ai/news/grok-4-7 · OpenRouter model listing for x-ai/grok-4.7
§2What got better

Where it beats Grok 4.6, on xAI's own tests

Grok 4.7 vs Grok 4.6 · xAI's published numbersCursorBench 4.046.3% · was 40.4%DeepSWE v1.171.0% · was 65.2%Terminal-Bench 4.038.0% · was 20.3%EEBench64.0% · was 53.0%The Terminal-Bench jump is the one that matters for agents
source: x.ai/news/grok-4-7 · four of the seven benchmarks on the page
§3The problem

The Chat Window Problem

What happens every time a new model comes outA new model dropsyou open a new tabIt lives in a chat boxno files, no terminalYou copy the code outpaste it in, run it yourselfIt says doneyou find the bug at 11pmIt forgets youevery new chat starts at zeroNext model, same loopnew tab, new copy-pasteThe brain got better. Your setup didn't.
THINKING IT? "I can just use Grok in the Grok app."

You can. And it will write you code in a chat box that you then copy out, paste in, and run yourself.

Inside Hermes it gets a terminal, your files, your skills, and the job of checking its own work.

The brain got better. Your setup didn't.
§4How it works, in simple words

A model is just a profile. A profile is just a folder.

How a Hermes profile worksYouone promptor the Agent OS chatHermes Agentloads the profileskills · memory · toolsThe profile folderwhich brain · which keysgrok-4-7Grok 4.7answers, or calls toolsvia OpenRouterSwap the model line, and the whole agent runs on a new brain
§5Exactly how it works, step by step

One prompt's journey, start to finish

The journey of one prompt through the grok-4-7 profileYour prompttyped onceProfile loadsmodel + keys + SOULSkills attachterminal · files · webGrok 4.7 workswrites · runs · readsIt checksthen it repliesIdentity check: 8.4 seconds end to end · the app build: 82 seconds
The six steps, in order1 · You type a promptor pick the profile in the Agent OS2 · Hermes reads config.yamlmodel: x-ai/grok-4.73 · It adds your skills + memorysame ones every profile shares4 · Grok 4.7 gets the jobthrough OpenRouter, with your key5 · It calls toolswrite a file, run a command, read the result6 · It verifies, then answersthe reply lands in your terminal or the OSSo what IS it? One folder that points Hermes at a new brain.
§6Old way vs new way

The chat tab, or the profile

Same new model, two ways to use itOLD WAYevery launchopen the new model's apppaste your code into a chat boxcopy the answer back outrun it yourself, find the bugexplain your project again tomorrowNEW WAY~2 minutesone command makes the profileone line names the modelsame skills, memory, and toolsit runs and checks its own workthe Agent OS picks it up on its ownThe profile is the difference
§7Step 1

One command creates the profile

real session · Hermes v0.21.2 · profile grok-4-7 · replayed at reading pace

What you're watching: the real commands from this morning. One profile create command, cloned from a profile that already had my OpenRouter key, then one line changed in config.yaml to x-ai/grok-4.7.

~/.hermes/profiles/grok-4-7/config.yaml
model:
  default: x-ai/grok-4.7
  provider: openrouter
  base_url: https://openrouter.ai/api/v1
toolsets:
  - hermes-cli
agent:
  max_turns: 90
terminal:
  backend: local
  cwd: ~/.hermes/profiles/grok-4-7/workspace
THINKING IT? "I've never touched a config file."

It's a text file with one line you change: the model name.

Clone from a profile that already works and you don't even type the keys.

§8Step 2

Check it's really Grok answering

real session · Hermes v0.21.2 · profile grok-4-7 · replayed at reading pace

What you're watching: the status command showing Model x-ai/grok-4.7, then a one-line question. The reply came back in 8.4 seconds: “I'm Grok 4.7 via OpenRouter (x-ai/grok-4.7), and 17*23 = 391.”

8.4 s end to endModel: x-ai/grok-4.7~$0.03 for the check
§9Step 3

It shows up in the Agent OS on its own

real screen recording · Agent OS · localhost:3737 · Hermes tab · 22 Sep 2026

What you're watching: the real Agent OS Hermes tab. I pick grok-4-7 from the chat profile list, type a question, and the reply streams back: “I'm Grok 4.7 (x-ai/grok-4.7), running inside Hermes Agent…”

THINKING IT? "Do I have to wire it into the dashboard too?"

No. The Agent OS reads your Hermes profiles folder every time it loads the list.

Make the folder, and grok-4-7 is already in the chat profile menu.

Make the folder. The OS finds it.
§10Use case 1

Build an app, then check it before saying done

real session · Hermes v0.21.2 · profile grok-4-7 · replayed at reading pace

What you're watching: the real tool calls from the session, in order. It read a design skill, looked at the folder, wrote a 20,436-byte file, then ran its own parse check and node --check before replying. 82 seconds, 4 model calls, about $0.13.

The kanban build, by the numbers82 sone prompt to verified file4model calls20,436bytes of working appIt ran the checks before it said done. I didn't ask twice.
§11What it built

The app, working, the first time

real screen recording · the file Grok 4.7 wrote · no edits by me

What you're watching: me playtesting the file it wrote, untouched. Three cards added with the Add card button, one card dragged into Doing, the timer started. No errors in the console.

Open the app it built →focus-board.html · one file · press N for a new card
§12The self-check loop

Write, run, read, fix, then reply

The loop Grok 4.7 ran on its ownWrite the file20,436 bytesRun a checkparser + node --checkRead the resulttag_problems 0Fix if needednone this timeReply“Verified”This is what “checks its own work” looks like in practice
THINKING IT? "Every model says it tested the code."

Most say it. This one ran the check as a real terminal command, and the output is in the session log.

You can read the exact command and the exact result. It's not a sentence, it's a receipt.

It ran the check. Then it said done.
§13Use case 2

Read a page and hand back clean facts

real session · Hermes v0.21.2 · profile grok-4-7 · replayed at reading pace

What you're watching: a real run through Hermes' web tools. I asked it to read xAI's announcement and reply with only JSON. It came back in 16.3 seconds with the date, both prices, seven benchmarks, a verbatim quote, and the availability list.

16.3 s7 benchmarks, both numbersstraight from x.ai
§14Use case 3

A 3D game from one prompt

real screen recording · the file Grok 4.7 wrote · played by me

What you're watching: me playing the file it wrote, untouched. Enter to start, arrows to steer, W to boost. The score climbs through the gates, then I clip a car and the game-over screen comes up with the score and a restart prompt. No console errors.

Play the game it built →neon-drift.html · one file · Enter to start · arrows steer · W boost · S drift brake
672 s to build19,939 bytesthree.js from a CDN
§15Use case 4

Same bug, two brains, one flag

real session · Hermes v0.21.2 · profile grok-4-7 · replayed at reading pace

What you're watching: the same broken Python function sent to two profiles. Grok 4.7 fixed it and proved it with a test in 13.9 seconds. My default profile, on GPT-6 Astra, did the same in 35.6 seconds. Both right.

One prompt, two profiles, one flag: -p13.9 sGrok 4.7 · fixed + tested35.6 sGPT-6 Astra · fixed + testedBoth got it right. One was faster. Now you can check.
§16What it cost me

The whole morning, in one number

Every session in this guide, added up$0.719 sessions · estimated by Hermes228,174tokens in57,551tokens outHermes tracks this per session. You can read it any time.
source: session_model_usage in the grok-4-7 profile's state.db · estimated from OpenRouter's listed prices
Under a dollar for the whole morning.
§17 Where it plugs in

Get the AI agent system built for you.

This profile is one brain inside the Agent Operating System, the same setup I run a seven-figure business on. Join the AI Profit Boardroom and you walk out with:

The full Agent OS zip — Hermes, profiles, and the dashboard already wired
Every model as a profile — Grok, Claude, GPT, DeepSeek, Kimi, free local models, one chat
The Hermes setup walkthroughs — profiles, skills, memory, on video, step by step
Agents that work while you sleep — Agent Kanban + Goal Mode
Five live coaching calls a week — unblocked by people who've hit your exact error
3,900+ founders in 38 countries — running this exact stack today
Join the AI Profit Boardroom →Inside the AI Profit Boardroom · skool.com/ai-profit-lab
Set up in an afternoon · used in 38 countries · new models added the week they ship
THINKING IT? "Doesn't running Agent OS burn a fortune in tokens?"

No. The everyday 90% runs on a free local model on your own machine, free APIs slot in as profiles, and for frontier work it drives the CLIs you already pay for. It's a layer on top of what you own, not a new meter.

Inside the Boardroom there are full token-efficiency tutorials, so you learn to cut usage and stop thinking about it.

§18Three beliefs to drop

What's holding you back

Wrong: “I'll wait until the next model, this one will be old in a month.”
Right: That's the point of profiles. When the next one drops, it's one folder and one line. You never rebuild.
Wrong: “I'm not technical enough to run models through a terminal.”
Right: You typed one command and changed one word in a text file. The Agent OS gives you a chat window on top of it.
Wrong: “Grok is just for chatting on X.”
Right: Inside Hermes it built a working app, ran its own checks, read a web page into JSON, and fixed a bug with a test. That's an agent, not a chat.
Don't take my word for it

Members post their wins every day — agency owners, ecom founders, course creators, solo operators across 38 countries.

Read the 158-page wins doc →
§19The honest bits

Four things to know before you copy me

The caveats, in one placeI went through OpenRouterxAI's own login is an option too: hermes auth add xai-oauthPrices on this page are xAI's$2 / $6 · OpenRouter listed $1.60 / $4.80 todayOne morning, not a benchmarkeight sessions · your jobs will differ500k context is the listingI didn't fill it · I read it off the model pageReal runs, real numbers, and the edges of what I tested
§20Recap

What you walk away with

Six things you now haveYou stop rebuildinga new model is one folder + one lineYou stop copy-pastingit has a terminal and your filesYou stop guessingit runs the check before it says doneYou get a second opinionsame prompt, two brains, one flagYou get it in the OSthe profile appears on its ownYou know the costevery session, trackedGrok 4.7, wearing the Hermes body
§21 Your move

Get the AI agent system, pre-wired.

This page shows you one profile. The Boardroom gives you the whole operating system around it: every model as a profile, the dashboard, the memory, the agents that run overnight, and the people who've already hit your error message. Readers bookmark this page. Operators join, install the Agent OS this week, and have Grok 4.7 building for them by Friday. Decide which one you are tonight.

The Agent OS member pack — install-ready, one afternoon
Every model, one chat — Grok 4.7 added the day it shipped
Daily tutorials — every new model and tool, the week it lands
Five live calls a week — set it up with people, not alone
258 documented member wins — read them in their own words
Join the AI Profit Boardroom →Inside the AI Profit Boardroom · skool.com/ai-profit-lab
258 documented member wins · 38 countries · 5 live calls a week · everything from this guide, pre-wired