JSPM

  • Created
  • Published
  • Downloads 2257
  • Score
    100M100P100Q105034F

AgentLink local agent CLI

Package Exports

  • @agent-link/agent
  • @agent-link/agent/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@agent-link/agent) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AgentLink Client

Local agent CLI for AgentLink — use Claude Code from any browser.

AgentLink lets you run Claude Code on your local machine and access it through a web interface. The client runs on your dev machine, connects to a relay server, and gives you a URL to open in any browser.

Install

npm install -g @agent-link/agent

Quick Start

agentlink-client start

That's it. You'll get a URL like http://your-server:3456/s/abc123 — open it in any browser to start using Claude Code.

Usage

# Start agent (foreground)
agentlink-client start

# Start agent (background)
agentlink-client start --daemon

# Custom server
agentlink-client start --server ws://your-server:3456

# Stop agent
agentlink-client stop

# Check status
agentlink-client status

# Auto-start on boot
agentlink-client service install
agentlink-client service uninstall

Configuration

# Set default server (so you don't need --server every time)
agentlink-client config set server ws://your-server:3456

# Set working directory
agentlink-client config set dir /path/to/project

# View config
agentlink-client config list

Config is stored in ~/.agentlink/config.json.

How it works

Browser ↔ AgentLink Server ↔ AgentLink Client ↔ Claude Code
  (web)      (relay)            (your machine)     (CLI)

The client spawns Claude Code as a subprocess, streams its output through the relay server to your browser, and sends your messages back. All tool execution happens locally on your machine.

Requirements