Transform natural language into production-ready desktop applications
Stable Desktops is a revolutionary tool that replaces traditional frameworks like Electron, enabling developers to create sophisticated desktop applications using simple natural language descriptions. No more complex setup, boilerplate code, or framework-specific knowledge required.
- π― Natural Language Interface: Describe your app in plain English and watch it come to life
- β‘ Production Ready: Built for real-world applications with enterprise-grade performance
- π§ Zero Configuration: No complex setup or framework dependencies
- π± Cross-Platform: Works seamlessly on Windows, macOS, and Linux
- π¨ Beautiful UI: Automatically generates modern, responsive interfaces
- π Secure: Built-in security best practices and sandboxing
- π¦ Single Executable: Distribute your app as a single file
- π Hot Reload: Real-time development with instant updates
# Install Stable Agents globally
npm install -g stable-agents
# Or using yarn
yarn global add stable-agents
Create a new file called app.sa
:
Create a desktop application for a task manager with:
- A sidebar showing different project categories
- A main area displaying tasks with checkboxes
- Add new task functionality
- Dark mode toggle
- Data persistence to local storage
Then run:
stable-agents build app.sa
Your desktop application is now ready! π
Build a calculator app with:
- Basic arithmetic operations (+, -, *, /)
- Clear and equals buttons
- Number pad layout
- History of calculations
- Scientific functions (sin, cos, tan)
Create a file manager with:
- Tree view of directories
- File list with icons
- Copy, move, delete operations
- Search functionality
- Preview pane for images and text
- Drag and drop support
Design a chat app featuring:
- Contact list sidebar
- Message thread view
- Send/receive functionality
- File sharing capabilities
- Message search
- Notification system
Create a weather app with:
- Current weather display
- 5-day forecast
- Location search
- Custom styling: dark blue theme, rounded corners, smooth animations
- Weather alerts
Build an inventory management system with:
- Product catalog with images
- Stock tracking
- Sales reports
- Barcode scanning
- SQLite database backend
- Export to Excel functionality
Develop a GitHub client with:
- Repository browser
- Issue tracking
- Pull request management
- GitHub API integration
- OAuth authentication
- Real-time notifications
Stable Agents uses a simple, intuitive language for describing applications:
- Components: UI elements like buttons, forms, lists
- Layouts: How components are arranged (sidebar, grid, flexbox)
- Actions: What happens when users interact (save, navigate, calculate)
- Data: How information is stored and retrieved
# Navigation
- Navigation bar with menu items
- Tabbed interface
- Breadcrumb navigation
# Data Display
- Table with sortable columns
- Card layout with images
- List with search and filter
# Forms
- Input validation
- Auto-save functionality
- Multi-step wizard
{
"theme": "dark|light|auto",
"window": {
"width": 1200,
"height": 800,
"resizable": true,
"minimizable": true
},
"security": {
"sandbox": true,
"permissions": ["file-system", "network"]
}
}
Ready to build your first desktop application? Follow this comprehensive guide to get up and running with Stable Agents in minutes.
Before you begin, make sure you have:
- Node.js (version 16 or higher)
- npm or yarn package manager
- Git (optional, for version control)
# Using npm
npm install -g stable-agents
# Using yarn
yarn global add stable-agents
# Verify installation
stable-agents --version
-
Create a new directory for your project:
mkdir my-first-app cd my-first-app
-
Create your application description file:
touch app.sa
-
Open
app.sa
in your favorite editor and add:Create a simple note-taking application with: - A text editor for writing notes - Save and load functionality - List of saved notes in a sidebar - Search through notes - Dark and light theme toggle
# Build your application
stable-agents build app.sa
# Run the application
./dist/my-first-app
Once your basic app is running, you can enhance it:
- Add more features by updating your
app.sa
file - Customize the styling with theme options
- Add data persistence for saving user data
- Integrate with external APIs for additional functionality
# Build for distribution
stable-agents build app.sa --platform all
# Create an installer
stable-agents package app.sa --installer
# Publish to Stable Agents Store (optional)
stable-agents publish app.sa
- Explore Examples: Check out our example applications for inspiration
- Read Documentation: Dive deeper into advanced features
- Join the Community: Connect with other developers and share your creations
Installation Problems:
# If you get permission errors on macOS/Linux
sudo npm install -g stable-agents
# Clear npm cache if needed
npm cache clean --force
Build Issues:
# Check your Node.js version
node --version
# Update Stable Agents
npm update -g stable-agents
Runtime Errors:
- Ensure your
app.sa
file has valid syntax - Check that all required features are properly described
- Verify system permissions for file access
# Clone the repository
git clone https://github.com/stable-agents/core.git
cd stable-agents
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
Stable Agents is built on modern web technologies:
- Frontend: React with TypeScript
- Backend: Node.js with Express
- Database: SQLite (embedded) or PostgreSQL
- Packaging: Electron (minimal footprint)
- AI Engine: Custom natural language processor
- Startup Time: < 2 seconds
- Memory Usage: < 100MB baseline
- Bundle Size: < 50MB for typical apps
- CPU Usage: Minimal background processing
- Sandboxed Execution: Apps run in isolated environments
- Permission System: Granular control over system access
- Code Signing: Verified application distribution
- Auto-Updates: Secure update mechanism
# Build for current platform
stable-agents build app.sa --platform current
# Build for all platforms
stable-agents build app.sa --platform all
# Build with custom configuration
stable-agents build app.sa --config production.json
# Publish to Stable Agents Store
stable-agents publish app.sa
# Create installer
stable-agents package app.sa --installer
# Sign application
stable-agents sign app.sa --certificate path/to/cert.p12
Feature | Stable Agents | Electron | Tauri | Flutter Desktop |
---|---|---|---|---|
Setup Time | Minutes | Hours | Hours | Days |
Bundle Size | 50MB | 150MB+ | 20MB | 100MB+ |
Learning Curve | Minimal | Steep | Moderate | Steep |
Natural Language | β | β | β | β |
Performance | Excellent | Good | Excellent | Good |
Security | Built-in | Manual | Manual | Manual |
- Internal Tools: Quick prototypes and utilities
- Client Applications: Professional software for customers
- Data Visualization: Charts, dashboards, and reports
- Content Creation: Editors, viewers, and processors
- Automation: Task automation and workflow tools
MIT License - see LICENSE file for details.
- Built with β€οΈ by the Stable Agents team
- Inspired by the need for simpler desktop development
- Powered by modern AI and web technologies
Ready to build the future of desktop applications? Start with Stable Agents today! π