cd /news/developer-tools/show-hn-poly-one-cli-and-purl-syntax… · home › topics › developer-tools › article
[ARTICLE · art-177444] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Show HN: Poly – One CLI and PURL syntax across 26 language package managers

RitualDev-Lab released Poly, a standalone CLI that applies one PURL-based syntax to add, remove and synchronize dependencies across 26 language package managers, including Node.js, Python, Rust and Go. Poly delegates 100% of dependency resolution to native tools (uv, pnpm, cargo, go) and adds a composite SHA-256 lockfile (poly.lock), a zero-drift --frozen CI mode, and structured JSON agent output with MCP support aimed at autonomous coding agents such as Claude Code, Cursor and Windsurf. The tool ships as a zero-dependency native binary for Linux, macOS and Windows, also installable via Homebrew, Scoop and npm.

key takeaway

Poly maps shorthand like npm:zod, pypi:fastapi and cargo:tokio to native resolvers and adds a --frozen mode that fails CI when any manifest or lockfile changes out-of-band.

read9 min views8 publishedNov 27, 2026
Show HN: Poly – One CLI and PURL syntax across 26 language package managers
Image: Michielbdejong (auto-discovered)

The Universal Polyglot CLI Package & Dependency Orchestrator

One consistent syntax to add, remove, and synchronize dependencies across Node.js, Python, Rust, and Go.

Official Web Platform & Interactive Simulator: https://poly.ritualdev.in

Official VS Code Extension: RitualDev-Lab/vscode-poly

Official GitHub Action: RitualDev-Lab/setup-poly

Enterprise Web Repository: RitualDev-Lab/poly-web

Modern engineering teams rarely build in a single programming language. A typical stack often pairs a Next.js frontend, a Python AI backend, and Rust/Go microservices or WebAssembly crates.

Switching cognitive context between pnpm add, uv add, cargo add, and go get creates friction and trips up autonomous AI coding agents (Claude Code, Cursor, Windsurf).

poly acts as a zero-latency orchestrator that translates universal package requests into the fastest native package manager on your system.

                         ┌─────────────────────────────┐
                         │      poly CLI Runner        │
                         │   (Zero-Runtime Overhead)   │
                         └──────────────┬──────────────┘
                                        │
             ┌──────────────────────────┼──────────────────────────┐
             ▼                          ▼                          ▼
  ┌──────────────────────┐   ┌──────────────────────┐   ┌──────────────────────┐
  │   Node.js (npm)      │   │     Python (PyPI)    │   │      Rust (Cargo)    │
  │  pnpm · bun · npm    │   │      uv · pip        │   │         cargo        │
  └──────────────────────┘   └──────────────────────┘   └──────────────────────┘
  • PURL Standard & Shorthand : Usenpm:zod ,pypi:fastapi ,cargo:tokio , or standardpkg:npm/... specifications.
  • Polyglot Workspaces (poly.toml) : Orchestrate monorepos with parallel dependency synchronization across members.
  • Composite Cryptographic Lockfile (poly.lock) : High-speed SHA-256 integrity verification tracking all underlying native lockfiles.
  • Zero-Drift CI/CD Mode (--frozen) : Deterministically fails if any manifest or lockfile is modified out-of-band.
  • Cross-Stack Task Runner (poly run <task>) : Concurrently run scripts across services with colorized prefix streaming.
  • Native Engine Delegation : Zero custom solvers or lockfile corruption.poly delegates 100% of the resolution to verified native tools (uv ,pnpm ,cargo ,go ).
  • Interactive Disambiguation : When multiple manifests exist in the same directory,poly presents an inline selection prompt.
  • AI Agent Friendly : Eliminates shell syntax hallucination for autonomous coding agents.
Capability Poly ( @ritualdev-lab/poly ) Turborepo Nx
Native JS/TS + Python (uv) + Rust ( cargo) + Go Built-in ( poly.toml ) JS/TS primary Plugins required
Composite Cryptographic Lockfile (poly.lock) Yes (SHA-256) No No
Built-in OSV Vulnerability Scan & poly fix Yes No Limited
Structured JSON Agent Output (--agent) + MCP Native No Limited
Zero-Cloud Local Cache Yes (default) Yes (local) Yes (local)

Show that your polyglot monorepo uses deterministic poly orchestration:

