Dwarix CLI
Admin CLI for Dwarix, the MCP-native IAM gateway for AI agents.
Install
pip install dwarix-cli
Entrypoints:
dwarix
dwarix-setup
dwarix-setup is a legacy alias for setup subcommands.
Usage
Configure gateway URL and admin key:
dwarix configure
Common commands:
dwarix agent create --name billing-agent --tags billing,prod
dwarix agent list --json
dwarix token issue <agent_id> --ttl 30
dwarix policy set <agent_id> --allow "stripe/*" --deny "*/delete*" --rate-limit 60
dwarix tools register stripe http://localhost:9001
dwarix logs tail --limit 20 --json
dwarix stats --json
By default, the CLI reads:
DWARIX_GATEWAY_URL, defaulthttp://localhost:8080DWARIX_ADMIN_KEY, defaultdev-admin-key-change-in-production
dwarix configure stores values in ~/.dwarix/config.json.
Development
Run from repository root:
python -m cli.main --help
Build package from this directory:
cd cli
python -m build
python -m twine check dist/*
Publish:
python -m twine upload dist/*
Metadata
Release files for dwarix-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dwarix_cli-0.1.0.tar.gz | 13.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dwarix_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.7 kB
Release files / dwarix_cli-0.1.0.tar.gz
| Download URL | dwarix_cli-0.1.0.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dde001b5bc9461c9c13fb99793b725cc5eebdfd9ed42072a0729b8f14eb1175a
|
|
BLAKE2b-256 checksum How to use checksums |
4ad51fab2eb7d0c4cae779bb82a7d346396c3e5f8f43a2f7ff3f8dcdfe9b0223
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Release files / dwarix_cli-0.1.0-py3-none-any.whl
| Download URL | dwarix_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
481eb8a8614c0d98318c03c88602cd018762c8e99829d8f879bb8244237eacaa
|
|
BLAKE2b-256 checksum How to use checksums |
1495ec11071bf67dffbbb79b0dba8a653be589cf4b08506c68fabb22d0167c58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Security for dwarix-cli 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.