Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

ai-flow-cli

Lightweight, fast terminal AI wrapper around modern coding harnesses with Rich markdown and math rendering.

Wraps fast headless AI harnesses (pi, omp, claude, codex, copilot, opencode) for everyday queries and Unix pipelines.


⚡ Features

  • 🚀 Multi-Harness Support — seamlessly autodetect and use pi, omp, claude, codex, copilot, or opencode.
  • 🧙 Interactive Setup Wizard — run ai --wizard to inspect detected harnesses and choose your default.
  • 🎨 Rich Terminal Markdown & LaTeX — renders clean markdown, tables, syntax highlighting, and math formulas in the terminal.
  • 💬 No Quotes Required — run ai what is the biggest object on earth directly.
  • 🚰 Pure Unix Pipelines — stdin context injection and clean raw text output when piped.
  • 🛠️ Tools On Demand — pass --tools when agentic filesystem/system actions are needed.

📦 Installation

1. Arch Linux (AUR)

yay -S ai-flow-cli
# or paru:
paru -S ai-flow-cli
mise use -g pipx:ai-flow-cli
# or via python backend:
mise use -g pip:ai-flow-cli

3. Install via PyPI (pip / pipx / uv)

# Standard pip install:
pip install --user ai-flow-cli

# Isolated global CLI with pipx:
pipx install ai-flow-cli

# Fast install with uv:
uv tool install ai-flow-cli

4. One-Line Script Install

curl -sSL https://raw.githubusercontent.com/Codder13/ai-flow-cli/main/install.sh | bash

🛠️ Usage

1. Initial Setup & Harness Selection Wizard

Run the interactive wizard to detect installed harnesses and set your preferred default:

ai --wizard

If no config exists yet, ai automatically prompts the wizard on first run when interactive, or picks the first detected harness (pi -> omp -> claude -> ...).

2. Direct Questions (Fast Headless Mode)

No quotes needed:

ai explain what is eBPF in 3 bullet points

3. Switching Harnesses on the Fly

Use --harness or -H to override your default for a single query:

ai -H claude explain why rust ownership works this way
ai -H omp write a bash script to backup my dotfiles

4. Enable Tools for Agentic Actions

By default, queries run without tool side-effects for speed and safety. Pass --tools or -t to enable filesystem and command execution:

ai --tools check git status and run tests

5. Unix Pipelines & Input Redirection

When piped, ai preserves standard Unix conventions:

git diff | ai explain these changes
cat error.log | ai "what caused this panic?"
curl -s https://example.com | ai summarize this page

Output is automatically raw and unformatted when redirected to a pipe or file:

ai "generate a python regex for uuid4" > regex.txt

⚙️ Configuration

Settings are stored in ~/.config/ai/config.json:

{
  "harness": "pi"
}

You can change it anytime via:

ai --wizard

📄 License

MIT

Metadata

Release files for ai-flow-cli 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for ai-flow-cli 0.9.0
File Size Uploaded Provenance
ai_flow_cli-0.9.0.tar.gz 22.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-flow-cli 0.9.0
File Interpreter ABI Platform
ai_flow_cli-0.9.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 46.4 kB

Release files / ai_flow_cli-0.9.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL ai_flow_cli-0.9.0.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f5b080d65a3eaa8922946e66d127c8942165e4556c7fc79c7cd537c9d8a6d5c8
BLAKE2b-256 checksum
How to use checksums
8a66bb1d8b5f085a9e79d88ef35befd9c7099fdec2aa53ac7c3e8a15992e98fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / ai_flow_cli-0.9.0-py2.py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL ai_flow_cli-0.9.0-py2.py3-none-any.whl
Size 23.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a2c499cdf16e7bef2bf84fbd5d741742877ec71e3f308506b682491d300e4bd6
BLAKE2b-256 checksum
How to use checksums
30cffe7813fc451d838e4d802763f8bb79fdb1fa83fd73ea667949ffcf553b72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Security for ai-flow-cli 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The repository that created this release differs from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Repository

  • Removed 0.8.1 GitHub: Codder13/ai-cli
  • Added 0.9.0 GitHub: Codder13/ai-flow-cli
Select from 2 files

Attestation for ai_flow_cli-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page