Skip to content
← All applications
AutoOS application · Beta

AutoShell
The structured shell

Everyday commands, pipelines that work with fields, and Auto scripts you can edit and run in your terminal. The interactive session and CLI share the same execution engine.

ash v0.1.0 · Verified on Windows · 2026-09-29/30

ls · A colored file table. Detail from the original ash-01 capture; enlarge to see the full session.
Native ash terminal: colored ls command and file table
⌨️

A persistent session

Keep directory, variables and aliases between commands. Completion, history and inline suggestions reduce typing.

↗

Work with fields

Query files and JSON, filter, sort and select fields. Use --json to pass results to another program.

▤

F2 to edit, F5 to run

Extend a command into functions, loops and conditions. Write multiline AutoScript in your terminal.

Interface

The terminal interface

Two original captures show the prompt, readable tables and a continuous record of commands.

F1 / F2 / F3

Three common interaction forms

Switch between commands, script editing and AI chat. Each form has a separate image you can enlarge.

The two captures above are original interface screenshots. These three images are redrawn from actual PTY interactions on 2026-09-30. F3 shows only its input area, excluding conversation history.

01 / Shell

Keep working in one shell session

Each command returns to the prompt. Change directories, keep variables, load scripts and manage background jobs in the same session.

  • cd, pwd and shell variables preserve session state between commands.
  • alias and abbr give frequently used commands short names.
  • Pipelines, redirection, && chains and multiline continuation combine everyday tasks.
  • jobs inspects background work; source loads configuration or scripts into the session.
Actual completion, history and inline suggestion interactions, redrawn from Windows PTY input and output.
Common interaction keys

Common interaction keys

F1Lock command mode
F2Multiline script editor
F3AI chat entry
TabCompletion
Ctrl+RSearch history
Ctrl+FAccept inline suggestion
Ctrl+OEdit the current line

F3 requires model service configuration. These demonstrations made no external model calls. F4 is retired.

02 / Pipeline

Pass records between commands

ls returns file records; from_json parses JSON. Filter and sort by fields without splitting text columns.

  • Filter and sort fields such as .name, .size and .type.
  • select projects fields; first N takes the first N structured records.
  • Capture query results in AutoScript variables, then calculate and loop over them.
Observed file sorting, field selection and JSON queries. Enlarge the image to read the complete commands.
Pass records between commands
Field queries you can run today
ls | .type == "dir" | select .name | first 5
cat users.json | from_json | .age > 30 | select .name .age

Save users.json in the current directory to run the query below. Download users.json ↗

03 / AutoScript

Turn a command into a script

F2 opens the multiline editor. Enter inserts a newline; F5 or Ctrl+Enter runs the script. Each run returns to the normal prompt.

F2Write functions, conditions and loopsF5 / Ctrl+Enter

Define a classification function and call it for each score in an array.

classify.ash
fn bucket(n) {
    if n >= 80 { return "high" }
    return "low"
}

var values = [95, 82, 61]
for v in values {
    print(v.str() + ":" + bucket(v))
}
Observed output
95:high
82:high
61:low
Download this script ↗
F2 → multiline input → F5 → output and return to the prompt.
F2 / Functions & conditions

F5 has a reliable terminal key sequence. Ctrl+Enter depends on your terminal reporting its modifiers. All three images record actual F2 editor runs submitted with F5, redrawn from PTY output.

04 / CLI

Explore interactively, reuse in automation

Run session commands with ash -c, or save multiline code as a .ash file. CLI startup options control JSON output and execution policy.

◉

Preview operations

--dry-run describes intended operations; --read-only rejects writes.

▣

Limit execution

--sandbox confines built-in file operations and redirection. --allow and --no-exec control command execution.

≡

Record activity

--audit writes JSONL audit records; --no-network blocks the corresponding network commands.

ash · CLI
ash --dry-run -c 'touch output.txt'
ash --read-only -c 'touch output.txt'
ash --audit ash-audit.jsonl -c 'pwd'

Path policy applies to file access managed by ash. External programs need OS isolation for their own file access; combine policy with command restrictions.

Current version boundaries
  • For agent integration, use -c, --json and execution policies. The old ash agent describe-tools/check/run commands are not implemented.
  • These runs cover the Windows CLI and interactive shell. Other platforms and standalone GUI/TUI coverage require separate verification.
  • to_csv was observed dropping some numeric values. Automatic .ashrc loading was not confirmed in the isolated profile; manual source worked.
05 / Get started

Start with a session

Add the built ash executable to PATH, then choose your entry point.

Interactive session

Start ash and type commands at its prompt.

ash
ash

One command

For command calls from scripts and other programs.

ash
ash --json -c 'ls | sort .size desc | select .name .size | first 5'

A script file

Save the script and users.json in the same directory.

ash
ash user-report.ash
Build from source

You need the Rust toolchain and sibling auto-lang, auto-ai and auto-shell checkouts. Follow the repository instructions for dependencies; build the CLI from auto-shell/ash:

auto-shell/ash
cargo build --release -p ash
cargo run --release -p ash
View source ↗

This page uses source builds and observed runs from 2026-09-29/30. The website release, AutoLang v0.5, and the executable version, ash v0.1.0, are identified separately.

Released under the MIT License.