CLI for deploying Basileus autonomous AI Agents
Project description
Basileus CLI
Deploy and manage autonomous AI agents on Base — from zero to a running self-sustaining agent in one command.
Install
pip install basileus
Commands
basileus deploy
Full end-to-end deployment of a new agent:
- Wallet setup — generates a new Base wallet (or reuses existing from
.env.prod) - Funding — prompts you to send ETH, then auto-swaps to ALEPH (compute) + USDC (inference)
- ENS subdomain — registers
<name>.basileus-agent.ethand setscontentHashfor the dashboard - ERC-8004 identity — uploads metadata to IPFS and registers the agent on-chain
- Aleph Cloud VM — creates a compute instance, sets up Superfluid payment streams (operator + community)
- Code deployment — uploads agent code via SSH, installs Node.js + deps, configures systemd service
basileus deploy [PATH]
| Option | Default | Description |
|---|---|---|
PATH |
. |
Path to agent directory |
--min-eth |
0.02 |
Minimum ETH to wait for before proceeding |
--ssh-key |
auto-detect | Path to SSH public key |
basileus register
Register an already-deployed agent on the ERC-8004 IdentityRegistry. Useful if deployment was interrupted after the VM was created but before on-chain registration completed.
basileus register [PATH]
Requires an existing wallet (.env.prod) and ENS subname.
basileus set-content-hash
Update the ENS contentHash for an agent's subname. Used when the frontend IPFS hash changes and dashboards need to point to the new version.
basileus set-content-hash [PATH]
basileus stop
Tear down a running agent — deletes Aleph Cloud instance and closes Superfluid payment streams.
basileus stop [PATH]
Prompts for confirmation before proceeding. Shows what resources will be deleted.
What Happens Under the Hood
basileus deploy
│
├─ Wallet
│ ├─ Generate keypair (or load from .env.prod)
│ └─ Write WALLET_PRIVATE_KEY + BUILDER_CODE to .env.prod
│
├─ Funding
│ ├─ Wait for ETH deposit to agent address
│ ├─ Swap ETH → ALEPH (~10 tokens for compute)
│ ├─ Swap ETH → USDC (for x402 inference payments)
│ └─ Reserve 0.001 ETH for gas
│
├─ ENS
│ ├─ Register <name>.basileus-agent.eth via L2Registrar
│ └─ Set contentHash (IPFS pointer to dashboard frontend)
│
├─ ERC-8004
│ ├─ Build agent metadata (name, description, services)
│ ├─ Upload metadata to IPFS via Aleph
│ └─ Register on IdentityRegistry (mint agent NFT)
│
├─ Aleph Cloud
│ ├─ Create compute instance on CRN
│ ├─ Compute Superfluid flow rates
│ ├─ Create operator payment stream (ALEPH)
│ ├─ Create community payment stream (ALEPH)
│ ├─ Notify CRN for allocation
│ └─ Wait for instance to come up
│
└─ Code Deployment
├─ Wait for SSH access
├─ Upload agent source code
├─ Install Node.js runtime
├─ Install npm dependencies
├─ Configure systemd service
└─ Verify service is running
Dependencies
- web3.py — Ethereum interactions
- aleph-sdk-python — Aleph Cloud instance management + IPFS
- paramiko — SSH for VM deployment
- typer + rich — CLI interface
Development
cd cli
poetry install
poetry run basileus --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file basileus-0.1.2.tar.gz.
File metadata
- Download URL: basileus-0.1.2.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c1c51af2d728e07bc490694a594a9cf6a753a5e45a20650e46403ed9bb1a503
|
|
| MD5 |
50433abc513e6c289296a3e4f99fe00d
|
|
| BLAKE2b-256 |
7c3f7fe2017997290aefae5adf27f0c7c9d00136845fd3aab4d4860384f605a4
|
Provenance
The following attestation bundles were made for basileus-0.1.2.tar.gz:
Publisher:
cli-pypi.yml on RezaRahemtola/ETHDenver-2026
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
basileus-0.1.2.tar.gz -
Subject digest:
2c1c51af2d728e07bc490694a594a9cf6a753a5e45a20650e46403ed9bb1a503 - Sigstore transparency entry: 975518564
- Sigstore integration time:
-
Permalink:
RezaRahemtola/ETHDenver-2026@342d2d41c90afabf58174e930f68d1602e3c5bdc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RezaRahemtola
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-pypi.yml@342d2d41c90afabf58174e930f68d1602e3c5bdc -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file basileus-0.1.2-py3-none-any.whl.
File metadata
- Download URL: basileus-0.1.2-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84b576b52e13e8086bf13521d74ede3301c4073e1afdfd665af47a46a6d16741
|
|
| MD5 |
585b3d302d78867d4a23eeaddd69d152
|
|
| BLAKE2b-256 |
567a1dcabf1a02d389edc356c6eec691f234e943944ee7cedfd04532f32bcaee
|
Provenance
The following attestation bundles were made for basileus-0.1.2-py3-none-any.whl:
Publisher:
cli-pypi.yml on RezaRahemtola/ETHDenver-2026
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
basileus-0.1.2-py3-none-any.whl -
Subject digest:
84b576b52e13e8086bf13521d74ede3301c4073e1afdfd665af47a46a6d16741 - Sigstore transparency entry: 975518579
- Sigstore integration time:
-
Permalink:
RezaRahemtola/ETHDenver-2026@342d2d41c90afabf58174e930f68d1602e3c5bdc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RezaRahemtola
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-pypi.yml@342d2d41c90afabf58174e930f68d1602e3c5bdc -
Trigger Event:
workflow_dispatch
-
Statement type: