Skip to content

About

A runnable prototype of AI-assisted Revenue Operations: five auditable agents for CRM hygiene, lead scoring, pipeline health, renewal risk, and pre-call account research.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RevOps AI Agent Portfolio

A small, runnable prototype of what "one person + Claude running an entire ops function" looks like — applied to RevOps instead of growth marketing.

→ See a full run of all five agents — the real output of orchestrator.py, rendered as the briefing a sales leader would actually read. No setup required.

Why this exists

In early 2026, Anthropic published a case study showing that a single non-technical marketer (Austin Lau) ran the company's entire growth marketing function — paid search, paid social, ASO, email, SEO — for nearly 10 months using Claude Code to automate the repetitive engineering work that function normally requires.

This repo asks the same question for Revenue Operations: which parts of a RevOps analyst's week (lead triage, CRM hygiene, pipeline reporting, pre-call account research) can be handled by small, auditable AI-assisted scripts instead of manual spreadsheet work? Built as a portfolio piece for an AI/business-process-focused RevOps role.

What's here

Script Replaces this manual RevOps task
scripts/crm_hygiene_agent.py Scanning CRM records for missing fields, duplicates, stale leads
scripts/lead_scoring_agent.py Manually triaging inbound leads against ICP + intent signals
scripts/pipeline_health_agent.py Weekly pipeline review: stalled deals, forecast, rep workload
scripts/renewal_risk_agent.py Quarterly renewal review: which accounts are churning, and in what order to work them
scripts/account_research_agent.py Pre-call account research (AI-generated brief via Claude)
scripts/orchestrator.py Runs the full daily workflow in one command

Steps 1–4 are deterministic and run with no credentials; step 5 is the only one that calls a model.

All data in mock_data/ is synthetic — no real company or customer data. leads.csv and pipeline.csv are the prospect side; customers.csv is the installed base, which is a different population and the reason renewal risk needs its own signals rather than reusing the lead score.

Design principles

  • Auditable, not a black box. Scoring logic is explicit and easy to explain to a sales leader (see lead_scoring_agent.py weights).
  • Graceful without secrets. The AI-powered script runs and shows realistic sample output even with no API key configured, so anyone can clone and run this without credentials.
  • Composable. Each agent is a standalone script; orchestrator.py just chains them, mirroring how a real one-person ops function would schedule these as independent jobs (cron, Claude Code hooks, etc.).

Running it

pip install -r requirements.txt
python scripts/orchestrator.py

To see a live (non-sample) AI-generated account brief:

export ANTHROPIC_API_KEY=sk-ant-...
python scripts/account_research_agent.py "Northwind Logistics"

Scoring model (Step 2)

The lead score is a percentage of a perfect-fit lead — the positive weights sum to exactly 100:

Signal Weight
Company size fits ICP +15
Industry match +15
Decision-maker title +20
Demo requested +20
Budget confirmed +15
High site engagement (10+ pages) +10
Active in last 3 days +5
Stale 30+ days inactive −15 (floored at 0)
Maximum 100

Tiers: A (Hot) ≥ 70 · B (Warm) 45–69 · C (Nurture) < 45

Intent signals (demo + budget = 35) and buying authority (title = 20) are weighted above firmographics, since intent correlates more strongly with close rate than company attributes do.

Design note: an earlier version used weights summing to 110. Readers assume a 100-point scale, so a score like 110 was hard to interpret at a glance. Rebalancing to 100 also surfaced a borderline account — Delta Retail Group moved from Tier A to Tier B, because it clears every gate except industry fit.

Renewal risk model (Step 4)

Same convention as the lead score — weights sum to exactly 100, so a risk score reads as a percentage of the worst case:

Signal Weight
Low seat adoption (<50% of licences active) +25
Dormant (30+ days since last login) +20
Executive sponsor changed +15
2+ support escalations in 90 days +15
Low CSAT (≤3.5) +15
Single-team deployment +10
Maximum 100

Bands: Critical ≥ 50 · Elevated 25–49 · Stable < 25

Weighted toward behaviour over sentiment. Seat adoption and login recency are what a customer does, and they move months before a renewal; a CSAT score is what one person said on one day. Sponsor loss sits in the middle — it does not predict churn by itself, but it removes the person who would have defended the renewal internally.

Design note: this agent deliberately reports two numbers rather than one. Risk says how unhealthy an account is; days-to-renewal says how soon that matters. Collapsing them into a single ranking hides the difference between "unhealthy but renews in ten months" and "unhealthy and renews in two weeks", and those need different teams doing different work. The action column is the two crossed: Act now (critical and renewing within 90 days), Plan, or Monitor.

Nimbus Cloud Co shows why this matters. It is Closed Won in pipeline.csv — a deal the team celebrated — and it already scores 70/100 risk because the seats were never adopted. Its renewal is 300 days out, so it is not an emergency; it is an adoption problem that becomes an emergency if nobody touches it for nine months.

Rendered report

docs/index.html is the orchestrator output rendered as the report a sales leader would actually read. It is a standalone page, so GitHub Pages serves the docs/ folder as-is — that is the link at the top of this README, and it redeploys on every push to main.

Roadmap (what a v2 would add)

  • Real CRM connector (Salesforce/HubSpot API) instead of CSV mocks
  • Slack delivery of daily reports instead of stdout
  • Scheduling via Claude Code hooks or a cron job
  • Write scores back to the CRM so they land where the sales team already works

Background

Built by Ryoko Ralston as a portfolio project exploring AI-driven RevOps automation, referencing Anthropic's published case study on running its growth marketing function with a single non-technical marketer and Claude Code, and public commentary from Austin Lau on running growth solo.

About

A runnable prototype of AI-assisted Revenue Operations: five auditable agents for CRM hygiene, lead scoring, pipeline health, renewal risk, and pre-call account research.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages