Independent WSO2 compatibilityIndependent compatibility evidence

Reduce AI context inside WSO2. Keep the evidence path.

Evaluate Maha Context Compiler as a fail-closed request interceptor in an existing WSO2 AI Gateway deployment—without replacing WSO2 as the enterprise gateway and control plane.

The pilot measures provider input tokens, required-fact retention, citation traceability, latency, failure behavior, and model cost against a customer-shaped workload. It returns a private evidence package and a recommendation to proceed, revise, or stop.

01 · Install

Configure an evaluation-only, fail-closed interceptor path alongside the existing WSO2 baseline and Prompt Compressor path.

02 · Compare

Run one agreed workload through all three paths with a frozen configuration, explicit cost ceiling, and no automatic retries.

03 · Decide

Deliver aggregate results, sanitized traces, failure-path evidence, limitations, and a production-readiness recommendation.

Preliminary observed result

A reason to evaluate—not a universal performance claim.

In a 60-call comparison over 20 frozen, synthetic 20K–100K-token workloads, run once on 2026-08-17, the Maha path reduced provider input tokens by 98.84% and observed model cost by 98.20% relative to baseline. All 60 calls completed without retries or failures.

PathProvider input tokensObserved model costMedian latencyRequired facts retained
WSO2 baseline1,621,553$1.6329632,867 ms60 / 60
WSO2 Prompt Compressor1,489,323$1.5052486,958 ms0 / 60*
WSO2 + Maha18,849$0.0293791,701 ms60 / 60

*The Prompt Compressor result is specific to WSO2 AI Gateway 1.1.0, Prompt Compressor 0.9.0, and a 0.55 retained ratio. It should not be generalized before WSO2 or a customer confirms that configuration reflects the intended production setup. Provider pricing assumptions and the full frozen configuration are recorded in the reproduction manifest.

Which retention score this is. “Required facts retained” above is the path-blinded semantic rubric applied to the returned answers. A second, stricter scorer measures exact evidence-span containment on the same answers and reports 15 / 60 for the baseline, 0 / 60 for the Prompt Compressor, and 24 / 60 for Maha, because it scores a correct paraphrase as a miss. Both scores are published per workload in the evidence artifact. Latency is one observation per call on a single run, not a percentile over repeated runs.

Reproduce before trusting

The evaluation method is inspectable.

The public package pins the gateway and policy versions, retained ratio, model, corpus digest, failure behavior, and zero-retry rule. Its default one-command run is a dry run and makes no provider calls.

The evidence package

Four documents, each served from this site and each stating its own scope. Read them before the call rather than after it.

The retention benchmark publishes its v1 results alongside the dense baseline, so the comparison can be read in full rather than in the direction that flatters us.

npm run reproduce:wso2-evaluation

Check the observed result yourself

The table above is not typed into this page. It is read from a committed artifact that carries every one of the 60 calls as its own row, and whose totals are re-derived from those rows each time it is loaded — a hand-edited total fails validation instead of rendering. Verify the artifact you are reading is the one described here:

shasum -a 256 content/integrations/wso2-live-evaluation-evidence.json npm run validate:wso2-live-evidence
Evidence artifact SHA-256
78a822dd3c85821a98ca01262b02c12b5c42bc3c1433515909d3a0c5554aa3f1
Frozen corpus label digest
a6b95c81e981fcda20576046354105994bc8846e2b6da8a4e77c754a7085a8c9
Source checkpoint SHA-256 (not published)
sha256:40cb6956b0b732918c1bf6d63852d1076505c0348dd195a86384a5a935f4d0f3

The run’s primary evidence — the durable checkpoint and the path-blinded adjudication — is retained outside this repository because both carry the model’s answer text for every call. They are identified above by digest so a reviewer under NDA can be handed the exact bytes this artifact was derived from and re-derive it with npm run generate:wso2-live-evidence. The sanitized single-workload trace remains published separately: it is one representative call, not evidence for the aggregate.

Declared boundaries

Independent compatibility work, not a WSO2 endorsement.

  • • Maha Strategies is not claiming WSO2 partnership, certification, approval, or customer validation.
  • • The published benchmark corpus is synthetic; the pilot exists to test whether the result survives a realistic customer workload.
  • • The public policy bundle is evaluation-only. Production requires a reviewed gateway-side secret reference, service identity, mTLS, or equivalent interceptor authentication.
  • • No fixed compression, savings, retention, or latency result is promised before measurement.

Start with evidence

Bring one expensive or audit-sensitive context workflow.

Send the approximate input size, request volume, current WSO2 AI Gateway version, and the facts or citations that must survive. Maha will reply with a bounded scope—or say plainly if the workflow is not a fit.