Use it
- Sign in at www.pylonsync.com.
- Open an organization. The first card on the page is Hand off to your coding agent.
- Click Generate prompt. The dialog shows a short code (e.g.
ABCD-1234) inside a paste-ready blurb. - Click Copy prompt, paste into your coding agent, press return.
- install the Pylon CLI (
curl -fsSL https://www.pylonsync.com/install.sh | bash) - sign in with
pylon login --code ABCD-1234 - load
https://www.pylonsync.com/pylon-skill.mdinto wherever it persists project rules (~/.claude/skills/pylon/SKILL.mdfor Claude Code,.cursor/rules/pylon.mdcfor Cursor,CONVENTIONS.mdfor Aider, etc.) - run
pylon projects list+pylon statusso it knows the starting state - ask you what you want to build
Short-code security
The dashboard mints a realpk.* Pylon API key first (the same kind you create manually in /dashboard/account/cli-tokens). It then stores the key on the server behind the short code. The prompt you paste into the agent contains only the code. The token never appears in the chat history, the model provider’s logs, or any analytics that records the prompt.
When the agent runs pylon login --code ABCD-1234, the CLI calls /api/fn/exchangeCliAuthCode on the cloud, which:
- atomically sets the stored token to null and stamps
consumedAt - returns the token to the CLI in one round-trip
- the CLI writes it to
~/.config/pylon/credentials.json(mode 0600)
/dashboard/account/cli-tokens removes it.
Properties
- Single-use. A second
exchangeCliAuthCodecall with the same code returnsCODE_USED. - Short TTL. Five minutes. Past that the code returns
CODE_EXPIRED. - High entropy.
XXXX-XXXXover a 30-symbol confusable-pruned alphabet gives about 40 bits. The 5-minute window and the per-IP rate limit make a brute-force guess in flight infeasible. - Revokeable like any other token. The minted key appears at
/dashboard/account/cli-tokensasCoding agent · MMM D. Click trash to end the agent’s session immediately.
Working without the dashboard
If you script this and do not want to click through the UI, the--code exchange endpoint is a regular Pylon function. You can write your own pre-mint flow:
pylon login paste flow when you already have a token. The code-exchange path is an agent-onboarding convenience.