Skip to content

Reference architectures

Three worked examples of TapPass deployed against real customer stacks. Buyers should see themselves in at least one of these. Each example shows: their stack, runtime selection per surface, coverage achieved, and what it costs.

These are the concrete answer to "what does TapPass look like for our environment?" Generic architecture lives elsewhere; this is the partner-facing rendition.


Each scenario walks through:

  1. The customer's stack — what they actually run today
  2. The runtime selections — which TapPass runtime maps to each surface
  3. Coverage achieved — concrete answer to "what governance do we get?"
  4. What it costs — Runtime / Control / Intelligence pricing
  5. Compliance posture — what packs they apply
  6. The 30-day rollout — how they actually deploy

Three scenarios:

  • Scenario A — Mid-market fintech, full coverage. Claude Code on laptops + LangChain in K8s + Custom Python in CI.
  • Scenario B — SMB with mixed stack, partial coverage. Cursor on laptops + n8n workflows + OpenAI Assistants in production.
  • Scenario C — Healthcare on-prem, regulated, airgapped. Custom Python agents on internal Kubernetes, no SaaS.

Scenario A — Mid-market fintech, full coverage

Section titled “Scenario A — Mid-market fintech, full coverage”

Customer profile: 200 engineers. SOC 2 + on track for ISO 42001. CTO told CISO to enable Claude Code by end of quarter, safely. CISO wants the same governance posture across all surfaces.

SurfaceWhat they run
Developer laptopsClaude Code (200 installs); Cursor (~30 power users)
CI / build agentsClaude Code in headless mode (3 Linux build hosts)
ProductionLangChain agents on EKS (12 services, mostly customer-support and refund flows)
Data analyticsCustom Python agents running ad-hoc; SQL against Snowflake
SurfaceRuntimeCoverage
Dev laptops (Claude Code)claude-code-laptop5/5
Dev laptops (Cursor)cursor-laptop (Q3 ship)3/5
CI build hostsclaude-code-server5/5
Production LangChain on K8slangchain-react deployed via OpenShell on K8s5/5
Data analytics Pythonlangchain-react (custom Python via tappass-agent SDK)5/5
Gateway MCP Codemode Harness Kernel
Claude Code laptops ✓ ✓ partial ✓ ✓
Cursor laptops ✓ partial ✗ partial ✗
Claude Code CI ✓ ✓ ✓ ✓ ✓ (OpenShell)
LangChain K8s ✓ ✓ ✓ ✓ ✓ (OpenShell on K8s)
Custom Python agents ✓ ✓ ✓ ✓ ✓

Headline: 4 of 5 surfaces achieve full 5/5 coverage. Cursor laptops are the partial-coverage outlier — and that gap closes as Cursor's own surface evolves.

Two packs applied at org floor:

  • OWASP LLM Top 10 — coverage of LLM01-10 (LLM03 and LLM09 explicitly out-of-scope)
  • SOC 2 mapping — every Rego rule tagged for SOC 2 CC6.1 / CC6.6 / CC7.2

Project-level additions: payment processing project layers in PCI-DSS scope pack (planned Q1 2027 but operator-authored equivalent in the meantime).

ProductCost
Runtime$0 (open-core)
Controlper governed agent / month × ~250 active agents
Intelligencenot yet (2027 add-on)
On-premnot needed (SaaS Control plane)
WeekWhat happens
1MDM post-install hook on every laptop. pip install tappass; tappass configure --enrollment-token. Shim claude and cursor. Developers notice nothing.
2Open Control dashboard. Apply OWASP LLM Top 10 pack at org level. Author SOC 2 mapping. Flip on shadow mode for 7 days.
3Review shadow-mode telemetry. Three false positives, one true positive. Tighten policy. Promote to enforced.
4Push enforced policy via SSE to all surfaces. All 5 surfaces report applied policy_version 1017 within 5 seconds. SOC 2 auditor visit week 6 — clean close.
  • Per-surface trace timelines (5 contiguous spans per call: gateway → mcp → codemode → harness → kernel where applicable)
  • Per-policy because-trail for every rule (which compliance pack contributed it, which cascade level introduced it)
  • Per-sandbox status (active / offline / drift)
  • Audit export to SOC 2 CC6.1 PDF on request

