--- title: AI Operating System emoji: 🚀 colorFrom: indigo colorTo: purple sdk: gradio sdk_version: 5.32.1 app_file: app.py pinned: true license: mit short_description: AI Controlled Device thumbnail: >- https://cdn-uploads.huggingface.co/production/uploads/67c714e90b99a2332e310979/1i4hMS8LTQKsgHV60VBKd.png --- # AI Operating System Welcome to the AI Operating System (AI-OS) project! This system is envisioned as an “AI Controlled Device” that showcases how advanced AI techniques and natural language interfaces can unify device control, all within a user-friendly Gradio application. --- ## Table of Contents - [Overview](#overview) - [Key Features](#key-features) - [How It Works](#how-it-works) - [Getting Started](#getting-started) - [Usage](#usage) - [Contributing](#contributing) - [License](#license) --- ## Overview AI Operating System (AI-OS) integrates a variety of AI-based modules to demonstrate the possibilities of a conversational operating system. Powered by the [Gradio SDK](https://gradio.app/), AI-OS provides an interactive UI, allowing you to experiment with and control AI-driven features right in your browser. --- ## Key Features - ▶︎ Intuitive Natural Language Interface: Give commands or ask questions in plain English. - ▶︎ Device Control Simulation: Showcases how AI could manage or automate device tasks. - ▶︎ Gradio-Powered GUI: A clean and simple interface for immediate AI interactions. - ▶︎ Extensible Architecture: Designed to be extended with new AI or device-control modules. --- ## How It Works At its core, AI-OS uses: 1. A language model to understand intents and generate responses. 2. A Gradio frontend to capture user input and display results in real time. 3. Modular back-end logic that can be adapted to different AI or hardware integrations. When you input a query (e.g., “Turn on the virtual light” or “Give me the current forecast”), AI-OS processes your request and generates a response, simulating how a real operating system might manage devices or provide answers. --- ## Getting Started 1. Clone or download this repository. 2. (Optional) Create and activate a Python virtual environment: └─ If using venv: ``` python3 -m venv venv source venv/bin/activate ``` 3. Install dependencies (including Gradio 5.32.1 or later): ``` pip install -r requirements.txt ``` 4. Run the application: ``` python app.py ``` 5. Visit the local URL that appears in your terminal to interact with AI-OS! If you’d like to explore it online, you can head to the project’s Hugging Face Space: [AI-Operating-System on Hugging Face Spaces](https://huggingface.co/spaces/Agents-MCP-Hackathon/AI-Operating-System) --- ## Usage Simply enter natural language commands or questions in the Gradio interface. The system will interpret your requests and respond accordingly, simulating a broad range of device or assistant capabilities. Try: - “Play some music.” - “What’s the weather like?” - “Dim the lights to 50%.” Feel free to adapt the code to connect real-world APIs or device drivers! --- ## Contributing Contributions are welcome! If you find issues or want to add features: 1. Fork this repo. 2. Create a feature branch: ``` git checkout -b feature/your-feature ``` 3. Commit your changes and push: ``` git commit -m "Add awesome feature" git push origin feature/your-feature ``` 4. Open a pull request describing your changes. --- ## License This project is licensed under the MIT License. See the [LICENSE](https://opensource.org/licenses/MIT) file for full details. --- Thank you for checking out AI Operating System! Feel free to open an issue or pull request with questions, suggestions, or improvements. [Source on Hugging Face Spaces](https://huggingface.co/spaces/Agents-MCP-Hackathon/AI-Operating-System)