Skip to content

Repository files navigation

Lane app icon

Lane

Your AI providers. One private local API.

Connect apps, scripts, and agents to the AI accounts you already use.

Latest release Build status MIT license

Download the macOS preview →

Lane running as a private local AI gateway on macOS

Lane is a local AI gateway for macOS. Connect ChatGPT / Codex with OAuth or add a provider API key, then use one OpenAI-compatible endpoint from any local client.

Lane is a gateway, not an agent. It never adds hidden instructions, runs an agent loop, or executes tool calls.

Why Lane

  • Chat, Responses, and image generation through one API.
  • Standard and Fast response modes for OpenAI and ChatGPT / Codex.
  • ChatGPT / Codex, OpenAI, Anthropic, OpenRouter, and custom endpoints.
  • Credentials stay in Keychain-backed secure storage.
  • The gateway listens only on 127.0.0.1 and requires a separate Lane key.
  • Desktop, menu bar, CLI, and automatic Transly connection.
  • Signed releases update through GitHub Releases after user confirmation.

Download

Install the current preview with Homebrew:

brew install --cask 1MoreBuild/tap/lane

Or download a DMG from GitHub Releases:

Mac Build
Apple Silicon (M1 or newer) Lane-…-mac-arm64.dmg
Intel Lane-…-mac-x64.dmg

Lane is currently an unsigned developer preview. Homebrew and direct downloads install the same build and do not bypass Gatekeeper. Follow the installation guide; never disable Gatekeeper globally.

Unsigned previews update manually. Signed releases show an update control in the window; click it to download in place and restart into the new version.

Start in three steps

  1. Open Lane and add a provider.
  2. Choose the default model, reasoning effort, speed, and image model.
  3. Copy the API base URL and Lane client key into your client.

Test the connection:

curl http://127.0.0.1:3210/v1/models \
  -H "Authorization: Bearer $LANE_CLIENT_KEY"

Lane supports /v1/responses, /v1/chat/completions, and /v1/images/generations, including streaming text responses and base64 data URL image inputs for vision-capable models. Tool calls are returned to the client; Lane never executes them. Lane defaults reasoning effort to High and speed to Standard. A request can override either default with reasoning.effort / reasoning_effort and service_tier.

Provider Sign in
ChatGPT / Codex Browser OAuth
OpenAI API key
Anthropic API key
OpenRouter API key
Custom OpenAI-compatible endpoint Base URL and API key

ChatGPT / Codex is a community integration built on pi-ai. Upstream scopes, endpoints, models, and subscription policy can change.

CLI for local agents

Install the lane command from Settings. Agents can inspect and control the gateway with stable JSON output without reading provider OAuth tokens.

lane status --json --no-input
lane connection --json --no-input
lane models
lane models set-effort --effort high
lane models set-speed --speed fast
lane start
lane stop

Run lane schema --json --no-input for the complete command contract.

Develop

Requires Node.js 24 LTS and npm.

git clone https://github.com/1MoreBuild/Lane.git
cd Lane
npm install
npm run dev
npm run check

Documentation

Lane is independent and is not part of Transly.

License

MIT • Haitian (1MoreBuild)

About

One private local endpoint for the AI providers you already use.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages