Getting started

Set Pedagogue up, then find your way around. Install it, reach it from your phone or iPad, and get unstuck, all on this page. If you'd rather watch, Tips & Techniques shows the less obvious features with live examples, and the FAQ answers the common questions in a line or two.

Install and set up

Pedagogue is a Mac app. This part takes you from the download to your first journey, and shows where each piece lives afterwards.

What you need

  • A Mac on macOS 14 Sonoma or later, Apple silicon or Intel.
  • A paid Claude plan, such as Pro or Max. Pedagogue runs on your own Claude Code, so your lessons use your plan, with no API key and no second subscription.
  • Optional: Tailscale, to reach Pedagogue from your phone. Python, for lessons that work numbers out. A Mistral AI account, to import PDF papers.

1. Install the app

Download Pedagogue, open the disk image and drag Pedagogue to your Applications folder. Open it from there. The first time, macOS asks whether you're sure you want to open an app downloaded from the internet; choose Open.

The macOS menu bar with the Pedagogue icon circled.
Pedagogue lives in the menu bar, not the Dock.

Pedagogue has no window of its own. A small menu bar app starts and watches the local server that does the work, and your browser is where you learn. It opens your browser by itself when the server is ready.

2. Finish setup in your browser

Setup opens in your browser and starts with a short page on how Pedagogue works, then takes you through its steps. You can leave it at any point and come back: choose Set Up… in the menu bar, or Setup and Settings in the gear menu on Pedagogue's home page.

Pedagogue's setup page in the browser, which opens on how Pedagogue works.
The setup page.
  1. Install Claude Code. Press one button and Pedagogue installs it. If you'd rather do it yourself, run curl -fsSL https://claude.ai/install.sh | bash in Terminal; Pedagogue needs Claude Code 2.0.76 or newer.
  2. Sign in to Claude. A Terminal window opens with Claude's sign-in and a browser tab asks you to log in. When that's done you can close both, and setup moves on by itself. If macOS offers to install "command line developer tools", choose Not Now; Pedagogue doesn't need them.
  3. Python (optional). Lets lessons work numbers out for real. Pedagogue can download its own copy, so there's nothing to install by hand.
  4. Phone and tablet (optional). Reach Pedagogue from your own devices over Tailscale. Use Pedagogue on your phone or iPad walks through it.
  5. Import PDFs (optional). Paste a Mistral AI API key to turn papers into journeys. You pay Mistral directly, by the page; a typical paper costs a few cents. Import PDF papers with Mistral walks through getting the key.
  6. Claude Code skills and status line (optional). If you use Claude Code, setup can install seven Pedagogue skills so a session can write journeys, answer your questions in them and import papers, and a status line that lists the journeys a session is connected to.
  7. Your settings. A few switches, such as whether to send anonymous usage counts.

Until Claude Code is ready, the menu bar icon shows a blue mark. When setup is done it goes away.

3. Your first journey

Your library starts with one journey, Why Are There Seasons?, which opens with a tour of Pedagogue. Read it to get a feel for how Pedagogue teaches, try its figures, and archive it whenever you like. To start your own, type a question into the box on the home page and press Begin.

The first ten journeys are free. After that Pedagogue asks for a licence. If you have a key, choose Enter licence key and paste it in.

Where things live

  • Your journeys are plain files in the vault, ~/Library/Application Support/pedagogue/vault. Show Vault in the menu bar panel opens it in Finder. Back it up or move it like any folder.
  • Your licence key is in your Mac's keychain, not in the vault.
  • Settings are the gear on the home page.
  • The menu bar panel holds the server switch and status light, Open, Set Up…, Recheck, Show Log, Show Vault, Send Feedback…, and the Network section.

In the panel you can also choose whether the server starts when Pedagogue opens and whether Pedagogue opens at login. To open Pedagogue later, click its icon and choose Open.

Updates

Pedagogue downloads new versions in the background and installs one once it's a day old and nothing is in progress, then restarts itself. Install updates automatically in the menu bar turns that off, and Check for Updates… installs right away. After an update, the library says "Pedagogue updated to" the new version, with a link to What's New.

Uninstall

Quit Pedagogue from the menu bar and drag the app to the Trash. Your journeys stay in the vault folder; delete that too if you want them gone. To free your licence's seat first, choose Deactivate this Mac in Settings.

Use Pedagogue on your phone or iPad

