Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
chore: Update to Node 22 and Python 3.12, add badges
trohitg20e7b75249e7
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlindex 975ffffb..e28ccc35 100644--- a/.github/actions/setup/action.yml+++ b/.github/actions/setup/action.yml@@ -14,7 +14,7 @@ description: 'Setup Node.js, Python, and uv for cross-platform builds.'inputs:node-version:description: 'Node.js version'- default: '20'+ default: '22'python-version:description: 'Python version'default: '3.12'diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex edba65f0..e465bf12 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -20,7 +20,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'- name: Install Mintlify CLIrun: npm install -g mintlifydiff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.ymlindex ec3c660c..aaeb50c1 100644--- a/.github/workflows/predeploy.yml+++ b/.github/workflows/predeploy.yml@@ -111,14 +111,6 @@ jobs:fail-fast: falsematrix:os: [ubuntu-latest, macos-latest, windows-latest]- node-version: [20, 22]- python-version: ['3.11', '3.12']- exclude:- # Reduce matrix size - test Python 3.11 only on ubuntu, 3.12 on all- - os: macos-latest- python-version: '3.11'- - os: windows-latest- python-version: '3.11'steps:- name: Checkoutuses: actions/checkout@v4@@ -126,9 +118,6 @@ jobs:# Python and uv needed because postinstall.js skips in CI- name: Setup environmentuses: ./.github/actions/setup- with:- node-version: ${{ matrix.node-version }}- python-version: ${{ matrix.python-version }}- name: Install root dependenciesrun: npm install --ignore-scriptsdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 1685c57c..e444d04d 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -24,7 +24,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'registry-url: 'https://registry.npmjs.org'- name: Install dependencies@@ -55,7 +55,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'registry-url: 'https://npm.pkg.github.com'- name: Install dependenciesdiff --git a/README.md b/README.mdindex a72c643d..6725de17 100644--- a/README.md+++ b/README.md@@ -1,8 +1,12 @@# MachinaOS-Open-source Platform to Build Your Own Personal AI Assistant, mashup of clawdbot/Openclaw and N8N, but Better UI and Proper Visibility of each Action and Restricted Control Access.+[](https://www.npmjs.com/package/machinaos)+[](https://opensource.org/licenses/MIT)+[](https://discord.gg/NHUEQVSC)-# Full Capabilities.+Open-source platform to build your own personal AI assistant. A mashup of Claude Code and n8n with better UI, full visibility of each action, and restricted control access.++## Full Capabilities<img width="1280" height="671" alt="func_img" src="https://github.com/user-attachments/assets/2f14b6c8-3995-4ccc-b076-e40749a83df2" />@@ -110,10 +114,9 @@ npm run docker:upThe install script handles these automatically, but for manual installation:-- **Node.js 18+** - https://nodejs.org/-- **Python 3.11+** - https://python.org/-- **uv** - `curl -LsSf https://astral.sh/uv/install.sh | sh`-- **Go 1.21+** - https://go.dev/dl/ (for WhatsApp service)+- **Node.js 22+** - https://nodejs.org/+- **Python 3.12+** - https://python.org/+- **uv** - auto-installed via pip## CLI Commands@@ -167,7 +170,7 @@ MachinaOS/## Tech Stack- **Frontend:** React 19, TypeScript, React Flow, Zustand-- **Backend:** Python 3.11+, FastAPI, SQLite, LangChain/LangGraph+- **Backend:** Python 3.12+, FastAPI, SQLite, LangChain/LangGraph- **Services:** WhatsApp (Go + whatsmeow), WebSocket relay- **Package Manager:** uv (Python), npm (Node.js)diff --git a/bin/cli.js b/bin/cli.jsindex 350978ad..8d00715f 100644--- a/bin/cli.js+++ b/bin/cli.js@@ -70,20 +70,20 @@ function checkDeps() {// Node.js version checkconst nodeVersion = parseInt(process.version.slice(1));- if (nodeVersion < 20) {- errors.push(`Node.js 20+ required (found ${process.version})`);+ if (nodeVersion < 22) {+ errors.push(`Node.js 22+ required (found ${process.version})`);}// Python version checklet pyVersion = getVersion('python --version') || getVersion('python3 --version');if (!pyVersion) {- errors.push('Python 3.11+ - https://python.org/');+ errors.push('Python 3.12+ - https://python.org/');} else {const match = pyVersion.match(/Python (\d+)\.(\d+)/);if (match) {const [, major, minor] = match.map(Number);- if (major < 3 || (major === 3 && minor < 11)) {- errors.push(`Python 3.11+ required (found ${pyVersion})`);+ if (major < 3 || (major === 3 && minor < 12)) {+ errors.push(`Python 3.12+ required (found ${pyVersion})`);}}}diff --git a/docs-internal/SCRIPTS.md b/docs-internal/SCRIPTS.mdindex 1275127a..cfda3ff7 100644--- a/docs-internal/SCRIPTS.md+++ b/docs-internal/SCRIPTS.md@@ -29,7 +29,7 @@ Open http://localhost:3000The `start` and `build` commands verify these dependencies before running:- Node.js 18+-- Python 3.11++- Python 3.12+- uv (Python package manager)---diff --git a/docs-internal/SETUP.md b/docs-internal/SETUP.mdindex a5510796..905483c4 100644--- a/docs-internal/SETUP.md+++ b/docs-internal/SETUP.md@@ -29,7 +29,7 @@ Open http://localhost:3000### Local Development (from source)-**Prerequisites:** Node.js 18+, Python 3.11+, uv, Go 1.21++**Prerequisites:** Node.js 22+, Python 3.12+, uv,```bashgit clone https://github.com/trohitg/MachinaOS.gitdiff --git a/install.sh b/install.shindex d7c211bc..967ca97c 100644--- a/install.sh+++ b/install.sh@@ -1,6 +1,6 @@#!/usr/bin/env bash# MachinaOS Installer-# Prerequisites: Node.js 20+, Python 3.11++# Prerequisites: Node.js 22+, Python 3.12+## Usage: curl -fsSL https://raw.githubusercontent.com/trohitg/MachinaOS/main/install.sh | bash@@ -11,7 +11,7 @@ echo ""# Check Node.jsif ! command -v node &> /dev/null; then- echo "Error: Node.js 20+ is required"+ echo "Error: Node.js 22+ is required"echo " Install from: https://nodejs.org/"exit 1fi@@ -23,7 +23,7 @@ if command -v python3 &> /dev/null; thenelif command -v python &> /dev/null; thenPY=pythonelse- echo "Error: Python 3.11+ is required"+ echo "Error: Python 3.12+ is required"echo " Install from: https://python.org/"exit 1fidiff --git a/scripts/build.js b/scripts/build.jsindex cb1a2ab5..a8549ae3 100644--- a/scripts/build.js+++ b/scripts/build.js@@ -4,9 +4,8 @@* Works on: Windows, macOS, Linux, WSL, Git Bash** Automatically installs missing dependencies:- * - Python 3.11+ (via winget/brew/apt)+ * - Python 3.12+ (via pip)* - uv (Python package manager)- * - Go (for WhatsApp service)*/import { execSync } from 'child_process';import { existsSync, copyFileSync } from 'fs';@@ -99,16 +98,16 @@ if (pyCmd) {const match = pyVersion?.match(/Python (\d+)\.(\d+)/);if (match) {const [, major, minor] = match.map(Number);- if (major >= 3 && minor >= 11) {+ if (major >= 3 && minor >= 12) {console.log(` ${pyVersion}`);} else {- console.log(` ${pyVersion} (too old, need 3.11+)`);- console.log(' Error: Please install Python 3.11+ from https://python.org/');+ console.log(` ${pyVersion} (too old, need 3.12+)`);+ console.log(' Error: Please install Python 3.12+ from https://python.org/');process.exit(1);}}} else {- console.log(' Error: Python 3.11+ is required.');+ console.log(' Error: Python 3.12+ is required.');console.log(' Install from: https://python.org/downloads/');process.exit(1);}diff --git a/scripts/install.js b/scripts/install.jsindex 72457162..149be5c1 100644--- a/scripts/install.js+++ b/scripts/install.js@@ -56,7 +56,7 @@ function checkPython() {const match = version.match(/Python (\d+)\.(\d+)/);if (match) {const [, major, minor] = match.map(Number);- if (major >= 3 && minor >= 11) {+ if (major >= 3 && minor >= 12) {return { cmd, version };}}@@ -98,7 +98,7 @@ let python = checkPython();if (python) {console.log(` Python: ${python.version}`);} else {- console.log('ERROR: Python 3.11+ is required.');+ console.log('ERROR: Python 3.12+ is required.');console.log(' Install from: https://python.org/downloads/');process.exit(1);}