Skip to main content

Run .ai natural-language automation scripts in a safe terminal loop.

Project description

aiexec

Run natural-language .ai automation scripts with a local, safe, agentic CLI loop.

Quick Install

Method Command
pipx (recommended) pipx install aiexec
pip python -m pip install aiexec
Source pip install -e . (from a cloned repo)

One-line bootstrap (macOS/Linux)

curl -fsSL https://raw.githubusercontent.com/your-org/aiexec/main/install/install-aiexec.sh | bash

One-line bootstrap (Windows PowerShell)

irm https://raw.githubusercontent.com/your-org/aiexec/main/install/install-aiexec.ps1 | iex

Usage

Run the provided example task:

aiexec run examples/setup_fastapi.ai --dry-run
  • --yes auto-confirms dangerous commands (e.g., rm -rf); omit to require confirmation.
  • --sandbox executes inside a temporary directory instead of your current working tree.
  • --verbose prints raw model responses.
  • --dry-run shows proposed commands without executing them.

Other helpful commands:

aiexec init my_task         # create my_task.ai template
aiexec list                 # list .ai files in the current directory
aiexec doctor               # check for Ollama/Hugging Face setup issues

Requirements

  • Python 3.10+
  • Ollama with the llama3:instruct model (ollama pull llama3:instruct)
  • Optional: HUGGINGFACE_API_TOKEN environment variable for Hugging Face models (--model hf:<repo>).

Development

Format and lint (optional):

pip install black ruff
black aiexec
ruff check aiexec

Run the unit-less sanity check:

python -m compileall aiexec

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

aiexec-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

aiexec-0.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file aiexec-0.1.0.tar.gz.

File metadata

  • Download URL: aiexec-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aiexec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64815adee7d03afd03f27a38cf1255e144f4e39b221130ab06b7821f6ffd6eba
MD5 dc5f6962280dfbc20d4f3809ad54be13
BLAKE2b-256 92540df8bceb4a0bf549239cd805800552cff11b3fefd0d122e34f1c55f732fd

See more details on using hashes here.

File details

Details for the file aiexec-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aiexec-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aiexec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16bc3417bc791659072de6ebfe4aa5bb189487e6433e2af307ae4ff273916aba
MD5 31d51b8fe6f98c9968efc3c18832b610
BLAKE2b-256 b32a4d90eddb1e8c70e8304fc799eea10d3e24d9c6b6c2b35767bddba98d8394

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