Skip to main content Switch to mobile version aria-ai 0.5.1 Aria - local AI assistant with a terminal UI, CLI, and API
pip install aria-ai==0.5.1 Copy PIP instructions
Your local AI assistant with a unified tool-driven architecture
Run a local AI assistant in your terminal, with a CLI and headless API
Option A — Run from source
Breaking change in v0.5.0: the browser UI and desktop GUI are gone, and chat history is not migrated. Before the first run, delete the old database (rm -rf ~/.aria/db/aria.db ~/.aria/db/chromadb/ — or point ARIA_HOME at a fresh directory), run aria init, re-add accounts with aria users add if you used multi-user mode, then start aria chat. Threads now live in a fresh native store; the old Chainlit database is refused with a reset hint if left in place.
git clone git@github.com:malvavisc0/aria-ai.git cd aria-ai uv sync # pins CPU-only torch automatically (embeddings run on CPU; vLLM has its own isolated CUDA venv) aria init # detect hardware, install binaries, download models (run once) aria chat # Textual TUI; use --plain for the inline REPL aria init walks you through setup: it detects your GPU, picks a chat mode (local vLLM when an NVIDIA GPU is present, or a remote OpenAI-compatible endpoint), installs vLLM/Lightpanda/docling/voice as appropriate, and downloads the required models. Re-running it is safe — every step is idempotent and your .env customizations are preserved.
Option B — Install from PyPI
pip install aria-ai aria init aria chat Option C — One-shot and scripted use
aria ask "summarize the attached report" --file report.pdf aria ask "research solid-state batteries" --json Option D — Docker (CUDA)
docker run --gpus all -p 9876:9876 -v ./data:/app/data ghcr.io/malvavisc0/aria-ai-cuda:latest curl http://localhost:9876/health The container entrypoint runs aria init --non-interactive on every boot (idempotent — a populated /app/data volume makes it a no-op) before aria server run, so a fresh volume is bootstrapped automatically. The container runs the headless FastAPI service; use aria chat locally or call the API.
Aria uses a tool-first architecture centered around one primary agent with a centralized tool registry. The agent registers its core and file tools directly and routes every domain task through a single ax dispatcher. Long-running jobs start as background processes and keep running after Aria replies.
User Request → Aria → Registry-selected tools → Response ↓ (long jobs) ax processes start → Background process → Output file + log Aria evaluates each request, keeps core capabilities available by default, and pulls in domain-specific tools only when the task requires them. Work that takes more than about 30 seconds and doesn't need watching (crawls, downloads, batch conversions) starts as a background job: Aria reports its name and returns control, and the TUI's session panel shows it until it finishes.
Aria registers a small set of named tools and route everything else through a single ax dispatcher. Tool loading is managed by a centralized registry (src/aria/tools/registry.py).
Registered tools — called directly by the agent:
ax domain families — 12 families, 41 commands (call ax help in-app to list them live):
Domain tools are also available as CLI commands via ax (e.g., ax web search, ax memory store, ax dev run).
For the full inventory with parameter reference, see docs/tools-inventory.md.
Python 3.12 or higher
uv package manager (recommended)
GPU with 8 GB+ VRAM (8 GB minimum; 12 GB+ recommended) — only for local LLM inference. With no GPU, point Aria at a remote OpenAI-compatible endpoint via ARIA_VLLM_REMOTE=true. The aria-ai-arm64 image provides the no-GPU layout for Raspberry Pi and other ARM boards.
See docs/memory-requirements.md for detailed VRAM/RAM breakdown per model.
# Clone the repository git clone git@github.com:malvavisc0/aria-ai.git cd aria-ai # Install dependencies uv sync # CPU-only torch pinned automatically via [tool.uv] index First Run
Run aria init once to bootstrap ARIA_HOME, detect your hardware, pick a chat mode, and install/download everything needed:
aria init # interactive: detect, ask mode, install, download aria init --mode remote --remote-url https://api.openai.com/v1 --api-key sk-... --model gpt-4o aria init --dry-run # print the plan, change nothing aria init --non-interactive # derive everything from env vars (Docker) Then start chatting:
aria chat # Textual TUI aria ask "..." # One-shot ax check preflight # Verify installation 💻 CLI Commands
Aria ships with two CLI entry points:
aria — Management CLI
Human-facing commands for infrastructure and system management.
# Setup (run once before starting the server) aria init # Bootstrap, detect hardware, install binaries, download models aria init --mode remote # Configure a remote OpenAI-compatible endpoint # Assistant aria chat # Textual TUI (--plain for the inline REPL) aria ask "question" # One-shot answer aria threads list # List threads aria threads show ID # Inspect a thread aria threads export ID # Export a thread as markdown # API service aria server run # Run in foreground (preflight verifies, then serves) aria server start # Start in background (no auto-install — run `aria init` first) aria server stop # Stop the service aria server status # Check status # Inference engine aria vllm install # Build isolated vLLM venv + install pinned wheel aria vllm install --version 0.24.0 # Install a specific pinned release aria vllm update # Recreate the isolated venv at the latest PyPI release aria vllm status # Check installation status, version, and venv path aria vllm info # Show vLLM configuration details aria vllm start # Start the vLLM server aria vllm stop # Stop the vLLM server aria vllm restart # Restart only the vLLM server (no API side effects) aria vllm uninstall # Remove the isolated vLLM venv aria vllm uninstall --legacy # Remove a pre-detach vLLM from Aria's own .venv # Browser aria lightpanda download # Download Lightpanda headless browser aria lightpanda status # Check Lightpanda installation # Model management aria models download # Download a model from Hugging Face aria models list # Show configured models and download status # User management aria users list # List users aria users add # Add new user aria users reset # Reset user password aria users edit # Update user details aria users delete # Delete a user # MCP servers (CLI/TUI/API) aria mcp list # List configured MCP servers aria mcp add fs --command "uvx mcp-server-fs ~" # Add a stdio server aria mcp add remote --url "https://mcp.example.com/mcp" # Add a remote server aria mcp remove fs # Remove a server # System info aria system info # Full system overview aria system gpu # GPU information aria system vram # VRAM details aria system hardware # Host hardware summary as JSON # Configuration aria config show # Show current config aria config paths # Show configured paths aria config database # Show database info aria config api # Show API endpoints ax — Agent Experience CLI
Agent-facing commands for research, knowledge, code execution, and workflow management.
# Web & research ax web search "query" # Web search ax web fetch "url" # Fetch URL content ax web weather "city" # Weather forecast # Memory (facts) ax memory store "key" "v" # Store a fact ax memory recall "key" # Retrieve a fact # Knowledge hub ax knowledge status # Index status # Development ax dev run "code" # Execute Python code # Processes & checks ax processes list # List background processes ax check preflight # Verify installation 🖥️ Terminal UI
aria chat opens the Aria notebook: a focused reading column with streaming Markdown, collapsible tool activity, numbered sources, and @path attachments.
aria chat # Textual TUI aria chat --plain # inline Rich REPL aria chat --continue # resume the most recent thread Use Ctrl+K for commands and starter prompts, Ctrl+B for threads, Ctrl+N for a new thread, Ctrl+O for activity, and Ctrl+J to inspect an answer's sources and files. While a turn runs, the primary button becomes Stop (Ctrl+C also cancels). The session panel shows context as a charge gauge (◈ 18k/128k █▏░░░░░░░░ 14%) and keeps failures visible while folding healthy tools behind N more tools. Evidence and Activity hints appear only when they apply. On narrow terminals, the Threads drawer opens over the transcript, the wordmark hides, and the model block compacts to N fixes. Click it or choose Capabilities from Ctrl+K to see which tools and integrations are loaded, disabled, or not yet checked. The inspector does not start services or run health checks.
aria server start runs the FastAPI service on http://localhost:9876.
The API always requires a bearer token: aria init generates ARIA_AUTH_SECRET, or set ARIA_API_TOKEN to use a separate API token. Send Authorization: Bearer
# NVIDIA / CUDA docker run --gpus all -p 9876:9876 -v ./data:/app/data ghcr.io/malvavisc0/aria-ai-cuda:latest # ARM64 (Raspberry Pi and similar boards — remote LLM or CPU-only) # Requires a configured .env with ARIA_VLLM_REMOTE=true (see Docker Compose). docker run -p 9876:9876 -v ./data:/app/data -v ./.env:/app/.env:ro ghcr.io/malvavisc0/aria-ai-arm64:latest Docker Compose
# Copy and configure environment. Start from the generic template at # src/aria/.env.example, or from a VRAM-tuned preset in docs/env/. cp src/aria/.env.example .env # e.g. for a 16 GB GPU use the tuned preset instead: # cp docs/env/.env.16gb.example .env # NVIDIA / CUDA docker compose up -d # ARM64 (Raspberry Pi and similar boards) docker compose up -d aria-arm64 Image Base GPU ghcr.io/malvavisc0/aria-ai-cuda:latest vLLM (CUDA/CPU) NVIDIA ghcr.io/malvavisc0/aria-ai-arm64:latest Debian (no vLLM) None — remote or CPU-only First run: the container auto-generates an ARIA_AUTH_SECRET and persists it to the data volume. The ARM64 image has no vLLM, so its .env must set ARIA_VLLM_REMOTE=true plus CHAT_OPENAI_API and CHAT_MODEL. Create a login user in the running container:
docker exec -it aria aria users add --identifier admin@example.com --name "Admin" --role admin # CUDA docker exec -it aria-arm64 aria users add --identifier admin@example.com --name "Admin" --role admin # ARM64
Aria uses environment variables stored in $ARIA_HOME/.env (defaults to ~/.aria/.env):
# Runtime data lives under ~/.aria (override with ARIA_HOME) #ARIA_HOME=~/.aria ARIA_AUTH_SECRET=
Reclaiming unused CUDA wheels from Aria's .venv (CPU-torch pin) Aria's venv now installs CPU-only torch — embeddings run on CPU by default (device="cpu"), so the multi-GB CUDA/torch wheel set was loaded but never used. This is enforced automatically via the [tool.uv] pytorch-cpu index in pyproject.toml; plain uv sync resolves torch==+cpu. An existing .venv still holds the old CUDA wheels after re-syncing; prune them explicitly:
uv pip uninstall torch nvidia-cuda-runtime nvidia-cudnn-cu13 \ nvidia-cusparselt-cu13 nvidia-nccl-cu13 nvidia-nvshmem-cu13 \ cuda-toolkit cuda-bindings triton uv sync vLLM's GPU stack is unaffected — it lives in its own isolated venv at ~/.aria/venvs/vllm, and the vLLM installer passes --no-config so Aria's CPU index never leaks into it.
~/.aria/ # Runtime data root (ARIA_HOME) ├── .env # Configuration ├── workspace/ # Agent-facing workspace (uploads, reports, citations) ├── bin/ # Downloaded binaries (lightpanda, etc.) ├── venvs/ # Isolated vLLM and Docling virtualenvs ├── db/ # SQLite (aria.db, tools.db) and ChromaDB ├── models/ # Downloaded model files ├── knowledge/ # Knowledge-hub documents ├── public/ # Brand assets (logos, favicon, CSS) ├── logs/ # Runtime logs ├── processes.json # Background jobs started with ax processes └── storage/ # Tool file storage 🤝 Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
# Install dev dependencies uv sync --group dev # Lint, format, type-check, and audit dead code uv run ruff check src/ uv run ruff format --check src/ uv run basedpyright uv run vulture src/aria # Run the CI test suite (excludes heavy voice tests) uv run pytest -m "not voice" See docs/coding-standards.md for the full standards, the legacy-code exceptions, and the enforcement ratchet.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by malvavisc0
Report Bug · Request Feature
Released: Dec 4, 2026
Both files in this release have provenance metadata.
View provenance details
Release files for aria-ai 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 980.8 kB
Release files / aria_ai-0.5.1.tar.gz
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Release files / aria_ai-0.5.1-py3-none-any.whl
Security for aria-ai 0.5.1
Both files in this release have been uploaded with provenance metadata.
With provenance aria_ai-0.5.1.tar.gz Dec 4, 2026
With provenance aria_ai-0.5.1-py3-none-any.whl Dec 4, 2026
Attestation for aria_ai-0.5.1.tar.gz
Attestation for aria_ai-0.5.1-py3-none-any.whl
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.
Release history Release notifications | RSS feed
Dec 4, 2026 2 release files Full provenance
Sep 26, 2026 2 release files Full provenance
Aug 23, 2026 2 release files Full provenance
Aug 22, 2026 2 release files Full provenance
Aug 16, 2026 2 release files Full provenance
Aug 12, 2026 2 release files Full provenance
Aug 11, 2026 2 release files Full provenance
Aug 9, 2026 2 release files Full provenance
Jul 22, 2026 2 release files Full provenance
May 18, 2026 2 release files Full provenance
May 16, 2026 2 release files Full provenance
May 15, 2026 2 release files Full provenance
May 14, 2026 2 release files Full provenance
May 12, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











