All Case Studies
AGENTIC AI · OPS AUTOMATION · DEPARTMENT-WIDE

EiGENRA Back-Office on Three AI Agents

Departmental ops automation, demonstrated on our own books. Three orchestrated agents — invoicing, client pulse, proposal drafting — replace 15+ hours of founder admin every week. The same playbook we run for SME services firms, with a public ROI log.

3
Agents
15+ hrs
Founder hrs / wk
$120K
ARR rescued
8 wk
Ship time

Project description and metrics shown here are representative — drawn from a real engagement, with the client name anonymized where confidentiality applies.

The Business Challenge

Most AI consultancies sell transformations they wouldn't bet their own payroll on. We wanted to flip that. Could EiGENRA's own back office — invoicing, client-health monitoring, proposal drafting — be replaced by AI agents we'd be comfortable shipping to a client? Specifically: weekly invoice cycle dragging founder time, no early-warning system for renewal risk, and proposal turnaround that bottlenecked deal flow at the calendar instead of the conversation.

The Technical Solution

Three orchestrated agents on shared Vercel KV state. Agent 1 (invoicing): a Friday cron pulls active engagements, drafts invoices in your voice via Claude Haiku, sends through Resend, and runs the dunning ladder with warm / firm / final tones — webhook-backed Stripe with the same dedup pattern shipped on Mama Hala. Agent 2 (client pulse): a Monday-morning Sonnet narrative over open tickets, last invoice status, last deploy, last admin login — flags anyone trending the wrong way before they churn. Agent 3 (proposal drafting): a tool-using Sonnet loop that takes a discovery-call transcript plus our scope library and produces a first-draft proposal at 80% finished. Prompt caching on the system message and the scope library cuts model spend ~70%. Every agent degrades gracefully — model failure never blocks the underlying flow.

typescript
// Proposal-drafting agent — Sonnet tool loop, prompt-cached scope library
const SCOPE_LIBRARY = await loadScopeLibrary(); // cached in KV

const draft = await anthropic.messages.create({
  model: "claude-sonnet-4-6",
  max_tokens: 4000,
  system: [
    { type: "text", text: SYSTEM_PROMPT, cache_control: { type: "ephemeral" } },
    { type: "text", text: SCOPE_LIBRARY,  cache_control: { type: "ephemeral" } },
  ],
  tools: [matchScope, draftMilestones, priceFromRules],
  messages: [{ role: "user", content: transcript }],
});

// Tool loop: max 6 turns, escalate to admin if unresolved
for (let turn = 0; turn < 6 && draft.stop_reason === "tool_use"; turn++) {
  const result = await runTool(draft.content);
  // ... continue
}

// Output: pre-filled proposal, founder edits the last 20% and signs.
return formatProposal(draft);
Claude SonnetClaude HaikuAnthropic SDKTool UsePrompt CachingNext.js 16Vercel KVVercel CronStripeResend
The Measurable Result

Departmental ops automation running on EiGENRA's own books since launch. 15+ founder hours back per week (invoice cycle, client-pulse digestion, proposal drafting). Two renewal risks caught early enough to save in the first two months — roughly $120K of annual recurring revenue rescued. Model spend held under $40/month thanks to prompt caching. Public ROI log updated weekly. Every pattern in this case study is reusable in your business — that's the offer.

15+
recovered
Founder hours / week
$120K
early-warning
ARR rescued
<$40
70% via caching
Model spend / month
3
orchestrated
Agents in production
Timeline: 8 weeks + public log ongoing
Case Study