Product
Platform overview Tomosu engine (open source) Tomosu Cloud Reliability rules
Solutions
Prevent outages before merge Reliability Radar Fix safety For developers For SRE and platform teams
Developers
Quickstart Documentation Contribute a rule
Resources
Blog Case studies Learn FAQ News
Company
Pricing About Contact Join the Waitlist
Theme

One-step setup

One script sets Tomosu up: ./setup.sh. It runs the demo, scans your code, or starts the engine for your services and writes the telemetry settings to paste. It asks only what each step needs, and every question has an option for running it unattended.

  • ./setup.sh
  • Demo, scan or engine
  • Docker or Go
  • Updated

How do I run it?

# Coming soon the public repository opens shortly
git clone https://github.com/tomosuai/tomosu
cd tomosu
./setup.sh

It asks what you want, then only what that needs, and checks each step. Or name the mode:

ModeWhat it does
./setup.sh demoStarts the demo (an instrumented shop, its traffic, a Collector and the engine) and opens the console
./setup.sh scanScans a folder, or a GitHub repository: a public one straight from GitHub, a private one cloned with your own git access. --pdf adds a report
./setup.sh engineIndexes your code, starts the engine, opens the console and writes your telemetry settings
./setup.sh statusWhat is running, and what is left to set up
./setup.sh stopStops the engine it started; deletes nothing. --all also stops the demo

What does it need?

Docker, or Go 1.26+, a C compiler and GNU Make (the make that comes with macOS works). With the Go toolchain it builds the tomosu binary; without it, it builds a Docker image from the repository and runs the same commands in a container. It runs on macOS and Linux; on Windows, use WSL.

What does the engine mode ask?

QuestionOptionDefault
Your code: a folder or a GitHub URL--repothe current folder
The service name your app reports--servicethe folder’s name
Environment--envdev
Will other machines send telemetry?--networkno
Do you run an OpenTelemetry Collector?--collector yes|nono
A model for Tomosu Agent (optional)--model, --model-namenone
Open Connect GitHub when it is up?--github yes|nono

With --network, the telemetry ports listen on the network and require a token; the console stays on your computer. If the demo already uses ports 7600, 4317 and 4318, it offers 7610, 14317 and 14318.

What does it give me for my telemetry?

Two files in ~/.tomosu/setup, ready to paste:

  • collector-exporter.yaml: the exporter to add to your Collector next to your current backend, with the safe settings (a small queue and short retries, so the engine can never slow your pipeline).
  • app.env: the variables for your app’s OpenTelemetry SDK when there is no Collector, with service.version set to the commit it indexed.

Your app’s code still needs OpenTelemetry. That is a code change the script does not make; the Work with Claude prompt makes it for you. Then see Send OpenTelemetry data.

Can it run without questions?

Yes. Every question has an option, and --yes takes the default for the rest, for CI, scripts and Claude:

./setup.sh demo --yes
./setup.sh scan --repo ~/src/shop --pdf shop.pdf
./setup.sh scan --repo https://github.com/psf/requests --public
./setup.sh engine --repo ~/src/shop --service shop --collector yes --yes

A model key comes from its usual variable (such as ANTHROPIC_API_KEY) or is typed with the input hidden, never from the command line. ./setup.sh --help lists every option.

What will it never do?

  • Install anything without your yes, or use sudo on its own.
  • Delete data: stop only stops processes, and the demo and the engine keep their data.
  • Change your code, or accept or apply a fix.