About AIOS Monorepo
AIOS Monorepo contains the Electron desktop app and Python LangGraph backend for AIOS. It is for developers setting up or building the system, with instructions for running the two components locally and building the desktop app.
Key features
- 01Electron desktop frontend
- 02Python LangGraph backend
- 03Run frontend and backend locally
- 04Hot reload in development
- 05Build desktop app for multiple platforms
Use cases
- 01Develop the AIOS desktop interface
- 02Run a local LangGraph backend
- 03Test the desktop app with its backend API
- 04Build for Windows, macOS, or Linux
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEAIOS Monorepo
This repository contains the AIOS (Artificial Intelligence Operating System) project, split into a frontend desktop application and a backend LangGraph server.
Project Structure
/aios-desktop-app: Contains the Electron-based frontend application./aios-langgraph-server: Contains the Python-based LangGraph backend server.
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js (LTS version recommended) and npm: For the desktop application.
- Python (version 3.12.4 recommended) and pip: For the backend server.
- uv: A Python package manager.
Setup and Running
You'll need to set up and run each project in separate terminal sessions.
1. AIOS LangGraph Server (Backend)
The backend server provides the core AI functionalities and exposes them via an API, which the desktop application consumes.
Setup:
- Navigate to the backend directory:
cd aios-langgraph-server - Create your environment configuration file:
Copy
.env.exampleto a new file named.env.
Then, opencp .env.example .env.envand fill in the necessary environment-specific variables (e.g., API keys, database credentials). - Create and activate a Python virtual environment using
uv:uv venv # On macOS/Linux: source .venv/bin/activate # On Windows: .venv\Scripts\activate - Install the project dependencies using
uv(this will usepyproject.toml):uv sync
Running the Server:
- Ensure your
uvvirtual environment is activated. - Start the LangGraph server in development mode:
This command starts the server, typically without opening a browser window. Check the terminal output for the server address (usuallylanggraph dev --no-browserhttp://localhost:2024).
2. AIOS Desktop App (Frontend)
The frontend is an Electron application that provides the user interface for interacting with AIOS.
Setup:
- Navigate to the frontend directory:
cd aios-desktop-app - Create your environment configuration file:
Copy
.env.exampleto a new file named.env.
Then, opencp .env.example .env.envand fill in any necessary environment-specific variables for the desktop application. - Install Node.js dependencies:
Thenpm installpostinstallscript will automatically runelectron-builder install-app-depsto ensure all Electron-specific native dependencies are correctly set up.
Running the App (Development Mode):
- Start the development server:
This will launch the Electron application with hot-reloading enabled, allowing you to see changes live as you develop.npm run dev
Development Workflow
- Start the
aios-langgraph-serverfirst. - Then, start the
aios-desktop-app. - The desktop app should connect to the locally running backend server.
Building for Production
aios-desktop-app:
Refer to the scripts in aios-desktop-app/package.json for building the Electron app for different platforms (Windows, macOS, Linux):
cd aios-desktop-app
npm run build:win
npm run build:mac
npm run build:linux
aios-langgraph-server:
The LangGraph server is typically deployed as a Python web application. Deployment strategies can vary (e.g., Docker, serverless functions, traditional ASGI server hosting). The langgraph export command can be used to package the LangGraph application. Further details on deployment would depend on the chosen hosting environment.
This README provides the basic steps to get started. For more detailed information on specific components, refer to the documentation within each project's directory (if available) or consult their respective package.json and pyproject.toml files.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.