Answer like you would in person.
The tutor asks real questions at your level, using words from your Anki deck and grammar you've been working on. Words underlined in green are ones you're studying.
Free and open source · Mac, Windows and Linux
Practise a language in real sentences with the AI you already use. Sayfern marks your mistakes like a teacher, works from your Anki deck, and keeps a record of every grammar point you've tried, so the next session starts where this one ended.
How a session goes
上个周末你做了什么?
What did you do last weekend?
除了去公园,我还买了一个书。
书 counts with 本, not 个.
Try the sentence again before you see the fix.
Example session. Counts are illustrative.
The tutor asks real questions at your level, using words from your Anki deck and grammar you've been working on. Words underlined in green are ones you're studying.
Mistakes are marked in place with a short reason. You get to fix the sentence yourself before the answer appears. Style suggestions are labelled apart from real errors.
The reading, the dictionary meaning, whether it's in your Anki, and a button to hear it. Dictionaries run on your computer, so lookups are instant.
Try it: hover or tap an underlined word in the window.
Every attempt at a grammar point is saved with the sentence you wrote. Sayfern separates what you used with help from what you used on your own, and brings weak points back in later conversations.
Benchmark
We ran identical scripted lessons through Sayfern and through Claude Code with a Mandarin tutoring skill: the same model, the same learner messages, the same Anki deck and reader. A proxy recorded every request each one sent.
A twelve-message conversation. Claude Code + skill resends about 44,000 tokens of instructions, tools and history every turn. Sayfern sends what the turn needs.
Totals across eight scenarios, three runs each (five for pacing), averaged per run.
Run on 2026-10-11: Sayfern 0.30.0 vs Claude Code 2.1.295 with the mandarin-thinking-practice skill, both on Claude Sonnet 5.5. Eight scenarios (corrections, Anki questions, graded reading, two-session continuity, a long chat, pacing, level fit, a course unit), three repetitions each (five for pacing), on the public synthetic fixtures. Claude Code ran in a clean profile, without personal settings, plugins or connectors. One Sayfern repetition ended on an empty reply and is left out. Plan-limit usage is an estimate: tokens weighted by API price. The 5-hour figure is the change in Anthropic's rate-limit headers and can include other traffic on the account. Run it yourself with npm run bench -- run; method in docs/benchmark.md.
Features
Sessions resume with your reading position, the grammar you're shaky on and the words you keep missing. Add notes about yourself and the tutor uses them.
Original, suggestion and a one-line reason. Every correction is collected in Review, where you can filter, retry old sentences and turn them into cards.
Reads your collection through AnkiConnect and keeps conversations inside the words you know. No deck yet? Sayfern builds one in batches of 25, with checked readings and audio.
Cloze, ordering, multiple choice or written answers, at your level or an HSK or JLPT level. Fixed answers are graded on your computer. Quiz scores never count as free use.
Hold to speak and your words land in the chat. Hear any reply or word, slowed to 0.7× if you need it. Use your ElevenLabs accounts or the free voices built in.
Sayfern is open source, and its docs are written for coding agents. Open the repo in yours and ask for the feature you want.
Bring your own model
Sign in with a plan you have or paste an API key. Switch models whenever you like; your learning record stays the same.
Credentials are encrypted with a key held in your system keychain (the macOS Keychain on a Mac).
Compared with a lesson app
Picking from four answers feels like progress. But you learn a language by using it. Sayfern has you write real sentences, corrects them, and remembers what you got wrong.
A streak counts days. Sayfern counts what you can say.
Questions
Yes. Sayfern is free, open-source software under the GPL-3.0 licence. You connect a model plan or API key you already have, and free voices are built in, so there is nothing to pay Sayfern.
Eleven: Chinese, Japanese, Korean, English, Spanish, French, German, Italian, Portuguese, Russian and Vietnamese. Chinese and Japanese have the deepest support. The app itself is available in 12 interface languages.
Yes. Install the AnkiConnect add-on (code 2055492159) and Sayfern reads your deck, keeps conversations inside the words you know, builds new decks for you, and turns your corrections into review cards.
Claude (Pro or Max sign-in, or an API key), ChatGPT sign-in or an OpenAI API key, OpenRouter, DeepSeek and Google. You can switch models at any time and keep your learning record.
Yes. Sayfern runs on macOS, Windows 11 and Linux.
On your computer. Your learning records, materials and settings stay local. Only the conversation itself is sent to the model you choose.
Duolingo teaches with short exercises and fixed answers. Sayfern is a conversation tutor. You write real sentences, it corrects them with a reason, and it remembers your mistakes and grammar across sessions. It explains in your language and runs on the model you choose.
Get it
Sayfern is GPL-3.0 licensed and built in the open. The first launch walks you through connecting a model, choosing languages and linking Anki.
The installers are not signed with a paid certificate yet. On macOS, try to open the app once, then go to System Settings > Privacy & Security and click Open Anyway. On Windows, click More info, then Run anyway.Open the first time. On Windows, click More info, then Run anyway.
2055492159A free tutor that remembers what you're learning. Bring your model, bring your Anki, start talking.