DEV Community

李秉翰
李秉翰

Posted on Originally published at github.com

Aether AI Studio: A Local-First AI Workspace with an Autonomous Coding Agent and Image/Video Generation

Aether AI Studio

A local-first AI workstation: chat, an autonomous coding agent, and image/video generation in one interface.

Most AI front-ends either lock you into one provider or send everything to the cloud. Aether AI Studio lets you decide. Run models locally with Ollama or LM Studio and nothing leaves your machine. When you need more power, switch to OpenAI, Anthropic, or Gemini from the same UI.

What it does

💬 Multi-provider chat

  • One UnifiedLLMClient fronts Ollama, LM Studio, OpenAI, Anthropic, and Gemini, with SSE streaming.
  • Personas with their own system prompts and per-persona tool access.
  • Rich Markdown rendering: code highlighting, LaTeX math, tables, and nested inline formatting.
  • Hardware-aware settings: when you raise max tokens or the context window, the app estimates whether your RAM/GPU can handle it and warns you before you hit an out-of-memory wall.

🤖 Code mode: a real autonomous agent

This is not a "paste code, get code" box. The agent plans, reads files, edits, runs commands, and verifies its own work in a loop.

15 built-in tools (each can be toggled individually in Settings):

list_dir · glob · grep · read_file · edit_file · multi_edit · write_file · run_command · git · check_syntax · web_fetch · web_search · todo_write · delete_path · move_path

Things I cared about getting right:

  • Approval gate: in Accept Edit mode every change is shown as a diff and waits for your OK.
  • Anti-cheating guards: the agent cannot "fix" failing tests by deleting existing functions or rewriting test assertions unless explicitly allowed.
  • Failure circuit breaker: repeated failing tool calls trigger a warning, then a hard stop, so it can't loop forever.
  • Context budgeting: long sessions are trimmed automatically to fit the model's window.
  • Resumable sessions: transcripts are persisted, so you can pick up where you left off.
  • Works with weak models too: if a model has no native tool-calling, the agent falls back to parsing tool calls from text.

🎨 Media Studio

  • Images: Pollinations (free, no key), OpenAI gpt-image-1, Gemini Imagen, Stable Diffusion WebUI.
  • Video: OpenAI Sora and Gemini Veo (API key required).
  • Chat personas can call generate_image / generate_video directly, and results render inline in the conversation.

✨ AI Prompt Enhancer

Turn a rough idea into a structured prompt, using either an LLM or a template. It's multilingual and answers in the language you choose.

🌐 Internationalization

Traditional Chinese, Simplified Chinese, English, and Japanese. That's 650+ UI strings, plus the README in all four languages. The top bar measures available width and collapses buttons level by level, so it doesn't break when you switch languages or close the sidebar.

Architecture

Layer Tech
Backend Python, FastAPI, SQLite, SSE
Frontend React 18, Vite, Tailwind CSS, TypeScript
LLM layer UnifiedLLMClient over 5 providers
Desktop / launcher Tauri (Rust) launcher, Electron shell
Extras Telegram bridge, optional PIN-protected web access

A small detail I'm happy with: the version number lives only in the root package.json. Vite injects it into the sidebar badge and window title at build time, and a test fails if the backend, frontend, desktop app, or launcher drift out of sync. (I learned that one the hard way when a release shipped with a stale badge.)

Quick start

  1. Download AetherLauncher.exe from the latest release.
  2. Run it; it starts the backend and frontend for you.
  3. In Settings, pick a model source: local Ollama / LM Studio, or paste a cloud API key.
  4. Chat, or switch to Code mode, point it at a project folder, and let the agent work.

Prefer running from source? The repo has the FastAPI backend and Vite frontend with setup steps in the README.

Who is it for?

  • People who want to run models locally and keep their data private
  • Developers who want a Cursor / Claude Code-style agent experience with full control over every edit
  • Creators who want text, image, and video generation in one tool

Feedback welcome

Video generation is the least-tested part (it needs paid API keys), so bug reports there are especially appreciated. Stars, issues, and PRs are all welcome:

👉 https://github.com/hankyleisplay/AetherAI-Studio

Top comments (0)