Skip to content

docs(ai): AI Cost & Savings guide#277

Closed
maximelb wants to merge 1 commit into
masterfrom
docs/ai-cost-and-savings
Closed

docs(ai): AI Cost & Savings guide#277
maximelb wants to merge 1 commit into
masterfrom
docs/ai-cost-and-savings

Conversation

@maximelb

Copy link
Copy Markdown
Contributor

What

A thorough, user-facing guide explaining how LimaCharlie computes AI agent cost and the analyst savings figure — so a user asking "how does this work?" gets a complete, trustworthy picture.

New page: docs/9-ai-sessions/cost-and-savings.md (added to the AI Sessions nav, after User Sessions).

Covers:

  • The premise — every case is real work; the only question is who did it.
  • Resolution mix — AI-only / AI+Human / Human-only, and how a case is classified from its timeline.
  • Cost profiles — the ai_cost_model Hive: loaded rate + minutes-per-investigation, one profile per kind of analyst work, per-org/per-tenant.
  • The savings formula — cost-to-handle, gross displaced, the crediting rule (every AI-touched case gets full credit, netted down by logged human time), AI spend, net savings, ROI — with a fully worked numeric example.
  • Logging human time, reading the panel, tuning for trust, and an FAQ.

Three Mermaid diagrams: inputs→outputs overview, case-classification flow, and the savings-calculation pipeline.

Audience & scope

Written for LimaCharlie users. Deliberately contains no backend internals — only concepts users actually see and control: Cases, Hives (ai_cost_model), AI usage, and the web UI. Verified clean of service/storage references.

Checks

  • markdownlint-cli2: 0 errors.
  • A full mkdocs build --strict couldn't run in my environment (the config's !!python/name Mermaid fence tag needs the site's plugin env), so the nav addition and links are best validated by CI / a reviewer preview. Mermaid labels are all quoted to parse cleanly.

Draft — this documents the AI Cost & Savings feature; merge alongside its rollout.

A user-facing guide to how LimaCharlie computes AI agent cost and the
analyst savings figure: the resolution mix (AI-only / AI+Human / Human-only),
cost profiles (the ai_cost_model Hive), the savings formula and crediting
rule, a worked example, and how to read and tune the panel. Three Mermaid
diagrams (inputs→outputs, case classification, savings pipeline). No backend
internals — only concepts users see (Cases, Hives, AI usage, the UI). Added
to the AI Sessions nav.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014onzsCbKCevowbod9BK2rx
@maximelb

Copy link
Copy Markdown
Contributor Author

Superseded by #280, which folds this guide into the canonical cost-tracking.md page the web app links to (so there's one page instead of two overlapping ones). All of this PR's content — the premise, Mermaid diagrams, worked example, and FAQ — is carried over there. Closing in favour of #280.

@maximelb maximelb closed this Jun 21, 2026
maximelb added a commit that referenced this pull request Jun 21, 2026
Fold the AI Cost & Savings guide (PR #277) into the canonical
cost-tracking.md page the web app links to, so there is one page instead
of two overlapping ones. Adds from #277: the "who did the work" premise,
three Mermaid diagrams (inputs→outputs, case classification, savings
pipeline), a fully worked numeric example, logging-human-time, tuning-for-
trust, and an FAQ. Keeps the existing per-severity valuation, headline
metrics (analyst-hours / FTE / automation rate), per-profile P&L,
cumulative trend, CSV exports, fleet/MSSP rollup, and per-session budget
relationship. Moves the nav entry up to after User Sessions.

Supersedes #277.


Claude-Session: https://claude.ai/code/session_012ie78qt9UBuvCBEEfLRKT3

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants