# Automation · Docs | Lagsmith

> Control Lagsmith from XCTest UI tests, the ivar command line tool, lagsmith:// links and a local HTTP API.

Source: https://lagsmith.com/docs/automation

# 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: `ivar`

The `ivar` command line tool controls Lagsmith from the terminal and from CI scripts.

## 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](https://lagsmith.com/docs/mcp).

## Slow down one app, not your whole Mac

Free to download, with a 14-day Pro trial. No account, no card. Requires macOS 13 Ventura or later.

[Download for Mac](https://lagsmith.com/download) [Compare with Network Link Conditioner](https://lagsmith.com/network-link-conditioner-alternative)