Your journeys live on your Mac, but you can read and ask from your phone or iPad over Tailscale, a free private network between your own devices. There's no Pedagogue app to install on your device: you simply open a web address in your browser, and it's the same library.

What Tailscale is

Tailscale is a free app that makes a private secure network between your own devices: your Mac, your phone, your iPad. Only devices signed in to your Tailscale account can join it. It is free for personal use, and it works at home, at a café or on mobile data.

You'll hear Tailscale call that private network your tailnet. That's all the word means: your devices, connected privately.

What you need

  • Pedagogue already installed and running on your Mac.
  • A phone or iPad (iPhone, iPad or Android).
  • About ten minutes.

1. Make a Tailscale account

Go to tailscale.com, choose to Get Started, and sign in with Google, Apple, Microsoft or GitHub. Use an account you'll remember, because you'll sign in to it again on your phone.

2. Put Tailscale on your Mac

  1. Get Tailscale for Mac from tailscale.com/download/mac
  2. Open it and follow its first-time steps. It asks you to sign in. Choose the same account you just made.
  3. macOS will ask for your permission to let Tailscale add a VPN configuration. This is expected, and it's safe: a VPN configuration is how Tailscale builds your private network. Approve it (choose Allow/Approve). You may need to type your Mac's password.

When it's done, a small Tailscale icon appears in your Mac's menu bar (the strip across the top of the screen). Click it: it should say you're connected.

The macOS menu bar with the Tailscale icon circled.
Tailscale also lives in the menu bar, beside Pedagogue.

3. Put Tailscale on your phone or iPad

  1. Install Tailscale from the App Store. On Android, get it from tailscale.com/download/android.
  2. Open it and choose Get Started. Allow the prompts it shows.
  3. iOS will ask to add a VPN configuration. Again, that's expected: approve it with Allow. Tailscale also asks to send notifications, which it uses to tell you when you need to sign in again.
  4. Choose Log in and sign in with the same account you used on your Mac. This is the step people most often get wrong: two accounts means two separate private networks that can't see each other.
  5. Make sure Tailscale shows that it's connected.

4. Turn on HTTPS (recommended, once)

Your phone's browser trusts an address that starts with https://, and shows a "Not secure" warning for one that starts with http://. To enable https, flip one switch in Tailscale's settings. You do this once for your whole tailnet, not once per device.

  1. On your Mac, open login.tailscale.com/admin/dns and sign in. This is Tailscale's admin console, the web page where you manage your own private network; as the person who made the account, you're the administrator.
  2. Look for MagicDNS. It's on by default for accounts created since late 2022. If the page offers an Enable MagicDNS button, press it.
  3. Scroll to HTTPS Certificates and press Enable HTTPS.
  4. Tailscale warns that your device names will be published on a public list of certificates. In plain words: the list shows each device's network name, such as your-mac.your-tailnet.ts.net, and nothing from inside Pedagogue or any of your devices. Tailscale advises against turning this on if any of your device names contain something private, so glance at your devices' names first. Only the name of your device becomes public; the private network is still secure and only you can access it.
  5. Confirm. Pedagogue gets the Mac's certificate from Tailscale by itself afterwards and keeps it renewed.
Two panels of Tailscale's admin DNS page. Panel 1: the MagicDNS section, already on, above the HTTPS Certificates section, with its Enable HTTPS… button circled and marked 1. Panel 2: the Enable HTTPS confirmation window, with its Enable button circled and marked 2.
Press Enable HTTPS…, then Enable.

5. Back in Pedagogue: scan the QR code

  1. On your Mac, open Pedagogue's setup: choose Set Up… in the menu bar, or Setup and Settings in the gear menu on Pedagogue's home page, and find Phone and tablet. It shows whether Tailscale is running and, when it is, the address and a QR code. If it says Pedagogue is set to open on this Mac only, press Let my devices reach Pedagogue.
  2. Leave Use a secure address ticked if you did step 4.
  3. Point your phone's camera at the QR code. It offers to open the address; tap it. Pedagogue opens in your phone's browser.
Pedagogue's setup page, Phone and tablet step: Tailscale connected, with the address and a QR code to scan

You can also open the same QR code from the menu bar: click the Pedagogue icon, then under Network check that Reachable on your tailnet is on and expand QR Code for Phone.

The menu bar panel's Network section: the address, Reachable on your tailnet and Secure address (HTTPS) switched on, and the QR Code for Phone open

The address in your own screen will have your Mac's name in it, and usually ends in :4317.

