Spartan Agentic AI StudioThe course

Windows walkthrough

The videos show a Mac; here are the same steps on Windows, each with a picture. The pictures come from a Windows 11 computer; Windows 10 has not been tested yet.

Start
How this guide works

The videos show a Mac; here are the same steps on Windows, each with a picture. You do not need to know anything about computers beyond turning one on, using a mouse and typing.

Each section is one thing you do in the course. Do the setup sections once, before you run a team. Do the other sections when the course gets to them. If a step does not look like the picture, go to section D1, "When something fails".

The pictures come from a Windows 11 computer; Windows 10 has not been tested yet. On Windows 10 some menus look different; where we know the Windows 10 name, the step gives it.

Your place is saved in this browser only. On a computer, the Left and Right arrow keys go back and next. Show the whole guide on one page to search or print it.

A0. Before you start

You need:

  • A Windows 10 or Windows 11 computer. A Chromebook, an iPad or a phone will not work. If you are not this computer's administrator, have its owner nearby for section A1: Windows may ask for their password once, when OpenCode installs. To see which Windows you have, press the Windows key, type winver and press Enter.
  • This guide open in a browser on the Windows computer, beside OpenCode, so the Copy buttons work there. A phone is fine for reading along.
  • An English keyboard for typing paths and commands. If you type in another language, press the Windows key + Space to switch to English (ENG in the taskbar) first.

OpenCode is free. Only what the AI does costs money, and it comes out of your key's credit, which has a limit: a small job costs very little. The agents work only inside the team folder you open, and nothing else on the computer changes. To remove OpenCode later, uninstall it like any other app (Settings › Apps). Never give the agents private information, such as patients' or other people's details.

A1. Install OpenCode

  1. A1. Install OpenCode, step 1 of 6: Click your web browser's address bar, type opencode.ai/desktop and press Enter.

    Need help with this step? Tips

    You should see: the OpenCode Desktop page.

    Any browser works.

  2. A1. Install OpenCode, step 2 of 6: On the Desktop page, click Download for Windows.

    The OpenCode Desktop page with the button Download for Windows markedOpen the picture full size
    Screen looks different? Tips

    You should see: the button turns blue and a Downloads box opens at the top right.

  3. A1. Install OpenCode, step 3 of 6: Wait until the download finishes.

    The Downloads box showing opencode-desktop-win-x64.exe with a progress barOpen the picture full size
    Screen looks different? Tips

    You should see: a progress bar that fills up. When it ends, the words Open file appear.

    The file is opencode-desktop-win-x64.exe.

  4. A1. Install OpenCode, step 4 of 6: Click Open file.

    The Downloads box showing opencode-desktop-win-x64.exe with the link Open file markedOpen the picture full size
    Screen looks different? Tips

    You should see: Open file under the file name.

  5. A1. Install OpenCode, step 5 of 6: Wait while the installer runs.

    If Windows asks for an administrator password, the person who manages this computer has to type it; see section D1.

    The OpenCode Setup window with the text Installing, please wait and a green progress barOpen the picture full size
    Screen looks different? Tips

    You should see: OpenCode Setup with Installing, please wait....

    In our test Windows showed no warning and asked for no password. If Windows shows "Windows protected your PC", see section D1.

  6. A1. Install OpenCode, step 6 of 6: Wait until OpenCode opens by itself.

    The OpenCode window showing the opencode logo and a box that reads Ask anythingOpen the picture full size
    Screen looks different? Tips

    You should see: the OpenCode window with the project Default Project at the bottom.

    You do not need to click anything. The model name it shows (here Iceman Free) changes to the course model in section A6. If it does not open, click Start, type OpenCode and press Enter.

Nice work!

Install OpenCode is done

Keep going: A2. Get your key

A2. Get your key

Do you have your key? It is an OpenRouter key: a secret code that lets OpenCode use the AI. If not, open Where do I get a key on the course page, then come back; you paste the key in section A6.

A3. Show file extensions and hidden files

