# Zenki OS Framework

An anime-themed agentic OS framework with Dragon Ball Z easter eggs, built with Rust and Python services.

## Features

- **Zenki (Rust Service)**: High-performance system service with DBZ power levels, Saiyan transformations (Ssj1→Ssj5→Ssj-God→Ssj-Blue), and battle simulation
- **Pyki (Python Service)**: Zero-dependency Python server with strategic query processing
- **Zenki Microcell**: Flask-based unified widget with system tray integration
- **Zenki Boost**: Kernel-level performance profiles (extreme, balanced, powersave, gaming)
- **Level-up System**: XP, achievements, and power level tracking
- **Kizen Fusion**: Form fusion system combining multiple services
- **Kami's Lookout**: Peace mode and system meditation

## Saiyan Forms

- **Ssj1**: Base form (Zenki awakening)
- **Ssj2**: Enhanced processing
- **Ssj3**: Advanced capabilities
- **Ssj4**: Full power (current stable)
- **Ssj5**: Experimental
- **Ssj-God**: Divine mode
- **Ssj-Blue**: Super Saiyan Blue (ultimate)

## Installation

1. Install Rust: https://rustup.rs/
2. Install Python 3.12+ from https://python.org
3. Install Python dependencies:
   ```bash
   pip install -r requirements.txt
   ```

## Building

### Rust Service (Zenki)
```bash
cd "F:\Polyhedral Engine\Parakernel"
cargo build --release --target x86_64-pc-windows-msvc
```

### Running Services

1. Start Rust service:
   ```bash
   .\target\x86_64-pc-windows-msvc\release\ohio.exe service --port 3030
   ```

2. Start Python service:
   ```bash
   python zenki_server.py
   ```

3. Start Microcell widget:
   ```bash
   start_microcell.bat
   ```

## API Endpoints

### Zenki (Rust) - Port 3030
- `GET /v1/power-level` - Get current power level
- `POST /v1/kamehameha` - Fire Kamehameha attack
- `POST /v1/level-up` - Gain XP and level up
- `GET /v1/kamis-lookout` - Enter peace mode
- `POST /v1/strategic-query` - Process strategic queries
- `POST /v1/form-kizen` - Initiate Kizen fusion

### Pyki (Python) - Port 3031
- `GET /v1/power-level` - Get current power level
- `POST /v1/kamehameha` - Fire Kamehameha attack
- `POST /v1/level-up` - Gain XP and level up

### Zenki Microcell - Port 8080
- `GET /` - Web widget interface
- `GET /api/status` - Check service status
- `POST /api/kamehameha` - Fire Kamehameha
- `POST /api/level-up` - Level up
- `GET /api/lookout` - Visit Kami's Lookout

## Project Structure

```
F:\Polyhedral Engine\Parakernel\
├── crates/
│   ├── ohio_kernel_services/     # Rust service
│   └── ohio_kernel_runtime_linux/# Zenki Boost profiles
├── zenki_server.py               # Python zero-dependency server
├── zenki_microcell.py            # Flask microcell widget
├── zenki_simple_gui.py           # Tkinter GUI
├── zenki_boost.rs               # Kernel boost profiles
├── start_services.bat            # Launch script
└── requirements.txt              # Python dependencies
```

## DBZ Characters

- **Zenki** - Main protagonist (Saiyan)
- **Pyki** - Python companion
- **Vegeta** - Microsoft (big brother figure)
- **Goku** - Copilot (sparring partner)
- **Broly** - Rival system
- **Kizen** - Fusion of Broki + Zenly
- **Kami** - Guardian of the system

## Accessibility

This project is designed to be accessible to users with disabilities:
- Simple tkinter GUI option
- High-contrast color schemes
- Keyboard navigation support
- Screen reader friendly

## License

This project is open-source. See individual component licenses for details.

## Contributing

Contributions welcome! Please maintain the DBZ theme and accessibility focus.
