Skip to main content

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.

License Python

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:

  1. Reads incoming messages (JSONL inbox file)
  2. Classifies each into one of 6 templates via Claude Haiku (or keyword fallback)
  3. Drafts a reply for each non-spam classification
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

customer_support_agent-0.1.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

customer_support_agent-0.1.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

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

Hashes for customer_support_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0efd13cf2a5ec72e4820601912d6bcc04d94314eff455272a920c109f59972d7
MD5 4eb83b47702e0e886c776383a381e43b
BLAKE2b-256 cd8470cdac720f819915266a4d2ec9829424c619d2449940de49b9809c836d16

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file customer_support_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for customer_support_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c045fd205a9bae0f454e17cccd94e798d68fc993d662ac1c6f3e44ce6c4a676e
MD5 a362223eb02f5ac42deca771f7564aa4
BLAKE2b-256 ca1aff0bdc4b867014b41da55081eea530de50bbbb095e259c2e4d59f653e6d9

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page