A post-digital minimalist AI engineering workbench connecting empirical model evaluation, project workspace context, and controlled agent execution.
Prefix-cache-safe dual-layer routing, Plan/Act/YOLO execution gates with Soft-CWD & instant pre-write rollbacks, and zero-disturbance invisible memory. Local-first storage, pluggable providers, and strict anti-AI-slop design.
Aether is a local-first desktop AI development workbench built with Electron, React/TypeScript, and SQLite. Its central idea is to connect the critical stages of AI-assisted engineering: evaluating models on real tasks, carrying project context across sessions, and executing work through a reviewable, capability-gated agent workflow.
It is built around five complementary capabilities:
- Task-based model evaluation (Arena 2.0): Compare multiple models on identical coding tasks with concurrent streaming, empirical ELO leaderboards, and 1-click winner patch disk apply (
arena:apply-patch). - Soft-CWD Workbench, Free File Jumping & Live Composer: Terminal-style Soft-CWD starting context (no folder-jail lockouts, free cross-directory file tree & message path jumping), priority-sorted chat sidebar (
needsInput→running→attention→pinned), CodeMirror 6 inline ghost text & Tab completion, live streaming subagent/plan views, and optional sidebar desktop companion (Aether-chan,ux.mascotCompanion) — organized cleanly acrossChat,Arena, andSettings. - Prefix-Cache-Safe Two-Layer Tool Routing: 10 fixed top-level schemas (
read_file,edit_file,write_file,grep_search,glob_files,run_command,ask_user,session_plan,dispatch_subagent,call_extended_tool) that eliminate stage-switch prompt cache misses (~100% prefix cache reuse), backed by specialized subagent pools and secondary gateway calls (call_extended_tool). - Plan / Act / YOLO Execution Gate, Soft-CWD & Pre-Write Snapshots: Clean three-mode control.
Planenforces read-only exploration and structured plans;Actauto-executes normal reads/writes/commands across workspace and normal user directories (Soft-CWD) backed by pre-write Git-tree/incremental snapshots, inline red/green Diff cards, and 1-click revert (prompting only on sensitive credential files.env*,*.pem,*.keyand destructive shell commands);YOLOskips confirmation prompts altogether for trusted autonomous runs while keeping critical system-wipe & pre-push guards. - AutoMemory Zero-Disturbance Invisibility: SQLite WAL + FTS5
< 2mszero-roundtrip prefetch. Unobtrusive[Memory · X hits]capsule in assistant headers, explainable Why-Injected popovers with 1-click AGENTS.md pinning (symlink traversal safe), and inline suggestions to distill recurring workflows intoSKILL.md.
Aether is local-first: sessions, memories, evaluation data, and encrypted provider credentials are stored in the local SQLite database. When you use a hosted model provider, prompts, code, or context sent to that provider are still subject to its data-handling policies.
Recommended Edition: Aether's primary engineering focus and full feature set (side-by-side visual Arena, interactive Diff approval cards, Knowledge Graph visualization, and settings) live in the Windows Desktop application. For the complete experience, we strongly recommend downloading the Windows Desktop edition.
Download the latest release from GitHub Releases:
aetherai-setup-x.y.z.exe: Standard installer (includes desktop shortcuts and auto-update support; recommended for most users).aetherai-x.y.z.exe: Portable single-file executable (zero installation).
Note on Windows SmartScreen: Aether is maintained by an independent developer without a commercial code-signing certificate. If Windows Defender displays "Windows protected your PC" on first launch, click More info → Run anyway.
Aether distributes a clean headless runtime, Ink v5 terminal TUI, and Electron-free SDK via npm (aetherai):
# Install CLI and TUI globally
npm install -g aetherai
# Launch interactive terminal TUI workbench (with history, diff previews & rollbacks)
aether tui
# Resume an existing conversation in the terminal
aether tui --session 42
# Execute a one-shot task from the command line
aether "run test suite and fix failing unit tests" --model deepseek
# Evaluate a prompt across models
aether eval "write a binary search in rust" --models claude-3-7-sonnet,deepseek-reasoner
# Start headless JSONL RPC server for external scripts and subagents
aether --mode rpcOn first launch, open Settings → Providers in the sidebar to configure one or more API endpoints. Aether supports native OpenAI, Anthropic, and Gemini wire formats:
| Provider Option | Wire Format | Base URL Example | Typical Use Case |
|---|---|---|---|
| DeepSeek API | OpenAI-compatible | https://api.deepseek.com/v1 |
Low-cost, reliable daily coding and debugging |
| OpenRouter | OpenAI-compatible | https://openrouter.ai/api/v1 |
Access Claude, GPT, Gemini, and Qwen with a single key; ideal for Arena comparisons |
| Ollama / LM Studio | OpenAI-compatible | http://127.0.0.1:11434/v1 |
100% offline local GPU inference with zero API cost |
git clone https://github.com/TQSY114514/Aether.git
cd Aether
# Windows: installs dependencies, builds frontend, and launches Electron
start.bat
# macOS / Linux: defaults to Terminal TUI; pass --desktop for Electron GUI
./start.sh
./start.sh --desktopInstead of storing memories in a flat YAML/JSON file that requires full-file rewrites or manual memory_search tool calls, Aether implements a two-pass Prefetch + Async Sync pipeline backed by SQLite WAL, FTS5 full-text indexing, and a relational Knowledge Graph (kg_nodes / kg_edges):
- Zero-Roundtrip Prefetch (
< 2ms): Before sending a turn to the LLM, Aether queries the local FTS5 index and entity graph in memory, injecting relevant facts directly into the system prompt without spending an extra LLM tool-call roundtrip. - Debounced Background Sync: After each turn completes, a background pass extracts new entities, technical decisions, and preferences, deduplicating entries via Jaccard similarity before persisting to SQLite.
Type (type) |
Scope & Injection Policy | Examples |
|---|---|---|
project (Project Brain) |
Scoped to the active workspace directory; always pinned at the top of context |
Repository architecture rules, build/test commands, module boundaries |
preference |
Global scope; injected on keyword/topic match | Code formatting rules, verbosity preferences, preferred libraries |
fact |
Global or workspace-scoped; retrieved via FTS5 keyword matching | Port numbers, environment conventions, verified domain rules |
context |
Cross-session summary index | Milestones from prior sessions, compacted long-conversation conclusions |
review |
Conflict resolution queue | Newly extracted statements that contradict existing memories |
- Automatic
AGENTS.mdDiscovery: When pointed at a project directory, Aether automatically detects and injects rootAGENTS.mdorAETHER.mdfiles. - Zero-Disturbance Invisibility & Transparent Provenance: Memory management is completely invisible and zero-distraction. An unobtrusive
[Memory · X hits]capsule appears in the assistant response header. Clicking it opens a lightweight popover displaying the exact injected memories and match reasons (Why Injected), with quick[Remove]and[Pin to AGENTS.md]actions (protected by canonical path realpath validation). When repetitive patterns are detected, an inline suggestion bar allows instant distillation into aSKILL.md. - Fail-Closed Workspace Isolation (
getMemoriesScoped): Project memories recorded in Repository A are strictly isolated from Repository B. - Untrusted Memory Sandboxing (
<untrusted_memory>): Memories originating from web fetches or external tools are tagged withorigin='external', capped in count, and wrapped in<untrusted_memory>tags so the model treats them as data rather than executable instructions. - Memory-to-Skill Distillation (
memorySkillBridge): Clusters recurring project memories into reusable draftSKILL.mdtemplates.
Aether adopts a terminal-style Soft-CWD model (no heavy workspace lock-ins) while keeping project awareness fast and distraction-free:
- 3-Item Primary Navigation: Streamlined into
Chat(Main conversation + live streaming<SubagentDeck>&<AgentPlanTrace>+ inline Diff & 1-click Rollback),Arena(empirical multi-model comparison), andSettings(unified Providers, Feature Flags & MCP). - Soft-CWD & Free Cross-Directory File Jumping (
CwdNavigator.tsx/FileTree.tsx): Pick or change your startingcwdanytime (favorites, Explorer reveal,cdcopy) while freely browsing parent/arbitrary user directories and clicking file paths in chat or tool cards to jump straight to them. - Priority-Sorted Virtualized Sidebar & Live Status: Sessions surface automatically in priority order —
needsInput(pending question/approval) →running(active streams) →attention(errors/unread completions) →pinned→ date groups — backed by@tanstack/react-virtualand full-text FTS5 global search (Ctrl+K). - CodeMirror 6 Inline Ghost Text & Tab Completion: Native
Decoration.widgetghost hints with IME composition safety, discrete slash argument chaining (/mode,/effort,/role),@/#/!references, and opt-in idle next-prompt prediction (composer.nextPromptPrediction). - Unified 4-Control Composer HUD & Optional Desktop Companion: Per-turn controls sit cleanly below the composer (
[Plan / Act / YOLO Mode],[Model Selector],[EffortControl],[Session Tokens & Rollback]), with an optional Aether-chan sidebar desktop companion (ux.mascotCompanionin Settings).
The built-in Arena allows side-by-side evaluation on your actual workload, closing the loop from blind comparison to production disk apply:
| Feature | Mechanism |
|---|---|
| Concurrent Blind Streaming | Dispatch a single prompt to 2–4 models (or compare different temperatures / system prompts on the same model) with real-time side-by-side streaming. |
| Intent-Categorized ELO | Prompts are classified by intent (Coding, Reasoning, Translation). Votes update separate local ELO leaderboards per category. |
| Objective & Agent Arena Suites | Built-in automated evaluation suites (objectiveArena.js / agentArena.js) covering algorithmic reasoning, system design, and debugging tasks to systematically score latency, token costs, and accuracy. |
| Winner Patch Disk Apply | After evaluating candidates in blind competition, click once to apply the winning model's diff cleanly into your local repository (arena:apply-patch). |
| Report Export | Export side-by-side comparison results as structured Markdown reports or summary cards. |
Aether replaces complex permission matrices with a decisive Plan / Act / YOLO execution model, Soft-CWD (CWD as starting context rather than a folder jail), and instant pre-write rollbacks:
| Mode | Enforcement Behavior | Typical Scenario |
|---|---|---|
Plan (Read-Only Planning) |
Blocks all file modifications and state-mutating shell commands. Allows codebase reading, grep/glob search, read-only Git exploration, and outputs structured session_plan milestones. |
Architecture review, task scoping, dependency discovery |
Act (Default Action Mode) |
Automatically executes reads, edits, writes, and test commands across the workspace and normal user directories (Soft-CWD) without modal interruptions. Captures pre-write snapshots (git stash create or .aether/snapshots/<turnId>), renders inline red/green Diff cards, and provides 1-click [Revert]. |
Active feature development, bug fixes, refactoring |
YOLO (Full Autonomous Opt-In) |
Bypasses high-risk confirmation popups for maximum velocity while preserving critical system-wipe protection, sensitive system directory guards, and pre-push credential checks. | Trusted local automation and rapid prototyping |
Act mode flows uninterrupted across normal user paths, halting to prompt for explicit confirmation only on genuinely high-risk operations:
- Sensitive Credentials: Modifying credential files (
.env*,*.pem,*.key). - Destructive Shell Commands: Executing dangerous commands (e.g.
rm -rf,git reset --hard,git push --force, or unverified script pipe execution).
flowchart LR
Input["User Input"] --> Router["Prefix-Cache-Safe Router<br/>(10 Fixed Schemas, ~100% Cache Hit)"]
Router --> ModeCheck{"Plan / Act / YOLO Gate"}
ModeCheck -- "Plan Mode" --> ReadOnly["Read & Search Tools<br/>+ Structured session_plan"]
ModeCheck -- "Act Mode" --> RiskCheck{"High-Risk Checks<br/>(Secrets / Destructive Shell)"}
ModeCheck -- "YOLO Mode" --> Snap["Pre-Write Snapshot<br/>(Git Tree / Incremental)"]
RiskCheck -- "High Risk Detected" --> Confirm["Manual Confirmation Card"]
RiskCheck -- "Safe / Soft-CWD" --> Snap
Confirm -- "Approved" --> Snap
Snap --> Exec["Execution Backend<br/>(Local / Docker / SSH)"]
Exec --> InlineDiff["Inline Diff Preview<br/>+ 1-Click [Revert] Button"]
InlineDiff --> Sanitize["toolResultMiddleware<br/>(Secret Redaction + Disk Spill)"]
Sanitize --> Loop["Next Turn Loop"]
- 5-Tier Adaptive Thinking Depth (Thinking Budget): Per-turn control over reasoning budgets (
minimal 1k,low 2k,medium 8k,high 16k,max 32k tokens), natively supporting token-budget models (Claude 3.7 Sonnet, DeepSeek R1, Qwen-Reasoner) and boolean-toggle models (enable_thinking). - Hashline Hash-Anchored Code Editing: Incorporates content-hash line anchoring into
patchEngine.js, preventing line drift and merge collisions across concurrently edited files. - Prefix-Cache-Safe Two-Layer Tool Router: Instead of dynamically mutating tool schemas across phases (which invalidates API prompt prefix caches on every turn), Aether pins 10 fixed top-level tool schemas to guarantee near 100% prefix cache reuse. Specialized roles (
Explorer,Implementer,Verifier) receive targeted subagent pools viadispatch_subagent, and auxiliary tools are dispatched throughcall_extended_toolwith a compact catalog index. - Orphan Tool-Call Self-Healing: Automatically sanitizes unclosed
tool_callson session reload so a previously interrupted tool execution never poisons subsequent turns with HTTP 400 errors. - Live Cost & Iteration Circuit Breaker: The status bar displays current iteration count, estimated turn tokens, cumulative USD cost, and stops execution automatically if a user-defined budget cap is reached.
- Skills (
SKILL.md): Import or author modular skills with declarativepermissions:frontmatter (filesystem,network,shell) enforced by the permission engine. - MCP (Model Context Protocol): Connect external stdio MCP servers with automatic
server__toolnamespacing to prevent tool name collisions. All MCP outputs pass throughtoolResultMiddleware. - Pluggable Execution Backends: Switch command execution between Local Host (
local), Docker Container Sandbox (docker), and Remote SSH (ssh).
Aether provides first-class support for multimodal workflows without external cloud storage dependencies:
- Instant Paste & Drag-and-Drop: Paste images directly from the clipboard or drag image files into the prompt composer.
- Local SQLite Persistence: Attachments are stored within the SQLite
message.attachmentcolumn with automatic startup schema migration (addCol). - Rich In-Bubble Previews: Single or multiple image attachments render directly inside user message bubbles with responsive thumbnails and aspect-ratio preservation.
- 100% Session Fidelity: Attachments remain fully accessible across session switches, forked conversations (
forkSession), and application restarts.
Aether stands on the shoulders of these open-source projects and engineering pioneers (traced to the codebase modules they inspired):
- Claude Code (Anthropic) — Cascading
AGENTS.mdinstruction discovery (projectInstructions.js), post-compaction file rehydration (compaction.js), verification loop (debugAgent.js), 10-point lifecycle hooks (hooks.js), progressive permission ladder (trustEngine.js),Ctrl+Ttask checklist,ask_userprompts, and inline Diff previews (toolImpact.js). - OpenAI Codex CLI — Evidence-based test/diff verification (
toolLoop.js), cascading project instruction loading, compact TUI elapsed timers, single-key permission shortcuts (y/s/a/n), and checkpoint rewind UX. - pi (
pi-mono) (Mario Zechner) —AgentMessageUI-to-wire decoupling, unified event-stream telemetry (agentEvents.js), mid-execution steering (steering.js), and large-output disk spill to$TMPDIRwith tail preview (toolResultMiddleware.js). - OpenCode — Terminal TUI keyboard state machine & timed leader keys (
keyHandlers.js), windowedDialogSelectlists, compile-time prompt cache policy (cachePolicy.js), and context budget manager (contextBudget.js). - oh-my-pi (
omp) & robomp (Can Bölük / Stencil Labs, omp.sh) — Terminal AI coding harness, automated triage & PR workflows (robomp),omp-edithash-anchored edits (patchEngine.jsHashline Edits) preventing concurrent clobbering and line drift,tools.commands/ prefix-cache schema trimming &advisorturn reviewer (toolLoop.js),pi-mnemopi-inspired memory ergonomics, symbol-aware LSP/DAP code intelligence, and isolated multi-worktree subagent orchestration. - Aider —
<<<<<<< SEARCH ... >>>>>>> REPLACEfault-tolerant patch parser (patchEngine.js), Git workflow integration, and compaction handoff framing. - ZCode (Z.ai) — 8-tier cascading fuzzy edit matchers (
editMatchers.js), read-before-write filemtimefreshness guard (sessionContext.js), background taskbranchGenerationisolation & notification coalescing (backgroundTasks.js), built-in agent & workflow profiles (.aether/agents,.aether/workflows), and GitHub URL /owner/reposkill installer (skills.js). - Gemini CLI & aichat — Token budget estimation (
contextBudget.js), approval mode cycling, and 50ms event-stream debounce coalescing (runSession.js). - Cline, Roo Code & Continue — Context output folding/pruning (
compaction.js), visible sub-step task tracking, and declarative configuration-as-code schema (.aether/config.json). - Cursor & Trae — Native clipboard image paste (
Ctrl+V), multi-image drag-and-drop ingestion, and responsive in-bubble media preview ergonomics (MessageBubble.tsx). - Crush (Charmbracelet) — Out-of-the-box LSP semantic radar (
lsp_definition,lsp_references,lsp_diagnosticswith ripgrep/regex fallback inregistry.js), zero-dependency in-memoryfastSyntaxCheckpost-write syntax guard, structured process crash signal extraction (processTap.js), and low-noise terminal output ergonomics. - Search (
driceroland/Search) — Multi-granularity local repository search & context-aware code retrieval ergonomics (registry.js,repoMap.js). - Warp Agent CLI — Declarative task-level model routing rules (
routingRulesinprojectConfig.js,chat-send.handler.js) and user-defined custom regex secret redaction (redactPatternsintoolResultMiddleware.js).
- OpenClaw — Context compaction planning (
compaction.js), malformed tool-call auto-repair (toolCallRepair.js), read-only tool caching (toolCache.js), semantic loop hash detection (toolResultHash.js), and secret-redacting tool result middleware (toolResultMiddleware.js). - Hermes Agent — Iteration budget control & graceful wrap-up (
iterationBudget.js), SQLite + FTS5 long-term memory (autoMemory.js), entity-relationship Knowledge Graph (knowledgeGraph.js), trajectory compression (trajectory.js), and long-term skill acquisition (habitLearner.js). - Wish (WindustH) — Zero-token MCP/Skill CLI bridge architecture for prompt cache protection, Windows Win32 Job Object kernel process tree lifecycle governance, and fetch-based resilient stream state machine.
- DeepSeek Harness (DSH) — Loopback binding & HTTP Host header validation lessons (QVD-2026-57410 defense) and badge row visual conventions.
- Open Math Harness (SAIR Foundation) — Microkernel architectural invariant guards & headless isolation (
architecture.rsprinciples inspiringcheck-architecture.jsstatic gates and Electron-freedatabase.jsdecoupling).
- Qwen Code & Qwen-Coder (Alibaba Cloud) — Agent Arena multi-model competitive execution & Git worktree isolation (
/arenainspiringshadowGit.jsandarena:apply-patch),qwencoder-evalbenchmarking methodology, and thinking parameter adaptation (enable_thinkinginreasoning.js). - LMSYS Chatbot Arena & SWE-bench — Built-in local model arena (
arena.handler.js), pairwise blind ELO ranking system, and coding capability evaluation harnesses. - Paperclip — Agent control-plane governance (
AgentSettings.tsx), role-isolated multi-agent verification (Hunter != VerifierinsecurityAudit.js,agentRoles.js), and autonomous plan step progression (planning.js). - OpenHands (All-Hands AI) — Multi-backend execution abstractions (
backend.js,dockerBackend.js,sshBackend.js) and persistent subagent sandbox workflows. - Jules (Google Labs), Grok Build, Amp & Devin Desktop (Windsurf) — Asynchronous background coding agents, specialized sub-agent role profiles (
agentRoles.js), background task execution state machine (backgroundTasks.js), and run timeline drawer concepts. - Kiro — Adaptive reasoning level controls (
reasoning.js/EffortControl.tsx) and inline subagent execution visualization (SubagentDeck.tsx). - DS4 (Salvatore Sanfilippo) & Evolver — Pre-execution hierarchical task decomposition (
planning.js) and Genome Evolution Protocol (GEP) strategy reflection. - CodeRabbit, Sourcery & Greptile — Automated PR-level line-by-line review, deserialization defensive guards (
normalizeLoadedMessages), AST-aware unsafe API interception (.coderabbit.yaml), real-time code quality & refactoring advice, and repository-wide architectural semantic graph regression defense. - Amazon Q Developer, Kilo Code & GitHub CodeQL — Automated PR cross-session data integrity & runtime edge-case verification, deep semantic code analysis, and continuous SAST vulnerability scanning.
- Runtime & Storage: Electron · better-sqlite3 (Joshua Wise) · Ink v5 (Vadim Demedes) · React · Zustand (Poimandres) · Tailwind CSS.
- Testing & Verification: Vitest · Playwright.
- UI & Markdown Pipeline: Lucide Icons · DOMPurify · Marked · KaTeX.
- Components & Protocols: Model Context Protocol (MCP) · shadcn/ui · Magic UI · cc-switch · new-api.
- Autonomous Agent Partners: Google DeepMind Antigravity — Native multimodal double-click zoom lightbox inspection (
MessageBubble.tsx), end-to-end autonomous agent workflow orchestration, and continuous codebase refactoring.
- Bug Reports & Feature Requests: Submit via GitHub Issues.
- Development Guidelines: Review CONTRIBUTING.md, AGENTS.md, and docs/roadmap.md before submitting pull requests.
- License: MIT (see THIRD-PARTY-NOTICES.md for third-party attributions) © 2025-2026 Aether