aethershell 12.0.1

The world's first multi-agent shell with typed functional pipelines and multi-modal AI
# AI Features Demo
# Set AETHER_AI=openai and OPENAI_API_KEY for real responses

# Simple text prompt

# This example calls a live AI provider. Without one it says so and stops,
# rather than failing partway through with a provider error.
if env("AETHER_AI") == null {
  print("Skipping: set AETHER_AI (openai, ollama, irongate or compat) plus the matching API key to run this example.")
}
if env("AETHER_AI") == null { exit(0) }
response = ai("What is 2+2?")
print(response)

# With model specification (when using real AI)
# response = ai("Explain quantum computing", {model: "openai:gpt-4o"})

# Multi-modal: describe an image
# ai("Describe this image", {images: ["photo.jpg"]})

# Multi-modal: transcribe audio  
# ai("Transcribe this audio", {audio: ["recording.mp3"]})

# Multi-modal: analyze video
# ai("Summarize this video", {video: ["clip.mp4"]})

# Combined multi-modal
# ai("Analyze this presentation", {
#   images: ["slide1.png", "slide2.png"],
#   audio: ["narration.mp3"]
# })