Coding agents

CLI overview

The Polylane CLI wraps the full platform API in agent-friendly commands. Install it, sign in, and drive every part of Polylane from a terminal or a coding agent.

The polylane command line interface lets you use every part of Polylane from your terminal, your scripts, and your coding agents. It is built agent-first: output is a text table in a terminal and JSON when piped, non-interactive flags exist everywhere, and the full API surface is available as an escape hatch.

Install

All channels install the same Node-based bundle and require Node.js 20 or later. Homebrew pulls Node.js in as a dependency; the curl and PowerShell installers check for it.

Terminal
npm install -g @coreplane/polylane

Sign in

Terminal
polylane auth login                            # browser OAuth
polylane auth login --no-browser               # device code (SSH, headless)
polylane auth login --api-key sk_xxxxx         # API key (scripts, agents)
polylane auth signup --email you@example.com   # bootstrap a fresh account

More options live in Authentication.

Install the skill for your coding agent

The Polylane skills teach your coding agent when to reach for polylane, how to investigate production, and how to author automations.

Terminal
npx skills add coreplanelabs/skills

Restart your coding agent so it picks up the new skill, then ask it things like "use polylane to investigate this issue".

Command groups

Commands are grouped by resource:

GroupWhat it covers
issueDetected issues, their timelines, notes, and milestones
serviceCloud infrastructure: nodes, logs, metrics, dependency graph
repoRepositories and code search
toolsRun Polylane agent tools directly (tools search, tools run, tools code)
memoryPersistent agent memory
noteDaily and global workspace notes
threadConversation threads (thread ask, thread continue, streaming supported)
artifactPer-thread artifacts: reports, diagrams, pull requests
skillAgent skills: catalog, list, show, docs
automationAutomations and their executions
autofixAutomated code fixes (read-only)
integrationObservability tools and code hosts
cloudCloud accounts (aws, cloudflare, fly, render, vercel)
workspaceCreate and switch workspaces
authLogin, status, logout
configCLI configuration
telemetryAnonymous usage telemetry: status, enable, disable
apiRaw API access
updateCheck for CLI updates

Discover commands

--help is the authoritative reference. It always matches the version you have installed.

Terminal
polylane --help                               # top-level commands
polylane <resource> --help                    # commands for a resource
polylane <resource> <command> --help          # flags and examples

Anything not yet a first-class command is available under polylane api:

Terminal
polylane api list --tag Issues
polylane api describe <operation-id>
polylane api call <operation-id> --body '{...}'

See the API reference for the full list of operations.

Where to next

  • Authentication: every credential path and where credentials are stored.
  • Scripting: non-interactive flags for agents and continuous integration.
  • Configuration: environment variables and the config file.