Complete Architecture Deep Dive

Three jobs. One pass. Zero latency.

EngineNear sits directly between the user’s keyboard and the generative AI model. It structures intent, enables context enrichment, and enforces on-device security firewalls before text leaves the endpoint.

Job 1: Optimize

Complete intent at the speed of thought.

Most AI prompt failures stem from missing context: vague goals, unstated output formats, or ambiguous tone. EngineNear analyzes keystrokes in real time via an on-device AST parser, suggesting proactive ghost text and context chips before you hit Enter.

  • ✓Zero Network Delay: Runs in under 0.5 ms via client-side Web Workers.
  • ✓Closed Shadow DOM: Overlay elements never pollute web page DOM trees.
  • ✓Capture Phase Interception: Catches keystrokes before browser handlers process them.
chatgpt.com / claude.ai / gemini.google.com
Sub-5ms LatencyOn-Device AST
EngineNear Inline Ghost Overlay (Closed Shadow DOM)Interception: Capture Phase
Draft email to John about renewal discount and roadmap with our Q4 pricing tiers... [Press Tab to accept]
Detected Gaps:+ Goal: Renewal Proposal+ Tone: Executive+ Format: 3-Paragraph Memo
Engine Execution: 0.38 ms | 0 Network Hops

Context CompilerACL Pre-Filtered

Real-time context enrichment with zero raw prompt storage & strict role-based access.

Input: 8 tokens→Enriched: 78 tokens (+875%)
Connected Knowledge Sources
Salesforce CRM[^1]Active

Account ACME-4091: Tier 1 (120k ARR), Primary Contact: John Doe (VP Eng).

ACL: role:sales_rep✓ 1 Record Injected
Enterprise Policy Handbook[^2]Enforced

POL-DISC-09: Max allowable sales rep discount is 15% without CFO sign-off.

ACL: all_tenants✓ Guardrail Attached
Zero Hallucination AssuranceThe AI model only receives verified, cited attributes authorized by your tenant ACL. Unmatched records and sensitive billing credentials are discarded before the prompt is formatted.
Assembled Prompt with Source CitationsFormat: Structured XML
xml
<context>
<!-- Source [^1]: Salesforce CRM Connector (Account: ACME-4091) -->
<account name="Acme Corporation" arr_tier="Tier 1 (120k ARR)" renewal_date="2026-12-15">
<contact name="John Doe" role="VP Engineering" email="j.doe@acme.corp" />
<tier>Enterprise Multi-Region (Self-Hosted Gateway)</tier>
</account>
<!-- Source [^2]: Enterprise Policy Handbook (POL-DISC-09) -->
<discount_guard max_authorized_rate="15%" approval_required_threshold=">15%">
<rule>Standard annual renewal discount capped at 15% without VP Finance approval.</rule>
</discount_guard>
</context>
<instructions>
Draft an executive renewal memo to John Doe at Acme Corporation. Propose standard 15% renewal pricing
contingent on a 2-year commitment, citing our Q4 SOC 2 Type II assurance report.
</instructions>
Job 2: InjectRoadmap

Verified facts with strict ACL pre-filtering.

Connect your CRM, ERP, and internal policy docs directly to the prompt compiler (planned for enterprise releases). EngineNear verifies user permissions, pulls only authorized facts, and injects them with explicit citation markers so the AI never hallucinates customer details.

  • ✓Role-Based Access Control: Sales reps only see assigned accounts; engineers only see relevant tickets.
  • ✓Citation Transparency: Every injected fact carries an auditable citation tag ([^1], [^2]).
  • ✓Dynamic XML Formatting: Isolates instructions from system context to eliminate prompt drift.
Job 3: Protect

Client-side scrubbing (Shipped) & Gateway governance (Roadmap).

On-device T0 scanner scrubs keys and PII in <0.5ms. Centralized admin console and VPC gateway governance allow security teams to enforce policies and inspect zero-raw-prompt SHA-256 audit trails (planned enterprise roadmap).

Active Protection Engine Mode

ENFORCE ACTIVE

Controls real-time enforcement across all browser extension nodes and gateway proxies.

Prompts Scanned
148,290
↑ 12.4%vs last week
Secrets Intercepted
412
100% blocked before egress
Injections Blocked
89
L0 regex + L1/L2 models
P95 Engine Latency
0.42 ms
Well under 5ms budget
Live Security Events TableZero Raw Prompts Stored
TimeRequest SHA-256PolicyDetected PatternAction
Just nowe3b0c44298...52b855API Key ShieldOpenAI Secret Key (sk-live-51Nx...)Masked & Logged
2m ago8f4b23112a...1b7811US PII RedactionUS Social Security Number (123-45-xxxx)Redacted (Luhn Validated)
14m ago7c9a10243d...1b7833Prompt Injection L2System Instruction Override ("Ignore all...")Blocked (Fail-Closed)
38m ago5d8e20984f...1b7844EU GDPR Banking FenceGerman IBAN Account Number (DE89...)Tokenized (Reversible)
1h ago2a1b3c4d5e...1b7855Cloud Credential GuardAWS Access Key ID (AKIAIOSFODNN7EXAMPLE)Masked & Logged
Displaying 5 of 148,290 indexed events (SHA-256 hashed audit log)Audit Immutability: Verified

Ready to safeguard generative AI across your workflow?

Install the lightweight extension in 30 seconds for Chrome, Edge, and VS Code, or join the roadmap waitlist for enterprise VPC gateways.