You turn on two Windows settings so you can see the full name of every file, such as brief.md, and the folders Windows usually hides. These settings only change what File Explorer shows for your Windows account, and you can switch them back the same way.

  1. A3. Show file extensions and hidden files, step 1 of 4: Click the yellow folder icon on the taskbar to open File Explorer.

    File Explorer open on the Home page, with the folder icon on the taskbar markedOpen the picture full size
    Screen looks different? Tips

    You should see: a File Explorer window with Quick access inside.

    You turn on two Windows settings so you can see the full name of every file, such as brief.md, and the folders Windows usually hides. These settings only change what File Explorer shows for your Windows account, and you can switch them back the same way.

  2. A3. Show file extensions and hidden files, step 2 of 4: Click View in the bar at the top of the File Explorer window.

    File Explorer with the View button marked and its menu openOpen the picture full size
    Screen looks different? Tips

    You should see: a menu that ends with Show.

  3. A3. Show file extensions and hidden files, step 3 of 4: Click Show, then File name extensions.

    On Windows 10, which has no Show menu, tick the boxes File name extensions and Hidden items on the View tab instead, then go to section end.

    The Show menu open with the choice File name extensions marked and no check mark beside itOpen the picture full size
    Screen looks different? Tips

    You should see: a second menu with File name extensions and Hidden items, and no check mark beside them yet. The menu closes after your click.

  4. A3. Show file extensions and hidden files, step 4 of 4: Click View, Show, then Hidden items.

    The Show menu with a check mark beside File name extensions and the choice Hidden items markedOpen the picture full size
    Screen looks different? Tips

    You should see: a check mark beside File name extensions. After you click Hidden items, the folder list also shows folders such as AppData.

    After this, both File name extensions and Hidden items have a check mark.

Nice work!

Show file extensions and hidden files is done

Keep going: A4. Make your Studio folder

A4. Make your Studio folder

