# LIA — Multi-Agent Conversational AI Assistant > LIA (Learning Intelligent Assistant) is an open-source, multi-agent conversational AI platform > that orchestrates 39 specialized AI agents to manage daily productivity — emails, calendar, > contacts, files, tasks, smart home and more — with systematic human validation (HITL) of every > sensitive action. Nearly 100% of its code was written by an AI under human direction; the method > and a measured 7.9/10 technical audit (open findings published) are documented at /story. ## Key Features - **39 specialized AI agents**: emails, calendar, contacts, files, tasks, weather, web search, Wikipedia, places, routes, reminders, health metrics, browser automation, smart home (Philips Hue), and more — 356 native tools - **Several discussions**: a permanent Main discussion plus the side discussions you create for a subject, each with its own history, draft and cost, searched together and exported as Markdown; a message written while LIA answers waits its turn, or joins the answer in progress - **7 LLM providers**: OpenAI, Anthropic, Google Gemini, DeepSeek, Qwen, Perplexity, Ollama (local models) — per-node model selection, cost comparison, no vendor lock-in - **Two execution modes**: a deterministic Pipeline (plan → validate → approve → parallel execution, 4–8× fewer tokens) and an autonomous ReAct loop — user-switchable per conversation - **Human-in-the-Loop (HITL)**: approval flows ensuring no sensitive action happens without user consent; pending approvals survive restarts - **Weather alerts**: thresholds you choose and the authorities' warnings for your places, checked without any model and sent within the hours you accept - **Today briefing**: personalized home dashboard — synthesis, weather, agenda, birthdays, reminders, health, unread emails - **Psyche Engine**: dynamic emotional state — 14 moods, 22 emotions, Big Five personality traits, a relationship that deepens over time ("show, don't tell") - **Personal journals**: stratified introspection (observations → directives → patterns → portrait) with deferred self-evaluation and a compiled user-model portrait - **Connected services**: Google, Apple iCloud, and Microsoft 365 (email, calendar, contacts, tasks, files on Google Drive or OneDrive) — one active provider per category, interchangeable; a listed e-mail says whether you already answered it, and drafts follow your own writing style, learned from sent e-mails only when you request it, without retaining their facts - **Tools workspace**: mail, calendar, tasks, contacts, files and Hue lights used directly on every provider: by hand with no model call and no assistant-register entry, or one click asking LIA for a proposal to review, its cost shown - **Voice mode**: the wake word is detected 100% locally in the browser (a trained ONNX model per interface language) and speech is transcribed on your own server (sherpa-onnx offline Whisper, 99+ languages); TTS via Edge (free), OpenAI, ElevenLabs, Gemini or Fish Audio; live voice sessions on your own provider key - **Knowledge Spaces (RAG)**: upload documents in 20+ formats or sync Google Drive or OneDrive folders — hybrid semantic + keyword search with per-query cost transparency - **Document generation**: Word, Excel, PowerPoint, PDF, CSV and Markdown files produced by local renderers — spreadsheets with live formulas and native charts, presentations with key figures, reports with cited sources, optional illustrations counted in your costs - **Writing**: text, Markdown and Word documents in a workshop of their own, where LIA's proposals arrive as tracked changes you accept, modify or dismiss, each request's cost shown - **Media**: your country's TV guide and the films in cinemas, in your language, with a watchlist LIA tells you about when one of its films airs - **Personal growth**: a rehearsal theatre, a language quarter with a spaced-repetition notebook, and a focus timer you can share with connected peers — private sessions that feed no memory or journal - **AI image generation & editing**: text-to-image and photo editing with cost tracking - **Web search**: Brave or Perplexity on your own key, Wikipedia, and — where the operator runs the bundled SearXNG service — web links for accounts with no search key - **Interactive outputs**: MCP Apps widgets, Excalidraw diagram generation, rich skills rendering maps/dashboards/mini-apps in chat, games, quizzes and calculators LIA writes and runs in a sandboxed frame, LaTeX math rendering - **Browser automation**: autonomous web navigation via Playwright with progressive screenshot streaming - **Extensible via MCP**: per-user MCP servers (OAuth 2.1, SSRF protection), a gallery of known vendor-hosted servers ready to add, and an iterative ReAct mode for complex APIs - **Skills system (agentskills.io)**: create custom expert skills in natural language, import from the marketplace, rich HTML/image outputs - **Sub-agents**: delegate complex research to specialized ephemeral experts working in parallel - **Automatic mode**: request-by-request selection between Pipeline and ReAct for planned work, alongside explicit modes; the executed engine is shown where an engine ran - **Proactive intelligence**: heartbeat notifications (weather changes, meetings, tasks), personal discussions LIA may open when you allow it (your hours, sources and topics), interest tracking, reminders, and routines started by a schedule, by a condition (a mail, a weather change, a public web page that changes) or by another system's signed call - **Daily companions**: a workboard of tickets LIA can hold, meeting recording with structured minutes, a personal radio in your language, phone calls placed by LIA on your own telephony account - **Multi-channel**: web app (installable PWA), Telegram (files, voice, waiting messages and inline confirmations), push and optional ntfy notifications - **Health metrics and SMS**: heart rate and steps from any source, the SMS your iPhone relays into a private encrypted archive, and the ones LIA sends through it once you confirm (iPhone Shortcuts documented), period charts, opt-in assistant access for each - **Usage quotas**: per-user token/message/cost limits with 5-layer enforcement and real-time gauges - **14 personalities**: from Professor to Cynic — each user gets their own assistant persona and emotional relationship - **6 UI languages**: French, English, German, Spanish, Italian, Chinese — parity enforced in CI - **Cost transparency**: every message shows its token count and cost in euros; per-user CSV exports ## Architecture - **Backend**: Python 3.14 / FastAPI with Domain-Driven Design (63 bounded contexts) - **Frontend**: Next.js 16 / React 19 / TypeScript strict / TailwindCSS - **Orchestration**: LangGraph 1.x state machine — conditional routing, parallel execution waves, PostgreSQL checkpointing - **Database**: PostgreSQL 16 + pgvector (state, vectors) + Redis (cache, rate limiting, sessions) - **Observability**: 705 Prometheus metrics, 33 Grafana dashboards, Loki logs, Tempo traces, Langfuse LLM tracing - **Security**: OAuth 2.1 with PKCE, BFF pattern (HTTP-only cookies), Fernet encryption, PII filtering, GDPR compliant - **Engineering**: 99,000+ automated tests, 399 Architecture Decision Records, 299 releases, 360° technical audit (7.9/10 across 24 areas, security assessed separately) - **Self-hosting**: multi-arch Docker images (amd64/arm64) — runs in production on a Raspberry Pi 5 ## How It Works 1. **Ask naturally** — text, voice, or attachments, in any language 2. **LIA plans** — the orchestrator analyzes, identifies the tools it needs, builds an execution plan 3. **You approve** — before any sensitive action, LIA shows a preview and waits for consent 4. **LIA executes** — independent steps run in parallel and deliver real-time results via SSE ## Use Case Examples - "Find the 3 best cafés near me that are open now and give me walking directions" - "Send an email to my wife and son to explain I'll be 30 minutes late, use a humorous tone" - "What time should I leave to arrive at Bastille by 9pm via public transit?" - "Create a reminder the day before at 7pm for each of my appointments this week" - "Which day this week is best for an outdoor walk, and suggest 3 nearby places with a nice café" ## Links - [Landing Page](https://lia.jeyswork.com) - [Story — how LIA was built by an AI under human direction](https://lia.jeyswork.com/story) - [Blog](https://lia.jeyswork.com/blog) — 29 technical articles about architecture, integrations, features, security, and engineering - [FAQ](https://lia.jeyswork.com/faq) - [Changelog — the full release history, version by version](https://lia.jeyswork.com/changelog) - [Maps — what LIA does, how it is built and the history of its design decisions](https://lia.jeyswork.com/maps) - [More — the small UX attentions that make daily use pleasant](https://lia.jeyswork.com/more) - [Live demo animation](https://lia.jeyswork.com/demo) - [Technical deep dive](https://lia.jeyswork.com/how) - [Philosophy](https://lia.jeyswork.com/why) - [GitHub](https://github.com/jgouviergmail/LIA-Assistant)