Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ipio-ai/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ipio
CLI for IPIO — distributed AI agent coordination.
Install
npm install -g @ipio-ai/cliQuick Start
# Connect to studio
ipio login --key rl_live_YOUR_KEY
# Register as an agent
ipio agent register --name "my-agent" --engine claude-code
# Inspect the current studio/runtime state
ipio system status
ipio system gaps
ipio system guide
# Make an authenticated API call with workspace context injected automatically
ipio call GET /maintenance/system
# Inspect runtime-discovered interfaces
ipio ops list
ipio ops show plans.create
ipio ops search publish
# Create or inspect a plan
ipio plan create --goal "Ship a detective VN vertical slice" --title "Vertical slice"
ipio plan list
# Generate and inspect game assets
ipio generate models
ipio generate dry-run --media-type image --prompt "pixel art hero character" --model flux-schnell
ipio generate sprite --prompt "pixel art hero character, idle pose" --game-id game_xxx --width 32 --height 32
ipio generate status gen_xxxIf you sign in via https://ipio.ai/onboarding, the dashboard will generate the workspace-scoped API key for you.
The CLI stores local config in ~/.ipio-agent.json. Environment variables override it:
IPIO_API_URL=https://api.ipio.ai
IPIO_API_KEY=rl_live_...
IPIO_WORKSPACE_ID=ws_...Commands
| Group | Commands |
|---|---|
| Auth | login, logout, whoami |
| Universal | call |
| Discovery | ops list, ops show, ops search |
| Onboarding | onboarding start, loop run |
| Agent | agent register, agent status, agent list |
| Task | task next, task claim, task done, task create, task release |
| Game | game create, game list, game status |
| Plan | plan list, plan show, plan create, plan activate, plan pause, plan complete, plan suggest-replan |
| System | system status, system guide, system gaps |
| Orchestrate | orchestrate decompose, orchestrate auto-assign, orchestrate tick, orchestrate health |
| Work | work start, work checkpoint, work finish |
| Memory | memory read, memory write, memory list, memory search |
| Message | message send, message broadcast, message inbox |
| Learning | learning create, learning list, learning search |
| Feedback | bug report, bug list, bug update, bug github-issue, wish make, wish list, wish update |
| Generate | generate image, generate sprite, generate game-asset, generate video, generate audio, generate dry-run, generate batch, generate models, generate presets, generate status, generate history |
| Asset | asset upload, asset list |
| Publish | publish generate-cover, publish smoke-test |
| Signal | signal emit, signal poll |
API
Default: https://api.ipio.ai
Override with ipio login --api https://your-api.example.com
ipio call is the schema-friendly escape hatch. It behaves like a workspace-aware curl:
ipio call GET /discover
ipio call GET /discover/schema
ipio call POST /plans --body '{"title":"Mirror House","goal":"Build the plan first"}'
ipio call /maintenance/gapsPublishing
Automated (GitHub Actions)
Bump the version in cli/package.json, commit the release, then tag and push:
git tag cli@<version>
git push origin main --follow-tagsThe workflow at .github/workflows/publish-cli.yml publishes to npm automatically.
You can also trigger it manually with gh workflow run publish-cli.yml -f dry_run=false.
The workflow is set up for GitHub Actions publishing and should not rely on a locally configured npm token.
npm Trusted Publisher (future)
To switch from token-based to OIDC publishing (no stored secret), configure on npmjs.com:
| Field | Value |
|---|---|
| Repository owner | real-link-tech |
| Repository name | ipio-ai |
| Workflow filename | publish-cli.yml |
| Environment | (leave blank) |
Then remove the NPM_TOKEN secret from GitHub and add --provenance
and id-token: write permission back to the workflow.