easyshell-ai/easyshell
Über uns
Open-source, self-hosted AI workspace for Linux server operations. Troubleshoot with live host context, reuse runbooks, and review proposed changes.
KI und maschinelles LernenGemessener Sternzuwachs
- in 24h
- +2
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original
EasyShell
The open-source, self-hosted AI workspace for server operations.
Start with a question. Decide with evidence.
English | 简体中文 | 繁體中文 | 한국어 | Русский | 日本語
Quick start · Product tour · Hosts and clusters · Docs
See it in action
EasyShell is for operators and DevOps teams managing multiple Linux servers. Start in AI chat and use host status, inspection reports, and reusable scripts to inform the next step. Task results and approval records stay in the workspace for follow-up and handoff.
AI Chat in a synthetic demo environment: tool calls, a delegated subagent, session tasks, a human approval gate, and project notes for a disk-growth investigation.
Why EasyShell?
Think of EasyShell as a shared operations notebook with tools to act. The AI assistant can work with host context and existing scripts, and your team can return to inspection reports, risk findings, and task history when a problem comes back.
- Investigate with context. Use host metrics, inspection reports, and security findings to understand what needs attention.
- Reuse what worked. Save scripts and versioned runbooks for recurring work. Review proposed changes and configure approval steps where needed.
- Hand off with evidence. Refer back to task output, risk disposition history, and approval records instead of reconstructing the incident from chat.
Quick Start
Install on a fresh Linux host with one command:
curl -fsSL https://easyshell.ai/install.sh | bash
The installer prepares Docker when needed, pulls the verified 2.0 release, creates the private secrets volume, starts the stack, and prints the setup URL.
Open the setup page and create the first account. Read the one-time setup token with:
easyshell token
Then open the setup page and enter your own username/password:
http://localhost:18880/setup
There is no default account. If the CLI is not available yet, use docker exec easyshell-server cat /secrets/setup_token. Connect a test host, configure an AI model, then select the host and try this prompt in Plan mode:
Show the latest disk usage for the selected host. Flag filesystems above 85%. Do not make any changes.
Requirements: Ubuntu 22.04–26.04, Debian 12/13 and derivatives (Linux Mint, Pop!_OS, Kali, Raspbian); RHEL/Rocky/Alma/Oracle 8/9/10, CentOS Stream 9/10, Fedora, Amazon Linux 2/2023; openSUSE Leap 15.6/16, SLES 15/16; Alpine 3.20+; Arch/Manjaro; x86_64 or aarch64; 2 GB RAM recommended; 5 GB free disk. The installer can install Docker Engine 24+ (current 28/29 recommended) and Compose v2.20+ on supported package managers; other distributions need Docker pre-installed. CentOS 7/8 and other end-of-life releases are best-effort because their upstream mirrors may be unavailable. On Alpine, install bash, curl and ca-certificates first (apk add --no-cache bash curl ca-certificates). Below 2 GB RAM the installer warns but continues; reduce JAVA_OPTS and EASHELL_CODE_MEMORY for smaller hosts.
Screenshots show a synthetic demo environment with documentation-range addresses.
What's new in 2.0
- Host security as a first-class workspace — a risk register with evidence, disposition history, remediation plans, and references.
- Workflow engine — versioned runbooks with conditions, AI analysis, human approval gates, and auditable runs.
- Multi-host terminal and file workspace — up to ten hosts side by side, with per-host file browsers and transfer.
- AI chat as the operations workspace — live host context, plans, scripts, and approvals in one conversation.
- Game View — the fleet floorplan that turns health, cluster, and attention data into a spatial view.
Product Tour
1. Host security and evidence
Host security is not a scanner bolted onto a dashboard. It is a working risk register: every finding carries its host generation, evidence, severity rationale, disposition history, references, and a remediation path. AI can investigate, verify, and prepare a fix; humans decide what gets executed.
- Risk detail keeps the target host, generation, and online state attached to the finding.
- The risk detail distinguishes observed facts from AI assessment.
- Evidence preserves the command output and verification conclusion.
- Disposition history records who acknowledged, reopened, accepted, or resolved the risk.
2. Visual workflows
Build a reusable runbook on the canvas with scripts, conditions, AI analysis, notifications, and human approval steps. Published workflows are versioned, and run history lets you review results by step.
3. Multi-host terminal and files
Open up to ten hosts side by side. Use the terminal to work across hosts and track their output. The file workspace gives each host its own browser, with batch selection and cross-host transfer.
4. Hosts and clusters
Browse the host list in table or card view. Search by hostname or IP, filter by cluster or status, and check CPU, memory, disk trends, and the last heartbeat. Onboard servers individually or import them in bulk from CSV.
Group hosts by environment or service. The cluster view shows member counts, online status, and a resource summary for each group.
5. Dashboard and Game View
The operations dashboard puts fleet health, task throughput, unresolved risk, and pending approvals on one screen. Game View turns the same live data into a spatial floorplan, so you can see which team, cluster, or host needs attention at a glance.
6. Script library and task history
Save scripts and templates for recurring work. Use the Task Center to check execution status and open the results for each target host.
- Script library with templates, versioning, and target selection.
- Task center with success, failure, timeout, partial failure, and pending-approval states.
- Every dispatch uses the same risk gate, streaming log path, and audit trail.
7. Scheduled inspections and audit
Scheduled AI inspections analyze host output and turn it into a report. Audit events record who did what, to which resource, from where, and whether it succeeded.
Execution Controls
EasyShell supports risk-based dispatch controls. Low-risk tasks can run automatically, and eligible AI operations can be configured to auto-confirm. Human approval steps can be added to workflows.
| Control | What it gives you |
|---|---|
| Risk classification | Commands are classified before dispatch; high-risk actions can require explicit confirmation. |
| Approval gates | Tasks and workflow nodes can pause for a human decision, with the approver and reason recorded. |
| Host identity generations | Dispatches are fenced to the host generation that was observed and approved. |
| Sensitive-data filtering | AI context is filtered. Treat raw job output as sensitive. |
| Audit trail | Logins, executions, approvals, security dispositions, and configuration changes are traceable. |
| Versioned workflows | Published definitions are immutable; each run records the version, inputs, and risk snapshot. |
See SECURITY.md for the trust model and known limits.
Deployment
The one-line installer is the recommended path. It downloads the release bundle, verifies its checksum, and installs into ~/easyshell:
curl -fsSL https://easyshell.ai/install.sh | bash
The installer registers an easyshell command (/usr/local/bin/easyshell, or
~/.local/bin/easyshell for a non-root install):
easyshell --help
easyshell status
easyshell start
easyshell stop
easyshell restart
easyshell logs
easyshell update --maintenance-confirmed # backed-up update
easyshell uninstall # remove containers, data, images and installation
easyshell uninstall --keep-data # remove containers only; keep data and installation
The installer is resumable: if a first install is interrupted, rerun the same command and it reuses the partial bundle/volumes and continues instead of refusing. From a source tree, the equivalent entry point is:
cd ~/easyshell
./install.sh --dry-run
./install.sh --build
For production, terminate TLS in an operator-managed reverse proxy, expose only the TLS port, and keep MySQL, Redis, and the backend port on loopback. Set PROVISION_SERVER_URL or server.external-url so agents can reach the web endpoint.
Architecture
┌──────────────┐ HTTP / WebSocket ┌──────────────────┐
│ EasyShell │◄──────────────────────────────►│ EasyShell │
│ Agent (Go) │ register / heartbeat / exec │ Server (Java) │
└──────────────┘ └────────┬─────────┘
│
┌────────┴─────────┐
│ EasyShell Web │
│ React + Ant Design│
└──────────────────┘
| Component | Technology |
|---|---|
| Server | Java 17, Spring Boot 4.1, Spring AI, Spring Security, Flyway |
| Agent | Go 1.26, single binary, zero runtime dependencies |
| Web | React 19, TypeScript, Vite 8, Ant Design 6 |
| Data | MySQL 8.0, Redis 7 |
Project Structure
easyshell/
├── easyshell-server/ # Central management server (Java / Spring Boot)
├── easyshell-agent/ # Agent client (Go, single binary)
├── easyshell-web/ # Web console (React + Ant Design)
├── docker-compose.yml # Production deployment
├── docker-compose.build.yml
├── install.sh # Install, update, status, uninstall
└── .env.example
Documentation
- docs.easyshell.ai — installation, configuration, and guides
- SECURITY.md — trust model and known limits
- CHANGELOG.md — release history
Community
Join the Discord community for support, discussions, and release updates: https://discord.gg/akQqRgNB6t
License
MIT © EasyShell
Ähnliche Projekte entdecken
Wird geladen…