Engineering · Reference Architectures

Reference Architectures

Reusable architecture patterns for enterprise AI and data. Each pattern states when to use it, when not to, the reference flow and the implementation considerations. These are engineering approaches to adapt, not packaged products.

Reference architecture

Governed retrieval for enterprise knowledge

Use when

Staff or systems need answers grounded in approved internal content, with citations and access that follows source permissions.

Avoid when

Use cases that require the model to act on systems. Use the agentic pattern for those.

Governed retrieval patternEnterprise systemsData infrastructureAI / intelligenceHuman control gate
  1. Approved sourcesVersioned documents with owners
  2. Ingestion and quality checksParsing, metadata, approval status
  3. Access-aware indexPermissions carried into the index
  4. RetrievalHybrid search and ranking
  5. Grounded generationAnswer restricted to retrieved text
  6. Citation and auditSource and version shown and logged
  • Access control
  • Evaluation
  • Observability

Evaluation sets check retrieval quality and citation accuracy before each release.

Implementation considerations

  • Permissions must be enforced at retrieval, not only at ingestion.
  • Track document approval status so that drafts are not returned as current policy.
  • Measure retrieval quality separately from answer quality.
Reference architecture

Agentic workflow control pattern

Use when

Repetitive investigations or workflows where an agent should plan and gather evidence, but action must follow policy and approval.

Avoid when

Consequential actions with no approval path, or workflows whose systems cannot provide scoped tools.

Agentic workflow control patternEnterprise systemsData infrastructureAI / intelligenceHuman control gate
  1. Enterprise eventException, request or trigger
  2. Context retrievalScoped, permissioned access
  3. AI reasoningPlan, evidence, recommendation
  4. Policy validationLimits, rules, authority
  5. Human or automated actionWithin approved tier
  6. AuditInputs, calls and decisions recorded
  • Authorization
  • Observability
  • Rollback
  • Audit

Automated action is limited to approved tiers. Everything else waits for a person.

Implementation considerations

  • Define tools as narrow, typed functions, one per permitted action.
  • Assign automation tiers per workflow and enforce them in the policy layer.
  • Test for prompt injection through retrieved content and tool outputs.
Reference architecture

Lakehouse with semantic layer

Use when

Multiple reporting and AI consumers need the same governed definitions, and sources change frequently.

Avoid when

Single-team reporting with stable sources, where a simpler warehouse design is sufficient.

Lakehouse and semantic layer patternEnterprise systemsData infrastructureAI / intelligenceHuman control gate
  1. Source systemsApplications, events, files
  2. IngestionBatch, CDC and streaming
  3. StorageOpen table format with quality checks
  4. Domain data productsOwned and documented
  5. Semantic layerShared KPIs and entities
  6. ConsumersBI, reporting, AI retrieval
  • Lineage
  • Quality
  • Access control
  • Metadata

Consumers read the semantic layer, which keeps executive reporting and AI context consistent.

Implementation considerations

  • Choose the open table format and catalogue deliberately; migration later is costly.
  • Make ownership of each data product explicit, including the on-call contact for failures.
  • Publish lineage from transformation code, not from manual documentation.
Reference architecture

Event-driven operations with controlled remediation

Use when

High event volumes where correlation and diagnosis reduce investigation effort, and where some remediation is repeatable.

Avoid when

Low event volumes or environments without reliable topology or runbooks.

Event-driven operations patternEnterprise systemsData infrastructureAI / intelligenceHuman control gate
  1. TelemetryAlarms, metrics, logs
  2. Event streamingOrdered backbone
  3. CorrelationGrouping with traceable suppression
  4. ReasoningRanked causes with evidence
  5. Policy validationTiers and blast-radius checks
  6. Approved executionEngineer or permitted automation
  • Observability
  • Rollback
  • Audit

Rollback is designed per action before the action is permitted.

Implementation considerations

  • Keep suppressed events searchable so that correlation errors can be found.
  • Automation tiers are reviewed with operations, not set once.
  • Measure correlation accuracy in post-incident review.