Horvatti Drywall
Flores de Bragança 아파트의 석고·드라이월 예산을 짜고 WhatsApp으로 계약을 마무리한다
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Stop fighting customer service. KarenBot does it for you.
KarenBot is an autonomous AI consumer-recovery platform: connect your email, tell Karen what happened, grant scoped authority, and an AI agent researches the company's policies, contacts their verified support channel, negotiates factually, follows up for weeks if needed, and records the verified outcome.
Status: MVP in development. The full simulated end-to-end flow works locally with no external credentials. No real companies are contacted, no money moves, and no customers are charged until the safety, legal, and compliance gates in
docs/are cleared. KarenBot is not a law firm and does not provide legal advice.
make install # Python venv + npm workspaces
make test # 32 tests: state machine, policy engine, outbox, injection, e2e
make demo-e2e # watch a full case resolve against a simulated airline
make dev # Postgres (+ optional MinIO) via docker compose
make migrate # Alembic migrations
make api # FastAPI on :8000
npm run dev:web # Next.js on :3000
make demo-e2e runs the whole product loop in one process: case intake →
fact extraction → eligibility against a verified policy → customer
authorization → policy-checked outreach → simulated lowball reply → an
autonomous counter → full-amount offer → customer approval of the binding
acceptance → verified recovery → RESOLVED, with a printed audit trail. It
also kills and restarts the delivery worker mid-flow to prove no duplicate
emails are sent.
Set KARENBOT_LLM_PROVIDER=anthropic and KARENBOT_ANTHROPIC_API_KEY=... to
run the same flow with Claude instead of the deterministic scripted model.
apps/web Next.js 15 + Tailwind (landing, dashboard shell, intake UI)
apps/api FastAPI + SQLAlchemy + Alembic
src/karenbot/
domain/ models, 16-state case machine, audit events
policy/ deterministic policy engine (the safety core)
agent/ ProposedAction contract, runtime, versioned prompts, eligibility
channels/ ChannelAdapter protocol + adapters: mock, Gmail, Outlook/Graph,
generic IMAP/SMTP; OAuth flows; per-account resolver; voice later
workflows/ transactional outbox, scheduler, executor, worker loop
llm/ provider abstraction: Anthropic + scripted
simulator/ company personas (lowball, stonewall, injection attacker, ...)
tests/ unit / policy / workflows / injection / e2e
packages/contracts generated API types (placeholder)
infra/ docker-compose: Postgres+pgvector, MinIO (profile: storage)
docs/ architecture, state machine
Moral code — punch up, never down. KarenBot only targets large
enterprises (airlines, national chains, card networks). Mom-and-pop
businesses and unreviewed companies are refused at case creation, denied by
the policy engine, and cannot be whitelisted via configuration. See
docs/moral-code.md.
The LLM can only propose typed actions. A pure, deterministic policy engine
checks authorization, verified recipients, claim types, amount ceilings, rate
limits (per case, per user across cases, and a platform-wide hourly circuit
breaker), and duplicates; binding settlements always require explicit
customer approval. A DB-backed global kill switch denies everything
instantly, and admins can pause any case (/admin, web console at
/admin). A 10-entry prompt-injection red-team corpus runs in CI
(tests/injection/) asserting hard invariants: outbound mail only to
verified channels, no unapproved settlements, no case closure or data echo
from hostile inbound content. Recipients resolve only from a verified support-channel table.
Every proposal, verdict, message, and state change is audit-logged. Inbound
email is untrusted data — see tests/injection/. Customers can revoke
authority at any time (kill switch); admins can block any case.
| Variable | Default | Purpose |
|---|---|---|
KARENBOT_DATABASE_URL | local Postgres | SQLAlchemy URL |
KARENBOT_LLM_PROVIDER | scripted | scripted or anthropic |
KARENBOT_EMAIL_PROVIDER | mock | mock (dev); real accounts resolve per user: gmail, outlook, imap_smtp |
KARENBOT_DEV_MODE | true | enables /dev seed + simulator router; false in prod |
KARENBOT_TOKEN_ENCRYPTION_KEY | dev-derived | Fernet key for OAuth tokens at rest (required in prod) |
KARENBOT_GOOGLE_CLIENT_ID/SECRET | – | Gmail OAuth client (testing mode until CASA clears) |
KARENBOT_MICROSOFT_CLIENT_ID/SECRET | – | Outlook/Microsoft Graph OAuth client |
KARENBOT_OAUTH_REDIRECT_BASE | http://localhost:8000 | OAuth callback base URL |
KARENBOT_ADMIN_TOKEN | dev-admin | admin console token (dev default rejected in prod) |
KARENBOT_SENTRY_DSN | – | enables Sentry (pip install 'karenbot-api[observability]') |
KARENBOT_ANTHROPIC_API_KEY | – | required for anthropic |
KARENBOT_AGENT_MODEL | claude-sonnet-5-5 | drafting/reasoning model |
KARENBOT_CLASSIFIER_MODEL | claude-haiku-4-5-20251001 | reply classification |
KARENBOT_MAX_OUTBOUND_PER_CASE_PER_DAY | 3 | global rate limit |
KARENBOT_MIN_HOURS_BETWEEN_OUTBOUND | 20 | pacing floor |