Scenario B — SMB with mixed stack, partial coverage

Section titled “Scenario B — SMB with mixed stack, partial coverage”

Customer profile: 30 employees, growing fast. No CISO. CTO wears the security hat. Has heard prompt-injection horror stories. Wants safety without a 6-month rollout.

SurfaceWhat they run
Developer laptopsCursor (12 devs); a few use VS Code Copilot
Operationsn8n workflows for everything (~40 active workflows; some call OpenAI for content gen)
Customer-facingOpenAI Assistants API embedded in their SaaS (1 production assistant)
InternalA few Python scripts hitting Anthropic for ad-hoc work
SurfaceRuntimeCoverage
Dev laptops (Cursor)cursor-laptop (Q3 ship)3/5
n8n workflowsn8n-workflow (Q4 ship)1/5 (gateway only)
OpenAI Assistants in productionopenai-assistants1/5 (gateway only)
Internal Python scriptslangchain-react via tappass-agent SDK5/5
Gateway MCP Codemode Harness Kernel
Cursor laptops ✓ partial ✗ partial ✗
n8n workflows partial ✗ ✗ ✗ ✗
OpenAI Assistants ✓ ✗ ✗ ✗ ✗
Python scripts (SDK) ✓ ✓ ✓ ✓ ✓

Headline: mixed coverage — full on the SDK-direct path, partial-to-minimal on vendor-hosted surfaces. Still much better than nothing. The CISO has a coherent coverage map and knows where the gaps are.

The strategy memo's principle: "don't claim coverage we don't have." For this customer:

  • OpenAI Assistants runs on OpenAI's infrastructure — we cannot enforce the kernel ring there. Pair with OpenAI Enterprise admin tooling for the rest.
  • n8n workflows are gateway-only governance — we sit between n8n's HTTP node and the LLM provider. The agent's other behavior is outside our reach.
  • Cursor's harness has limited allow/deny semantics; partial there.
  • OWASP LLM Top 10 at org level — gives them a procurement-defensible answer if they pursue SOC 2 in 2027.
  • No regulated-industry packs (not yet relevant).
ProductCost
Runtime$0
Controlper governed agent / month × ~50 agents
Intelligencenot yet
On-premnot needed
WeekWhat happens
1CTO runs pipx install tappass-host tappass-agent. Configures gateway redirect for n8n + OpenAI Assistants.
2Cursor laptops install runtime. Existing Python scripts migrated to tappass-agent SDK.
3Apply OWASP LLM Top 10 pack. Run probe suite against Python scripts. Fix one prompt-injection issue.
4Trial period closes. Convert to paid Control plan.
  • Honest dashboard: 4/5 ratings vary by surface; gaps marked transparently with rationale.
  • One audit trail across all surfaces.
  • Single Policy authored once, applied everywhere it can be applied.

Scenario C — Healthcare on-prem, regulated, airgapped

Section titled “Scenario C — Healthcare on-prem, regulated, airgapped”

Customer profile: Regional healthcare SaaS. Processes PHI. HIPAA-regulated. Legal won't approve any SaaS — everything must run in their VPC. Building a customer-facing triage agent. Audit firm specifically asks how they govern agentic PHI access.

SurfaceWhat they run
Triage agent (production)Custom Python on internal K8s; LangChain ReAct
Internal tools agentsClaude Code on engineer laptops (limited; mostly for data engineers)
EHR integrationInternal MCP server exposing FHIR queries
Test harnessPre-deployment evaluation in CI before shipping any agent change
SurfaceRuntimeCoverage
Triage agent (production)langchain-react deployed via gVisor on K8s + airgapped Control plane5/5
Engineer laptops (Claude Code)claude-code-laptop with on-prem TapPass endpoint5/5
Internal MCP (FHIR)Registered via tappass mcp register --name acme-fhir --auth bearer:vault://acme-fhir-tokenn/a (TapPass is broker)
Gateway MCP Codemode Harness Kernel
Triage agent (gVisor on K8s) ✓ ✓ ✓ ✓ ✓
Claude Code laptops (on-prem) ✓ ✓ partial ✓ ✓
EHR integration (registered MCP) ✓ ✓ (broker enforces ACLs)

