A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.
Lesson 32, module 9: Coding agents and the terminal Opening an agent session with Claude Code, Codex or another engine Malik has to code the wines page. Where does he open his agent from?
The session starts from the task: context, branch and commits follow. [Diagram: From the task to a session that delivers] 1. The task 2. Work on it 3. The engine 4. The work 5. The summary The session starts from the task: it carries its context, branch and commit prefix. Your AI, your account: Nexus doesn't resell any subscription. Claude Code with a claude.ai account Codex with a ChatGPT account Platform API keys withdrawn For a delivered project, an engine with its own restore points. [Diagram: Which engine for this session] 1. Does the session write files in a project delivered to a client? 2. Do you have a Claude Code or Codex account linked on this computer? 3. Does this engine have a restore point in Nexus? Yes to all: Claude Code or Codex, with your own account, on the task's branch. The first request states the goal, the expected result and what's forbidden. Request: Task "Estate and wines page". Read the approved mock-up from the Studio and the project sheet, then suggest your plan before writing: files touched, tests, and what you'll check in the preview. Answer: A five-point plan: the mock-up read and its version, the components to create, the wine data, the tests run by the Nexus tool, the desktop and mobile check. No file written before your approval. Three sessions in parallel: one task, one folder, one branch each. The project shared by all The team catch-up between agents The computer and quotas as the limit At the end, the summary: files touched, commands, checks. Reviewed by a person Restore points if in doubt Nothing is live until something is deployed In the exercise, you open Malik's session and write his first request. Your turn: Open Malik's session and write his first request The written course, the corrected exercise and the quiz are below the video.
Lesson 32 of 48 · module 9, coding agents and the terminal
Open an agent session with Claude Code, Codex or another engine
An agent session starts from a task, via the “Work on it” button: it opens on the task’s branch, with the person’s engine and account. You learn to choose between Claude Code, Codex and the other engines, between discussion and the official terminal, to run several sessions in parallel and to review the summary.
22 min of reading
1 min 56 of video
7 diagrams
2 demandes to copy
3 exemples pratiques
4 exercices answerss
5 questions
1 ressource
By the end of this lesson, you will know how to
Open a session linked to a task, on its branch, with the right engine and your own account
Choose between the discussion and the official terminal, and switch engine without losing the thread
Run two or three sessions in parallel and review their summaries before approving
What’s covered
Your engine, your account
Open the session from the task
Discussion, official terminal and switching engine
Several sessions in parallel
Review the summary and roll back
3 worked examples, followed from start to finish
Exercise with answers · Open Malik’s session and write his first request
3 practice exercises, from guided to demanding cases
The quiz
Key points
A coding session starts from a task, via “Work on it”: it carries the task’s context, its branch and the commit prefix.
Everyone uses their own Claude Code or Codex account; Nexus neither resells nor pools any subscription.
The newest engines (Gemini, Mistral, Grok, DeepSeek) have no restore points: not for a delivered project.
After switching engine, restate where the work stands: each engine has its own execution context.
Review a session’s summary before approving; restore points are not production backups.
Tuesday, 9am, in the Chartrons district. Claire has broken the Saint-Émilion wine merchant’s site down into tasks. The first goes to Malik: “Estate and wines page”, high priority, due Friday, mock-up approved by Sandrine in the Studio. Malik could open his usual terminal and run Claude Code in a folder. He would then lose everything Nexus knows about the project: the project sheet, the conventions, the vault access, the final version of the mock-up, the planned branch. In Nexus, a coding session starts from a task, not from an empty folder.
From the task to the session that delivers
1The task
Title, acceptance criteria, due date, planned branch.
2Work on it
The button opens a session linked to the task, on its branch.
3The engine
Claude Code or Codex, with the person’s own account.
4The work
Files, tests via the Nexus tool, preview, prefixed commits.
5The summary
Files touched, commands, checks: reviewed by a person.
The session is created from the task: it carries the task’s context, branch and commit prefix.
Your engine, your account
Nexus doesn’t supply AI: it drives the one you already pay for, on your machine, with your account. Claude Code connects with a claude.ai account, Codex with a ChatGPT account. Each team member connects their own; your credentials stay with the vendor, and Nexus only learns that the connection is made. It also removes platform API keys from the session environment, to avoid pay-as-you-go billing you hadn’t chosen. Malik therefore keeps his own usage limits, and what his session consumes can be read in the project’s Sobriety tab.
Check the machine is readyTerminal
# version de Nexus, compte, agent par défaut, moteurs reliés, sessions ouvertes, PATH
nexus statut
# la même chose pour un script
nexus statut --json
Read-only command, recorded on 15 November 2026 on Nexus 0.11.69. Expected: “Claude Code connecté (claude.ai)” or “Codex connecté (ChatGPT)”. An unlinked engine is linked in Settings, AI tab.
Engines supported by Nexus (as at 15 November 2026)
Engine
Account used
Restore point
For a delivered project
Claude Code
The person’s claude.ai subscription
Yes
Yes
Codex
The person’s ChatGPT account
Yes
Yes
Freebuff
Supported according to the Nexus Engines page
Not documented as at 15 November 2026
Ask the Nexus team
Gemini, Mistral, Grok
Subscription with their vendor
No
Not yet
DeepSeek
Pay-as-you-go API key, stored on the machine
No
Not yet
Which engine for this session
1Does the session write files for a project delivered to a client?
No Any connected engine will do for a question or exploration.
2Do you have a Claude Code or Codex account linked on this machine?
No Connect it first: Settings, AI tab, then /login or codex login.
3Does this engine have a restore point in Nexus?
No Gemini, Mistral, Grok, DeepSeek: not yet for a delivered project.
Yes to allClaude Code or Codex, with your own account, on the task’s branch.
As at 15 November 2026. The other engines have no restore points.
Open the session from the task
Open the task’s session
Open Tasks in the dock, or the tasks tab of the wine merchant’s project.
Open the “Estate and wines page” task and review its criteria, due date and planned branch.
Click “Work on it”: the session opens in the project’s discussions column, on the task’s branch.
Check the engine shown in the discussion’s selector; change it if needed before the first request.
Write the first request in the input field. Button labels may vary slightly depending on your version of Nexus.
The session knows which task it is working on. This has two practical consequences. It works on its own branch, never on the main one. And every commit message starts with [tache <id>]: six months later, Claire will be able to find out from the git history why a line changed. The session also receives, with no key or network needed, a local MCP server that knows the current project, its access details, its verification browser and the acceptance testing findings.
The first request of a coding session
Task “[task title]”. Before writing anything:
1. Read the project sheet, its conventions and the approved version of the mock-up [mock-up name] in the Studio. Tell me which version you read.
2. Propose your plan: files created or modified, data needed, tests to run with the Nexus testing tool, pages to check in the preview (desktop and mobile).
3. Say what you don’t know and who needs to tell you.
You work on the task’s branch. No production release, no new dependency without asking me.
Roughly what you should get
What to expect: the version of the mock-up read (for example “01.02.00, VALIDATED status”), a numbered plan with the files concerned, the list of tests, the preview formats, and two or three specific questions (“are the vintage prices displayed?”). No file is written before you reply.
Asking for the plan first takes a minute and saves an hour of code heading in the wrong direction.Discussion or official terminal
The discussion
Files, screenshots and instructions attached to the request
Local dictation on an equipped machine
History, pending questions and summaries kept
The default choice for everyday work
The official terminal
The vendor’s binary, unfiltered
/login et /status pour le compte du moteur
Engine-specific commands (/model, etc.)
Useful for an engine setting, not for delivering
The same agent, two ways to talk to it. Nothing stops you switching between them.
Discussion, official terminal and switching engine
The discussion is the normal way to work: you attach files, screenshots and instructions, and local dictation lets you talk to the agent on an equipped machine. The discussion’s Terminal tab opens the engine’s official terminal, unfiltered: it accepts /login and /status, as well as the engine’s own commands. You can switch engine from a discussion: Nexus keeps the thread on screen, but each engine starts with its own execution context. After switching, restate in two lines where the work stands and the next step.
Several sessions in parallel
Malik hands over three subjects at once: the wines page, the contact form, the English translation. One session per task, each in its own working folder and on its own branch: one session’s files don’t get in the way of another’s. The team update slips the latest turns from the project’s other chats, over one day at most, into each agent’s prompt. The real limit lies elsewhere: the number of possible jobs depends on your machine and your engines’ limits. Beyond three active sessions, human review becomes the bottleneck.
Three agents on the same project
The project
Project sheet, conventions, vault access, approved Studio designs: shared by all sessions.
Sessions
One per task, each in its own working folder and on its own branch.
The team update
The latest turns from the project’s other chats, slipped into each agent’s prompt.
The engines
Each developer’s account, limits and quotas: nothing is pooled.
Each session has its own working folder and branch: they do not get in each other’s way.
Review the summary and roll back
A session keeps a record of the files it touched, its commands, its checks, its requests and its token usage. Tests, type checking and the build go through the Nexus test tool, which targets what git has changed and reports only failures. If the result isn’t right, restore points bring back the files the session wrote. They replace neither a production backup nor a database backup: they only cover the files on the machine. Nothing is live until someone has deployed.
Mistakes to avoid
Run the engine in an ordinary terminal, outside Nexus, to go faster.
The agent knows nothing of the project sheet, the conventions, the approved mock-up or the vault access; it works with no task or branch, and nothing is linked to the project.
Open the session with “Work on it” on the task, or with nexus agent in the project folder.
Lend your Claude or ChatGPT account to a colleague who doesn’t have one yet.
Usage limits get mixed up, the vendor’s terms don’t allow it, and on the day someone leaves nobody knows who did what.
Everyone links their own account in Settings, AI tab; one linked engine is enough to work.
Switching engine mid-task without restating where the work stands.
The thread stays on screen, but the new engine starts with its own execution context: it revisits choices already settled.
After the change, write two or three lines on what has been done, what remains, and the next step.
Open six sessions at once on the same project.
The machine slows down, the engine’s limits arrive quickly, and six unreviewed summaries end up merged without checks.
Two or three active sessions, one per task, with each summary reviewed before opening another.
3 SME situations followed from start to finish: the prompts exactly as they were written, the model answer to aim for, and what was checked before sending.
Example 1
One developer on her own and two engines
Camille is a freelance developer in Pessac. She maintains the Next.js website of a music school with 4 employees. She has Claude Code and Codex linked, and wants to know which to use to fix the concert calendar, which shows dates in English.
Two engines, one task
1nexus statut
Both engines connected.
2Claude Code
The cause found, the fix made.
3Change
Where the work stands, restated in two lines.
4Codex
The review finds a second place.
Request 1
Terminal command: nexus statut
Model answer
Nexus 0.11.69 (installed application)
Nexus account Camille · [workspace]
Default agent claude · engine's default model
Claude Code connected (claude.ai)
Codex connected (ChatGPT)
Open sessions 0
Both engines are connected with her accounts. She keeps Claude Code, her default engine, and reserves Codex for a review.
Request 2
Task “Agenda dates in French”. Read the agenda component and tell me where the date format comes from, before changing anything. Propose the smallest possible fix, and the tests to run with the Nexus tool.
Model answer
What to expect: the file and line that format dates without a specified language, a one-line fix (the en-GB locale passed to the formatter), a test that checks for “lundi 14 décembre”, and the page to open in the preview.
Camille accepts. The test passes, and the preview shows the dates in French.
Request 3
I’m switching to Codex for a review. Status: the date fix is done on the task’s branch and the test passes. Review the diff and tell me if there is anywhere else on the website that formats dates without a language.
Model answer
What to expect: a review of the diff, and a second place spotted (the news footer), with the same fix proposed.
Switching engines cost two lines of context and found a second defect.
What was checked before sending
The account: each engine connected with Camille’s account, not a client’s.
The context: the state of the work restated after switching engines.
The check: the test via the Nexus tool and the page reviewed in the preview.
Rough scale: a fix and a review in thirty minutes, instead of an hour hunting down every date format alone.
Example 2
Three sessions for one redesign
Romain is a developer at a nine-person web agency in Mérignac. He is redesigning the website of a joinery manufacturer with 40 employees in Cestas: three tasks to complete this week (catalogue, quote request, careers page).
One session for everything, or one per task
A single session
Three topics mixed up in the same thread
A single branch for everything
An unreadable diff to review
One session per task
One folder and one branch per topic
The team update between agents
Three short summaries to review
Request 1
Action on screen: “Work on it” on each of the three tasks, one after the other.
Model answer
Three discussions in the project column, each on its task's branch and in its own working folder. Romain puts them in a “Redesign” folder in the discussions column.
Romain writes the first request for each with the same structure: goal, criteria, plan before writing.
Request 2
“Quote request” session. The form must create an opportunity in the client’s CRM. Before writing, check the agency memory to see whether we’ve already built an integration of this kind, and tell me where the approach you’re proposing comes from.
Model answer
What to expect: a result from the agency’s memory (project and source file), the approach reused, and the plan adapted to the manufacturer’s CRM.
The agent reuses an integration built a year earlier for another client, instead of inventing one.
Request 3
“Catalogue” session. The “Quote request” session has modified the shared button component. Take it into account and tell me if your branch conflicts with its branch.
Model answer
What to expect: the agent has seen the change in the team update, compares the two branches and flags a possible conflict on one file, with how to resolve it at merge.
The conflict is resolved before the merge, not discovered in pre-production.
What was checked before sending
Branches: one per task, no session on the main branch.
Coordination: the team update reviewed, the conflict dealt with before merging.
Review: Romain reviews three summaries a day, no more.
Rough scale: three tasks moved forward in the same day, instead of one at a time with context going back and forth.
Example 3
An account linked by mistake
Aurélie is a project manager at a five-person design studio in Bègles. A new developer starts on Monday. The manager suggests she uses Aurélie’s Claude account “for the time being”.
Monday, a new developer arrives
9 hInvitation accepted
Invitation code valid for seven days.
9 h 30Nexus installed
On their user account.
10 hTheir account connected
Claude Code with its subscription.
10 h 15First session
From a task, on its branch.
Request 1
Request to the Nexus assistant: A new developer starts on Monday. What does she need to link on her machine to open coding sessions, and can she use my Claude account until she has her own?
Model answer
What to expect: she installs Nexus, accepts the invitation to the workspace, then links her own Claude Code or Codex account in the “Your AI tools” screen or in Settings, AI tab. Each person links their own, on their own machine: Nexus neither shares nor passes on subscriptions.
Aurélie refuses to lend her account. The manager takes out a subscription in the developer’s name.
Request 2
Command on the developer’s machine, Monday at 10am: nexus statut
Model answer
Compte Nexus [first name] · [workspace]
Claude Code connecté (claude.ai)
Codex non connecté
Sessions ouvertes 0
Codex is not linked: that is not a problem, one account is enough to work.
What was checked before sending
The account: the person’s own, never a colleague’s.
Status: nexus statut reviewed before the first session.
The human step: connecting the account remains the developer’s job.
Rough scale: a newcomer ready in half an hour, with no shared account to untangle the day someone leaves.
Malik’s task: “Estate and wines page. A page presenting the estate (history, terroir, 12 hectares) and the six wines, each with its own sheet (grape varieties, vintage, food pairings). Mock-up approved in the Studio, version 01.02.00. Criteria: responsive, each wine has its own URL, no image over 300 KB. Due Friday.” Malik has Claude Code connected on his machine; an intern recommends Grok “because it’s free with his subscription”. Prepare the opening of the session.
Check the state of the machine with a command and say what you expect from its output.
Choose the engine and justify your choice against the intern’s advice.
Describe how to open the session from the task.
Write the first request to the agent.
See the answers
Machine statusTerminal
nexus statut
# attendu : Claude Code connecté (claude.ai), le compte et l'espace du studio,
# et la ligne « dans le PATH » pour que le terminal trouve la commande
The engine: Claude Code, connected with Malik’s account. Grok is one of the newest engines: no restore points, no commands blocked by the company policy, not yet tested end to end. For the code of a site delivered to Sandrine, now is not the time.
Tasks, then the “Estate and wines page” task.
“Work on it”: the session opens on the task’s branch.
The engine checked in the chat selector before the first request.
Malik’s first request
Task “Estate and wines page”. Before writing: read the project sheet, its conventions and the approved mock-up in the Studio, and tell me which version you read (I expect 01.02.00). Propose your plan: components, one URL per wine, data for the six wines, image weight (300 KB max), tests with the Nexus tool, check in the preview on desktop and mobile. Say what you don’t know. No new dependency without asking me, no deployment.
Roughly what you should get
What to expect: “Mock-up read: 01.02.00, VALIDATED”, a numbered plan, the list of files, and specific questions (product sheet text supplied by Sandrine? bottle photos available?).
If the agent reports a version other than 01.02.00, Malik stops: either the mock-up has changed since approval, or the agent is reading the wrong file. Either way, it needs clearing up with Inès before the first line of code.
Practise
Three more exercises, from the most guided to the most demanding. The material is provided in full: copy it into your tool, then check your work against the criteria before opening the answers.
Level 1 · guided10 min
Read the output of nexus statut
Here is the output of nexus statut on Inès’s machine; she wants to open a session to fix a colour in the code. Say what is ready, what is missing, and what to do.
The material to work on
Nexus 0.11.69 (installed application, darwin)
Nexus account Inès · Studio des Chartrons
Folder project none
Default agent codex · engine's default model
Claude Code not connected
Codex not connected
Open sessions 0
Launcher /Users/ines/.local/bin/nexus
in the PATH: a new terminal finds `nexus`
Check your work
You see that no engine is linked.
You suggest linking an account via Settings, AI tab (or the “Your AI tools” screen).
You point out that the account must be Inès’s own.
You note that “Projet du dossier aucun” is not a blocker: the session will open from the task.
See the answers
Nexus and the account are ready, but no engine is connected. Inès opens Settings, AI tab, and clicks the Codex card (her default agent): Nexus runs codex login and a page opens for her ChatGPT account. “Folder project none” simply means the terminal is not in a project folder.
After signing inTerminal
nexus statut
# attendu : Codex connecté (ChatGPT)
Level 2 · independent20 min
Write the first request for three sessions
Malik opens three sessions for the wine merchant’s site. Write the first request for each, using the same structure (goal, criteria, plan first, prohibitions).
The material to work on
Task 1: “Contact form”. Fields: name, email, optional phone, message. Sends an email to the winery. In development, emails are captured (Emails tab). Due Wednesday.
Task 2: “English version”. All pages in English, URLs under /en/. Translated texts supplied by Sandrine in a project document. Due Thursday.
Task 3: “Legal notice”. Page based on the text approved by Sandrine, link in the footer of every page. Due Friday.
Check your work
Each request names the task and its expected result.
Each request asks for a plan before writing.
The form request makes clear that nothing actually goes into development.
The translation request relies on Sandrine’s document, not on an invented translation.
No request asks for deployment.
See the answers
Contact form
Task “Contact form”. Goal: a form with name, email, optional phone, message, which sends an email to the winery. Before writing, propose your plan: field validation, error message, sending. The development .env captures emails (Emails tab): check the sending there; nothing must actually go out. No new dependency without asking me.
Roughly what you should get
What to expect: a plan, the files concerned, and the check planned in the Emails tab.
English version
Task “English version”. All pages in English under /en/, based on the translation document Sandrine has added to the project. Don’t translate anything yourself: any text missing from the document must be flagged. Propose your plan and the list of pages before writing.
Roughly what you should get
What to expect: the list of pages, the text found in the document, and the list of text that is missing.
The third request follows the same structure: the approved text of the legal notice, the link in the footer of every page, the plan first. Each of the three sessions lives on its own branch.
Level 3 · demanding case30 min
Untangle a session that has gone the wrong way
Here is the summary of a session opened by a developer in a hurry. Say what is wrong, what needs undoing and how, and write the request that restarts the work properly.
The material to work on
Session opened from a terminal, outside the “Cookie banner” task.
Engine: Grok.
Branch: main.
Files touched: 14 (including package.json, the header component, three pages).
Commands: npm install of a cookie banner library; npm test run in the terminal.
Checks: no page opened in the preview.
Commits: 3, without a task prefix.
Nothing pushed.
Check your work
You flag the session opened outside a task, the main branch and the engine with no restore point.
You flag the dependency added without approval and the tests run outside the Nexus tool.
You suggest undoing the work before it is pushed, and you say so.
Your new request starts from the task and asks for a plan.
See the answers
Five problems: a session outside the task, commits on the main branch, an engine with no restore point, a library added without approval, and tests run outside the Nexus tool with no page checked. As nothing has been pushed, the work can be undone locally: the three commits are removed from the machine’s main branch by someone who knows what they are doing, or set aside on a separate branch. With Grok, there is no restore point to roll back in one click.
Picking up again, from the task
Task “Cookie banner”. We’re starting from scratch on the task’s branch. Read the site’s Cookies page and the project conventions. Propose your plan before writing: is a library or a custom component needed, and why? Tests go through the Nexus testing tool, and you check the banner in the preview on desktop and mobile before concluding.
Roughly what you should get
What to expect: a plan, a reasoned recommendation on the library (for you to approve), and the list of tests and pages to check.
Every request to the project agent written in the course, including model answers, worked examples and practice exercises, sorted by module and lesson, with filters to find the right one.
For each lesson, the main exercise and the three graded practice exercises with their materials, to do on paper or alongside Nexus; all model answers are gathered at the end.
The course’s worked examples, from the first project to production: the situation, the request as it was written, the agent’s typical answer and what was checked before approving.
All the lessons in a single PDF: objectives, written course with its diagrams, tables and requests, common mistakes, exercise and key takeaways. The practice exercises and answers are in the workbook, the examples in the collection.
Your notes stay on this device; they are not sent anywhere.
A question for the tutor
A result that doesn’t match the model answer, a prompt that gets you nowhere, a case specific to your business: write to us with your prompt and the response you got. A Bonbay Académie trainer replies within 24 working hours, on your case.