Last, put it on your Home Screen so it opens like an app: use the browser's share menu and choose Add to Home Screen.

6. Keep your Mac awake

Your phone can reach Pedagogue only while your Mac is awake. If the Mac goes to sleep, your phone can't connect, even though everything is set up right. Two ways to prevent that.

With macOS's own settings

  • On a desktop Mac (iMac, Mac mini, Mac Studio): open System Settings, choose Energy, and turn on Prevent automatic sleeping when the display is off.
  • On a laptop: open System Settings, choose Battery, then Options, and turn on Prevent automatic sleeping on power adapter when the display is off. That keeps it awake while it's plugged in; keep the lid open, and expect it to sleep on battery.

The exact wording can differ a little between macOS versions, and some options don't appear on every Mac. The same screen has Wake for network access, which sounds like what you want, but it doesn't reliably wake a sleeping Mac for a connection that comes over Tailscale, so don't count on it.

If that doesn't work: use Caffeine

Caffeine is a small free app that sits in your Mac's menu bar as a coffee cup. One click keeps your Mac awake, and another click lets it sleep again. A full cup means "stay awake". Download it from caffeine-app.net (it needs macOS 11 or later). There are other apps with similar names in the App Store; the one you want is the free one from that address.

What you get on a phone or iPad

Everything you read and ask in on the Mac: journeys, cards, quizzes, figures you can drag, maps. The map slides over the page; pinned items become small tabs; the box at the foot makes room for the keyboard. On an iPad with an Apple Pencil, drawing across words highlights them, and tapping a highlight opens its card with a large note box for Scribble.

The journey map as a slide-over drawer on a phone, with the sections and their cards listed.
The map slides over the page on a phone.

So can anyone connect to my Pedagogue library now?

No. Only devices on your own tailnet can. And that's protected by your Tailscale login. The connection is secure and encrypted.

If it doesn't connect

Work down the list. The first thing that is off is usually the whole problem.

  • Is Tailscale switched on, on your phone? Open its app and check that it shows as connected.
  • Is your Mac awake? If it slept, wake it, then set up step 6 so it stays that way. Pedagogue's menu bar light should be green.
  • Is Tailscale connected on the Mac? Click its menu bar icon and check.
  • Are both devices signed in to the same Tailscale account? Check the account name in the app on each.
  • Is Pedagogue letting your devices in? In the menu bar panel, under Network, Reachable on your tailnet should be ticked.
  • Does the Network section show a Tailscale address? If you started Tailscale after Pedagogue, switch Reachable on your tailnet off and on, or restart Pedagogue from the panel.
  • If none of that works: try turning Tailscale off and back on again on all your devices. Sometimes Tailscale loses track of devices or logs out and needs to be logged back in.

For anything else, see Troubleshooting on this page, or choose Send Feedback… in the menu bar panel.

Where this came from

This guide follows Tailscale's own documentation:

And Apple's Set sleep and wake settings for your Mac for the sleep settings, and the Caffeine site.

Import PDF papers with Mistral

Pedagogue can turn a PDF, such as a paper, a book chapter or an article, into a journey you read and ask questions about. The journey includes the paper's figures, tables, equations and references. To transform the PDF, Pedagogue sends it to Mistral AI's OCR Service. For this to work you need a Mistral account and a key of your own, and Mistral bills that account by the page: a typical paper costs a few cents.

Note: setting up Mistral AI is optional. You only need it to import PDFs as Journeys. Everything else in Pedagogue works without it.

What Mistral is

Mistral AI is an AI company. Pedagogue uses one of its services, its OCR (which stands for Optical Character Recognition), which reads a PDF page by page and hands back its text and pictures. Only the PDFs you import are sent to Mistral; nothing else is.

An API key is a long password that lets an app use your Mistral account. You make one on Mistral's site and paste it into Pedagogue, which keeps it in your Mac's keychain.

What you need

  • Pedagogue already installed and set up.
  • An email address for your Mistral account.
  • A payment card. Mistral's API is prepaid: you buy credits, and each import spends a little of them.
  • About ten minutes.

1. Make a Mistral account

Go to console.mistral.ai and sign up. Follow its first-time steps; if it asks you to name your organization, your own name is fine.

2. Add credits

  1. Open Mistral's billing page.
  2. Press Add payment method and add a card.
  3. Next to Credits, press Add and buy some credits. We suggest $10–$20, which lasts a long time at a few cents a paper.
  4. Auto Recharge tops your credits up by itself when they run low. You can leave it off.
