# How it works

> From your level to a lesson about your own project, an exercise on a branch, and the check that marks it done.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://learn.docs.sypnia.com/start/how-it-works/

For agents: Flow: level from the account profile → next lesson on the path (needs satisfied) → the lesson is assembled for the level and bound to the learner's project (the `uses` selector picks a case/table/trace; sample project otherwise) → learn start creates branch learn/<lesson-id> in the project's repo (Sypnia Git or any git) with the exercise brief → learner (alone, or with the agent giving hints) changes the case → learn check runs the lesson's checks in a sandbox (cases check, design check, tests, telemetry on the preview, questions) → all pass = done; progress recorded, a memory note written; the branch is kept, never merged automatically. Hosts: learn.app.sypnia.com, learn.api.sypnia.com/v1, mcp.learn.sypnia.com.

### 1. Your level

Learn reads your level from your Sypnia profile: `starter`, `builder`, `developer` or `senior`. It comes from the short test you take the first time you use Sypnia, and you can change it at any time.

### 2. The next lesson

Your path suggests the next lesson whose prerequisites you have done. You can also pick any lesson yourself.

### 3. A lesson about your project

The lesson is put together for your level and for your project. A lesson about failures uses a case of your own map that has failures, such as «Order for today» with `OutOfStock`. With no project yet, it uses the sample bakery, La Espiga.

### 4. The exercise, on its own branch

Starting the exercise creates the branch `learn/<lesson>` in your project's repository, with what to do written at the top. Your main branch is never touched.

### 5. The check

`learn check`, or **Check** in App, runs the lesson's checks in a sandbox: the Cases check, `design check`, your tests, a look at the preview's traces, or a short question. When every check passes, the lesson is done.

### 6. Your progress, remembered

Learn records the lesson as done and writes a short note in your memory («finished “Failures have names”, 2026-11-18»), so the agent knows what you already know. The branch stays yours: keep it with a pull request, or delete it.

## Where things live

| Thing                     | Where                                                                                  |
| ------------------------- | -------------------------------------------------------------------------------------- |
| Your courses and progress | `https://learn.app.sypnia.com` **\[Cloud]**, and in App's side panel                   |
| The API                   | `https://learn.api.sypnia.com/v1` **\[Cloud]**, or your engine's address **\[Engine]** |
| The MCP server            | `https://mcp.learn.sypnia.com` **\[Cloud]**                                            |
| Lessons                   | Markdown files (`*.lesson.md`) in a course folder                                      |
| Exercises                 | a branch `learn/<lesson>` in your project's repository                                 |
| Your level and memory     | your Sypnia account, read by Agent, Cases, App and Learn                               |
