@billtheinvestor: 7MB 的 AI 原生终端来了! Terax 把终端、代码编辑器、Git 和强大 AI Agent 完美融合在一起,还支持本地模型。 轻到离谱,快到飞起,开发者梦中情“机”! GitHub 地址:
摘要
Terax is a lightweight open-source AI-native terminal and developer workspace that combines a terminal, code editor, Git, and AI agent in a 7MB package, supporting local models and various AI providers.
查看缓存全文
缓存时间: 2026/06/02 17:35
7MB 的 AI 原生终端来了!
Terax 把终端、代码编辑器、Git 和强大 AI Agent 完美融合在一起,还支持本地模型。
轻到离谱,快到飞起,开发者梦中情“机”! GitHub 地址:https://t.co/hT3e5k8Lqm
crynta/terax-ai
Source: https://github.com/crynta/terax-ai
Terax is a lightweight open-source terminal (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.
Screenshots
![]() Multi-tab terminal with WebGL rendering |
![]() Custom themes, presets, and background images |
![]() Web preview of local dev servers |
![]() Source control panel with git graph in history |
![]() Agentic AI workflow with edit diffs in the code editor |
|
Features
Terminal
- xterm.js with WebGL renderer, multi-tab with background streaming
- Native PTY backend via
portable-pty(zsh, bash, pwsh, fish, cmd) - Split panels (horizontal and vertical)
- Inline search, link detection, true-color
- Per-tab workspace environments on Windows (Local, or any installed WSL distro)
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
- Vim mode
- Ten built-in editor themes: Atom One, Aura, Copilot, GitHub Dark / Light, Gruvbox Dark, Nord, Tokyo Night, Xcode Dark / Light
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
- 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 - Composer: snippets via
#handle, files via@path, slash commands, 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
- On first launch Windows shows “Windows protected your PC” because Terax isn’t code-signed yet. Click More info then Run anyway.
- 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(orparu, etc.). Tracks the latest release. - AppImage: needs FUSE. Without it:
./Terax_*.AppImage --appimage-extract-and-run. On Wayland with rendering glitches, tryWEBKIT_DISABLE_DMABUF_RENDERER=1. Otherwise the.deb/.rpmpackages link against the system GTK stack and tend to be smoother.
Configure AI
- Open Settings -> AI.
- Pick a provider and paste your API key. For local inference, point Terax at your LM Studio / MLX / Ollama endpoint.
- Keys are written to the OS keychain via
keyring. They never touch disk or localStorage.
Build from source
Prerequisites
- Rust (stable), https://rustup.rs
- Node 20+ and pnpm
- Tauri prerequisites for your platform, https://tauri.app/start/prerequisites/
Run
pnpm install
pnpm tauri dev # development
pnpm tauri build # production bundle
Checks
pnpm exec tsc --noEmit # frontend type-check
cd src-tauri && cargo clippy --all-targets --locked -D warnings # Rust lint (matches CI)
cd src-tauri && cargo test --locked # Rust tests
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 for more details.
License
Terax is licensed under the Apache-2.0 License. For more information on our dependencies, see Apache License 2.0.
Star history
相似文章
@geekbb: 一个专为 AI 编码设计的 macOS 终端,把工作区管理、分屏和 AI agent 启动流程整合到一起。支持横竖分屏,一键启动 Claude Code、Codex、Gemini CLI 等七个 AI agent,右键选中内容直接提交给 …
kooky 是一个专为 AI 编码设计的 macOS 终端,整合工作区管理、分屏和 AI agent 启动流程,支持一键启动多个 AI agent 和右键提交内容。
@GitTrend0x: 100% 本地桌面AI Agent 杀手级开源神器 https://github.com/bytedance/UI-TARS-desktop… 这就是 UI-TARS-desktop,字节跳动开源的 31k 星爆款多模态桌面自动化代理! …
UI-TARS-desktop is a highly popular open-source tool by ByteDance that enables 100% local multimodal desktop automation, allowing users to control apps and browsers via natural language without cloud data leaks.
@wsl8297: 微软开源了一个更顺手的 VS Code 插件:AI Toolkit,把 Agent 应用开发从搭环境到评估上线,一口气打通。 一个界面就够:模型挑选、Playground 试跑、Agent 搭建、批量对比、指标评测,全都集成在一起。 Gi…
微软开源了 VS Code 插件 AI Toolkit,将模型选择、Playground、Agent 搭建、批量测试和评估集成在一个界面中,简化 AI Agent 开发流程。
@axiaisacat: 字节跳动开源了一个能直接操控你电脑的 AI 叫 UI-TARS,开源免费,本地运行 你用说话的方式告诉它: 「帮我在 Priceline 订9月1日最早的旧金山到纽约的机票」 「帮我把 VS Code 的自动保存延迟设置成500毫秒」 「…
ByteDance has open-sourced UI-TARS, an AI model capable of directly controlling computer interfaces via mouse and keyboard for tasks like booking flights or configuring software. Available in 2B, 7B, and 72B parameter sizes, it runs locally and offers a free alternative to paid services like Anthropic's Computer Use.
@GitTrend0x: AI Agent 从小白变大神进阶神器 https://github.com/pguso/ai-agents-from-scratch… 这就是 ai-agents-from-scratch,3.9k star 爆款「真正把 AI Age…
介绍了一个3.9k star的开源教程项目ai-agents-from-scratch,使用本地LLM和Node.js从零开始构建AI Agent,涵盖系统提示、工具、记忆和推理模式等核心概念。




