Getting started
Choose the path that fits what you want to try:
- Cloud: Log in to Scryr, open a sample architecture, and edit it in the hosted app. There is nothing to install.
- Open source (OSS): Install the standalone CLI, create a small local diagram without a repository, and then bring Scryr into your own codebase.
The open-source CLI embeds the Python manifest SDK, GraphQL server, and interactive diagram, so Homebrew is the only installation step.
Open-source quick start
Section titled “Open-source quick start”1. Install with Homebrew
Section titled “1. Install with Homebrew”brew install scryr-app/tap/scryr2. Create a simple first diagram
Section titled “2. Create a simple first diagram”Create an empty folder and enter it:
mkdir scryr-quick-startcd scryr-quick-startSave this small example as index.scry:
from scryr import Diagram, Info, Manifestfrom scryr.types import ProgrammingLanguage, WebFramework
api = Manifest( manifest_id="services/api", name="Public API", connections=[Manifest(name="Postgres")], info=Info( description="Business API", languages=[ProgrammingLanguage.python], frameworks=[WebFramework.fastapi], owners="Platform", ),)
database = Manifest(name="Postgres")architecture = Diagram(name="System architecture", manifests=[api, database])3. Check and open the diagram
Section titled “3. Check and open the diagram”scryr serve --watchBy default, serve starts the embedded UI and GraphQL server at 127.0.0.1:8000, formats and validates the source, uploads the artifact, and opens the browser.
Use Scryr in your own repository
Section titled “Use Scryr in your own repository”1. Open your repository
Section titled “1. Open your repository”cd /path/to/your/repository2. Create the repository manifest
Section titled “2. Create the repository manifest”Add index.scry at the repository root. You can start by copying the small example above, or give the Scryr prompt to your coding agent to generate a model of the repository for you.
Review the generated file before running it. A .scry file is Python and can execute imported code.
3. Check and serve it
Section titled “3. Check and serve it”scryr checkscryr serve --watchUse another entrypoint
Section titled “Use another entrypoint”--path defaults to index.scry, and --manifest-dir defaults to the current directory.
scryr check --path architecture/platform.scry --manifest-dir .scryr serve --path services/catalog/index.scry --manifest-dir .Nested entrypoints are grouped by their parent folder in the diagram selector.