Skip to main content

Autonomous AI agent for deploying containers on Akash Network via Modexia AgentPay

Project description

Modexia Logo

🚀 Modexia Compute Agent

Autonomous AI agent for deploying Docker containers on Akash via natural language.

PyPI Python versions License

The Modexia Compute Agent is a powerful Python CLI application that turns plain English descriptions into running Docker containers on the Akash Network.

Powered by the Modexia AgentPay engine over the Squid Router, this agent features true abstract deployments. Simply instruct the agent to deploy a container, and it will handle the SDL generation, Akash wallet creation, and Just-In-Time (JIT) USDT/USDC cross-chain funding + Gas Fee swaps completely autonomously.


✨ Features

  • 🗣️ Conversational Deployments: Describe your container, CPU, RAM, and storage needs in plain English.
  • 🧠 Llama 70B Orchestration: Uses Groq's high-speed inference to flawlessly orchestrate complex blockchain provider interactions.
  • 💳 JIT Cross-Chain Funding: No AKT? No problem. The agent automatically bridges USDC from your Modexia Vault natively covering AKT gas fees, ensuring seamless workflow.
  • 🔮 Oracle Vibe GUI: A sleek, beautiful, minimalist rich UI ensuring deploying compute feels incredibly satisfying.

⚡ Installation

Install globally using pip or pipx:

pip install modexia-compute-agent

🚀 Quick Start & API Setup

Upon running the CLI for the first time, our interactive Setup Wizard will launch immediately and seamlessly guide you through connecting all necessary services over 4 quick steps.

Simply run:

modexia-compute

What You'll Need During Setup:

1. Akash CLI (provider-services)

We rely on the official Akash binary to securely generate wallets and sign transactions purely on your local machine (your mnemonic seed phrase is safely stored exclusively in ~/.modexia/).

  • Linux / macOS Installation:
    curl -sSfL https://raw.githubusercontent.com/akash-network/provider/main/install.sh | bash
    

2. Modexia AgentPay API Key

Modexia is the payment orchestration layer that allows the agent to intelligently fund your Akash wallet from external chains.

  • Sign up at Modexia.software
  • Fund your Vault with USDC (on Base).
  • Create a Developer API Key (mx_live_...).

3. Groq API Key

The agent's "brain" is powered by extremely fast LLaMA models.


⌨️ How It Works

Type your intent in plain English, and the oracle goes to work:

> Spin up an NGINX frontend cache on a fast server with 2 CPUs and 4GB RAM.
  1. Manifest Generation: The LLM instantly writes a verified SDL (deploy.yaml) for Akash.
  2. Auto-Fund Engine Check: Identifies an empty Akash wallet and bridges exactly $5.10 USDC required for escrow and AKT gas natively from your Modexia Vault.
  3. Provider Bidding: Connects to Akash, polls live decentralized datacenters, and reports back.
  4. Approval Loop: Asks the human precisely which provider is preferred.
  5. Liftoff: Container initializes and exposes the assigned NodePort/URI securely!

⚙️ Modifying Configuration Later

At any time, you can edit your setup or switch APIs. Your configuration is securely stored off-package in your home directory:

~/.modexia/compute.env

To forcibly re-run the setup wizard:

modexia-compute --setup

Powered by the Modexia-Verse 🌌

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

modexia_compute_agent-0.1.2.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

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

modexia_compute_agent-0.1.2-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file modexia_compute_agent-0.1.2.tar.gz.

File metadata

  • Download URL: modexia_compute_agent-0.1.2.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for modexia_compute_agent-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f208b7d396d1fee90226e2027551894385906105a42b0f293bee9090d37ef5d7
MD5 f5b3f5d19eaf7aa566295a6a167c4cdc
BLAKE2b-256 676704148042378cb99615952eeb84b8ed968e6dec7ce81258de2c897834cc9f

See more details on using hashes here.

File details

Details for the file modexia_compute_agent-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: modexia_compute_agent-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for modexia_compute_agent-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5bffc78052dcfc162cd5f0e7a79ae11fbe9516da1e2f43dfca81c500ed5d0caf
MD5 eaec35a44509309294a4f79657fbd611
BLAKE2b-256 03ef61eb67d4e7a005041ce5c2b39a5e9bd0521bfe32122c70cee03ae2170955

See more details on using hashes here.

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