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

aiaio works with any OpenAI-compatible API endpoint, including:
For example, you can serve llama 8b using vLLM using:
vllm serve Meta-Llama-3.1-8B-Instruct.Q4_K_M.gguf --tokenizer meta-llama/Llama-3.1-8B-Instruct --max_model_len 125000
and once the api is running, you can access it using aiaio ui.
pip install aiaio
git clone https://github.com/abhishekkrthakur/aiaio.git
cd aiaio
pip install -e .
aiaio app --host 127.0.0.1 --port 5000
Open your browser and navigate to http://127.0.0.1:5000
Configure your API endpoint and model settings in the UI
docker build -t aiaio .
docker run --network host \
-v /path/to/data:/data \
aiaio
The /data volume mount is optional but recommended for persistent storage of the SQLite database and uploaded files.
All model and API settings can be configured through the UI:
These settings are stored in the local SQLite database and persist between sessions.
aiaio supports uploading and processing various file types, depending on the model's capabilities:
Uploaded files are stored temporarily and can be referenced in conversations.
aiaio uses SQLite for storage with the following main tables:
conversations: Stores chat histories and summariesmessages: Stores individual messages within conversationsattachments: Stores file attachment metadatasettings: Stores UI and model configurationEach conversation can have its own system prompt that guides the AI's behavior. Click the "System Prompt" section above the chat to customize it.
Ctrl/Cmd + Enter: Send messageEsc: Clear inputCtrl/Cmd + K: Focus chat inputCtrl/Cmd + /: Toggle settings sidebar# Clone the repository
git clone https://github.com/abhishekkrthakur/aiaio.git
cd aiaio
# Create a virtual environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run with auto-reload for development
uvicorn aiaio.app.app:app --reload --port 5000
Contributions are welcome! Please:
pytest)Apache License 2.0 - see LICENSE file for details
This project was primarily written with GitHub Copilot's assistance. While the human guided the development, Copilot generated much of the actual code.
$ claude mcp add aiaio \
-- python -m otcore.mcp_server <graph>