Skip to content

Sypnia Cases documentation

Sypnia Cases is the map of everything your app does, written as use cases that anyone can read: who does what, what can go wrong, what data it touches. The map is the contract of the project: what is not on it is a scope error. Your code, your data, your traces and your coding agent all point back to it.

Start a map in your repository

The map is plain files next to your code. The CLI writes the first ones and checks them on every change.

npx @sypnia/cases init
npx @sypnia/cases check
# cases/orders/order-for-tomorrow.case.yaml
id: order-for-tomorrow
title: Order for tomorrow
actor: customer
goal: Get bread reserved for tomorrow morning
starts: in_app
where: shop.order-for-tomorrow   # Shop › Order for tomorrow
outcomes:
  OrderPlaced: { order_id: uuid, ready_at: datetime }
failures:
  SoldOut: «That bread is sold out for tomorrow. Pick another?»

Quickstart: the map in your repo

Or let your agent keep it

Your coding agent reads the map before it writes code, and proposes a change to the map when the work goes beyond it.

claude mcp add --transport http sypnia-cases https://mcp.cases.sypnia.com

The MCP tools

Hosted by us, paid with credits

Map your app in Sypnia Cloud

  • The mapThe same files, plus a visual editor for people who do not program.
  • Scope checksThe same checks, on every change, with the history.
  • ReviewsProposals your team and your client approve, comments per case.
  • Running casesThe same guarantees on AWS queues, one per listener, with the graph on the map.
  • LinksLive data from Data, Telemetry, Git and Agent on each case.

Open source: the format, the CLI, the server

Keep the map in your repository

  • The mapFiles in your repository, in the open format.
  • Scope checkscases check in your terminal and your CI.
  • ReviewsPull requests on the files.
  • Running casesPart of @sypnia/cases in each area, on your Postgres alone: outbox, retries, dead letters.
  • LinksRead from your code (Sypnorm) and your commits.

Sypnia Cloud uses the same open format and the same checks, and adds the visual editor, reviews with your team and client, and the links to Data, Telemetry, Git and Agent. Compare the two, line by line

The map

Every page says whether it is about the open-source tools, Sypnia Cloud or both.

Written for people and for coding agents. Every page is also plain Markdown: add .md to its address, or use the «Copy page for your agent» button. Agents can start from the index.

    Search pages, sections and terms