English | 中文
MoFA Stage Desktop is an Electron-based desktop application for AI agent development and management.
- Agent Management - Browse, create, edit, run and monitor agents
- Terminal Access - Desktop terminal (Electron), web terminal, SSH connections, ttyd integration
- Code Editing - Text editor, file browser, optional VSCode Server
- Cross-platform - Windows, macOS, Linux with embedded Python backend
Download from Releases:
- Windows:
.exeinstaller - macOS:
.dmgpackage - Linux:
AppImagefile
# Clone and setup
git clone https://github.com/mofa-org/mofa-stage.git
cd mofa-stage
npm install
# Start development
npm run devRequirements: Node.js 18+, Python 3.8+
# Build for production
npm run build
# Create installers
npm run dist
# Release new version
npm run version:patch # or minor/major-
Prepare changes
git add . git commit -m "your changes" git push
-
Create release
npm run version:patch # 0.6.0 -> 0.6.1 npm run version:minor # 0.6.0 -> 0.7.0 npm run version:major # 0.6.0 -> 1.0.0
-
Monitor build - Check GitHub Actions for automated macOS/Windows builds
- Desktop: Electron
- Backend: Python + Flask + WebSocket
- Frontend: Vue 3 + Element Plus + Monaco Editor
| Service | Port | Description |
|---|---|---|
| Frontend | 3000 | Development server |
| Backend | 5002 | API service |
| WebSSH | 5001 | SSH terminal |
| ttyd | 7681 | Web terminal |
Port conflicts:
npm run kill-ports # Automatically kills conflicting portsElectron native module mismatch (e.g. node-pty ABI errors):
npm run rebuild:native # Rebuild native Node modules against the bundled Electron versionReset dependencies:
rm -rf node_modules frontend/node_modules
npm run install-allApache License 2.0 - see LICENSE file.