Mistral's billing page. Add payment method is circled and marked 1, Add a card; the Add button beside Credits is circled and marked 2, Add credits.
Add a card, then add credits.

3. Turn on API pay-as-you-go

This is the step people most often miss. A new Mistral account starts on the Free plan, with the API switched off. Until you turn it on, Mistral refuses every request, however many credits the account holds.

  1. Open Mistral's subscription page.
  2. Under Pay-as-you-go & spending limit, press Enable beside API pay-as-you-go. (The row beneath it, Pay-as-you-go for Vibe & Studio, is for Mistral's own apps; Pedagogue doesn't need it.)

Pay-as-you-go draws on the credits you bought in step 2, which is why they come first.

Mistral's subscription page on the Free plan. Under Pay-as-you-go & spending limit, the Enable button beside API pay-as-you-go is circled, marked Press Enable.
Press Enable beside API pay-as-you-go.

4. Create an API key

  1. Open Mistral's API keys page and press New key at the top right.
  2. Give the key a name, such as "Pedagogue".
  3. Under Workspace, choose your workspace. A new account has one, Default Workspace. Mistral won't make the key without it.
  4. Leave the other settings as they are and press New key.
  5. Press Copy key, then Done. If you forget to copy the key just delete the old key and create a new one by following these instructions again.
Mistral's Organization API keys page, with the New key button at the top right circled and marked 1, Press New key.
Two panels. Create new key: the Key name box circled and marked 2, Name it; the Workspace menu circled and marked 3, Choose a workspace; the New key button circled and marked 4, Press New key. API key created: the key, hidden here, with Copy key circled and marked 5, Press Copy key.
Press New key, name the key, choose the workspace, press New key, then Copy key.

Mistral shows the whole key only once. If you lose it before pasting it, delete it and make another. Mistral says a new key can take a few minutes to start working.

5. Back in Pedagogue: paste the key

  1. Open Pedagogue's setup: choose Set Up… in the menu bar, or Setup and Settings in the gear menu on Pedagogue's home page, and find Import PDFs.
  2. Paste the key and press Save. Pedagogue checks it with Mistral before it's done.
  3. "PDF import is on." means you're ready.
Setup's Import PDFs step after saving a key: the key box, emptied, and beneath it PDF import is on. Look for Import a PDF Paper… in the home page's paperclip menu, with Continue.

If it says instead:

  • "Mistral needs pay-as-you-go turned on": the key is saved, but step 3 isn't done yet. Do it, then import a PDF.
  • "That key didn't work": Mistral doesn't recognise the key. Check you copied all of it. A brand-new key can take a few minutes to start working, so wait a few minutes and save it again; if it still fails, make a new one (step 4).
  • "Couldn't reach Mistral to check the key": the key is saved, and Pedagogue checks it again on your first import.

6. Import your first paper

There are three ways in:

  • On Pedagogue's home page, open the paperclip menu in the box and choose Import a PDF Paper….
  • Drag a PDF over the box: it splits in two, and dropping the PDF on Import PDF imports it.
  • In Finder, right-click a PDF and choose Services > Add to Pedagogue.

Pedagogue asks you to confirm before it sends the PDF to Mistral, except from Finder. The journey opens at once and fills in as the paper is read, and Pedagogue then writes a summary above it. It also looks the paper up on arXiv, Crossref and DataCite for its title, authors and date. A PDF can be up to 20 MB and 100 pages.

The home page's box with its paperclip menu open: Attach a file…, Attach a Journey… and Import a PDF Paper…, which is circled and marked 1, Choose Import a PDF Paper….
An imported paper in light mode, SHARPO: Segment-Level Credit Assignment for Agentic Reinforcement Learning, with its authors, year and Original PDF link, Pedagogue's summary In brief above the Abstract, and the paper's sections in the map at the left.
An imported paper: its title, authors and a link to the original PDF, Pedagogue's summary on top, and its sections in the map.

If an import fails

The notice says why, with Mistral's own message in small type beneath it, and Try again.

  • "Mistral needs pay-as-you-go turned on." Do step 3. Adding credits alone doesn't fix it.
  • "Mistral wouldn't read this PDF." The account has probably run out of credits. Open Mistral billing and add some (step 2).
  • "Your Mistral key was turned down." The key was deleted or expired. Make a new one (step 4); Update your key reopens setup to paste it.
  • "You need to set up a Mistral API key to import PDFs." Do step 5.
  • The PDF is too large. Split it, or import the chapter you want: up to 20 MB and 100 pages.

