Solo Founder OS agent #9 — triage user messages (signup-broken / forge-stuck / billing / love / spam / novel) → auto-draft replies → HITL queue.
Project description
customer-support-agent
Solo Founder OS agent #9 — triage user messages (signup-broken / forge-stuck / billing / love / spam / novel) → auto-draft replies → HITL queue.
Built by Alex Ji — closes the 5th layer of the canonical one-person-company stack (customer support).
What it does
PH-day or post-launch, your inbox/PH-comments/X-DMs flood with user inquiries. This agent:
- Reads incoming messages (JSONL inbox file)
- Classifies each into one of 6 templates via Claude Haiku (or keyword fallback)
- Drafts a reply for each non-spam classification
- Writes drafts to
~/.customer-support-agent/queue/pending/for HITL review
$ customer-support-agent triage --inbox messages.jsonl
# Customer support triage — 2026-05-02T13:24:00Z
Messages processed: 14
By label: {'signup_broken': 4, 'love': 5, 'billing': 2, 'forge_stuck': 1, 'spam': 1, 'novel': 1}
Drafts queued: 13
Spam skipped: 1
Novel (need human reply): 1
Install
pip install customer-support-agent
# or
git clone https://github.com/alex-jb/customer-support-agent
cd customer-support-agent && pip install -e .
Usage
Triage a batch
Inbox JSONL format (one message per line):
{"source":"email","source_id":"abc123","sender":"alice@x.com","subject":"signup not working","body":"Verification email never arrived..."}
{"source":"producthunt","source_id":"ph_456","sender":"@bob","subject":"","body":"Love this!"}
customer-support-agent triage --inbox inbox.jsonl
One-shot classify
customer-support-agent classify "I never got the verification email"
# label=signup_broken confidence=0.55
# reasoning: keyword match: signup, verification, email
Check queue
customer-support-agent queue-status
# # Pending drafts (3)
# - 2026-05-02-signup_broken-alice-x-com.md
# - 2026-05-02-billing-bob-x-com.md
# - 2026-05-02-novel-carol-x-com.md
Six default labels
| Label | Trigger | Action |
|---|---|---|
signup_broken |
auth/login/register problems | empathetic + 2-3 troubleshooting steps |
forge_stuck |
core flow stuck/broken | "this is on me, fixing now" |
billing |
payment/refund/subscription | acknowledge + 24h response promise |
love |
positive feedback | brief thank-you |
spam |
promo/scam/irrelevant | skipped |
novel |
doesn't match any | "I'll think on this" placeholder + flag for human |
Why all drafts go to HITL
Auto-sending replies to real users is the fastest way to get banned, mocked, or to send something tone-deaf. This agent NEVER sends. It drafts; you review in Obsidian; you send (or paste into Gmail / PH / X).
MCP server
pip install 'customer-support-agent[mcp]'
{
"mcpServers": {
"customer-support": {
"command": "customer-support-mcp",
"env": { "ANTHROPIC_API_KEY": "..." }
}
}
}
Tools: classify_message(text, subject?, sender?) · draft_support_reply(text, subject?, sender?, label?)
Roadmap
- v0.1 — heuristic + Claude classifier · 6 labels · HITL queue · MCP server · 25 tests
- v0.2 — IMAP + PH GraphQL ingest (auto-pull instead of JSONL)
- v0.3 — auto-send "love" replies (still HITL on first 100, then auto)
- v0.4 — Reflexion learning: classifier improves from rejected drafts
License
MIT.
🧩 Part of the Solo Founder OS stack
A growing collection of MIT-licensed agents that share solo-founder-os as their base — cron, eval, reflexion, AnthropicClient, HITL queue, notifiers. Each agent is independently useful; together they cover the full one-person company workflow.
🌐 The whole stack is live in production at vibexforge.com.
| Agent | What it does |
|---|---|
| solo-founder-os | The shared base lib (cron · eval · reflexion · skill library · DGM-lite). Every other agent depends on it. |
| build-quality-agent | Pre-push Claude diff reviewer + local build runner — catches CI-killing changes before they ship. |
| customer-discovery-agent | Reddit pain-point scraper + Claude clustering for product validation. |
| funnel-analytics-agent | Daily founder brief + real-time PH-day alerts across 9 sources. |
| orallexa-marketing-agent | AI marketing agent — submit project once, get platform-native posts for X / Reddit / HN / Dev.to / 小红书 + 7 more. Powers vibexforge.com. |
| vc-outreach-agent | Cold email drafter — investors (vc mode) or paying customers (customer mode, merged from customer-outreach in v0.9.0). HITL queue + SMTP sender. |
| cost-audit-agent | Monthly bill audit across 6 providers (Vercel / Anthropic / OpenPanel / HyperDX / Supabase / GitHub Actions) with dollar-tagged waste findings. |
| bilingual-content-sync-agent | EN ⇄ 中文 i18n diff + Claude translate + HITL apply. Batch API path @ 50% off. |
| payments-agent | Overdue-invoice reminder drafter. Stripe-shaped types + MockProvider fallback + hard money-safety prompt rules. |
Each agent's own row is omitted from its README. Install whichever solve real problems for you — pip install <agent-name>.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file customer_support_agent-0.1.0.tar.gz.
File metadata
- Download URL: customer_support_agent-0.1.0.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0efd13cf2a5ec72e4820601912d6bcc04d94314eff455272a920c109f59972d7
|
|
| MD5 |
4eb83b47702e0e886c776383a381e43b
|
|
| BLAKE2b-256 |
cd8470cdac720f819915266a4d2ec9829424c619d2449940de49b9809c836d16
|
Provenance
The following attestation bundles were made for customer_support_agent-0.1.0.tar.gz:
Publisher:
release.yml on alex-jb/customer-support-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
customer_support_agent-0.1.0.tar.gz -
Subject digest:
0efd13cf2a5ec72e4820601912d6bcc04d94314eff455272a920c109f59972d7 - Sigstore transparency entry: 1740623160
- Sigstore integration time:
-
Permalink:
alex-jb/customer-support-agent@16f72cbb576aeef739d2004344210ddbfa2d9715 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/alex-jb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@16f72cbb576aeef739d2004344210ddbfa2d9715 -
Trigger Event:
push
-
Statement type:
File details
Details for the file customer_support_agent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: customer_support_agent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c045fd205a9bae0f454e17cccd94e798d68fc993d662ac1c6f3e44ce6c4a676e
|
|
| MD5 |
a362223eb02f5ac42deca771f7564aa4
|
|
| BLAKE2b-256 |
ca1aff0bdc4b867014b41da55081eea530de50bbbb095e259c2e4d59f653e6d9
|
Provenance
The following attestation bundles were made for customer_support_agent-0.1.0-py3-none-any.whl:
Publisher:
release.yml on alex-jb/customer-support-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
customer_support_agent-0.1.0-py3-none-any.whl -
Subject digest:
c045fd205a9bae0f454e17cccd94e798d68fc993d662ac1c6f3e44ce6c4a676e - Sigstore transparency entry: 1740623206
- Sigstore integration time:
-
Permalink:
alex-jb/customer-support-agent@16f72cbb576aeef739d2004344210ddbfa2d9715 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/alex-jb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@16f72cbb576aeef739d2004344210ddbfa2d9715 -
Trigger Event:
push
-
Statement type: