Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
chore: migrate repository ownership trohitg -> zeenie-ai
trohitg6021c08355cb
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex cb991feb..a2c813f4 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -136,7 +136,7 @@ jobs:run: |node -e "const pkg = require('./package.json');- pkg.name = '@trohitg/machinaos';+ pkg.name = '@zeenie-ai/machinaos';pkg.publishConfig = { registry: 'https://npm.pkg.github.com' };require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));"diff --git a/.github/workflows/test-install.yml b/.github/workflows/test-install.ymlindex d68245e1..4cdefbb6 100644--- a/.github/workflows/test-install.yml+++ b/.github/workflows/test-install.yml@@ -135,7 +135,7 @@ jobs:run: pip install uv- name: Clone repository- run: git clone https://github.com/trohitg/MachinaOS.git+ run: git clone https://github.com/zeenie-ai/MachinaOS.git- name: Buildshell: bash@@ -215,7 +215,7 @@ jobs:os: [ubuntu-latest, macos-latest]steps:- name: Run install script- run: curl -fsSL https://raw.githubusercontent.com/trohitg/MachinaOS/main/install.sh | bash+ run: curl -fsSL https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/install.sh | bash- name: Verify installationrun: |@@ -228,7 +228,7 @@ jobs:steps:- name: Run install scriptshell: pwsh- run: iwr -useb https://raw.githubusercontent.com/trohitg/MachinaOS/main/install.ps1 | iex+ run: iwr -useb https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/install.ps1 | iex- name: Verify installationrun: |diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex f191b094..b2a8d4cb 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -1,6 +1,6 @@# Contributing to MachinaOS-Welcome! This guide is a contributor's map to the codebase. It tells you *where things live* and *where to start reading* when you want to add a feature. For the full architecture tour, use the [DeepWiki badge](https://deepwiki.com/trohitg/MachinaOS) on the README or browse [docs-internal/](docs-internal/).+Welcome! This guide is a contributor's map to the codebase. It tells you *where things live* and *where to start reading* when you want to add a feature. For the full architecture tour, use the [DeepWiki badge](https://deepwiki.com/zeenie-ai/MachinaOS) on the README or browse [docs-internal/](docs-internal/).## Contribution Workflow@@ -13,7 +13,7 @@ See [SETUP.md](docs-internal/SETUP.md) for environment setup and [SCRIPTS.md](do## System Overview-[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/system-overview.svg)+[](https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/docs/diagrams/system-overview.svg)At a glance:@@ -26,7 +26,7 @@ At a glance:## How Workflows Execute-[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/execution-flow.svg)+[](https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/docs/diagrams/execution-flow.svg)[WorkflowService](server/services/workflow.py) is a thin facade that routes each run through one of three execution modes. Every run has an isolated `ExecutionContext` with no shared global state, orchestrated by Conductor's decide pattern (`_workflow_decide` under a Redis `SETNX` lock). Layers are computed via Kahn's algorithm and each layer runs via `asyncio.gather()`. Results are cached by input hash (Prefect pattern), failed nodes go to a Dead Letter Queue, and a `RecoverySweeper` handles crashes via heartbeats.@@ -34,7 +34,7 @@ Deep dives: [DESIGN.md](docs-internal/DESIGN.md) - [TEMPORAL_ARCHITECTURE.md](do## AI Agent System-[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/ai-agent-routing.svg)+[](https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/docs/diagrams/ai-agent-routing.svg)AI execution splits into two paths. `execute_chat()` for direct chat completions prefers the native SDK layer in [services/llm/](server/services/llm/) (10 providers, lazy imports, normalized `LLMResponse`), falling back to LangChain for Groq and Cerebras. `execute_agent()` and `execute_chat_agent()` always use LangChain + LangGraph because tool-calling, state graphs, and the checkpointer have no native equivalent today. Team leads (`orchestrator_agent`, `ai_employee`) auto-inject `delegate_to_<type>` tools for every agent connected to their `input-teammates` handle. The Deep Agent variant uses [LangChain DeepAgents](https://github.com/langchain-ai/deepagents) with built-in filesystem tools, sub-agent delegation, and todo planning; the RLM Agent uses a REPL-based recursive language model pattern. Long-running activities (DeepAgent, browser automation) stay alive across Temporal's 2-minute heartbeat window via per-message `activity.heartbeat()` calls in the WebSocket read loop.@@ -59,7 +59,7 @@ Deep dives: [agent_architecture.md](docs-internal/agent_architecture.md) - [nati## How to Contribute Features-[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/node-anatomy.svg)+[](https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/docs/diagrams/node-anatomy.svg)The diagram above shows the full lifecycle of a workflow node from TypeScript definition to Python handler. Use these recipes as a starting point:diff --git a/README.md b/README.mdindex c27920e6..0c87d502 100644--- a/README.md+++ b/README.md@@ -3,7 +3,7 @@<a href="https://www.npmjs.com/package/machinaos" target="_blank"><img src="https://img.shields.io/npm/v/machinaos.svg" alt="npm version"></a><a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a><a href="https://discord.gg/c9pCJ7d8Ce" target="_blank"><img src="https://img.shields.io/discord/1455977012308086895?logo=discord&logoColor=white&label=Discord" alt="Discord"></a>-<a href="https://deepwiki.com/trohitg/MachinaOS" target="_blank"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>+<a href="https://deepwiki.com/zeenie-ai/MachinaOS" target="_blank"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>Your own AI assistant that does real work. Drag, drop, and connect AI agents to your email, calendar, messages, phone, and 50+ other services. Runs on your own machine — your data stays with you.@@ -25,7 +25,7 @@ Open http://localhost:3000 and click **Credentials** to connect your first AI pr```bashnpm install -g pnpm-git clone https://github.com/trohitg/MachinaOS.git+git clone https://github.com/zeenie-ai/MachinaOS.gitcd MachinaOSpnpm installpnpm run dev@@ -45,13 +45,13 @@ https://github.com/user-attachments/assets/5798fe61-8d26-4d3a-90aa-189bf4eec79f## How It Works-[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/how-it-works.svg)+[](https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/docs/diagrams/how-it-works.svg)Pick nodes from the palette, drag them onto a canvas, connect them with lines, give your AI agent some memory and skills, and hit Play. Or **deploy** the workflow so it runs forever in the background — waiting for emails, responding to messages, checking in on a schedule, doing the work you'd rather not.## Three Workflows You Get on Day One-[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/default-workflows.svg)+[](https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/docs/diagrams/default-workflows.svg)The first time you open MachinaOS, three example workflows load automatically. Open them on the canvas to see exactly how the pieces fit together, then edit any node and save your own version.@@ -179,7 +179,7 @@ Want to add a node, LLM provider, skill, or integration? One Python file = one n- **[docs-internal/](docs-internal/)** — deep-dive architecture docs (execution engine, Temporal, LLM layer, credentials, event system, performance, build pipeline)- **[CLAUDE.md](CLAUDE.md)** — comprehensive project memory (great for AI-assisted contributions)- **Hosted docs:** https://docs.zeenie.xyz/-- **DeepWiki:** https://deepwiki.com/trohitg/MachinaOS+- **DeepWiki:** https://deepwiki.com/zeenie-ai/MachinaOS## Communitydiff --git a/docs-internal/SETUP.md b/docs-internal/SETUP.mdindex 034c7aa4..e40b1f1f 100644--- a/docs-internal/SETUP.md+++ b/docs-internal/SETUP.md@@ -32,7 +32,7 @@ Open http://localhost:3000**Prerequisites:** Node.js 22+, Python 3.12+, uv,```bash-git clone https://github.com/trohitg/MachinaOS.git+git clone https://github.com/zeenie-ai/MachinaOS.gitcd MachinaOSnpm run buildnpm run start@@ -41,7 +41,7 @@ npm run start### Docker```bash-git clone https://github.com/trohitg/MachinaOS.git+git clone https://github.com/zeenie-ai/MachinaOS.gitcd MachinaOSnpm run docker:up```diff --git a/docs-internal/ci_cd.md b/docs-internal/ci_cd.mdindex bae952d6..a20dcd18 100644--- a/docs-internal/ci_cd.md+++ b/docs-internal/ci_cd.md@@ -22,7 +22,7 @@ Internal reference for the GitHub Actions CI/CD pipeline. Covers all workflows,| +-- predeploy --+ +--------------------+| || +-- publish-npm ---------> npmjs.org (machina)- | +-- publish-github-pkgs -> GitHub Packages (@trohitg/machina)+ | +-- publish-github-pkgs -> GitHub Packages (@zeenie-ai/machina)+------------------+push to docs-MachinaOs/ +------------------+@@ -239,14 +239,14 @@ Uses `NODE_AUTH_TOKEN` from `secrets.NPM_TOKEN`. Registry URL: `https://registry### Job: publish-github-packages-Publishes the scoped `@trohitg/machina` package to GitHub Packages.+Publishes the scoped `@zeenie-ai/machina` package to GitHub Packages.Requires `packages: write` permission. Before publishing, an inline Node.js script rewrites `package.json`:```javascript// Executed at build time to scope the package name:const pkg = require('./package.json');-pkg.name = '@trohitg/machina';+pkg.name = '@zeenie-ai/machina';pkg.publishConfig = { registry: 'https://npm.pkg.github.com' };require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));```@@ -312,7 +312,7 @@ Uses `MINTLIFY_TOKEN` secret for authentication.- **`fail-fast: false` in test-install**: All 6 OS/Node combinations run to completion, giving visibility into platform-specific failures even when one platform fails.- **Docker layer caching via GHA**: `cache-from: type=gha` reuses layers across runs, reducing Docker build times.- **Scoped `docker-build.yml`**: Prevents full Docker rebuild on every PR -- only triggers when Dockerfile or compose files change.-- **Dual npm publish**: Unscoped `machina` for public npm, scoped `@trohitg/machina` for GitHub Packages. The scoped name is rewritten at publish time, not in source.+- **Dual npm publish**: Unscoped `machina` for public npm, scoped `@zeenie-ai/machina` for GitHub Packages. The scoped name is rewritten at publish time, not in source.---diff --git a/install.ps1 b/install.ps1index cb8f9985..42bdbc7f 100644--- a/install.ps1+++ b/install.ps1@@ -1,5 +1,5 @@# MachinaOS Installer for Windows-# Usage: iwr -useb https://raw.githubusercontent.com/trohitg/MachinaOS/main/install.ps1 | iex+# Usage: iwr -useb https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/install.ps1 | iex## This script installs MachinaOS and its dependencies:# - Node.js 22+ (via winget/choco)diff --git a/install.sh b/install.shindex f2ec71c3..d0853dd2 100755--- a/install.sh+++ b/install.sh@@ -1,6 +1,6 @@#!/usr/bin/env bash# MachinaOS Installer-# Usage: curl -fsSL https://raw.githubusercontent.com/trohitg/MachinaOS/main/install.sh | bash+# Usage: curl -fsSL https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/install.sh | bash## This script installs MachinaOS and its dependencies:# - Node.js 22+ (via brew/apt/dnf/pacman)diff --git a/package.json b/package.jsonindex 3d1be369..b0683196 100644--- a/package.json+++ b/package.json@@ -18,13 +18,13 @@],"author": "Rohit G <[email protected]>","license": "MIT",- "homepage": "https://github.com/trohitg/MachinaOS#readme",+ "homepage": "https://github.com/zeenie-ai/MachinaOS#readme","repository": {"type": "git",- "url": "git+https://github.com/trohitg/MachinaOS.git"+ "url": "git+https://github.com/zeenie-ai/MachinaOS.git"},"bugs": {- "url": "https://github.com/trohitg/MachinaOS/issues"+ "url": "https://github.com/zeenie-ai/MachinaOS/issues"},"bin": {"machina": "./bin/cli.js"diff --git a/uninstall.sh b/uninstall.shindex deefc09b..812fd5a3 100644--- a/uninstall.sh+++ b/uninstall.sh@@ -1,7 +1,7 @@#!/usr/bin/env bash# MachinaOS Uninstaller#-# Usage: curl -fsSL https://raw.githubusercontent.com/trohitg/MachinaOS/main/uninstall.sh | bash+# Usage: curl -fsSL https://raw.githubusercontent.com/zeenie-ai/MachinaOS/main/uninstall.sh | bashset -e