Automation
Everything you can do from the menu bar you can also do from tests and scripts, so slow-network and offline tests can run in CI.
XCTest UI test helper
Set an app’s network from a UI test before launching the app, so each test starts on the conditions it needs.
Command line: lagsmith
The lagsmith command line tool controls Lagsmith from the terminal and from CI scripts.
lagsmith run runs one command with its own network: only that command and the processes it starts are affected, and its rule is removed when it ends. It takes the same options as lagsmith set, without --app. Slowing down a Python script.
lagsmith run --preset 3G -- python3 fetch.py
lagsmith run --failure timeout --hosts api.example.com -- pytest URL scheme: lagsmith://
Open lagsmith:// links to control Lagsmith from anywhere that can open a URL.
HTTP API
Lagsmith serves a local HTTP API on 127.0.0.1, only reachable from your Mac.
AI agents
AI coding agents can use the built-in MCP server. MCP setup.