[Open-source] A modern cross-platform terminal emulator, with an embedded AI Agent that can execute autonomously
![[Open-source] A modern cross-platform terminal emulator, with an embedded AI Agent that can execute autonomously](https://yy123.ink/api/img/1796366378547-8zr4lo.webp)
1. Project Overview
uniTerm
A modern cross-platform terminal emulator, with an embedded autonomous AI Agent —— able to independently plan and execute multiple rounds of Shell commands, just like Claude Code
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
4. Feature Overview
Functional characteristics
AI Assistant
Autonomous execution of AI Agent, independently planning and executing multiple rounds of Shell commands, completing complex tasks directly in the terminal
- Autonomous multiple-round execution
— AI Agent can independently plan, execute, observe results, and iterate, completing complex operations in multiple rounds of Shell commands without human intervention - Large model integration
— Sidebar dialog, compatible with Anthropic protocol, supporting Claude and other compatible models - Flexible execution mode
— Providing no confirmation, high-risk confirmation, write operation confirmation, and all confirmation modes, with autonomy controlled by you - Conversation persistence
— Chat session records saved by tab page, historical records still preserved after reopening the application - Terminal intelligent collaboration
— AI commands executed directly in the current terminal tab, supporting fixed assignment to a specified tab or following the currently active terminal. In split-screen mode, humans and AI work together without interference - Intelligent Completion
— When inputting SSH terminal, providing real-time command completion suggestions based on historical commands and AI capabilities
Full-featured terminal
Local terminal, SSH / Telnet / Mosh, SFTP / FTP, server monitoring, RDP / VNC / SPICE, database —— covering all remote access scenarios
- Remote terminal
— Supporting SSH / Telnet / Mosh. Supporting password or private key authentication to connect to remote servers, with SSH, Telnet, and Mosh respectively suitable for regular remote access, old/ embedded devices, and high-latency mobile networks - Local terminal
— Supporting PowerShell / CMD / Git Bash / WSL. Sharing fonts, colors, and operation settings with SSH sessions - Serial port terminal
— Scanning available serial ports and configuring baud rate, data bits, stop bits, and parity bits after connection, supporting local echo and CR→CRLF line feed normalization - File Transfer
— Supporting SFTP / FTP / FTPS / Zmodem. Browsing local and remote files in a dual-column layout. SFTP based on SSH, FTP/FTPS supporting explicit TLS, passive/active mode, and configurable character encoding. Supporting upload, download, drag-and-drop, delete, rename, etc. operations, with transmission tasks tracked independently by tab, pause, continue, or cancel. SFTP supports maximum concurrent transmission number limits. SSH terminal supports Zmodem protocol (rz/sz), drag-and-drop files for upload - Remote Desktop
— Supporting RDP / VNC / SPICE. Connecting to Windows remote desktop, VNC, and SPICE - Database client
— Connecting to MySQL / PostgreSQL / rqlite databases, supporting SQL query execution, table structure browsing, data row online editing, and unified interface management of all data sources - SSH Tunnel
— Port forwarding. Any connection can choose an existing SSH connection as a hop and automatically assign a local port to access the target through the tunnel, supporting all TCP protocol connection types. - Server Monitoring
— Real-time monitoring of the running status of connected servers. Supports performance metrics (CPU, memory, disk, network), process lists and details, listening ports, disk usage and mounting information, network card lists and bond/bridge identification.
| Category |
Protocol |
Description |
| Terminal |
SSH |
Remote Server Command Line Management |
| Terminal |
Telnet |
Remote terminal for old devices and embedded systems |
| Terminal |
Mosh |
Server Connection in High Delay and Discontinuous Network |
| Terminal |
Serial |
Serial Terminal Connection, supporting baud rate configuration |
| Terminal |
Local |
PowerShell, CMD, Git Bash, etc. local shells |
| Terminal |
WSL |
Open the installed WSL version through the local terminal |
| File Transfer |
SFTP |
Server File Management and Transfer |
| File Transfer |
FTP / FTPS |
File transfer between website space and NAS |
| File Transfer |
Zmodem |
File transfer using rz/sz command in SSH terminal |
| Remote Desktop |
RDP |
Remote Desktop Management for Windows Servers (only for Windows) |
| Remote Desktop |
VNC |
Remote Control for Linux Servers |
| Remote Desktop |
SPICE |
KVM/QEMU Virtual Machine Management |
| Database |
MySQL |
Compatible with MySQL protocol: MySQL, MariaDB, TiDB, etc. |
| Database |
PostgreSQL |
Compatible with PostgreSQL protocol: PostgreSQL, CockroachDB, etc. |
| Database |
rqlite |
Lightweight Distributed Database based on SQLite and Raft Consensus |
| Monitoring |
Monitor |
Real-time Monitoring of Server CPU, Memory, Disk based on SSH |
Customization
Connection Management, Workspace Split-screen, Cloud Synchronization, Theme Customization — Your Terminal is in Your Hands.
- Connection Manager
— Save, search, edit, group, copy server connections, support drag-and-drop sorting, can select multiple or range selection for batch connection, batch deletion, etc. - Workspace and Free Split-screen
— Merge multiple terminal tab pages into a workspace, support horizontal or vertical layout, drag the panel edge or title bar to freely adjust size and position. - Cloud Synchronization
— Based on GitHub, GitLab, Gitee private repositories, build a dedicated private cloud synchronization repository, all configurations (connection information, AI model keys, application settings) are encrypted with AES-256-GCM and saved to the remote end. Support automatic synchronization, conflict resolution, main password modification, and repository binding management. - Theme
— Dark, Deep Blue, Light three interface themes, support automatic switching following the system. - Internationalization
— Support Simplified Chinese, Traditional Chinese, English, Japanese, Korean, German, Spanish, French, Russian, etc. 9 languages interface. - Cross-platform
— Built based on Wails v2, natively run on Windows, macOS, Linux three major desktop platforms.
5. Tech Stack
Tech Stack
| Layer |
Technology |
| Desktop Framework |
Wails v2 |
| Backend |
Go |
| Frontend |
Vue 3 + Pinia + Element Plus |
| Terminal Engine |
xterm.js |
| AI Protocol |
Anthropic Messages API |
Environment Requirements
-
Go 1.23+ -
Node.js 20+ -
Wails CLI v2
Platform Dependency
- Windows
WebView2 Runtime (Windows 10+ built-in) - macOS
Xcode Command Line Tools - Linux
libgtk-3-dev and libwebkit2gtk-4.1-dev
Quick Start
git clone https://github.com/ys-ll/uniterm.gitcd uniTermcd frontend && npm install && cd ..wails dev # Run in Development Modewails build # Build production version
Project Structure
uniTerm/├── main.go # Entry File├── app.go # Wails Binding, LLM API Proxy, SFTP API├── backend/│ ├── session/ # SSH/SFTP/Database Session Management│ ├── database/ # SQL Execution, Table Structure Query, DSN Construction│ ├── store/ # Persistent Configuration (Connection, AI, Settings)│ └── log/ # File Log├── frontend/│ └── src/│ ├── components/ # Vue Components│ ├── composables/ # Terminal Composable Functions│ ├── stores/ # Pinia State Management│ ├── services/ # AI Proxy Loop, LLM Client│ ├── i18n/ # Internationalization Translation│ └── types/ # TypeScript Type Definition└── wails.json
6. Source Code Repository
Open-source project address:
https://github.com/ys-ll/uniterm
Next steps