Skip to main content

The AI-powered, noob-friendly interactive shell

Project description

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

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

autosh-0.0.9.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

autosh-0.0.9-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file autosh-0.0.9.tar.gz.

File metadata

  • Download URL: autosh-0.0.9.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for autosh-0.0.9.tar.gz
Algorithm Hash digest
SHA256 7f579d038c674ab698cbef4ed697ddd3c79eb9fdd4dc2562801a0a6ab38e2118
MD5 e32e8e579cc6e7a8366ad01d36d79107
BLAKE2b-256 11ca2053623d41309e1aed8e203daeaf43ce5e6632c2f61eb2b39eef7fe5bfca

See more details on using hashes here.

File details

Details for the file autosh-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: autosh-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for autosh-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6f91d79d8b5cd4b055892bbff3544956dcb3f5bd8c79c4ab1233a9196115c413
MD5 ca5fafb37ab33616c93d26b3d7095ac0
BLAKE2b-256 aa6f23f0d4b5fec0509b1138b77e13f9489077424d449cd97bfa9c2f353e54ef

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