Skip to main content

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:

  1. Wallet setup — generates a new Base wallet (or reuses existing from .env.prod)
  2. Funding — prompts you to send ETH, then auto-swaps to ALEPH (compute) + USDC (inference)
  3. ENS subdomain — registers <name>.basileus-agent.eth and sets contentHash for the dashboard
  4. ERC-8004 identity — uploads metadata to IPFS and registers the agent on-chain
  5. Aleph Cloud VM — creates a compute instance, sets up Superfluid payment streams (operator + community)
  6. 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

Development

cd cli
poetry install
poetry run basileus --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

basileus-0.1.1.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

basileus-0.1.1-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file basileus-0.1.1.tar.gz.

File metadata

  • Download URL: basileus-0.1.1.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

Hashes for basileus-0.1.1.tar.gz
Algorithm Hash digest
SHA256 86e27f0e9eaeb4807eb67828263f35ee9c84d18344face2802ded61e3ad90879
MD5 3ef5b4cbe1be2c2e275e4b85e6cb433a
BLAKE2b-256 0f21785e0a444c1da53367d52b3eaf59b197f4761fab279663cefd51d1251178

See more details on using hashes here.

Provenance

The following attestation bundles were made for basileus-0.1.1.tar.gz:

Publisher: cli-pypi.yml on RezaRahemtola/ETHDenver-2026

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file basileus-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: basileus-0.1.1-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

Hashes for basileus-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c15d067ca9c3f24bc3312741beec518fa4563dc668e6ec948cb20ca471fd7be0
MD5 ef964abfef06550bfb5a9db697929240
BLAKE2b-256 32f9e75ad560a69c5f0e42f7274a567e6bdd9d5c226dff7cb5ba5622ab4376d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for basileus-0.1.1-py3-none-any.whl:

Publisher: cli-pypi.yml on RezaRahemtola/ETHDenver-2026

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page