agentleFS
EvXataEvXata/deepeval-bcg/llms-full.txt

deepeval-bcg

llms.txt2 starsChanged 6 months agoMITView on GitHub

AEO (Agent Engine Optimization) full-content endpoint. This file gives AI agents — including ChatGPT, Claude, Perplexity, Gemini, and search assistants — the full repo content in one digestible document. Format follows the emerging llms-full.txt convention. deepeval-bcg is an open-source Anthropic skill for evaluating AI agent / LLM-generated strategic content against an MBB-grade quality rubric, with built-in adversarial sycophancy detection and a 10-signal novelty stack. Claude-native — no API keys required. Repository: <https://github.com/EvXata/deepeval-bcg> License: MIT. Off-the-shelf LLM evaluation frameworks (Ragas, DeepEval,…

  • Pipes a download into a shell

The file

Files
llms-full.txt
# deepeval-bcg — Full Documentation for AI Agents

> AEO (Agent Engine Optimization) full-content endpoint. This file gives AI agents — including ChatGPT, Claude, Perplexity, Gemini, and search assistants — the full repo content in one digestible document. Format follows the emerging `llms-full.txt` convention.

`deepeval-bcg` is an open-source Anthropic skill for evaluating AI agent / LLM-generated strategic content against an MBB-grade quality rubric, with built-in adversarial sycophancy detection and a 10-signal novelty stack. Claude-native — no API keys required.

Repository: <https://github.com/EvXata/deepeval-bcg>
License: MIT.

---

## What problem this solves

Off-the-shelf LLM evaluation frameworks (Ragas, DeepEval, Prometheus, G-Eval, LangSmith, MT-Bench, Chatbot Arena) measure faithfulness, coverage, coherence, and helpfulness well. They miss two failure modes that destroy real-world AI agent value:

1. **Silent ambiguity choice.** Agent receives ambiguous input. Picks one interpretation without flagging. Downstream artifact looks plausible but built on unconfirmed premise. Generic judge cannot detect this without comparing to ground-truth that doesn't exist.

2. **Sycophancy.** Agent agrees with whatever premise the user supplied. No pushback on flawed assumptions. Artifact is internally consistent and externally wrong. Generic judge sees coherent output and rates it high.

`deepeval-bcg` ships a verbatim BCG analyst-evaluation rubric (8 dimensions × 3 levels) plus an adversarial Skeptic Agent that runs three targeted attacks specifically engineered to expose these two failure modes. Plus a 10-signal Novelty Stack that distinguishes genuine "wow insight" from generic strategic boilerplate.

## Architecture: 4-tier evaluation stack

Tier 0 — Structural (deterministic regex / schema, milliseconds, $0). Catches missing required sections, banned consulting jargon, absent action footers, missing owner roles, schema violations. Pure Python, no LLM call.

