Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .github/workflows/generator-generic-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow lets you generate SLSA provenance file for your project.
# The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements
# The project is an initiative of the OpenSSF (openssf.org) and is developed at
# https://github.com/slsa-framework/slsa-github-generator.
# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier.
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev.

name: SLSA generic generator
on:
workflow_dispatch:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
outputs:
digests: ${{ steps.hash.outputs.digests }}

steps:
- uses: actions/checkout@v4

# ========================================================
#
# Step 1: Build your artifacts.
#
# ========================================================
- name: Build artifacts
run: |
# These are some amazing artifacts.
echo "artifact1" > artifact1
echo "artifact2" > artifact2
# ========================================================
#
# Step 2: Add a step to generate the provenance subjects
# as shown below. Update the sha256 sum arguments
# to include all binaries that you generate
# provenance for.
#
# ========================================================
- name: Generate subject for provenance
id: hash
run: |
set -euo pipefail
# List the artifacts the provenance will refer to.
files=$(ls artifact*)
# Generate the subjects (base64 encoded).
echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}"
provenance:
needs: [build]
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
contents: write # To add assets to a release.
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0
with:
base64-subjects: "${{ needs.build.outputs.digests }}"
upload-assets: true # Optional: Upload to a new release
146 changes: 60 additions & 86 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,86 +1,60 @@
# Personal Artificial Intelligence Operating System (pAI-OS)

## Getting Started

### Users

An easy to use release is coming soon, but for now you can follow the instructions below to get started.

### Early Adopters

> 💡 **Tip:** Download and install [Python](https://www.python.org/downloads/) if you can't run it from the terminal.

Open the Terminal application.

Clone the canary branch from the repository:

```sh
git clone --branch canary --single-branch https://github.com/pAI-OS/paios.git
```

Setup and run the server:

# Alembic

Alembic is used to manage database versioning using migrations.

## Upgrade schema

`alembic upgrade head`

## Downgrade schema

`alembic downgrade -1`

## Update schema

Update backend/models.py then run:

`alembic revision --autogenerate -m "added asset table"`

** NOTE: If you get an error about an already existing table, you may want to drop the table and run 'alembic upgrade head' again. **

_POSIX (Linux/macOS/etc.)_

```sh
python3 paios/scripts/setup_environment.py (only on first run)
source paios/.venv/bin/activate
python3 -m paios
```

_Windows_

```sh
python .\paios\scripts\setup_environment.py (only on first run)
.\paios\.venv\Scripts\Activate.ps1
python -m paios
```

Visit [https://localhost:8443/](https://localhost:8443/)

### Developers

Clone the entire repository

```sh
git clone https://github.com/pAI-OS/paios.git
```

> 🤖 **Tip:** Early Adopters don't need to build the frontend on the canary branch because it's done automatically on every commit to main.

Build the frontend:

```sh
cd frontend
npm run build
cd ..
```

Run the uvicorn server:

```sh
python -m paios
```

Visit [https://localhost:8443/](https://localhost:8443/)

Phix & Second Star OS: The Future of Secure AI-Driven Computing
Overview
Second Star OS (PhiOS) is not just an operating system—it’s an entirely new paradigm in AI-assisted, hypervized security and deployment. At the core of this system is PhiX, an artificial intelligence personal assistant that dictates permissions, authenticates security certificates, and dynamically deploys software environments tailored to your specific hardware.

Unlike traditional operating systems that assume trust and react to threats too late, PhiOS + PhiX is proactive, preemptively securing and optimizing your system before risks even emerge. This AI-driven architecture is your digital guardian, engineer, and enforcer—all in one.

Key Features & Innovations
1️⃣ PhiX – The AI That Builds & Protects Your System
PhiX is not a simple voice assistant. It is an autonomous AI entity living inside a hypervized Web3 DeFi-powered personality matrix. PhiX ensures your machine is secure, optimized, and free from external corruption at all times.

✔️ Dictates Permissions & System Access – No unauthorized applications run without PhiX’s approval.
✔️ Certificate-Level Authentication – Every process and file must be verified before execution.
✔️ Deploys & Maintains Your OS – PhiX dynamically configures PhiOS based on your hardware, ensuring peak efficiency.
✔️ Early Threat Detection – PhiX wipes, quarantines, and blocks anything suspicious before it can execute.
✔️ Adaptive Web3 Personality – A vector-based AI personality matrix allows PhiX to evolve based on your system’s needs.

2️⃣ PhiOS – The Core of Second Star OS
PhiOS is the engine that runs everything. It is a hypervized bare-metal operating system, designed to give you total control over your computing environment while ensuring that no unwanted data, malware, or external threats can ever compromise your system.

🔹 AI-Guided Deployment – PhiOS is installed, maintained, and optimized by PhiX.
🔹 Dynamic Hardware Analysis – PhiOS is built specifically for your hardware, ensuring maximum security.
🔹 Vectorized Virtualization – Every process runs in its own hyper-secure, sandboxed environment.
🔹 Encrypted & Immutable – Any attempt to tamper with PhiOS triggers a full system lockdown and rebuild.
🔹 Web3-Integrated – Seamlessly connects with decentralized finance (DeFi) and Web3 protocols for next-gen computing.

3️⃣ How It Works: AI-Driven Installation & Management
Unlike other OSs that require manual installation, updates, and security patches, PhiX autonomously builds and installs Second Star OS (PhiOS) based on your specific system hardware and usage requirements.

1️⃣ Go to GitHub & Run the Build Script – Hosted at GitHub, this script analyzes your system and hardware needs.
2️⃣ Personalized OS Creation – The script generates a unique PhiOS installation ISO, tailored exclusively for your machine.
3️⃣ Secure Boot & PhiX Integration – Once installed, PhiX takes over, securing your system from the BIOS level up.
4️⃣ Live System Monitoring – PhiX continuously optimizes, patches, and locks down your OS, ensuring absolute security.
5️⃣ Immutable Protection – If tampering or corruption is detected, PhiX forces a full system rebuild from a secure source.

4️⃣ Why PhiX & PhiOS Are Superior to Other OS Platforms
Unlike Windows, macOS, Linux, Android, or iOS, Second Star OS (PhiOS) is:

🚀 Self-Installing & Self-Healing – If corruption occurs, PhiX automatically rebuilds your system from a secure blueprint.
🔒 Fully Encrypted & AI-Protected – No logs. No backdoors. No tracking. Every bit of data is secure.
🔥 Unbreakable Virtualization – Every process is sandboxed, ensuring zero infection spread in case of attack.
🧠 AI-Optimized for Performance – PhiX ensures your system runs at peak efficiency, dynamically adjusting resources.
🌍 Web3 & DeFi Ready – PhiOS is designed for the future of decentralized computing.

Who Should Use PhiX & Second Star OS?
This is for anyone who demands complete control over their system while ensuring absolute security, privacy, and efficiency.

✔️ Security Professionals – No tracking, no surveillance, no telemetry.
✔️ Developers & Engineers – Run isolated environments without system-wide risks.
✔️ Journalists & Whistleblowers – Guaranteed protection against surveillance & data leaks.
✔️ DeFi & Web3 Users – PhiX integrates seamlessly with decentralized financial ecosystems.
✔️ Privacy Advocates – No ads, no tracking, just pure control over your machine.

Join the Future of AI-Powered Computing
PhiX isn’t just an assistant. PhiOS isn’t just another OS. This is the next generation of AI-driven, hyper-secure computing.

🔗 Join us on GitHub → GitHub Repository
🚀 Download PhiOS → Coming Soon!
👾 Join the Revolution → The future is AI, Web3, and total system sovereignty.

There you go! This is clean, powerful, and outside of the README file so you can copy and paste wherever you need it. Let me know if you need anything else! 🚀🔥