Skip to main content

aiaio

Project description

aiaio (AI-AI-O)

A lightweight, privacy-focused web UI for interacting with AI models. Supports both local and remote LLM deployments through OpenAI-compatible APIs.

Screenshot

Features

  • 🌓 Dark/Light mode support
  • 💾 Conversation history and management
  • 📁 File upload and processing
  • ⚙️ Configurable model settings
  • 🔒 Privacy-focused (all data stays local)
  • 📱 Responsive design for mobile/desktop
  • 🎨 Syntax highlighting for code
  • 📋 Code block copying

Requirements

  • Python 3.8+
  • An OpenAI-compatible API endpoint (local or remote)

Supported Frameworks

  • vLLM
  • TGI
  • OpenAI
  • Hugging Face
  • llama.cpp
  • any other custom openai-compatible api

Installation

pip install aiaio

Quick Start

  1. Start the server:
aiaio app --host 127.0.0.1 --port 5000
  1. Open your browser and navigate to http://127.0.0.1:5000

Configuration

Configure these settings through the UI or environment variables:

  • MODEL_NAME - LLM model to use (default: meta-llama/Llama-3.2-1B-Instruct)
  • API_HOST - API endpoint URL
  • API_KEY - Your API key (if required)
  • MAX_TOKENS - Maximum tokens per response (default: 4096)
  • TEMPERATURE - Response randomness (0-2, default: 1.0)
  • TOP_P - Nucleus sampling parameter (0-1, default: 0.95)

Development

# Clone the repository
git clone https://github.com/abhishekkrthakur/aiaio.git
cd aiaio

# Install in development mode
pip install -e .

# Run tests
pytest

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

Apache License - see LICENSE file for details

Acknowledgements

GitHub CoPilot. Most of the code was written by CoPilot. I just pressed the keys on the keyboard.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiaio-0.0.2.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiaio-0.0.2-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file aiaio-0.0.2.tar.gz.

File metadata

  • Download URL: aiaio-0.0.2.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for aiaio-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a2c7986a478d0c238df42526c3925005e44e5624af28e9a27d5575642d02b75c
MD5 0d262b700845189d23e945c5a9ac3283
BLAKE2b-256 5f5f5181a847ff2aeccacc344efd19a3bdf304f6c44d684028032506827655ff

See more details on using hashes here.

File details

Details for the file aiaio-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: aiaio-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for aiaio-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 062d5d94ec4bc118ba8faef1afbed501320928219d89365ad06b5dc292b07b9e
MD5 6d698efeca0ed0c5c4088aaf54a36342
BLAKE2b-256 66b84bc8c8a1cc3e1379fac5db29eb106580aaf45b9154f3049d6270632387e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page