Skip to main content

ILLI AI — Local Personal Assistant

A privacy-conscious, locally hosted personal assistant by Muhammad Farhan.

ILLI combines a web dashboard with a Python/Flask backend for personal productivity, system awareness, knowledge tools, and selected desktop actions.

Local-first · Python · Flask · JavaScript · OpenCV

Overview

ILLI is designed to run on your own computer. Its dashboard provides a single place to interact with supported assistant features while the Python backend handles local data and system integrations.

Capabilities

Area What is included
Dashboard Browser-based control panel and live status
Assistant chat Command and intent handling through the local backend
Productivity Tasks, habits, goals, notes, and focus timer
System monitor CPU, memory, disk, battery, and process information (when supported)
Vision Optional webcam-based face detection using OpenCV
Media Supported operating-system media controls
Personal memory Local JSON-backed preferences and notes
Islamic tools Prayer-time panel, reminders, and knowledge content
Knowledge Local PDF text extraction and searchable knowledge indexes

Feature availability: Some capabilities depend on your operating system, permissions, installed optional packages, camera hardware, and network availability. Prayer-time retrieval can use the AlAdhan online service; offline fallback times are placeholders and should not be treated as accurate prayer times.

Screenshots

No screenshots are included because verified application captures are not available in this repository.

Requirements

  • Windows, macOS, or Linux
  • Python 3.10, 3.11, or 3.12
  • pip
  • Optional: a working webcam for Vision
  • Optional: OS-specific media-control support

Quick start

Install from PyPI

python -m pip install illi-ai-professional
illi-ai

The illi-ai command starts ILLI and opens the local dashboard at http://127.0.0.1:5000.

To run directly as a Python module:

python -m illi_ai

Install from a source checkout

python -m pip install .
illi-ai

Windows

cd illi-ai-assistant
python -m venv .venv
.venv\Scripts\activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python app.py

Alternatively, run run_illi.bat from File Explorer or Command Prompt. It creates a virtual environment and installs the runtime dependencies if needed.

For PowerShell, activate the environment with:

.\.venv\Scripts\Activate.ps1

macOS / Linux

cd illi-ai-assistant
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python app.py

Tests

Run RUN_ALL_TESTS.bat on Windows. For a manual test run, install the test extra with python -m pip install -e ".[test]", then run python -m pytest -q.

Windows Desktop shortcut

After installing ILLI, run the following from the same Python environment:

illi-ai --setup-shortcut

This creates or repairs the ILLI AI shortcut on your Windows Desktop and uses the bundled ILLI icon. Remove only the shortcut with illi-ai --remove-shortcut. Reinstall or repair it with illi-ai --repair-shortcut.

Optional: repair OpenCV on Windows

If OpenCV fails to import, close applications using the camera and run:

python -m pip install --force-reinstall "numpy<2" "opencv-python>=4.8,<4.10"

Then restart ILLI.

Local data and privacy

  • Installed runtime data is stored in ~/.illi (on Windows, %USERPROFILE%\.illi); source-checkout data is stored in the project memory/ and data/ folders.
  • Personal chat history, health entries, notes, and uploaded documents are intentionally excluded from this public source package.
  • Do not commit personal records, API keys, credentials, private documents, or local environment folders.
  • The dashboard uses externally hosted font/icon assets when an internet connection is available.
  • The Flask server is configured to bind to 127.0.0.1; do not expose it to a public network without adding authentication and a security review.
  • pip uninstall illi-ai-professional leaves ILLI's user data untouched. Remove the Desktop shortcut separately before uninstalling if you no longer want it.

Project structure

illi-ai-assistant/
├── app.py                      # Source-checkout Flask entry point
├── main.py                     # Command-line overview
├── config/settings.json        # Default application settings
├── core/illi_core.py           # Core assistant
├── dashboard/                  # Dashboard assets for source checkout
├── modules/                    # Tasks, system monitoring, Islamic tools
├── memory/
│   ├── founder.json            # Public author profile
│   ├── knowledge/              # Built-in knowledge resources
│   └── training/               # Intent and FAQ dataset
├── scripts/                    # User-facing utility scripts
├── src/illi_ai/                # Installable package and bundled dashboard
├── tests/
├── pyproject.toml
└── requirements.txt

Training data

The included intent/FAQ dataset is a lightweight local intent and response resource, not a foundation-model fine-tune.

python scripts/train_illi.py

This regenerates the local training index. Review dataset contents and licensing before adding external material.

API

The Flask backend exposes local endpoints for dashboard data and supported actions. See the route definitions in app.py for the current implementation. The API is intended for local use and is not an authenticated public service.

Known limitations

  • ILLI is not a general-purpose, ChatGPT-equivalent language model.
  • Some commands rely on operating-system-specific integrations.
  • Webcam features require a compatible camera and user permission.
  • Prayer times require a configured city and a reliable source; fallback values are illustrative only.
  • No claim of guaranteed accuracy, uninterrupted operation, or production-grade security is made.
  • Desktop shortcut creation is Windows-only and uses Windows PowerShell; the dashboard itself is available cross-platform.
  • Shutdown and restart API requests are confirmation-gated but do not execute system power actions.

Contributing

Issues and pull requests are welcome. Please include:

  1. A clear description of the problem or proposed change.
  2. Steps to reproduce bugs.
  3. Operating system and Python version.
  4. Relevant logs with personal information and secrets removed.

Author

Muhammad Farhan


Built with a local-first mindset.

Metadata

Release files for illi-ai-professional 1.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for illi-ai-professional 1.2.6
File Size Uploaded Provenance Actions
illi_ai_professional-1.2.6.tar.gz 65.4 kB Without provenance Details for illi_ai_professional-1.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for illi-ai-professional 1.2.6
File Interpreter ABI Platform Actions
illi_ai_professional-1.2.6-py3-none-any.whl Python 3 none any Details for illi_ai_professional-1.2.6-py3-none-any.whl

Total release size: 126.7 kB

Release files / illi_ai_professional-1.2.6.tar.gz

Download URL illi_ai_professional-1.2.6.tar.gz
Size 65.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f328f41f513ec5efa9a95af6bf7401da0e7369df1de197235c1105f3e9e63f8a
BLAKE2b-256 checksum
How to use checksums
017f876fd98b6503fd52939bf9e02e37e2c078ffaa7e0689e76e6089b5668326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / illi_ai_professional-1.2.6-py3-none-any.whl

Download URL illi_ai_professional-1.2.6-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea8707618253d0e4d95737c341a27cff0f5a438de9f55e07ecece3f718fa0c15
BLAKE2b-256 checksum
How to use checksums
a374b16b4883283b559d6cff3600e04b3981e89cb53988ae7474cbc5a9f74f18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for illi-ai-professional 1.2.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page