An open-source AI customer support agent. Reads your inbox, triages inbound email, drafts replies, closes threads — no human required.
Like Intercom Fin or Help Scout AI, but you own the infrastructure.
[Screenshot placeholder]
- New email arrives → Commune delivers it via webhook or polling
- LLM reads the email → classifies urgency, category, sentiment
- LLM drafts a reply based on thread history
- You review (or skip review with
AUTO_SEND=true) → Commune sends it
- Next.js 14 — App Router, Server Actions
- Vercel AI SDK — LLM streaming
- Commune — email API for agents
- shadcn/ui — UI components
1. Get a Commune API key
Sign up at commune.email and create an inbox.
2. Clone and install
git clone https://github.com/shanjairaj7/agent-inbox
cd agent-inbox
npm install3. Configure
cp .env.example .env.local
# Fill in COMMUNE_API_KEY, COMMUNE_INBOX_ID, OPENAI_API_KEY4. Run
npm run devOpen http://localhost:3000.
MIT