Commands
This page includes all essential InfraMind CLI commands used across deployment, execution, staking, testing, and governance. Each command is tested against production or testnet agents and reflects the real behavior of the mesh and its tools.
π§± Node Setup & Lifecycle
# Install and launch InfraMind node (auto-config)
curl -sL https://inframind.host/install.sh | bash
# View node status (ID, region, stake, uptime, SLA)
infra status
# Restart node (systemd)
sudo systemctl restart inframind-node
# View live container logs
docker logs -f inframind-node
# Check connected region, active jobs
infra mesh info
# Exit and unregister node
infra node shutdown
π€ Model Deployment
# Build and export containerized model
docker build -t summarizer-v1 .
docker save summarizer-v1 | gzip > summarizer-v1.tar.gz
# Upload container + manifest to InfraMind mesh
infra publish --model ./model.yaml --image ./summarizer-v1.tar.gz
# Register model with global endpoint
infra register --name summarizer-v1 --cid ipfs://QmXyz... --version 1.0.0
π§ͺ Testing & Simulation
# Dry-run schema + container test
infra test --model ./model.yaml --input test.json
# Full simulation with proof and logs
infra simulate --model ./model.yaml --input test.json --verbose
# Trace container execution time
infra trace --model ./model.yaml --input test.json
# Debug most recent simulated job
infra debug last
π Access & Authorization
# Generate token to access private model
infra token generate --model summarizer-v1 --expires-in 1h
# View your access tokens
infra token list
# Revoke token
infra token revoke --id <token_id>
π° Staking & Rewards
# Stake tokens to your own node
infra stake --node 0xABC... --amount 1000
# Delegate stake to an external operator
infra delegate --node 0xABC... --amount 1500
# View stake history and reward balance
infra stake info
# Unstake tokens (starts unbonding timer)
infra unstake --node 0xABC... --amount 1000
# Claim earned node rewards
infra claim --job <job_id>
infra rewards batch-claim
π Node Monitoring
# Show node SLA, latency, completed jobs
infra stats
# List recent jobs processed
infra jobs --limit 10
# View logs from specific job
infra logs --model summarizer-v1 --tail 50
# Print full receipts of successful jobs
infra receipt --job <job_id>
π§ Model Marketplace
# View deployed model info
infra model show --name summarizer-v1
# Deprecate a model version
infra model deprecate --name summarizer-v1
# Set model endpoint to private
infra model update --access private
π― Bounties & Submissions
# List available open model bounties
infra bounty list
# Submit your deployed model for a bounty reward
infra bounty submit --bounty-id 101 --model ./quant-vision.yaml
βοΈ Governance & Voting
# View your voting power
infra gov power
# Create a governance proposal
infra gov propose --file ./upgrade.json
# Vote on a proposal
infra gov vote --id 42 --yes
# View active and past proposals
infra gov list
# Execute a passed vote
infra gov execute --id 42
π§ͺ Misc Utilities
# Simulate node performance (load test)
infra benchmark --type=gpu --duration=60s
# Enable watchdog process for uptime self-healing
infra watchdog enable
# Forward logs to external collector
infra log-forward --to http://logstash.yourhost:5044
# Export full node config
infra config export > config.yaml
Last updated