terax-ai

cryntaApache-2.0活跃维护

7MB 的终端优先 AI 原生开发环境,内置智能体,用 Rust 和 Tauri 打造,在终端里直接完成编码与 AI 辅助任务。

Lightweight (7MB) terminal-first AI-native development environment

v0.9.0发布于 2026-10-16 11:55 UTC9,458star +15 / 7 天1,058fork同步于 2026-11-10 23:31 UTC

怎么上手

由 README 提炼,执行前请确认
pnpm install
pnpm tauri dev
硬件要求按 README 说明

README 未说明显存或 GPU 型号要求;本地模型推理需自备 LM Studio、MLX 或 Ollama 端点。支持 macOS、Linux、Windows。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

轻量终端优先的 AI 原生开发环境,7MB 大小,自带终端、编辑器与 AI 侧栏

7MB 的终端优先 AI 原生开发环境,内置智能体,用 Rust 和 Tauri 打造,在终端里直接完成编码与 AI 辅助任务。

核心能力

  • 原生 PTY 后端配 WebGL 渲染的多标签终端
  • AI 侧栏支持自带密钥或本地模型,可读写改文件并执行命令
  • CodeMirror 6 编辑器支持 AI 补全与逐块接受编辑 diff
  • 内置源码控制面板,含真实提交图与 hunk 级暂存
  • 自动探测本地开发服务器并在预览标签中打开

容易踩的坑

