Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AetherShell

Welcome to the official AetherShell documentation!

AetherShell is a next-generation shell that combines the power of typed functional programming with multimodal AI capabilities. It’s designed for developers who want a shell that understands structure, not just text.

Why AetherShell?

Traditional shells treat everything as text, leading to fragile scripts and endless string parsing. AetherShell takes a different approach:

  • 🔷 Typed Pipelines: Data flows as structured values (arrays, records, tables), not raw text
  • 🧠 AI-Native: Built-in AI agents, multi-provider support, tool calling, and reasoning
  • ⚡ Functional-First: Lambdas, pattern matching, and immutable-by-default semantics
  • 🎨 Modern TUI: Rich terminal interface with multimodal content (images, charts)
  • 🔌 Extensible: Plugin system, MCP protocol support, and Python/Node.js SDKs

Quick Example

# Type-safe pipelines
let files = ls "." 
  | where(fn(f) => f.size > 1000)
  | sort_by("modified")
  | take(5)

# AI-powered analysis  
let review = ai("Review this code for security issues:
" + cat("app.rs"), {
  model: "gpt-4o"
})

# An agent, with the builtins it may call
agent("Find all TODO comments in src/", ["ls", "cat", "grep"])

Features at a Glance

FeatureDescription
Typed ValuesInt, Float, String, Bool, Array, Record, Table, Lambda
Pipeline Operators|, |>, ?> with full type inference
Pattern Matchingmatch expressions with guards and destructuring
AI Providers20 provider types; OpenAI, Anthropic, Google and Ollama have dedicated clients, the rest go over OpenAI-compatible endpoints
Agent FrameworkSingle agents with builtins as tools, over MCP or in-process
MCPae mcp stdio makes every builtin callable through a three-tool facade
Interactive TUIReal-time chat and multimodal file references

Getting Started

Ready to dive in? Start with Installation to set up AetherShell on your system.

If you’re coming from Bash or PowerShell, check out our Quick Start guide that translates common patterns to AetherShell.

Community

License

AetherShell is open source under the Apache 2.0 License.