Skip to content
SynthGraph
Open source · SDK 0.6 alpha

Know exactly what produced your model.

SynthGraph records where your synthetic training data came from and what it trained: the generator, seed and parameters, the dataset versions, the training runs and their evaluations, linked into one graph you can inspect months later.

For researchers who generate synthetic data, from rendered images to randomized simulation. You keep your tools, and your data stays where it is.

  1. 01Generationgenerator, version, seed, parameters
  2. 02Dataset versiona reference, not an upload
  3. 03Training runmodel, configuration, the data it used
  4. 04Evaluationscores, tied to what they were measured on

Illustrative data. Shown to explain the provenance model, not a benchmark or customer result.

The problem

Synthetic-data experiments are easy to run. Hard to reconstruct.

A generation can take hours of compute. The configuration that produced it may live in a script, a notebook, a simulator, a local file, an experiment tracker, or someone’s memory.

Today

  1. 01Generatehours of compute
  2. 02Save config somewherescript · notebook · simulator UI
    link not recorded
  3. 03Train modelseparate machine, separate repo
  4. 04Log metrics elsewhereexperiment tracker
    link not recorded
  5. 05Compare spreadsheetshand-copied numbers
    link not recorded
  6. 06Months later“What exactly did we run?”

With SynthGraph

  1. 01Generationgenerator · parameters · seed
    recorded relationship
  2. 02DatasetVersionreferenced by exact version
    recorded relationship
  3. 03TrainingRunconfiguration · inputs
    recorded relationship
  4. 04EvaluationResultmetric, tied to its source

The same work, with the connections between steps written down at the moment they exist — rather than reconstructed from memory months later.

How it works

A few calls around the code you already run.

No agent and no engine plugin. Your script calls a Python SDK, which sends records to the API over HTTPS. The backend stores them and the dashboard shows them.

  1. 01

    Record

    Open a generation with its generator, seed and parameters. Record the dataset by reference. Then the training run, and what it scored. The with block marks the generation failed if your code raises, and keeps it.

  2. 02

    Link

    Say which data a run used. The links are the ones you record: nothing is inferred from timestamps, so every line in the graph is something you said.

  3. 03

    Inspect

    Open the dashboard or use the command line. See the lineage, the metrics, how completely each run was recorded, and what would be missing if you wanted to rerun it.

Install and configure

shell
$ pip install "git+https://github.com/Abinash-Anand/SynthGraph.git#subdirectory=synthgraph-sdk-cli"
shell
$ export SYNTHGRAPH_API_KEY="..."$ export SYNTHGRAPH_API_URL="https://your-synthgraph-backend"
capture.py
from synthgraph import SynthGraph with SynthGraph() as sg:  # reads the two environment variables above    project = sg.project("Adverse weather detection")    experiment = project.experiment("vehicle_detection_rain")     with experiment.generation(        generator="blender",        generator_version="4.2",        parameters={"weather": "rain", "occlusion": 0.3, "camera_distance": 12},        seed=42,    ) as generation:        run_my_blender_pipeline()  # your code, unchanged         dataset = generation.dataset(            name="rain_dataset_v1",            uri="s3://lab-bucket/rain_dataset_v1",            format="image",        )     training = experiment.training(        model="yolo",        framework="pytorch",        dataset=dataset,        config={"epochs": 50, "batch_size": 32, "learning_rate": 0.001},    )    training.start()    training.log_metric(step=1, metrics={"loss": 0.9})    training.evaluation(        metrics={"mAP": 0.724, "precision": 0.78, "recall": 0.69},        dataset_version_id=dataset,    )    training.complete()

Your generator still runs where it always ran. What changes is that its parameters, seed and version are written down next to the result they produced.

Lineage

See the experiment, not just the metric.

A metric tells you what happened. Lineage helps you understand why.

  1. 01

    Generation

    The run that produced data: generator and version, parameters, seed, referenced asset versions, code version.

  2. 02

    DatasetVersion

    A specific version of a logical dataset, identified by reference and version rather than by folder name.

  3. 03

    TrainingRun

    The training configuration and the exact dataset versions it consumed.

  4. 04

    EvaluationResult

    The metric, attached to the run that produced it and, through it, to everything upstream.

Illustrative data. Shown to explain the provenance model, not a benchmark or customer result.

The dashboard

Everything you recorded, in one workspace.

Real screens from a demo project. Each view reads the same records, and each one says what it is built from.

The lineage graph: five generations, their dataset versions, four training runs and a collapsed group of twelve evaluations, joined by recorded links.

Generations to datasets to runs to evaluations. Every line is a link someone recorded. The failed generation is marked, and the one with no link says so instead of being connected by guesswork.

Demo data: an invented adverse-weather detection project, recorded through the SDK.

Records you can trust

It says what it knows, and what it does not.

Provenance is only useful if you can believe it. These are the rules the records follow.

  • Failures stay in the record

    A generation that fails keeps its parameters, its seed and its failed status. The parameters that did not work are exactly what you will want to find later.

  • Links are recorded, not guessed

    A training run is linked to the data you said it used, and an evaluation to the data it was scored on. If you recorded nothing, the graph draws nothing, and tells you so.

  • You declare what better means

    Is a bigger number better? For reward, yes. For loss, no. You declare it once per experiment, and nothing is inferred from a metric's name. Without a declaration there is no verdict.

  • A grade for recording, not a promise

    The reproduction manifest lists what is known, what the SDK supplied, which inputs live outside SynthGraph, and what is missing. It grades how completely a run was recorded. It does not check that a rerun will match.

Your stack

It works from the code you already run.

There are no plugins to install into your generator or your trainer. Your script calls the SDK, so anything that runs Python can record to it.

  • Python SDK

    Typed records, a with block for the generation lifecycle, reads that retry with backoff, and writes that report an unknown outcome instead of pretending they saved.

  • Command line

    Read provenance back from a terminal or a script. Every command can print JSON. Export a reproduction manifest or generated Markdown documentation for a generation.

Framework helpers

  • stable-baselines3

    Extracts configuration and logs metrics automatically through a callback

  • skrl

    Extracts configuration and logs metrics automatically through a writer

  • rl_games

    Extracts algorithm, model and network configuration

  • Isaac Lab

    Extracts domain-randomization event-term configuration

  • MuJoCo Playground

    Extracts environment configuration and the domain-randomize source

  • Weights & Biases

    Reads configuration and summary from an existing run

These are for reinforcement learning libraries. There are no plugins for Blender, Unity or Omniverse: those scripts call the SDK directly.

Your data

Your data stays where it is.

SynthGraph records where things are and how they were made. It is built to leave the data itself, and the decisions about it, with you.

  • References, not bytes

    A dataset version is a URI, a name and optionally a checksum. SynthGraph never reads, uploads or stores your data. The only time the SDK reads your files is when you ask it to hash them.

  • Open source, and yours to run

    The code is under the MIT license. Run the database, the backend and the dashboard yourself, and your records live in your own Postgres.

  • Plain about security

    API keys are stored as hashes and shown once. Every record is checked against its owner. Sign-in is rate limited. There are no certifications, and the docs say what the backend does not do.

  • Environment details, on by default

    Creating a run records your Python version, operating system and git commit and branch, with credentials stripped from the remote. You can turn that off per call.

Open source · MIT

Your next experiment should leave a trail.

Install the SDK and record your next generation. The next time someone asks which seed, you will already have the answer.

SDK 1.0.0 is an alpha: the API only changes by adding, and the SDK can still change. See the docs for what it does and what it does not do.