[![Built with Poly](https://raw.githubusercontent.com/RitualDev-Lab/poly/main/badges/built-with-poly.svg)](https://github.com/RitualDev-Lab/poly)

poly is available as a zero-dependency standalone native binary for Linux, macOS, and Windows (no Node.js or npm required), as well as via Homebrew, Scoop, and npm.

curl -fsSL https://poly.ritualdev.in/install.sh | sh
irm https://poly.ritualdev.in/install.ps1 | iex
brew install RitualDev-Lab/tap/poly
scoop bucket add ritualdev https://github.com/RitualDev-Lab/scoop-bucket
scoop install poly
npm install -g @ritualdev-lab/poly

npx @ritualdev-lab/poly add pypi:fastapi

Use the official setup-poly action in your workflow:

- name: Set up Poly
  uses: RitualDev-Lab/setup-poly@v1
  with:
    version: 'latest'

- name: Sync dependencies & verify zero drift
  run: poly install --frozen

- name: Cross-stack CVE security gate
  run: poly audit --fail-on high
poly add npm:zod
poly add pypi:fastapi
poly add cargo:tokio --features full
poly add go:github.com/gin-gonic/gin

poly add npm:vitest -D
poly add pypi:pytest -D

cd services/api
poly add requests    # Automatically routes to PyPI via uv or pip
poly remove npm:lodash
poly remove pypi:scikit-learn
poly install

poly install --all

poly update npm:zod
poly update pypi:fastapi

poly update

Scan package registries concurrently across Node.js (npm), Python (PyPI), Rust (crates.io), and Go proxy in under 300ms, printing a unified, color-coded semver table (MAJOR, MINOR, PATCH):

poly outdated

poly outdated --json

poly outdated --filter services/ai

poly upgrade

poly upgrade zod fastapi tokio

Unify your heterogeneous development environment with a single command. poly dev concurrently launches frontend dev servers, Python AI backends, and Rust/Go services, streaming color-coded, uniformly aligned prefixes per service and guaranteeing graceful shutdown (killing process trees without leaving zombie ports on Ctrl+C):

[workspace]
members = ["apps/*", "services/*"]

[scripts]
dev = { parallel = ["web:dev", "api:dev", "worker:dev"] }
test = { parallel = ["web:test", "api:test", "worker:test"] }
poly dev

poly dev --filter web

poly test

Fast, zero-dependency tab completion for all subcommands, flags, workspace member targets, and dynamic task completions from poly.toml and package.json (poly run <TAB>):

eval "$(poly completion bash)"

eval "$(poly completion zsh)"

poly completion fish | source

poly completion powershell | Out-String | Invoke-Expression
poly sync

poly install --frozen

poly lock --verify

poly run dev
poly run test --filter apps/web
poly audit

poly fix

poly fix --dry-run

poly audit --fail-on high

poly audit --format sarif --output poly-security.sarif

poly license --check

poly sbom --format cyclonedx --output sbom.json
poly sbom --format spdx --output spdx.json
poly doctor

poly doctor --json
poly docker

poly docker --devcontainer

poly docker --devcontainer --dry-run

poly docker --output-dir ./deploy/docker
poly attest keygen

poly attest generate --output attestation.json

poly attest sign --key poly-key.pem --output signed-envelope.json

poly attest verify --attestation signed-envelope.json --key poly-key.pub

poly policy --fail-on-violation
poly cache save

poly cache restore

poly cache clean

poly registry test

Bridge directly into your hosted poly-cloud-api server:

poly login --url https://cache.ritualdev.in --token poly_tok_abc123 --workspace default

poly whoami

poly cache status
poly cache status --json

poly cache purge
poly cache purge --branch feature/login-flow
poly cache purge --all

poly logout

Autonomous coding agents (Claude Code, Cursor, Windsurf, Devin, Codex) struggle with dependency management—wasting 40% of their context windows reading verbose package manager progress bars, hallucinating commands in monorepos, and risking supply-chain attacks from unvetted lifecycle scripts.

poly is built from the ground up as the native package orchestrator for AI agents:

poly add --agent npm:zod
poly install --agent

poly add --sandbox npm:shady-pkg
poly sandbox check npm:shady-pkg       # Pre-flight lifecycle script inspection before installation

poly agent add npm:zod
poly agent install
poly agent audit

poly mcp install

poly init --ide all

poly detect --json     # Concise detected environments and primary ecosystem
poly list --json       # Compact workspace members & direct dependency map
poly audit --json      # Streamlined vulnerability report with zero preamble noise
poly outdated --json   # Concurrent cross-ecosystem outdated scan in <300ms

poly test              # Runs test suites across all stack members (Node, Python, Rust, Go)
poly run <task>        # Runs cross-stack tasks (e.g. 'poly run build', 'poly run dev')

poly mcp

poly mcp --config

Stop malicious code and legal liability before bytes touch the disk:

  • 24-Hour Quarantine Cooldown : Automatically halts packages published<24h ago, preventing 95%+ of zero-day maintainer account takeovers on npm & PyPI.
  • Auto-Rollback to Mature Release : Inrollback mode (default), Poly transparently pins to the latest verified release published>=24h ago.
  • Pre-Execution License Gate : Blocks copyleft licenses (GPL, AGPL, SSPL) before download, preventing developers and AI agents from contaminating closed-source codebases.
poly firewall check npm:zod
poly firewall check pypi:fastapi --agent

poly add npm:fast-logger --allow-untested

Configure firewall policy directly in poly.toml:

[security]
quarantine_hours = 24       # Cooldown threshold (0 to disable)
quarantine_action = "rollback" # "rollback" (mature release) or "block"

[security.licenses]
policy = "denylist"
denied = ["GPL-2.0", "GPL-3.0", "AGPL-1.0", "AGPL-3.0", "SSPL-1.0"]
on_violation = "block"      # "block" or "warn"
poly which npm     # e.g., pnpm (v9.15.4)
poly which pypi    # e.g., uv (v0.5.1)
poly which cargo   # e.g., cargo (v1.84.0)

MIT © RitualDev Lab

If you find this project valuable, consider supporting our open-source development:

── more in #developer-tools 4 stories · sorted by recency
── more on @ritualdev-lab 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-poly-one-cli…] indexed:0 read:9min 2026-11-27 · —