You make one folder named Studio in your user folder, where everything for the course will live.

  1. A4. Make your Studio folder, step 1 of 6: In File Explorer, click the address bar and type %USERPROFILE% (Windows' short name for your own folder, C:\Users\yourname; no Enter yet).

    File Explorer with %USERPROFILE% typed in the address barOpen the picture full size
    Screen looks different? Tips

    You should see: %USERPROFILE% in the address bar.

    You can also press Ctrl + L to reach the address bar.

    You make one folder named Studio in your user folder, where everything for the course will live.

  2. A4. Make your Studio folder, step 2 of 6: Press Enter.

    File Explorer showing the user folder, named Student on the test PC, with its folders and filesOpen the picture full size
    Screen looks different? Tips

    You should see: the folder named after you (Student on the test PC), with folders such as Documents and Downloads. The names of two test files are blurred.

  3. A4. Make your Studio folder, step 3 of 6: Click New, then click Folder.

    On Windows 10, press Ctrl + Shift + N instead, then go to step 4.

    The New menu open with the buttons New and Folder markedOpen the picture full size
    Screen looks different? Tips

    You should see: a menu that starts with Folder.

  4. A4. Make your Studio folder, step 4 of 6: Type Studio.

    A new folder with its name New folder highlighted and ready to be typed overOpen the picture full size
    Screen looks different? Tips

    You should see: a new folder with the name New folder highlighted. Typing replaces that name.

  5. A4. Make your Studio folder, step 5 of 6: Press Enter.

    The new folder now named Studio and selectedOpen the picture full size
    Screen looks different? Tips

    You should see: a folder named Studio.

  6. A4. Make your Studio folder, step 6 of 6: Double-click Studio, then press Ctrl + L.

    The address bar showing the path C:\Users\Student\Studio with the empty message This folder is emptyOpen the picture full size
    Screen looks different? Tips

    You should see: the path C:\Users\Student\Studio (with your own user name in place of Student) and the message This folder is empty.

    This shows the folder's full path.

Nice work!

Make your Studio folder is done

Keep going: A5. Unzip the course files into Studio

A5. Unzip the course files into Studio

You unpack the course download (a zip file) into your Studio folder, so every team folder sits in one place you can find. Its name starts with AgentTeams.

  1. A5. Unzip the course files into Studio, step 1 of 10: On the course site, agentic-spartans.github.io/course, click Download the course files.

    Need help with this step? Tips

    The zip goes to your Downloads folder.

    You unpack the course download (a zip file) into your Studio folder, so every team folder sits in one place you can find. Its name starts with AgentTeams.

  2. A5. Unzip the course files into Studio, step 2 of 10: In File Explorer, click Downloads on the left.

    File Explorer showing the Downloads folder with the AgentTeams course zipOpen the picture full size
    Screen looks different? Tips

    You should see: the AgentTeams zip file in the list.

    File Explorer is the yellow folder on the taskbar.

  3. A5. Unzip the course files into Studio, step 3 of 10: Right-click the AgentTeams zip file, then click Extract All....

    The right-click menu on the zip file with Extract All... in the listOpen the picture full size
    Screen looks different? Tips

    You should see: a menu with Extract All... in it.

  4. A5. Unzip the course files into Studio, step 4 of 10: Click Browse... (not Extract).

    The Extract window with the default folder in Downloads and the Browse buttonOpen the picture full size
    Screen looks different? Tips

    You should see: a folder inside Downloads whose name starts with AgentTeams, and the button Browse....

    The window Select a Destination and Extract Files suggests a folder inside Downloads. Do not use it: every later step expects your teams inside Studio.

  5. A5. Unzip the course files into Studio, step 5 of 10: Press Ctrl + L.

    The Select a destination window with the address bar at the topOpen the picture full size
    Screen looks different? Tips

    You should see: the window Select a destination. It may already show Studio in the address bar.

    In the window Select a destination, this selects the address bar at the top.

  6. A5. Unzip the course files into Studio, step 6 of 10: Type %USERPROFILE%\Studio and press Enter.

    The Select a destination window with the Studio path typed in the address barOpen the picture full size
    Screen looks different? Tips

    You should see: your text in the address bar before you press Enter. The list below still shows the folder you were in (here Documents) until you press Enter.

  7. A5. Unzip the course files into Studio, step 7 of 10: Click Select Folder (an empty list is normal: Studio has nothing in it yet).

    The Select a destination window inside Studio with the Select Folder buttonOpen the picture full size
    Screen looks different? Tips

    You should see: Studio in the Folder: box. The list says "No items match your search" because Studio is still empty. That is normal.

  8. A5. Unzip the course files into Studio, step 8 of 10: Check that the box under Files will be extracted to this folder ends in \Studio, then click Extract.

    The Extract window with the destination set to the Studio folder and the Extract buttonOpen the picture full size
    Screen looks different? Tips

    You should see: the destination C:\Users\Student\Studio.

    It reads C:\Users\Student\Studio, with your own user name instead of Student.

  9. A5. Unzip the course files into Studio, step 9 of 10: Double-click the AgentTeams folder.

    The Studio folder with the extracted AgentTeams folderOpen the picture full size
    Screen looks different? Tips

    You should see: one folder, whose name starts with AgentTeams.

    A File Explorer window opens on your Studio folder by itself.

  10. A5. Unzip the course files into Studio, step 10 of 10: Check that it holds the clip folders and README.md.

    The AgentTeams folder with clip01, clip02, clip03, clip06, clip08, README.md and VERSION.txtOpen the picture full size
    Screen looks different? Tips

    You should see: five folders, clip01, clip02, clip03, clip06 and clip08, and the files README.md and VERSION.txt. Each clip folder holds the teams of the video with the same number: clip02 goes with video 2.

    There is no clip04, clip05 or clip07: those videos have no team folder.

Nice work!

Unzip the course files into Studio is done

Keep going: A6. Connect your key in OpenCode

A6. Connect your key in OpenCode

You give OpenCode your key once, and tell it to use the course's AI model, GPT-6 Luna. Do this section once you have your key.

  1. A6. Connect your key in OpenCode, step 1 of 8: In OpenCode, click Home (four squares and a plus, top left), then Settings (below Projects).

    OpenCode Settings page named Preferences, with Providers, Models and Extensions listed on the leftOpen the picture full size
    Screen looks different? Tips

    You should see: a page called Preferences with a list on the left.

    The page that opens is called Preferences. Settings is below the list of projects.

    You give OpenCode your key once, and tell it to use the course's AI model, GPT-6 Luna. Do this section once you have your key.

  2. A6. Connect your key in OpenCode, step 2 of 8: In the list on the left, click Providers.

    OpenCode Settings, Providers page, with the popular providers listedOpen the picture full size
    Screen looks different? Tips

    You should see: the page Providers, with a list of Popular providers.

  3. A6. Connect your key in OpenCode, step 3 of 8: Scroll to OpenRouter (not the ones marked Recommended) and click its + Connect.

    The Providers list scrolled down, with OpenRouter and its Connect buttonOpen the picture full size
    Screen looks different? Tips

    You should see: OpenRouter in the list, with + Connect beside it.

    It says "Access all supported models from one provider". Do not connect OpenCode Go or OpenCode Console, even though they say Recommended: your course key works only with OpenRouter.

  4. A6. Connect your key in OpenCode, step 4 of 8: Copy your key on this computer, then click the box API key, press Ctrl + V and click Continue.

    The Connect OpenRouter window with the empty API key box and the Continue buttonOpen the picture full size
    Screen looks different? Tips

    You should see: the window Connect OpenRouter with one empty box, before you paste.

    If your key is open on your phone, open the student course in D2L on this computer, then open Get your key in Module 1 and copy it there. To copy, select the whole line with the mouse and press Ctrl + C. Paste it only into OpenCode, never into a file. Copy the whole key: one long line that starts with sk-or-, nothing cut off at either end. The box is in the window Connect OpenRouter; Ctrl + V pastes your key.

  5. A6. Connect your key in OpenCode, step 5 of 8: Click Continue without picking a model.

    The window Connected to OpenRouter with a list of models and a Continue buttonOpen the picture full size
    Screen looks different? Tips

    You should see: Connected to OpenRouter and Choose a model to start with.

    A new window says Connected to OpenRouter and asks you to choose a model to start with: leave the model as it is. You choose the course model in the next two steps.

  6. A6. Connect your key in OpenCode, step 6 of 8: Click Back to app, then click the model name in the message box.

    The model list open on top of the OpenCode session, with a search box named Search modelsOpen the picture full size
    Screen looks different? Tips

    You should see: a list with a search box named Search models at the top.

    Back to app is at the top left of the Settings page. The model name reads OpenRouter and a model name next to a small arrow; clicking it opens the model list.

  7. A6. Connect your key in OpenCode, step 7 of 8: In Search models, type GPT-6 Luna and click GPT-6 Luna (not GPT-6 Luna Pro).

    The model list searched for GPT-6 Luna, showing GPT-6 Luna and GPT-6 Luna Pro under OpenRouterOpen the picture full size
    Screen looks different? Tips

    You should see: two results, GPT-6 Luna and GPT-6 Luna Pro.

    It is in the list under OpenRouter.

  8. A6. Connect your key in OpenCode, step 8 of 8: Check that the message box reads OpenRouter / GPT-6 Luna.

    The OpenCode message box showing OpenRouter / GPT-6 Luna as the chosen modelOpen the picture full size
    Screen looks different? Tips

    You should see: OpenRouter / GPT-6 Luna in the message box.

    The model name is at its bottom left.

    After you connect the key, OpenCode starts a new session in your home folder, not in a team folder. Before you talk to a team, open its folder with section A7.

Nice work!

Connect your key in OpenCode is done

Keep going: A7. Open any team

A7. Open any team

Every video's demo starts the same way: you open that team's own folder in OpenCode, start a new session and ask one check question. Do these steps each time, with the team's folder from Team folders for each video.

  1. A7. Open any team, step 1 of 8: In OpenCode, click Home (four squares and a plus, top left).

    The OpenCode window with the Home button at the top leftOpen the picture full size
    Screen looks different? Tips

    You should see: the OpenCode window with the Home button (four squares and a plus) next to the magnifying glass.

    If OpenCode is closed: click Start, type OpenCode and press Enter. You can also press Alt + Home.

    Every video's demo starts the same way: you open that team's own folder in OpenCode, start a new session and ask one check question. Do these steps each time, with the team's folder from Team folders for each video.

  2. A7. Open any team, step 2 of 8: Click the small folder-plus button beside Projects.

    The Home page with the Projects list and the folder-plus button beside itOpen the picture full size
    Screen looks different? Tips

    You should see: the Projects list, and the label Home if you rest the mouse on the Home button.

    It is on the Home page.

  3. A7. Open any team, step 3 of 8: In the Open project window, press Ctrl + L.

    The Open project window with the address bar at the topOpen the picture full size
    Screen looks different? Tips

    You should see: the window Open project, showing a folder such as Downloads.

    This selects the address bar at the top.

  4. A7. Open any team, step 4 of 8: Type %USERPROFILE%\Studio and press Enter, then double-click the folder whose name starts with AgentTeams, then clip02, then clip02_01_simple-team.

    This opens the simple team; for another video, use its folder from Team folders for each video, and for a problem-bank team, double-click its folder directly inside Studio, such as cv-job-match-team, instead of opening AgentTeams.

    Need help with this step? Tips

    You should see: clip02_01_simple-team in the address bar.

    Always use the team's own folder, never AgentTeams or a video folder such as clip02.

  5. A7. Open any team, step 5 of 8: Click Select Folder.

    The Open project window inside the team folder, with .opencode inside and the Select Folder buttonOpen the picture full size
    Screen looks different? Tips

    You should see: the team's folder name in the Folder: box, and a folder named .opencode inside it.

  6. A7. Open any team, step 6 of 8: Check that your team's folder is selected under Projects.

    The Home page with the team's folder listed under ProjectsOpen the picture full size
    Screen looks different? Tips

    You should see: the team's folder name highlighted under Projects, and the search box reading "Search sessions in" and that name.

  7. A7. Open any team, step 7 of 8: On the Home page, click New session.

    The new empty session with the box Ask anything, the model OpenRouter / GPT-6 Luna, and the team folder name and path at the bottomOpen the picture full size
    Screen looks different? Tips

    You should see: the box Ask anything, / for commands, @ for context..., and below it the team's folder name (here clip02_01_simple-team) with its path. If the folder name is a different one, you opened the wrong folder: go back to step 2.

  8. A7. Open any team, step 8 of 8: Type Hi! What agents are on this team? in the box and press Enter.

    If it names agents other than those listed for your folder in Team folders for each video, you opened the wrong folder: go back to step 2.

    If no answer comes or you see an error, see section D1.

    A finished session where the question Hi! What agents are on this team? is answered: this team has two agents, the writer and the checkerOpen the picture full size
    Screen looks different? Tips

    You should see: an answer within a few seconds, for the simple team "This team has two agents: me, the writer, and the checker, who reviews links against the page." No permission question appears. The number at the top right (here 4k · $0.00) is the session's size and cost.

    Read the answer.

Nice work!

Open any team is done

Keep going: B1. Run one small job

B1. Run one small job

You give the simple team its first real job: a short news brief with links. It takes a few minutes and costs very little.

  1. B1. Run one small job, step 1 of 5: Under Projects, click the simple team's folder, then click New session.

    A new empty session with the box Ask anything and the folder clip02_01_simple-team with its path at the bottomOpen the picture full size
    Screen looks different? Tips

    You should see: an empty session with the box Ask anything, / for commands, @ for context... and the folder name clip02_01_simple-team at the bottom.

    You give the simple team its first real job: a short news brief with links. It takes a few minutes and costs very little.

  2. B1. Run one small job, step 2 of 5: In the box, type /do today's 5 biggest news stories: for each, some detail, the date, and the link to the article.

    The message box with the request /do today's 5 biggest news stories typed in, and the dark send arrow at its rightOpen the picture full size
    Screen looks different? Tips

    You should see: your request in the box and a dark arrow button at the right.

    Start with the slash: /do tells the team to run a job.

  3. B1. Run one small job, step 3 of 5: Press Enter once.

    If you need to stop it, see section B4.

    The session Today's five biggest news stories with a long list of instructions, the word Working and a black square button at the lower rightOpen the picture full size
    Screen looks different? Tips

    You should see: your short request turned into a longer list of numbered instructions (this is normal), then Working. The session gets a title such as Today's five biggest news stories, and the arrow in the box becomes a black square (the Stop button).

    The team starts.

  4. B1. Run one small job, step 4 of 5: Wait a few minutes while the team works; you do not need to click anything.

    The session with a row Checker Check brief links once, the text Move to background, a chip 1 subagent and the black square buttonOpen the picture full size
    Screen looks different? Tips

    You should see: the row Checker Check brief links once and the chip 1 subagent above the message box. In our test no permission question appeared. You do not need to click anything.

    After a while a helper called the Checker starts. It opens every link in the brief once.

  5. B1. Run one small job, step 5 of 5: When the black square turns back into a grey arrow, read the last message.

    If the writer asks whether to fix a flagged link, type leave them as they are and press Enter.

    The finished session with the message that the brief is at runs/run_1/brief.md, and the result of the link check: one link LIVE and four BLOCKEDOpen the picture full size
    Screen looks different? Tips

    You should see: a message saying the brief is in runs/run_1/brief.md and the log is in runs/run_1/logs/log.md, then what the checker found. A link marked BLOCKED is one the checker could not open; the writer reports it and leaves it as it is. The brief is still complete and usable.

Nice work!

Run one small job is done

Keep going: B2. Find your results

B2. Find your results

You find the files a run made in your team's folder and open the brief in Notepad.

  1. B2. Find your results, step 1 of 6: In File Explorer, press Ctrl + L and type %USERPROFILE%\Studio\AgentTeams_V5_2026-11-10-7\clip02\clip02_01_simple-team\runs\run_1.

    File Explorer with the address bar selected and the path ending in runs\run_1 typed inOpen the picture full size
    Screen looks different? Tips

    You should see: the end of your path in the address bar, and a suggestion below it.

    Keep the window open. File Explorer is the yellow folder on the taskbar.

    You find the files a run made in your team's folder and open the brief in Notepad.

  2. B2. Find your results, step 2 of 6: Press Enter.

    File Explorer inside the folder run_1, showing the folder logs and the file brief.mdOpen the picture full size
    Screen looks different? Tips

    You should see: the folder run_1 with a folder logs and the file brief.md. The brief is brief.md; the run's record is in logs. The next run gets its own folder, run_2, next to run_1.

  3. B2. Find your results, step 3 of 6: Right-click brief.md.

    The right-click menu of brief.md with Open, Open with, Compress to, Copy as path and Edit in NotepadOpen the picture full size
    Screen looks different? Tips

    You should see: a menu with Open, Open with and, near the bottom, Edit in Notepad. Open may use another app on your computer.

  4. B2. Find your results, step 4 of 6: Click Edit in Notepad and read the brief.

    If the brief opened, this section is done.

    If your menu has no Edit in Notepad, go to step 5 instead.

    Notepad with brief.md open, showing the title Today's five biggest news stories, the date and the first two stories with their linksOpen the picture full size
    Screen looks different? Tips

    You should see: the title, the date, and the stories, each with some detail and a link. Notepad may show the headings as large text; that is only how it displays Markdown. Do not type in the file.

  5. B2. Find your results, step 5 of 6: Only if your menu has no Edit in Notepad: click Open with, then Choose another app.

    The Open with submenu with a few apps, Search the Microsoft Store and Choose another appOpen the picture full size
    Screen looks different? Tips

    You should see: a short list of apps and Choose another app.

    If Notepad is in the list, click it: it opens the brief as in step 4.

  6. B2. Find your results, step 6 of 6: Under More options, click Notepad, then Just once (not Always).

    The window Select an app to open this .md file with Notepad under More options and the buttons Always and Just onceOpen the picture full size
    Screen looks different? Tips

    You should see: Notepad highlighted, and two buttons at the bottom, Always and Just once. Choose Just once so Windows does not change how it opens .md files.

    This is in the window Select an app to open this .md file. Notepad opens the brief as in step 4.

B3. See what a run cost, and the run limit

You find out how much your session has cost so far, and what to do if a run reaches its cost limit.

  1. B3. See what a run cost, and the run limit, step 1 of 5: Click the cost at the top right of the session.

    A working session with the token count and the cost, 0 · $0.00, marked at the top rightOpen the picture full size
    Screen looks different? Tips

    You should see: after the click, a tab Context opens on the right with Session, Provider, Model and Total Tokens. The run keeps working while it is open.

    It sits next to the token count and reads 0 · $0.00 at the start and, for example, 40k · $0.02 later. You can click it while the run works or after it.

    You find out how much your session has cost so far, and what to do if a run reaches its cost limit.

  2. B3. See what a run cost, and the run limit, step 2 of 5: Find Total Cost.

    If your run did not stop at its cost limit, this section is done; if it did, go to step 3.

    The Context panel with Total Cost $0.02 marked, below Assistant MessagesOpen the picture full size
    Screen looks different? Tips

    You should see: Total Cost with the dollar amount for this session, for example $0.02. OpenCode rounds it to the cent. OpenCode shows what each session cost, not what is left on your key; if you think your key is running low, ask (see Where to ask for help).

  3. B3. See what a run cost, and the run limit, step 3 of 5: Only if your run stopped at its cost limit ($3): you see this message.

    The red message This run stopped at its cost limit with the amounts spent, where the files are, and the next step: type /add-dollarOpen the picture full size
    Screen looks different? Tips

    You should see: This run stopped at its cost limit: with the amount spent, then where your files are (runs\run_1, the brief in brief.md and the run's record in logs/log.md), and the next step: type /add-dollar to add $1 and continue the same run. The brief may be unfinished. The amounts in this picture are smaller than yours.

    The amounts in the picture are smaller than yours. Most runs never do.

  4. B3. See what a run cost, and the run limit, step 4 of 5: Only if your run stopped: type /add-dollar in the box.

    The message box with /add-dollar typed in and the /add-dollar suggestion above itOpen the picture full size
    Screen looks different? Tips

    You should see: a suggestion list above the box with /add-dollar and its description, "Add one dollar to this run's cost limit and continue the same run".

    This lets the run go on; the dollar comes out of your key.

  5. B3. See what a run cost, and the run limit, step 5 of 5: Only if your run stopped: press Enter once to pick /add-dollar, then Enter again to send it.

    The session after /add-dollar, where the user added to the cost limit and the run continues and ends with the brief created in runs/run_1/brief.mdOpen the picture full size
    Screen looks different? Tips

    You should see: a message that the user added to the run's cost limit, the run continuing, and at the end the same kind of final message as in section B1, with the brief in runs/run_1/brief.md.

    The first Enter accepts the suggestion and leaves /add-dollar in the box; the second Enter sends it. (A /do with words after it, as in section B1, needs only one Enter.) The same run goes on from where it stopped.

Nice work!

See what a run cost, and the run limit is done

Keep going: B4. Stop a run

B4. Stop a run

Closing OpenCode does not stop a run, so use the button.

  1. B4. Stop a run, step 1 of 2: Click the black square (Stop) at the lower right of the message box.

    If no run is working, go to section end.

    A working session with the black square Stop button marked at the lower right of the message boxOpen the picture full size
    Screen looks different? Tips

    You should see: after the click, the line Interrupted in the session, and the black square turns back into a grey arrow.

    Do this while the run works.

    Closing OpenCode does not stop a run, so use the button.

  2. B4. Stop a run, step 2 of 2: Check that nothing is still working.

    If a helper (subagent) still shows working, click working next to the session title, then the X on that helper's row.

    The stopped session with Interrupted under the Checker row, no 1 subagent chip, and the grey arrow button in the message boxOpen the picture full size
    Screen looks different? Tips

    You should see: no moving indicator on the Checker row, no 1 subagent chip above the message box, and the cost at the top right no longer going up.

Nice work!

Stop a run is done

Keep going: C1. Zip your team folder

C1. Zip your team folder

To share a team, you pack its folder into one zip file. In the student course, your own project, once you build it in video 8, is a copy of the starter team in clip08; hand in the zip where the course asks for it. The shorter version has no project to hand in.

  1. C1. Zip your team folder, step 1 of 3: In File Explorer, open the folder that holds your team folder (for the simple team, clip02), right-click the team folder and point to Compress to....

    On Windows 10, click Send to › Compressed (zipped) folder instead, then go to step 3.

    File Explorer with the right-click menu of the folder clip02_01_simple-team and the item Compress to markedOpen the picture full size
    Screen looks different? Tips

    You should see: the menu with Compress to... and an arrow at its right.

    To share a team, you pack its folder into one zip file. In the student course, your own project, once you build it in video 8, is a copy of the starter team in clip08; hand in the zip where the course asks for it. The shorter version has no project to hand in.

  2. C1. Zip your team folder, step 2 of 3: Click ZIP File.

    The submenu of Compress to with ZIP File, 7z File, TAR File and Additional options, and ZIP File markedOpen the picture full size
    Screen looks different? Tips

    You should see: the submenu with ZIP File, 7z File, TAR File and Additional options.

  3. C1. Zip your team folder, step 3 of 3: Press Enter to keep the name the zip file gets.

    File Explorer showing the folder clip02_01_simple-team and the new file clip02_01_simple-team.zip selectedOpen the picture full size
    Screen looks different? Tips

    You should see: a new file named like the folder, with .zip at the end (here clip02_01_simple-team.zip), of type Compressed (zipped)..., next to the folder.

Nice work!

Zip your team folder is done

That was the last section.

All sections

D1. When something fails

The team names the wrong agents, or the session shows the wrong folder

For example the answer is "This is the full team: an orchestrator coordinates five roles", or the name at the top left of the session starts with AgentTeams instead of being your team's folder name. You opened the wrong folder, such as AgentTeams or a video folder. Go to the Home page, open the team's own folder (for example clip02_01_simple-team) as in section A7, and start a new session.

A message about your key, "unauthorized" or "401"

The key was not pasted completely. Paste it again (section A6). If it still fails, ask for help (see Where to ask for help).

A message about money, "402" or "insufficient credits"

Your key has no budget left. Ask for help (see Where to ask for help).

The run stops with "This run stopped at its cost limit"

A run stops at $3. To let it go on, type /add-dollar in the same session, press Enter to pick it and Enter again to send it; it adds $1.

You want to stop a run

See section B4. Closing OpenCode does not stop a run.

Windows shows "Windows protected your PC" when the installer starts

Check that the file is opencode-desktop-win-x64.exe from opencode.ai. This is Windows' usual check for new programs. Click More info, then Run anyway.

Windows asks for an administrator password when you install

Your account is not an administrator on this computer. Ask the person who manages it (an IT help desk or the computer's owner). If you cannot, see Where to ask for help.

The Open project window says the folder does not exist

If the course files are still in Downloads, unzip them into your Studio folder first (section A5). Otherwise type only %USERPROFILE%\Studio and click through the folders, as in section A7, step 4.

Word opens report.docx but stops at a sign-in or activation screen

Close Word and open report.md from the same run folder in Notepad instead (section B2 shows how). It has the same text. To use Word, sign in with your MSU NetID (MSU's Spartan 365 includes Word).

Notepad asks "Open file from an untrusted source?" when you open a course file such as README.md or task.md

The course files are safe. Click Open in Syntax View: Notepad shows the file as plain text, which is what you want for team files.

The agent's messages say "Python was not found" or mention the Microsoft Store

Nothing to install: the course needs no Python. The agent usually tries another way on its own; let it go on. If the run stops there, see Where to ask for help.

"Web search rate limited" in the agent's messages

The free web search asks the agent to slow down. Wait; the agent goes on by itself.

Team folders for each video

Video Folder to open (inside your AgentTeams folder) Agents in the team
1: Why a team clip01\clip01_01_tools agent, chat
1: Why a team clip01\clip01_02_one_agent writer
1: Why a team clip01\clip01_02_team checker, writer
2: Setup, first run and the team files clip02\clip02_01_simple-team checker, writer
3: The full team clip03\clip03_01_full-team implementer, planner, report-writer, reviewer, verifier
6: Tools clip06\clip06_01_skill one agent
6: Tools clip06\clip06_02_make-skill one agent
8: Build your project clip08\clip08_01_starter implementer, planner, report-writer, reviewer, verifier

Videos 4, 5 and 7 have no team folder: for videos 4 and 5 you design your own team, starting from the full team in clip03. The teams for video 7 are the problem-bank teams: download one from the problems page, extract it into your Studio folder, and open it with section A7. It unzips to one folder named after the example and ending in -team, for example Studio\cv-job-match-team.

Words used in this guide

Folder

a place on your computer that holds files and other folders.

Home folder

your own folder on the computer, named after your Windows account, for example C:\Users\yourname.

Path

the address of a file or folder, for example C:\Users\yourname\Studio.

Zip file

one file that packs many files and folders together. Extract means unpacking it into normal folders.

File extension

the letters after the last dot in a file name, such as .md, .json or .txt. They tell Windows what kind of file it is.

Hidden file or folder

a file Windows does not show unless you turn on "Hidden items". Its name often starts with a dot, like .opencode.

Key

a secret code that lets OpenCode use the AI and pays for what it uses.

Session

one conversation with the agents in OpenCode.

Run

one job the team does after you type /do. Each run gets its own folder, runs\run_1, runs\run_2 and so on.

Token

a small piece of text, about three quarters of a word. AI services count and charge by tokens.

Model

the AI that does the thinking; the course uses GPT-6 Luna.

clip01, clip02, …

the course download has one folder per video that has a team; clip02 goes with video 2.

Provider

the service that connects OpenCode to the model; the course uses OpenRouter.

Markdown

plain text with a few marks for headings and lists; files that end in .md.

Subagent or helper

an agent that another agent starts for one task, such as the Checker.

Agent

an AI with a role, instructions and tools. A team is several agents that pass work to each other.

Where to ask for help

Help for enrolled MSU students is in the course's D2L page, or in the shorter version's D2L page for graduate students, postdocs, faculty and staff.

About this guide

We tried these steps on a new Windows 11 computer (x64) with OpenCode 2.2.6. Other Windows computers, including ARM ones, have not been tried yet. The run limit in the pictures is a test value; your teams stop at $3.