--wallets-path TEXT: Path to Bittensor wallets directory (default: ~/.bittensor/wallets)
--wallet TEXT: Name of the wallet to use
--hotkey TEXT: Hotkey to register with
Example:
chutes register --username myuser
Building & Deployment
chutes build
Build a Docker image for your chute.
chutes build <chute_ref> [OPTIONS]
Arguments:
chute_ref: Chute reference in format module:chute_name
Options:
--config-path TEXT: Custom config path
--logo TEXT: Path to logo image
--local: Build locally instead of remotely
--debug: Enable debug logging
--include-cwd: Include entire current directory in build context
--wait: Wait for build to complete
--public: Mark image as public
Examples:
# Build remotely and wait for completion
chutes build my_chute:chute --wait# Build locally for testing
chutes build my_chute:chute --local# Build with a logo and make public
chutes build my_chute:chute --logo ./logo.png --public
chutes deploy
Deploy a chute to the platform.
chutes deploy <chute_ref> [OPTIONS]
Arguments:
chute_ref: Chute reference in format module:chute_name
Options:
--config-path TEXT: Custom config path
--logo TEXT: Path to logo image
--debug: Enable debug logging
--public: Mark chute as public
--accept-fee: Acknowledge the deployment fee and accept being charged
Examples:
# Basic deployment
chutes deploy my_chute:chute
# Deploy with logo
chutes deploy my_chute:chute --logo ./logo.png
# Deploy and accept the deployment fee
chutes deploy my_chute:chute --accept-fee
chutes run
Run a chute locally for development and testing.
chutes run <chute_ref> [OPTIONS]
Arguments:
chute_ref: Chute reference in format module:chute_name
Options:
--host TEXT: Host to bind to (default: 0.0.0.0)
--port INTEGER: Port to listen on (default: 8000)
--debug: Enable debug logging
--dev: Enable development mode
Examples:
# Run on default port
chutes run my_chute:chute --dev
# Run on custom port with debug
chutes run my_chute:chute --port 8080 --debug --dev
chutes share
Share a chute with another user.
chutes share [OPTIONS]
Options:
--chute-id TEXT: The chute UUID or name to share (required)
--user-id TEXT: The user UUID or username to share with (required)
--config-path TEXT: Custom config path
--remove: Unshare/remove the share instead of adding
Examples:
# Share a chute with another user
chutes share --chute-id my-chute --user-id anotheruser
# Remove sharing
chutes share --chute-id my-chute --user-id anotheruser --remove
chutes warmup
Warm up a chute to ensure an instance is ready for requests.
chutes warmup <chute_id_or_ref> [OPTIONS]
Arguments:
chute_id_or_ref: The chute UUID, name, or file reference (format: filename:chutevarname)
Options:
--config-path TEXT: Custom config path
--debug: Enable debug logging
Example:
chutes warmup my-chute
Resource Management
chutes chutes
Manage your deployed chutes.
chutes chutes list
List your chutes.
chutes chutes list [OPTIONS]
Options:
--name TEXT: Filter by name
--limit INTEGER: Number of items per page (default: 25)
--page INTEGER: Page number (default: 0)
--include-public: Include public chutes
Example:
chutes chutes list --limit 10 --include-public
chutes chutes get
Get detailed information about a specific chute.
chutes chutes get <name_or_id>
Example:
chutes chutes get my-awesome-chute
chutes chutes delete
Delete a chute.
chutes chutes delete <name_or_id>
Example:
chutes chutes delete my-old-chute
chutes images
Manage your Docker images.
chutes images list
List your images.
chutes images list [OPTIONS]
Options:
--name TEXT: Filter by name
--limit INTEGER: Number of items per page (default: 25)
--page INTEGER: Page number (default: 0)
--include-public: Include public images
chutes images get
Get detailed information about a specific image.
chutes images get <name_or_id>
chutes images delete
Delete an image.
chutes images delete <name_or_id>
chutes keys
Manage API keys.
chutes keys create
Create a new API key.
chutes keys create [OPTIONS]
Options:
--name TEXT: Name for the API key (required)
--admin: Create admin key with full permissions
--images: Allow full access to images
--chutes: Allow full access to chutes
--image-ids TEXT: Specific image IDs to allow (can be repeated)
--chute-ids TEXT: Specific chute IDs to allow (can be repeated)
# Build your image
chutes build my_app:chute --wait# Test locally
docker run --rm -it -e CHUTES_EXECUTION_CONTEXT=REMOTE -p 8000:8000 my_app:tag chutes run my_app:chute --port 8000 --dev
# Deploy to production
chutes deploy my_app:chute --accept-fee
3. Manage Resources
# List your chutes
chutes chutes list
# Get detailed info
chutes chutes get my-app
# Warm up a chute
chutes warmup my-app
# Share with another user
chutes share --chute-id my-app --user-id colleague
# Clean up old resources
chutes chutes delete old-chute
chutes images delete old-image
Troubleshooting
Common Issues
Command not found
# Check installation
pip show chutes
# Try with Python module
python -m chutes --help