# sypnia.toml

> The one configuration file of your project, and the table that says where your code lives.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/migrate/sypnia-toml/

For agents: sypnia.toml (TOML at the repository root) is the project's one configuration file, shared by every Sypnia product: top-level format = 1 and project = "<project>", then one table per product ([git], [run], [data], [agent], [ai], [design], [skills]…). Each product reads only its table and ignores the others; each product's command line rewrites only its own table and keeps comments; never secrets. The [git] table: remote (where the code lives: https://git.app.sypnia.com/<org>/<repo>.git, or any git URL after leaving), default_branch, mirror.github (owner/repo of the read-only GitHub mirror). Run, Cases and Agent read git.remote to find the code; import and export change it.

`sypnia.toml` sits at the root of your repository and is the **one configuration file** of your project: every Sypnia product reads it. At the top it names the project; then each product has a table of its own. Each product reads only its table and ignores the others, and each product's command line rewrites only its own table, keeping your comments. Secrets never go in it.

`sypnia.toml`

```toml
format = 1
project = "la-espiga"

[git]
remote = "https://git.app.sypnia.com/laespiga/web.git"
default_branch = "main"
mirror = { github = "laespiga/web" }   # a read-only copy on GitHub

[run.apps.laespiga]
kind = "ssr"
```

## The `[git]` table

| Key              | Type   | What it is                                                                                                                                     |
| ---------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `remote`         | string | **where the code lives**: your repository in Sypnia Git, or, after you [leave](https://git.docs.sypnia.com/migrate/to-github), any git address |
| `default_branch` | string | the branch that deploys to production, `main` by default                                                                                       |
| `mirror.github`  | string | `owner/repo` of the [read-only mirror](https://git.docs.sypnia.com/migrate/mirroring) on GitHub, if you keep one                               |

Run, Cases and Agent read `git.remote` to find your code. [`import`](https://git.docs.sypnia.com/migrate/from-github) and [`export`](https://git.docs.sypnia.com/migrate/to-github) change it for you, and nothing else in the project needs to change.
