Self-hosted AI customer support with a shared human inbox. AiLoom answers from your support knowledge, shows its sources, and hands conversations to your team when a person is needed.
Get started · Browse the docs · Contribute
Play the 80-second tour · Browse each workflow
- Grounded support: index help pages, files, and text; test retrieval; inspect answer sources and traces.
- A complete support flow: embed a branded widget with citations, handoff, feedback, cards, carousels, quick replies, and bounded forms.
- A team inbox: route work with agent presence, capacity limits, and response or resolution targets.
- Operational visibility: review knowledge gaps, model use, cost, latency, prompt releases, and retrieval evaluations.
- Privacy controls: choose whether email, phone, payment-card, and credential values are redacted from new transcripts and before AI or tool requests.
- Self-hosted by design: run on PostgreSQL with pgvector and connect a supported hosted or local model provider.
Six separate, narrated tours cover the setup and the main customer, agent, and admin workflows. Each is about a minute long, uses the same voice, and includes English captions. Select a poster to play a video.
| Set up and integrate | Configure the customer experience |
|---|---|
![]() |
![]() |
| Play setup and integration | Play the widget walkthrough |
| Ground answers in knowledge | Bring a person into the conversation |
|---|---|
![]() |
![]() |
| Play the knowledge walkthrough | Play the handoff walkthrough |
| Keep tools inside admin limits | Measure and improve answer quality |
|---|---|
![]() |
![]() |
| Play the tools and privacy walkthrough | Play the answer quality walkthrough |
The demos use synthetic Northwind Outfitters data and a mock AI provider in a local workspace. The answer trace is seeded with retrieved evidence; no shared public sandbox is available.
These labeled screenshots show the controls and inbox details at a glance.
| Widget interactions | Routing and service targets |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
To run the seeded demo after starting the local development stack:
pnpm --filter @app/api fetch-model
pnpm --filter @app/api db:seedSign in at http://localhost:5173 with dev@example.com / devpassword. The seed is for a local development database only; do not use it in production.
The Docker Compose deployment uses Caddy, a NestJS API, a background worker, and PostgreSQL with pgvector. PostgreSQL also stores background jobs and powers live inbox updates, so a separate Redis or vector database is not required. See the architecture guide for the system and request-flow diagrams.
Admins can configure fixed HTTPS GET lookups or select one reviewed, read-only tool on a remote MCP server. Each tool has bounded inputs, an output-field allowlist, timeouts, and a per-answer call limit. The model cannot choose a destination or perform write actions. AiLoom is an outbound MCP client; it does not expose an MCP server. If a tool is unavailable, the assistant can continue with other evidence or follow the configured fallback behavior.
See Bot API tools for configuration, limits, and data handling.
Requirements: Docker Compose, Node.js 24, and pnpm 12.
git clone https://github.com/li4nee/ailoom.git
cd ailoom
cp .env.example .env
pnpm install --frozen-lockfile
pnpm secrets:generatePaste the generated secrets into .env. For local HTTP, set:
PUBLIC_URL=http://localhost:8080
HTTP_PORT=8080
POSTGRES_USER=ailoom
POSTGRES_PASSWORD=replace-with-a-long-url-safe-password
POSTGRES_DB=ailoomStart the stack:
docker compose -f deploy/docker-compose.yml --env-file .env up -d --build --waitOpen http://localhost:8080 and create an account. The first signup becomes the instance admin. Create a workspace, add a bot and model credential, index a knowledge source, then test a question in the bot playground. See self-hosting before exposing an instance to the internet.
pnpm install
cp .env.example .env
pnpm secrets:generate
docker compose -f deploy/docker-compose.dev.yml up -d
pnpm db:migrate
pnpm devSet PUBLIC_URL=http://localhost:3000 and DATABASE_URL=postgres://app:app@localhost:55432/app in .env. Start the worker in another terminal with pnpm --filter @app/api dev:worker. Fetch the local embedding model with pnpm --filter @app/api fetch-model before integration tests that use it. The dev stack includes Mailpit at http://localhost:8025.
| Command | Purpose |
|---|---|
pnpm lint |
Lint the workspace |
pnpm typecheck |
Type-check the workspace |
pnpm test |
Run unit and integration tests |
pnpm build |
Build packages and apps |
pnpm e2e |
Run browser end-to-end tests |
See Contributing for development and review guidelines.
- Install and operate: Getting started, self-hosting, configuration, backups, and upgrades.
- Build your support workflow: Widget, agent productivity, analytics, and knowledge freshness.
- Review AI behavior: Evaluation suite, answer verification, and tool calling.
- Understand trust and integrations: Data handling, security, providers, and integrations.
- Technical references: Architecture, system specification, and ADRs.
AiLoom is in public beta and remains on 0.x; APIs, configuration, and database schema may change between releases. AiLoom is self-hosted, not a managed service. Operators manage their infrastructure, access controls, backups, and model-provider terms. Read the upgrade notes before upgrading.
The API and admin app are AGPL-3.0-only. The widget and shared packages are MIT. Documentation is CC-BY-4.0. See LICENSING.md for details.
