Where this came from

This guide follows Mistral's own documentation:

Troubleshooting

Most problems show up in the menu bar first. Start there.

Start with the menu bar

Click the Pedagogue icon. The panel's Status section has a dot in the colour of its worst check, with every healthy check folded away behind it, so anything that needs you is in view.

  • A blue mark on the icon means Claude Code isn't ready yet. Choose Set Up….
  • An orange triangle at the icon's bottom right means the server stopped unexpectedly. Open the panel to see why.
  • A dot at the icon's top right means an update is waiting.
  • Choose Recheck after you fix something, and the panel runs its checks again.
The menu bar panel's Status section: a red dot and the count of checks needing attention, with the failing claude authenticated check open and its Set Up… button.
The panel's Status section, with one failing check.

Pedagogue won't open, or the status light is red

If the server stopped unexpectedly, the panel shows the tail of its log. Choose the switch to start it again; Pedagogue tries to restart a crashed server on its own up to three times in five minutes, and then waits for you. Show Log opens the full log. Send Feedback… works even with the server stopped, and opens pre-filled when it stopped unexpectedly, so you can send us the log.

Setup says Claude Code isn't found, or is too old

Open Set Up… and press the button to install or update it. By hand: run curl -fsSL https://claude.ai/install.sh | bash in Terminal, or claude update if it's installed. Pedagogue needs Claude Code 2.0.76 or newer.

You're signed out, or lessons fail with “Not logged in”

Sign in again from Set Up…, or run claude in a terminal. If you did sign in and lessons still say "Not logged in", the doctor reports that Pedagogue's agent can't see the sign-in from inside its sandbox; that's our bug, and signing in again won't help. Send feedback from the panel and check for an update.

A warning about ANTHROPIC_API_KEY

An ANTHROPIC_API_KEY in your shell profile overrides your Claude login. Remove it from ~/.zshrc (or wherever it's set), then choose Recheck.

The port is taken

Pedagogue uses port 4317. If something else holds it, the panel says so after a failed start. Stop the other program, or change the port under Configure Port in the panel's Network section.

Your phone can't connect

See Use Pedagogue on your phone or iPad. The doctor's Tailscale check says whether Pedagogue found a Tailscale address and whether the secure address is ready.

A figure is broken, or never arrives

If a figure shows "Building this figure…" for a long time, Check on this figure lets the teacher decide whether to keep waiting or build it itself. For a cut-off label, a slider that does nothing or anything else, press Report an issue with this figure (the bug icon in its toolbar) and describe the problem. The teacher repairs it in place.

Lessons are slow

A journey with interactive figures on Opus takes the longest. Under the box on the home page, Configure lets you pick Sonnet or Haiku, a lower effort, or text-only or diagrams-only fidelity, per journey or per learner.

A PDF won't import

See If an import fails in the Mistral part. The most common cause is Mistral needs pay-as-you-go turned on: Mistral's Free plan has the API switched off until you enable pay-as-you-go, and adding credits alone doesn't fix it.

A video won't attach, or the teacher can't hear it

Attach .mp4, .m4v or .mov up to 500 MB and 20 minutes; a WebM is refused (export it as MP4). The transcript uses Apple's on-device speech recognition and needs macOS 26 or later; on an older Mac, or a video with no sound, the teacher can see the video but says it can't hear it.

Sharing fails

  • "Couldn't check this journey; try again." The check before posting couldn't run; nothing was sent. Try again.
  • A blocked journey lists what the check objected to, by section. If it's wrong, Report a wrong block in the dialog opens a prefilled feedback report.
  • "Papers can't be shared." A journey imported from a paper can't be shared; a section lifted out of one into its own journey can.
  • Too large. A share can carry up to 40 MB in all. The message names the biggest files, and Make a shareable copy lets you leave some out or shorten long text.
  • "This journey's link no longer exists. Share it to get a new link." The page was removed; share again.
  • "Couldn't remove the link." Unsharing needs a connection; try again when online.

Importing a shared link says it isn't available

"That shared journey isn't available" means the link is gone. "Update Pedagogue to import this journey" means it was written by a newer Pedagogue than yours.

Still stuck?

Choose Send Feedback… in the menu bar panel, or the Feedback button in the app. It shows you what will be sent before it goes, and you can include your journey and its log so we can see what you saw. Or Contact us; a screenshot of the menu bar panel helps a lot.