Spartan Agentic AI Studio

The course

Short videos on directing a team of AI agents, and the files to try it yourself. No coding needed.

Videos

Where to start: MSU students, sign up first on the course front page with Enroll in D2L; graduate students, postdocs, faculty and staff can instead choose Enroll in the shorter version there (about 3 hours, no project to hand in; practice with your own OpenRouter key is recommended, not required). Then watch video 1. To practice running a team, set up your computer with video 2 (on Windows, with the Windows walkthrough; on a Mac, first see Mac installation; on Linux, first see Linux installation under Questions). What you type and the files the agents read go to OpenRouter and the model's maker, so use public or made-up material only.

  1. 1

    Why a team

    A chatbot, an agent that uses tools, and a small team that checks its own work.

    Slides (PDF)

  2. 2

    Setup, first run and the team files

    Install OpenCode, add your key, run the simple team and look inside its files.

    Slides (PDF)

  3. 3

    The full team

    An orchestrator and five roles take one job from plan to report.

    Slides (PDF)

  4. 4

    Design your team

    Pick a job worth a team, choose its layers and decide where you step in.

    Slides (PDF)

  5. 5

    Design your checks

    How the verifier decides the work is done: checks by code, by a source, and by your taste.

    Slides (PDF)

  6. 6

    Tools

    Kinds of tools, what a skill is made of, and how to make your own.

    Slides (PDF)

  7. 7

    Example projects

    Two teams from the problem bank, and what to settle before you build one.

    Slides (PDF)

  8. 8

    Build your project

    A team built by hand on camera from the starter team for a new job, then run small and steered while it works.

    Slides (PDF)

Questions

Which computer do I need?

A Mac, Windows or Linux computer you may install programs on. OpenCode has no Chromebook or iPad version. Without one you can still watch the videos and read the example problems.

Where should my Studio folder go?

Make a folder named Studio in your home folder (the one with your name; on a Mac, open Finder and press Shift-Command-H) and unzip the course files into it (on a Mac, move the zip into Studio, then double-click it there). Not in Desktop, Documents, Downloads, OneDrive or iCloud: there your computer may ask OpenCode for extra permissions and a sync service can get in the way.

How do I install OpenCode on a Mac?

Download the OpenCode desktop app from opencode.ai/desktop: macOS (Apple Silicon) for a Mac with an M chip, macOS (Intel) for an older Mac (Apple menu › About This Mac shows the chip). Open the downloaded file, then drag OpenCode into Applications. If it will not open, click Open Anyway in System Settings › Privacy & Security. Then follow video 2 from adding your key (at 0:40).

I use Linux. How do I install OpenCode?

Download the OpenCode desktop .deb file (Ubuntu, Debian) or .rpm file (Fedora) from opencode.ai/desktop (x64 for most laptops) and double-click it to install it. Then follow video 2 from adding your key (at 0:40).

Where do I get a key, or help?

Student course: your key, with credit already on it, is on the Get your key page in Module 1 of the course in D2L (sign up on the course front page); you pay nothing. Shorter version and anyone else: make an account on openrouter.ai, buy credit, then make a key and give it a spending limit; in the shorter version a key is recommended for practice, not required. Without credit, the first run fails.

OpenCode says the port is in use?

Close its other windows and try again.

Videos, slides and text: CC BY 4.0. Team files: MIT.