Headline: full 5/5 coverage on production. PHI taint tracking enforced via Compiled Policy-level data classification. Internal MCP registered via approved-tool-server-list — every FHIR call goes through TapPass MCP broker.

  • TapPass Control plane runs in customer's VPC (via tappass-platform license server).
  • Outbound-only Cloudflare Tunnel for license refresh; nothing else leaves.
  • No customer data ever transits TapPass-managed infrastructure.
  • Same product surface as SaaS Control — the difference is deployment topology.
  • HIPAA pack (planned 2027; operator-authored in the meantime) — PHI-mode detect_pii, access_control_strict, allowed-domain matching for external_messaging.
  • PHI taint tracking as a first-class Compiled Policy dimension — once an agent reads PHI, its data_class is tainted, and downstream egress is hard-restricted to internal endpoints only.
  • EU AI Act + OWASP LLM packs at org level (procurement-defensible baseline).
  • Quarterly HIPAA 164.312 report — operator clicks one button to export.
ProductCost
Runtime$0
Control (on-prem)per governed agent / month × ~15 agents + on-prem surcharge
Intelligencenot applicable (airgapped; tenant-isolated; no cross-customer telemetry by policy)
On-prem deployment cost (compute, ops)borne by the customer
WeekWhat happens
1-2TapPass Control plane deployed in customer VPC via tappass-platform. License token configured.
3Internal MCP server registered with TapPass MCP broker. Vault-backed credentials for FHIR API.
4Triage agent moved behind TapPass. Pre-deployment eval runs against PHI-handling probes. Fix two issues. Promote to production. Quarterly HIPAA report rendered for audit firm.
  • Audit shows every PHI access with data_class=phi, agent_id, policy_version, denied actions, and full replay traces.
  • Pre-deployment probes ran 50+ adversarial scenarios against the triage agent before each release. Pass/fail report attached to PR.
  • Tenant-isolated — no cross-customer telemetry; no Intelligence layer; everything stays in their VPC.

  • One Policy. Every customer authors one Rego policy (or applies one set of compliance packs); it materializes consistently across all their surfaces.
  • One audit trail. All governed actions across all surfaces emit to one hash-chained audit log.
  • One dashboard. All sandboxes / all surfaces / all policies visible in one place (in customer's VPC for healthcare; SaaS for fintech and SMB).
  • Coverage depth varies by surface, because what's possible on each ecosystem varies. The fintech achieves 5/5 across most surfaces because they use governable ecosystems. The SMB has gaps because their stack includes vendor-hosted SaaS and HTTP-driven workflows. The healthcare org achieves 5/5 by choosing a governable runtime architecture.
  • Pricing tier varies by Control adoption. Runtime is free; Control scales with agent count.
  • Deployment topology varies. SaaS for most; on-prem for regulated.
BuyerMap to scenario
Mid-market fintech, financial services, e-commerceScenario A
SMB, growth-stage SaaS, design-led teamsScenario B
Healthcare, public sector, defense, regulated financeScenario C

If a prospect's stack doesn't fit one of these cleanly, write a fourth scenario.


When a partner conversation surfaces a new common stack, add a fourth scenario. Each new scenario should answer the same six questions:

  1. The customer's stack
  2. Runtime selections
  3. Coverage achieved (the matrix)
  4. Compliance posture
  5. Cost shape
  6. 30-day rollout

A reference architecture is buyer-facing. The audience is the partner / customer's CTO trying to project TapPass into their environment. Write accordingly.


  • OVERVIEW.md — the 1-pager
  • COMPATIBILITY-MATRIX.md — per-runtime coverage definitions
  • PRODUCT-ALIGNMENT.md — which product covers what
  • STATUS.md — what's shipped vs. concept (relevant when scoring "today" coverage)
  • Strategy Memo v3 §16-18 — original three scenario walkthroughs (fintech / solo dev / healthcare)