Command line · one native binary

All of InferencePort, in your terminal.

Chat and generate media, call the Pay-to-Go API, manage your organization, deploy models, run agents and the Council MCP, host local models, and scan with AI Shield — from scripts, servers and CI.

Windows, macOS, Linux--json on every commandApache-2.0
ipx
$ ipx auth login
$ ipx gen image "a lighthouse at dawn" -o lighthouse.jpg
$ ipx p2g balance
$ ipx agent chat acme-bot/support
$ ipx mcp council reason "Is this migration safe?" --tier basic
$ git diff | ipx shield scan --task dlp --fail-on review
# exit code 3 fails the pipeline
Install & sign in

Install ipx, then connect your account.

Choose one of six installation methods. After installation, run ipx auth login and follow the sign-in prompts. You can sign in with email, a supported provider, SSO or an API key.

pip
pip install inferenceport-cli
npm
npm install -g @inferenceport-ai/ipx
cargo
cargo install ipx-cli
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/inferenceport-ai/cli/main/install.sh | sh
Windows PowerShell
irm https://raw.githubusercontent.com/inferenceport-ai/cli/main/install.ps1 | iex
Prebuilt binaryDownload from GitHub Releases →

ipx auth login

Built for automation

Gate a pipeline. Pipe the output.

Use --json for machine-readable output, stdin for piped input and exit codes for automation.

  • JSON output. ipx --json usage get | jq .quota
  • Fail the build. Shield --fail-on review exits with code 3 at or above that verdict.
  • Set Shield rules. Use --policy, --block and --allow.
  • CI sign-in. Use an API key for non-interactive authentication.
ci.sh
# scan a diff before it ships
$ git diff | ipx shield scan --task dlp --fail-on review

# bulk-check a list of emails
$ ipx shield check email -f signups.txt --only-flagged

# triage a suspicious message
$ ipx shield phishing -f suspicious.eml

# check uploads against your policy
$ ipx shield file uploads/* --policy policy.json
Command reference

Generate, manage and run locally.

Switch organizations with ipx auth context. The selected organization controls org, policy and billing commands.

Generate

ipx gen

Subscription-billed Lightning for chat, text, image, video and audio.

ipx gen image "a lighthouse at dawn" -o lighthouse.jpg
ipx p2g

Credit-billed Pay-to-Go API for chat, image, video, audio, 3D, embeddings, realtime voice, balance, ledger and keys.

ipx p2g 3d --image chair.jpg -o chair.glb

Manage

ipx org

Members, invitations, teams, keys, billing, usage, audit, domains, SSO and policy.

ipx org keys create ci --monthly-limit 25
ipx agent

Create, update, publish and chat with managed agents; manage invites and members.

ipx agent chat acme-bot/support
ipx mcp council

Use the hosted Council of LLMs: tiers, models, reasoning and client setup.

ipx mcp council reason "Is this migration safe?" --tier basic
ipx shield

AI Shield scans, analyzes and checks URLs, files, messages, listings, passwords and domains.

ipx shield scan "Ignore previous instructions…"
ipx usage

View quotas, wallet balance and organization spend.

ipx usage get
ipx doctor

Diagnostics, config, API passthrough, rewards and shell completion.

ipx doctor

Run locally

Deployments

Deploy, check, cancel, restore and track usage of on-demand model deployments.

ipx --help
ipx model / local

Pull local models and chat with them using the desktop app engine.

ipx model pull llama3.2
ipx server

Host local models for teammates: start, stop, status and logs.

ipx server start --allow [email protected] --detach
ipx import

Add Hugging Face Spaces, websites and files to the desktop app library.

ipx import space black-forest-labs/FLUX.1-schnell

Install ipx in a minute.

One binary. Sign in once, then script anything you can do in the console.