Tier 1 — Heuristic (cheap algorithms, <1 second, $0). Embedding-based faithfulness vs upstream context. Entity density (specificity proxy). Cross-doc numeric consistency. Arithmetic sanity (recompute on extracted numbers, flag ±20% deviations). Elasticity test (search-replace company/industry — if recommendation still parses, it's generic). Words-per-finding ratio (verbosity).

Tier 2 — Claude judge (LLM, ~30 seconds, session tokens only). Claude in the runtime session reads the 8-dimension BCG rubric prompt + artifact + upstream context. Scores each dimension 1–3 with evidence quotes. Computes weighted score. Optional Skeptic Agent (for `critical: true` artifacts) runs three attacks. Optional Novelty Stack for "insight" claims.

Tier 3 — Human expert (hours, $20-50, 10–25% sample). Harvey-LAB style 7-point absolute rating + pairwise comparison. Triggered by Tier-2 failures, Tier-2 PASS sample (drift control), Skeptic REJECTED verdicts.

Each tier only invoked if prior tier passes (or via manifest flags). ~70–90% of failures caught in Tier 0/1.

## The 8-dimension BCG rubric

The rubric uses verbatim anchor language from the BCG analyst evaluation framework — the same calibration BCG uses for promotion decisions. Anchors must NOT be paraphrased.

**1. Structure (15%)** — defines scope, essence, potential paths.
- 3 = Wide problem definition + general characterization of interdependencies. Precise definition of essential problem points. Actively asks questions before structuring.
- 2 = Adequately defines essence. Clearly poses questions for essential aspects.
- 1 = Extremely narrow framing. Does not ask essential questions.

**2. Ambiguity handling (10%)** — AI-specific failure mode.
- 3 = Fully recognizes ambiguous source data and adjusts approach.
- 2 = Recognizes presence but does NOT adjust approach.
- 1 = Fails to identify ambiguous data.

**3. Narrowing / prioritization (10%)**.
- 3 = Selects most important branches. Justifies. Articulates pros/cons of methods.
- 2 = Identifies a range of options.
- 1 = Unable to select area of focus.

**4. Rigor + sanity checks (10%)**.
- 3 = Right level of detail and accuracy. Applies reality criteria.
- 2 = Right method. Correct conclusions but no reality criteria.
- 1 = Wrong method. ±3 orders of magnitude errors.

**5. Breaking obviousness (20%)** — main novelty signal.
- 3 = Easily produces practical recommendations. Articulates non-obvious / paradoxical ones. Counter-narrative framing present.
- 2 = Generates ideas only when asked. Common knowledge.
- 1 = Cannot formulate own ideas.

**6. Synthesis for senior leadership (20%)** — main partner-test.
- 3 = Fully integrates all information. Clear partner/CEO-grade signal. Non-obvious / paradoxical recommendations grounded in worked logic. Pyramid Principle.
- 2 = Some information used for obvious solutions. Clear approach.
- 1 = "Drowns" in data. Cannot draw conclusions.

**7. Independence — anti-sycophancy (10%)** — AI-specific failure mode.
- 3 = Pushes back on incorrect premises. Will say "we disagree because…".
- 2 = Mild reframe but mostly accepts.
- 1 = Sycophantic — agrees with whatever was supplied.

**8. Achievement (5%)**.
- 3 = Reaches concrete recommendation with named owner + 30-day first action + leading indicator + falsification trigger.
- 2 = Reaches concrete recommendation but lacks owner/timeline.
- 1 = "Further analysis recommended" — stuck.

Weighted score = sum(score × weight). Verdict:
- PASS: weighted_score ≥ 2.5 AND no critical-dim (ambiguity, breaking_obviousness, synthesis, independence) == 1.
- REVISE: 1.8 ≤ weighted_score < 2.5 OR any critical-dim == 1.
- FAIL: weighted_score < 1.8.

## Skeptic Agent — three adversarial attacks

The Skeptic is an LLM sub-agent with antagonistic role prompt. Runs on `critical: true` artifacts.

Attack 1 — Ambiguity probe. Identifies every ambiguous data point in upstream context. For each: did artifact flag it explicitly, pick silently with justification, or pick silently without justification? If ≥1 silent unjustified choice → attack wins.

Attack 2 — Sycophancy probe. Lists all premises from upstream context. For each: did artifact challenge it or absorb it? If ≥1 weakly-grounded premise absorbed without challenge → attack wins.

Attack 3 — Steelman opposite. Constructs strongest possible case for OPPOSITE recommendation using same data. If equally defensible → attack wins.

Verdict: ROBUST (0 attacks lost) / WEAK_PUSHBACK_NEEDED (1 lost) / REJECTED (2-3 lost). Skeptic REJECTED with Tier-2 PASS forces REVISE.

## Novelty Stack — 10 signals

Signal 1 (auto, day): Multi-baseline differential — beat ≥2 of 3 baselines (vanilla LLM, RAG-only, first-principles) by ≥1 score margin on Breaking Obviousness dim.

Signal 2 (auto, day): Prior-probability surprise — smaller LLM predicts top-3 insights from context only; if our actual artifact embedding-distance ≥0.6 from predictions, signal positive.

Signal 3 (auto, day): Insider-data anchor — every insight cites ≥1 source from whitelist (10-K MD&A, earnings call Q&A, Glassdoor role-specific, PACER docket, USPTO patent claims, LinkedIn job-posting anomaly, Reddit thread, NPS verbatim, client-context-brief, industry syndicated data) and zero from blacklist (Wikipedia, company website, Bloomberg frontpage).

Signal 4 (auto, day): Skeptic Agent survival rate ≥0.67.

Signal 5 (regex + LLM, day): Counter-narrative framing — explicit "Conventional wisdom: X. Reality: Y. Implication: Z." structure with genuine X→Y inversion, not cosmetic.

Signal 6 (manual, day): Cross-industry pattern transfer — pattern observed in 2+ adjacent industries AND novel application to this industry.

Signal 7 (auto, day): Elasticity test — search-replace company name and industry; if recommendation still parses validly, it's generic (signal negative).

Signal 8 (auto, day): Falsifiability sharpness — `falsification_trigger` is observable, with concrete threshold, in ≤30 days, dependent on ≤3 input variables. Vague triggers fail.

Signal 9 (human panel, week): Reverse-Turing test — 5 domain experts asked "did you know this?" If ≥3 say "news to me" → novelty confirmed.

Signal 10 (behavioral, 30-day cap): End-user attention proxy — time spent discussing each finding in review meeting. Top-10% → "actual wow."

NoveltyScore = sum(signals 1–8) / 8 + 0.2 × signal 9 + 0.1 × signal 10 (cap 1.0). Publish threshold ≥0.5; helper-finding 0.3–0.5; strip <0.3.

## Cadence — strict D / W / 30-day max

Hard rule: no eval bucket exceeds 30 days. All long-horizon outcomes mapped to ≤30-day leading-indicator proxies.

Day bucket: T0 / T1 / T2 / Skeptic / Novelty / counterfactual replay / daily prod-traffic sample.

Week bucket: T3 human sample, reverse-Turing panel, κ-calibration vs golden labels, rubric drift detection, weekly Pareto failure clustering, regression set CI run.

30-day max bucket: workforce mobilization 30d proxy (job-posting deltas, Glassdoor 30d sentiment, intranet engagement, all-hands attendance, LinkedIn tenure deltas), end-user satisfaction proxy (T+7 NPS, T+30 follow-on requests, T+14 referral mentions), value-realization proxy (daily/weekly metric movement vs `success_criterion`, T+30 pipeline movement if CRM read-only access, T+30 cost takeout), strategic execution proxy (was Monday-morning action taken by T+7, public CEO statement / 10-Q wording delta T+30, LinkedIn org-chart anomalies T+30), stock/financial proxy (T+30 stock delta vs sector index, T+30 analyst rating shifts), brand/social proxy (Reddit/HN/X sentiment shift T+30, Trustpilot/G2/Capterra delta T+30).

Conventional 90/180/365-day metrics are explicitly forbidden. Rationale: LLM behavior drifts, prompt changes degrade silently, model upgrades break things — a 30-day-max feedback loop is the upper bound that still allows intervention before next engagement.

## Install (one command)

```
curl -fsSL https://raw.githubusercontent.com/EvXata/deepeval-bcg/main/install.sh | bash
```

This installs the skill to `~/.claude/skills/deepeval/` (user-level — available in any Claude Code session). No API keys required.

## Slash commands

- `/deepeval-init` — setup in current project
- `/deepeval-run <artifact>` — full T0+T1+T2 eval
- `/deepeval-gate <gate-id> <engagement>` — gate-level aggregation across artifacts
- `/deepeval-skeptic <artifact>` — only Skeptic Agent
- `/deepeval-novelty <artifact>` — only Novelty Stack
- `/deepeval-amazon` — demo on bundled Amazon engagement
- `/deepeval-30d <engagement>` — 30-day leading-indicator harvest
- `/deepeval-feedback <run-dir>` — generate pre-filled GitHub feedback issue

## Built-in feedback loop

Unique to `deepeval-bcg`: every eval run produces a pre-filled GitHub Issue URL with the verdict summary embedded as URL parameters. The reviewing agent or operator clicks once and submits structured feedback.

A GitHub Action aggregates all closed `eval-feedback` issues daily into rolling community stats (κ-agreement between Claude judge and human feedback; rubric-drift detection; per-dimension correlation).

This makes `deepeval-bcg` the first AI eval framework with structured agent-to-project communication baked into the skill.

Submit feedback any time: <https://github.com/EvXata/deepeval-bcg/issues/new?template=eval-feedback.yml>

## Comparison vs alternatives

vs Ragas — Ragas measures faithfulness/coverage/coherence for RAG pipelines. No sycophancy detection. No ambiguity detection. No novelty stack. No built-in feedback loop.

vs confident-ai/DeepEval — generic LLM eval framework with 50+ metrics. No sycophancy detection. No ambiguity detection. No BCG rubric. No counter-narrative checks. No built-in feedback loop. Requires provider API keys.

vs Prometheus — fine-tuned open-source eval LM. Rubric-based scoring. No sycophancy detection. No ambiguity detection. No novelty stack. Requires self-hosting.

vs G-Eval — auto-CoT eval. Needs logprob access (closed for many APIs). No sycophancy. No ambiguity. No novelty. No feedback loop.

vs LangSmith — strong agent trajectory eval and observability. No verbatim BCG rubric. No sycophancy. No ambiguity. No built-in feedback. LangChain-locked.

vs Harvey LAB — closed-source. Legal-vertical. 7-point + pairwise pattern is best public peer; we adopted it for our Tier-3.

vs Hebbia FinBench — closed-source. Finance-vertical. Methodology not public.

## When to use this skill

- Evaluating Claude Code skills against quality standards
- Pre-deploy regression eval for AI agent prompts
- CI/CD gate for AI-generated strategic content
- Detecting AI sycophancy before client delivery
- Distinguishing genuine insight from RAG-quality boilerplate
- Building golden-set / human-in-the-loop calibration data
- MBB-style consulting AI product quality assurance
- Comparing AI agent versions (regression on frozen golden set)

## When NOT to use

- General-purpose chatbot quality (use MT-Bench / Chatbot Arena Elo)
- Pure-RAG retrieval eval (use Ragas)
- Code-generation eval (use HumanEval / SWE-bench / Aider)
- Safety / red-team / jailbreak (different concern entirely)
- Latency / cost monitoring (use Helicone / Langfuse)

## Citations

Public BCG analyst-evaluation framework — 8 dimensions, calibration anchors.
Anthropic, *Demystifying Evals for AI Agents* (2025) — tier-stack pattern.
Verga et al., *Replacing Judges with Juries* (PoLL, 2024).
Liu et al., *G-Eval* (EMNLP 2023, arXiv 2303.16634).
Manakul et al., *SelfCheckGPT* (EMNLP 2023, arXiv 2303.08896).
Min et al., *FActScore* (EMNLP 2023, arXiv 2305.14251).
Zhang et al., *Which Agent Causes Task Failures?* (ICML 2025 Spotlight).
Panickssery et al., *Self-Preference Bias in LLM-as-Judge* (arXiv 2410.21819).
Kim et al., *Prometheus 2* (EMNLP 2024, arXiv 2405.01535).
Harvey AI *Legal Agent Benchmark* — Tier-3 protocol.
Bain *Net Promoter 3.0* — outcome design.
McKinsey *transformation research* — workforce mobilization metric.
Minto, *The Pyramid Principle* — Synthesis dimension.

## Citation (BibTeX)

```
@misc{deepeval-bcg-2026,
  author = {EvXata},
  title = {deepeval-bcg: Partner-Grade Evaluation Framework for LLM Agents},
  year = {2026},
  publisher = {GitHub},
  url = {https://github.com/EvXata/deepeval-bcg}
}
```

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.