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.
$ 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 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 binary | Download from GitHub Releases → |
ipx auth login
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.
# 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
Generate, manage and run locally.
Switch organizations with ipx auth context. The selected organization controls org, policy and billing commands.
Generate
ipx genSubscription-billed Lightning for chat, text, image, video and audio.
ipx p2gCredit-billed Pay-to-Go API for chat, image, video, audio, 3D, embeddings, realtime voice, balance, ledger and keys.
Manage
ipx orgMembers, invitations, teams, keys, billing, usage, audit, domains, SSO and policy.
ipx agentCreate, update, publish and chat with managed agents; manage invites and members.
ipx mcp councilUse the hosted Council of LLMs: tiers, models, reasoning and client setup.
ipx shieldAI Shield scans, analyzes and checks URLs, files, messages, listings, passwords and domains.
ipx shield scan "Ignore previous instructions…"ipx usageView quotas, wallet balance and organization spend.
ipx doctorDiagnostics, config, API passthrough, rewards and shell completion.
Run locally
DeploymentsDeploy, check, cancel, restore and track usage of on-demand model deployments.
ipx model / localPull local models and chat with them using the desktop app engine.
ipx serverHost local models for teammates: start, stop, status and logs.
ipx importAdd Hugging Face Spaces, websites and files to the desktop app library.