Skip to content

Self-improving AI Employees for everyone

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.yml
index 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.yml
index edba65f0..e465bf12 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version: '20'
+ node-version: '22'
- name: Install Mintlify CLI
run: npm install -g mintlify
diff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.yml
index ec3c660c..aaeb50c1 100644
--- a/.github/workflows/predeploy.yml
+++ b/.github/workflows/predeploy.yml
@@ -111,14 +111,6 @@ jobs:
fail-fast: false
matrix:
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: Checkout
uses: actions/checkout@v4
@@ -126,9 +118,6 @@ jobs:
# Python and uv needed because postinstall.js skips in CI
- name: Setup environment
uses: ./.github/actions/setup
- with:
- node-version: ${{ matrix.node-version }}
- python-version: ${{ matrix.python-version }}
- name: Install root dependencies
run: npm install --ignore-scripts
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1685c57c..e444d04d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version: '20'
+ node-version: '22'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
@@ -55,7 +55,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version: '20'
+ node-version: '22'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
diff --git a/README.md b/README.md
index 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.
+[![npm version](https://img.shields.io/npm/v/machinaos.svg)](https://www.npmjs.com/package/machinaos)
+[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
+[![Discord](https://img.shields.io/discord/1234567890?color=7289da&label=Discord&logo=discord&logoColor=white)](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:up
The 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.js
index 350978ad..8d00715f 100644
--- a/bin/cli.js
+++ b/bin/cli.js
@@ -70,20 +70,20 @@ function checkDeps() {
// Node.js version check
const 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 check
let 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.md
index 1275127a..cfda3ff7 100644
--- a/docs-internal/SCRIPTS.md
+++ b/docs-internal/SCRIPTS.md
@@ -29,7 +29,7 @@ Open http://localhost:3000
The `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.md
index 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,
```bash
git clone https://github.com/trohitg/MachinaOS.git
diff --git a/install.sh b/install.sh
index 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.js
if ! 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 1
fi
@@ -23,7 +23,7 @@ if command -v python3 &> /dev/null; then
elif command -v python &> /dev/null; then
PY=python
else
- echo "Error: Python 3.11+ is required"
+ echo "Error: Python 3.12+ is required"
echo " Install from: https://python.org/"
exit 1
fi
diff --git a/scripts/build.js b/scripts/build.js
index 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.js
index 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);
}