从源码构建需先装 Rust stable、Node 22+、pnpm 及对应平台的 Tauri 前置依赖;AppImage 需要 FUSE,否则加 --appimage-extract-and-run;本地模型需自行部署 LM Studio/MLX/Ollama 并配置端点,AI 功能才可用。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.9.0
  1. v0.9.0Terax v0.9.0最新正式版2026-10-16 · 2026-10-16 11:55 UTC

    Terax 0.9.0 introduces a new Ghostty-powered + WebGPU terminal and a broad pass on responsiveness and resource use.

    • Lower idle CPU use and less memory growth when switching tabs, desktops, and windows.
    • Smoother window and split resizing, with fewer redraw artifacts and duplicated prompts.
    • Pixel-aligned text and seamless box-drawing, braille, and Powerline glyphs.
    • More efficient terminal output, background tasks, file watching, and startup loading.
    • More reliable AI conversation storage and cancellation, plus security hardening around terminal transport and network requests.
    • Explorer file paste from the OS clipboard, multi-select operations, and faster file search.
    • Bundled CLI file opening, nested-repository Git support, editor shortcut improvements, and refined agent notifications and window styling.

    Downloads include macOS Apple Silicon and Intel, Windows, and Linux packages. Windows installations without WebView2 need an internet connection to install its runtime.

    What's Changed

  2. v0.8.6Terax v0.8.62026-07-27 · 2026-07-27 23:32 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/crynta/terax-ai/compare/v0.8.5...v0.8.6

  3. v0.8.5Terax v0.8.52026-07-10 · 2026-07-10 19:51 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/crynta/terax-ai/compare/v0.8.2...v0.8.5

  4. v0.8.2Terax v0.8.22026-06-23 · 2026-06-23 14:54 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/crynta/terax-ai/compare/v0.8.1...v0.8.2

  5. v0.8.1Terax v0.8.12026-06-19 · 2026-06-19 22:58 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/crynta/terax-ai/compare/v0.8.0...v0.8.1

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Terax is a lightweight open-source terminal-first AI-native development environment (ADE) built on Tauri 2 + Rust and React 19. A native PTY backend with a WebGL renderer, an agentic AI side-panel that runs against your own keys or fully local models, plus a code editor, file explorer, source control with a git graph, and a web preview pane built in. About 7-8 MB on disk. No telemetry. No account.

    [!NOTE] Over the past few months, most of my development time went into building Zephium, a new browser-native work environment rebuilt for humans and agents.

    Terax is now returning to active development. A major v0.9.0 update is already in progress, with some substantial architectural changes, including moving from xterm.js to libghostty + WebGPU.

    More updates soon.

    Screenshots

    Features

    Terminal

    • xterm.js with WebGL renderer, multi-tab with background streaming
    • GPU-accelerated block-based terminal with editor-like command input
    • Native PTY backend via portable-pty (zsh, bash, pwsh, fish, cmd)
    • Split panels (horizontal and vertical)
    • Inline search, link detection, true-color
    • Drag files from the explorer or desktop into a terminal as shell-safe quoted paths
    • Per-tab workspace environments on Windows (Local, or any installed WSL distro)
    • Spaces restore tabs, working directories, and split layouts across launches

    Code editor

    • CodeMirror 6 (supports all popular languages - TS/JS, Rust, Python, Go, C/C++, Java, HTML/CSS, JSON, Markdown, etc.)
    • Inline AI autocomplete with local model support
    • AI edit diffs, accept or reject hunk by hunk
    • Opt-in language server support with diagnostics, navigation, completion, formatting, and custom servers
    • Rendered Markdown plus image, video, audio, and PDF viewing
    • Vim mode
    • Built-in editor themes including Kanagawa, Catppuccin, Rosé Pine, Everforest, Dracula, Solarized, Nord, Tokyo Night, GitHub, and Xcode

    Source control

    • Stage / unstage hunks, commit (Cmd+Enter / Ctrl+Enter), push with upstream awareness
    • Branch display including detached HEAD state
    • Git history pane with a real commit graph (lane rendering for merges and branches)
    • Commit search and filter, click through to the remote commit page

    File explorer

    • Catppuccin icon theme
    • Fuzzy search, keyboard navigation, inline rename, context actions
    • Live updates when files change on disk
    • Attach files and selections directly to the AI side-panel

    Web preview

    • Auto-detects local dev servers and opens them in a preview tab
    • External URL preview via a native child webview

    Themes and customization

    • Custom themes built in-app, switch between bundled presets and your own
    • Create your own themes, share them or import from the community
    • Background images with adjustable opacity and blur
    • Editor theme is independent from the app theme

    AI

    • BYOK providers: OpenAI, Anthropic, Google (Gemini), Groq, xAI (Grok), Cerebras, OpenRouter, DeepSeek, Mistral, plus any OpenAI-compatible endpoint
    • Local / offline: LM Studio, MLX, Ollama
    • Agentic workflow: plans, sub-agents, project memory via TERAX.md, file read / write / edit / multi-edit / grep / glob, bash with approval gating, background processes
    • Coding-agent orchestration: spawn Claude Code in a terminal, inspect its output, and send follow-up work through approval-gated tools
    • Composer: prompt snippets via #handle, files via @path, voice input, attach-to-agent from explorer or selection
    • Custom agents with their own system prompt and tool subset
    • Plan mode for multi-step work, generates and confirms before doing

    Install

    Latest installers are on the Releases page. Terax auto-updates from there.

    Windows notes

    • Default shell detection: pwsh.exe (PowerShell 7+) -> powershell.exe (Windows PowerShell 5.1) -> cmd.exe.
    • WSL is a first-class workspace environment, not a wrapped subprocess.

    Linux notes

    • Arch / AUR: yay -S terax-bin (or paru, etc.). Tracks the latest release.
    • NixOS / Nix: use the official flake - nix profile install github:crynta/terax-ai (non-NixOS), or import the flake and add inputs.terax.packages.${pkgs.system}.terax to environment.systemPackages (NixOS). The nixosModules.terax output is also available for a simpler setup.
    • AppImage: needs FUSE. Without it: ./Terax_*.AppImage --appimage-extract-and-run. On Wayland with rendering glitches, try WEBKIT_DISABLE_DMABUF_RENDERER=1. Otherwise the .deb / .rpm packages link against the system GTK stack and tend to be smoother.

    Configure AI

    1. Open Settings -> AI.
    2. Pick a provider and paste your API key. For local inference, point Terax at your LM Studio / MLX / Ollama endpoint.
    3. Keys are written to the OS keychain via keyring. They never touch disk or localStorage.

    Build from source

    Prerequisites

    Run

    pnpm install
    pnpm tauri dev          # development
    pnpm tauri build        # production bundle
    

    Checks

    pnpm lint
    pnpm check-types
    pnpm test
    cd src-tauri && cargo clippy --all-targets --locked -- -D warnings   # Rust lint (matches CI)
    cd src-tauri && cargo nextest run --locked                           # or: cargo test --locked
    

    Tech stack

    Tauri 2, Rust, portable-pty, React 19, TypeScript, Vite, xterm.js, CodeMirror 6, Vercel AI SDK v6, Tailwind v4, shadcn/ui, Zustand.

    Contributing

    Issues and PRs are welcome! Feel free to open issues, suggest features, or submit pull requests. See CONTRIBUTING.md and the architecture docs for more details.

    Code signing

    Windows builds are signed with a free code signing certificate provided by SignPath.io, certificate by the SignPath Foundation.

    License

    Terax is licensed under the Apache-2.0 License. For more information on our dependencies, see Apache License 2.0.