V1 PREVIEW · SINGLE GO BINARY

SSH connections,
owned by your OS.

Turn OpenSSH -L, -R, and -D forwards into named connections. Run them in your terminal or hand each one directly to launchd or systemd—without a central daemon.

macOS 12+ · Linux with systemd user services · Windows not published · MIT

tunlite — zsh
$ tunlite add db \
    -L 5432:localhost:5432 deploy@app01
✓ db added · stopped

$ tunlite enable db
✓ persistent · running

$ tunlite status db
connection    db
mode          persistent
process       running
consistency   consistent
scope         user
01one native binary
02your system OpenSSH
03one service per connection
04versioned JSON contract

PREVIEW VALIDATION

Built broadly. Claimed only where tested.

Intel macOS has passed the final Universal 2 build check, LaunchAgent release E2E, and an isolated LaunchDaemon user↔system lifecycle with real SSH traffic and restart without sudo. Ubuntu 24.04 PID 1 systemd Docker E2E has passed. Apple Silicon hardware and non-container Linux hosts remain explicit pre-stable gates; Windows compiles but is not published.

THE SMALLER CONTROL PLANE

No second supervisor hiding behind your supervisor.

Tunlite plans the connection, then gets out of the runtime path. The operating system executes ssh directly and owns restarts, logs, and login persistence.

DECLAREtunlite CLIconfig + validation
→
PLANSSH Driverdeterministic argv
→
OWNlaunchd / systemdone job per connection
→
RUNOpenSSHthe transport you trust
01 / ISOLATED

Failure stays local

One broken connection cannot restart every other tunnel. Each job has its own lifecycle, logs, PID, and failure state.

02 / INSPECTABLE

Nothing proprietary

No account, cloud relay, custom protocol, or embedded SSH stack. Inspect the generated plan and the native service definition.

03 / AUTOMATABLE

Designed for agents

Automation-facing operations support stable JSON and non-interactive execution, with dry-run where mutation matters and per-item batch failures. Scope stays local to the machine.

ONE DECLARATION, THREE MODES

Attached when debugging. Native when it matters.

runforeground — owned by the current terminal
startbackground — survives the terminal, not the next login
enablepersistent — starts now and returns on future logins
enable --scope systemmacOS system — explicit, privileged, and independent of login

INSTALL THE PREVIEW

Download, verify, install.

The bootstrap selects the native archive, verifies it against the release SHA256SUMS, validates the staged binary, then atomically installs it to ~/.local/bin/tunlite.

$ curl -fsSL https://raw.githubusercontent.com/tunlite/tunlite/main/bootstrap.sh | sh

HUMAN CLI · MACHINE CONTRACT

A useful command line for you.
A predictable protocol for your agent.

$ tunlite capabilities --json --non-interactive
{
  "protocolVersion": 1,
  "nativeServices": {
    "available": true,
    "adapter": "launchd",
    "scope": { "default": "user", "supported": ["user", "system"] }
  }
}
  • Embedded, versioned JSON Schemas
  • Five explicit state dimensions plus local service scope
  • Structured risks and recovery actions
  • Official use-tunlite Agent Skill
Open the Agent Skill →