fusterai
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 23 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Open-source, self-hosted AI helpdesk and ticketing system. Shared inbox, live chat, WhatsApp, customer portal and AI reply drafts from your knowledge base. Zendesk, Freshdesk and Help Scout alternative. Laravel + React.
FusterAI — Open-Source, Self-Hosted AI Helpdesk
FusterAI is a free, open-source helpdesk and ticketing system with AI built in. Shared inboxes, live chat, WhatsApp, a customer portal, and AI reply drafts grounded in your own knowledge base — all self-hosted on your infrastructure. A self-hosted alternative to Zendesk, Freshdesk, Help Scout and Intercom, with no per-seat pricing.
Contents: Why FusterAI · Features · Quick start · First steps · AI · Channels · Modules · FAQ · Docs · Contributing
Why FusterAI
- AI in the core, not a paid add-on. Every new ticket gets an AI reply draft (using your knowledge base), automatic tags and priority, and a one-click summary.
- Your data stays on your servers. Conversations, attachments and knowledge base documents live in your own PostgreSQL database and storage. The only outbound calls go to the AI provider you configure — point it at a local Ollama model and nothing leaves your network.
- Works with AI agents. A built-in MCP server lets Claude Desktop, Cursor or your own agents read and update tickets.
- No per-seat pricing. MIT-licensed. Unlimited agents, mailboxes and conversations.
- Modern stack. Laravel 12, React 19, Inertia, Tailwind v4, real-time updates over WebSockets.
Features
Shared inbox
- Multiple email mailboxes (IMAP in, SMTP out) with signatures and auto-replies
- Assign, tag, prioritise, snooze, merge, star, and bulk-edit conversations
- Rich-text replies, canned responses (
/shortcut), internal notes and @mentions - Send Later (scheduled replies), email open tracking, office hours with out-of-hours auto-reply
- Collision detection ("X is viewing"), typing indicators, sound and tab-title alerts
- Custom views, full-text search, spam blocking, keyboard shortcuts
AI
- Reply drafts streamed live into the conversation, grounded in your knowledge base (RAG with pgvector)
- Auto-categorisation (tags + priority) and conversation summaries
- Knowledge base from documents or imported URLs
- Anthropic Claude, OpenAI, or any OpenAI-compatible API (Ollama, OpenRouter, LM Studio)
- MCP server for external AI agents
Channels
- Email, embeddable live chat widget, WhatsApp Business (Cloud API), REST API, inbound webhooks
- Customer self-service portal with passwordless (magic link) login
Team & operations
- Roles (agent, manager, admin, super admin) and per-mailbox access
- Automation rules (trigger → condition → action)
- SLA policies, CSAT surveys, round-robin / least-loaded routing (optional modules)
- Reports: volume, agent performance, resolution time, channels
- Audit log of team activity (Settings → Audit Log)
- In-app notifications and daily email digests
- REST API with auto-generated OpenAPI docs at
/docs/api - Outgoing webhooks: signed, retried event notifications for Zapier, n8n, Make or your own systems
Quick start
The fastest way to try FusterAI is GitHub Codespaces (nothing to install), or Docker on your own machine.
Option 1 — GitHub Codespaces (zero install)
- Click Open in GitHub Codespaces.
- Wait until the terminal shows ✓ FusterAI is ready! (a few minutes on first build).
- Open the forwarded port 8000 and log in with
[email protected]/password(demo data is loaded automatically).
To try AI features, add
ANTHROPIC_API_KEYto your Codespaces secrets before creating the codespace.
Option 2 — Docker (Laravel Sail)
Requires: Docker Desktop, running. No local PHP, Node or PostgreSQL needed.
# 1. Clone
git clone https://github.com/aiandautomations/fusterai.git
cd fusterai
cp .env.example .env
# 2. Install PHP dependencies and generate the app key (throwaway container)
docker run --rm -u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" -w /var/www/html \
laravelsail/php84-composer:latest \
sh -c "composer install --ignore-platform-reqs && php artisan key:generate"
# 3. Start everything (PostgreSQL + pgvector, Redis, MeiliSearch, Mailpit)
./vendor/bin/sail up -d --build
The first boot takes a few minutes: the container runs migrations and builds the frontend. Follow it with ./vendor/bin/sail logs laravel.test -f.
# 4. Create your workspace and admin account
./vendor/bin/sail artisan fusterai:install
# …or load demo data instead (login: [email protected] / password)
./vendor/bin/sail artisan fusterai:install --demo
Open http://localhost:8000.
| Service | URL |
|---|---|
| FusterAI | http://localhost:8000 |
| Horizon (queue monitor) | http://localhost:8000/horizon |
| API docs | http://localhost:8000/docs/api |
| Mailpit (catches outgoing email) | http://localhost:8025 |
Requires: PHP 8.4+ (extensions: pdo_pgsql, redis, pcntl, bcmath, gd, xml, sockets, zip, curl, mbstring), PostgreSQL 15+ with pgvector, Redis 7+, Node.js 20+, Composer 2.
git clone https://github.com/aiandautomations/fusterai.git
cd fusterai
composer install && npm install
cp .env.example .env
php artisan key:generate
# Create the database and enable pgvector
psql -U postgres -c "CREATE DATABASE fusterai;"
psql -U postgres -d fusterai -c "CREATE EXTENSION vector;"
# Migrations, OAuth keys, storage link and your admin account
php artisan fusterai:install
npm run build
composer run dev # starts the web server, Horizon, Reverb, scheduler and Vite together
Step-by-step details: docs/installation.md.
Going to production? See the deployment guide — it covers the production checklist, reverse proxy for WebSockets, and upgrades.
First steps after install
- Connect a mailbox — Inbox → Mailboxes → New Mailbox with your IMAP/SMTP details. Email is fetched every minute by the scheduler (already running in Docker and Codespaces).
- Turn on AI (optional) — add your API key under AI → AI Config, or set
ANTHROPIC_API_KEYin.env. Without a key, everything except AI works normally. - Add knowledge — under AI → Knowledge Base, create a knowledge base and add your docs or FAQ pages so AI drafts can cite them.
- Invite your team — Settings → Team.
- Add live chat to your site — Customization → Live Chat Widget gives you a ready-to-paste embed snippet.
More in the Getting Started guide.
AI features
When a customer writes in, FusterAI queues background jobs that:
- Draft a reply — the AI reads the latest messages in the conversation, searches your knowledge base when relevant, and streams a draft into the agent's AI panel.
- Categorise — sets tags and priority.
- Summarise — on demand, a short summary of the whole thread.
Configure your provider in AI → AI Config or .env:
ANTHROPIC_API_KEY=sk-ant-... # Anthropic Claude
# OPENAI_API_KEY=sk-... # OpenAI
# OPENAI_COMPATIBLE_BASE_URL=http://localhost:11434/v1 # Ollama or any OpenAI-compatible API
MCP server
Let Claude Code, Cursor, Claude Desktop or your own agents read and update tickets. Tools: get_conversation, search_conversations, get_customer_history, create_note, update_conversation.
Create a key in Settings → API Keys, then add the server — for example in Claude Code:
claude mcp add --transport http fusterai http://localhost:8000/mcp/helpdesk \
--header "Authorization: Bearer <your-api-key>"
Clients that support MCP OAuth can connect with just the URL and sign in through the browser. Cursor config and full guide: docs/ai-setup.md.
Channels
| Channel | How to set it up |
|---|---|
Inbox → Mailboxes. IMAP fetch, per-mailbox SMTP, replies threaded by In-Reply-To. |
|
| Live chat | Copy the snippet from Customization → Live Chat Widget into your website. |
| Create a mailbox with channel type WhatsApp, add your Meta Cloud API credentials, and register the webhook URL shown in settings with Meta. | |
| Customer portal | Enable the CustomerPortal module in Settings → Modules. Customers sign in by magic link at /portal/{workspace-slug}. |
| REST API | Create a key in Settings → API Keys, then call /api/conversations with Authorization: Bearer <key>. Interactive docs at /docs/api. |
| Inbound webhooks | POST /api/webhooks/inbound/{token} using the mailbox webhook token shown in settings. |
| Outgoing webhooks | Settings → Webhooks. Get conversation and message events sent to your URL, signed with HMAC-SHA256. See docs/webhooks.md. |
Modules
Extend FusterAI without forking it. Modules live in Modules/ and can listen to events, change AI prompts, add routes, and render React components in UI slots.
Hooks::addAction('conversation.created', function (Conversation $conversation) {
// notify Slack, call an external API, …
});
Hooks::addFilter('ai.system_prompt', function (string $prompt, Conversation $conversation) {
return $prompt."\n\nAlways respond in the customer's language.";
});
Included modules: SlaManager, SatisfactionSurvey (CSAT), ConversationRouting, CustomerPortal. Enable them in Settings → Modules. Build your own: docs/modules.md.
FAQ
Is FusterAI free?
Yes. It is open source under the MIT license, with no per-seat or per-ticket fees. You only pay for your own hosting and, if you use it, your AI provider.
Can I use it without AI?
Yes. Leave the API key empty and AI features stay off; the rest of the helpdesk works fully.
Does my customer data leave my server?
Only the conversation context sent to the AI provider you choose. Use a local model through Ollama to keep everything on your network.
Which AI models are supported?
Anthropic Claude, OpenAI, and any OpenAI-compatible API, including Ollama, OpenRouter and LM Studio.
Can I migrate from FreeScout, Zendesk or Help Scout?
There is no one-click importer yet. You can import conversations through the REST API.
What does it run on?
PHP 8.4+, PostgreSQL with pgvector, and Redis. MeiliSearch is optional (search falls back to the database). Docker setup is included.
Documentation
| Guide | What's inside |
|---|---|
| Installation | Docker and manual setup, troubleshooting |
| Getting Started | First mailbox, team, conversations, live chat |
| Configuration | Every environment variable |
| AI Setup | Providers, knowledge base, MCP server, costs |
| Deployment | Production checklist, reverse proxy, upgrading |
| Architecture | Queues, real-time events, data model |
| Module Development | Hooks, filters, UI slots, example modules |
| Webhooks | Outgoing events, payloads, verifying signatures |
Roadmap
- Slack channel
- SMS via Twilio
- Multi-language interface (i18n)
- Two-factor authentication (TOTP)
Have an idea? Open an issue.
Contributing
Contributions are welcome — bug reports, docs, and pull requests. See CONTRIBUTING.md for the development setup and checks. To report a security issue, see SECURITY.md.
License
FusterAI is open-source software licensed under the MIT License.
Built with Laravel, Inertia.js, React, shadcn/ui, Tiptap, pgvector, MeiliSearch, Laravel Horizon and Laravel Reverb.
If FusterAI helps your team, please ⭐ the repo — it helps others find it.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found