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
--yesauto-confirms dangerous commands (e.g.,rm -rf); omit to require confirmation.--sandboxexecutes inside a temporary directory instead of your current working tree.--verboseprints raw model responses.--dry-runshows 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:instructmodel (ollama pull llama3:instruct) - Optional:
HUGGINGFACE_API_TOKENenvironment 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
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
aiexec-0.1.0.tar.gz
(12.8 kB
view details)
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
aiexec-0.1.0-py3-none-any.whl
(14.8 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64815adee7d03afd03f27a38cf1255e144f4e39b221130ab06b7821f6ffd6eba
|
|
| MD5 |
dc5f6962280dfbc20d4f3809ad54be13
|
|
| BLAKE2b-256 |
92540df8bceb4a0bf549239cd805800552cff11b3fefd0d122e34f1c55f732fd
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16bc3417bc791659072de6ebfe4aa5bb189487e6433e2af307ae4ff273916aba
|
|
| MD5 |
31d51b8fe6f98c9968efc3c18832b610
|
|
| BLAKE2b-256 |
b32a4d90eddb1e8c70e8304fc799eea10d3e24d9c6b6c2b35767bddba98d8394
|