Skip to main content

autosh - The AI-powered, noob-friendly interactive shell

recording

Getting Started

Install

uv tool install autosh

Usage

As an interactive shell: ash (alternatively, autosh)

Execute a single prompt: ash "list current directory"

Process piped data:

  • cat README.md | ash -y "summarize"
  • cat in.csv | ash -y -q "double the first numeric column" > out.csv

Scripting

Write AI-powered shell scripts in Markdown using natural language!

Example script (simple.a.md):

#!/usr/bin/env ash

# This is a simple file manipulation script

First, please display a welcome message:)

Write "Hello, world" to _test.log
  • Run the script: ash simple.a.md or chmod +x simple.a.md && ./simple.a.md

  • Auto-generate help messages:

    $ ash simple.a.md -h
    
    Usage: simple.a.md [OPTIONS]
    
    This is a simple file manipulation script that writes "Hello, world" to a log file named _test.log.
    
    Options:
    
    • -h, --help     Show this message and exit.
    

Plugins

autosh comes with several plugins to expand its capabilities:

  • ash "Create a directory 'my-news', list the latest news, and for each news item, put the summary in a separate markdown file in this directory"

TODO

  • Image input, generation, and editing
  • RAG for non-text files
  • Plugin system
  • MCP support
  • Improved input widget with history and auto-completion

Release files for autosh 0.0.9

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

Source distribution (sdist)

Source distribution for autosh 0.0.9
File Size Uploaded
autosh-0.0.9.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autosh 0.0.9
File Interpreter ABI Platform
autosh-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 30.8 kB

Release files / autosh-0.0.9.tar.gz

Download URL autosh-0.0.9.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f579d038c674ab698cbef4ed697ddd3c79eb9fdd4dc2562801a0a6ab38e2118
BLAKE2b-256 checksum
How to use checksums
11ca2053623d41309e1aed8e203daeaf43ce5e6632c2f61eb2b39eef7fe5bfca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Release files / autosh-0.0.9-py3-none-any.whl

Download URL autosh-0.0.9-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f91d79d8b5cd4b055892bbff3544956dcb3f5bd8c79c4ab1233a9196115c413
BLAKE2b-256 checksum
How to use checksums
aa6f23f0d4b5fec0509b1138b77e13f9489077424d449cd97bfa9c2f353e54ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

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