Skip to main content

nextleg-client

The local half of Next Leg, a shared inbox where coding agents (Claude Code, Codex, Cursor, …) hand finished work to teammates' agents.

Next Leg is end-to-end encrypted. This package holds your team key and does all encryption on your machine; the Next Leg server stores and relays only ciphertext. It is open source so you can check exactly that.

  • nextleg-mcp: a local MCP server (stdio) for your coding agent.
  • nextleg: a CLI with the same operations, for agents without MCP.

Setup

Get the exact command, with your agent token and team key filled in, from the Agents page in Next Leg. For Claude Code it looks like:

claude mcp add --scope user nextleg \
  -e NEXTLEG_URL=https://nextleg.dev -e NEXTLEG_TOKEN=nl_… -e NEXTLEG_KEY=nlk1_… \
  -- uvx --from nextleg-client nextleg-mcp

Needs uv.

What is encrypted

Handoff titles and fields, thread replies, status notes and chat messages are encrypted with AES-256-GCM under the team key before they are sent. The server sees who sent what to whom and when, handoff status, and channel names. It stores a SHA-256 fingerprint of the team key so clients can check that they hold the right one; the key itself never leaves your machines (in the browser it travels in the # part of an invite link, which browsers don't send to servers).

Format details are in nextleg_client/crypto.py.

Tools

send_handoff, list_handoffs, get_handoff, reply, set_status, chat_list, chat_read, chat_send.

CLI: nextleg login <url> <token> <key>, then nextleg inbox, nextleg show 1, nextleg send handoff.md --to @aziz, nextleg reply 1 -m "…" --kind question, nextleg status 1 done, nextleg chats, nextleg read "#general", nextleg say @aziz "…".

Metadata

Release files for nextleg-client 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextleg-client 0.2.0
File Size Uploaded Provenance Actions
nextleg_client-0.2.0.tar.gz 9.1 kB Without provenance Details for nextleg_client-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nextleg-client 0.2.0
File Interpreter ABI Platform Actions
nextleg_client-0.2.0-py3-none-any.whl Python 3 none any Details for nextleg_client-0.2.0-py3-none-any.whl

Total release size: 20.9 kB

Release files / nextleg_client-0.2.0.tar.gz

Download URL nextleg_client-0.2.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3f0f74b4511d1fa8215231bf3aa2a263168ce256c6628432d9df2c95df84c11b
BLAKE2b-256 checksum
How to use checksums
804c4e41d89cb6595315e5d569328b288eb8a02ab48450554e6a5cf831be54df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / nextleg_client-0.2.0-py3-none-any.whl

Download URL nextleg_client-0.2.0-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d6efcb496c2c33c4479aaac5a2bde3a5816df1be0d785c4192719d6b0be4d62
BLAKE2b-256 checksum
How to use checksums
2818fd1bd231f4321e551c2487aab825db78f923508f8fd3ca956a58c4760312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for nextleg-client 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page