A vendor-neutral collection of enterprise AI architecture guidance, customer-facing leadership practices, decision frameworks, and runnable starter scaffolds. Use it to connect business discovery, solution design, hands-on validation, security review, delivery, operations, and outcome measurement.
The content is a public reference for adaptation. Proposed standards are not evidence of organizational approval, regulatory compliance, customer deployment, or production certification. Starter kits expose working service skeletons with placeholder pipelines; implementing a real workload requires domain logic, authentication, integration, evaluation, and operational assurance.
Start here · Leadership · Catalog · Starter kits · Validation · Privacy · Contributing
- Enterprise architects: align capabilities, standards, governance, investment, and lifecycle decisions.
- Solution architects: discover customer constraints, compare options, define contracts, and coordinate delivery.
- AI and principal architects: validate model/data assumptions, design controls, inspect implementations, and guide operations.
- Engineering and platform leads: use patterns, starter scaffolds, review checklists, and failure scenarios to make delivery decisions.
This is a set of practices and examples to evaluate in your environment. Read the status and scope of each document before adopting it.
- Understand the problem. Capture the business owner, affected workflow, baseline, constraints, and success/stop criteria in the engagement worksheet.
- Select the relevant design. Match a use case to one of the reference architectures; document alternatives and assumptions.
- Validate the risky parts. Run a bounded prototype or integration experiment and record reproducible evidence. Use the technology evaluation criteria.
- Agree the controls and decision. Apply the design review checklist, AI security controls, and your organization's decision rights.
- Implement and operate. Extend a starter kit, complete the production gates, rehearse recovery, and agree receiving ownership.
- Check the outcome. Compare reliability, adoption, costs, and business results with the original business case before expansion.
Customer obsession · Technical credibility · Ownership · Trust · Delivery · Business impact
The practical leadership guide translates leadership principles into decisions and work products that an architect can demonstrate:
- All 16 Amazon Leadership Principles mapped to architect behaviors, evidence, and warning signals, with primary-source attribution.
- Ten complementary leadership behaviors: consultative, servant, situational, transformational, technical, adaptive, collaborative, outcome-based, ethical, and coaching.
- Eight customer stages from discovery to expansion, with artifacts, owners, and exit evidence.
- An illustrative retail integration walkthrough covering source contracts, idempotency, delayed data, recovery, and decision trade-offs.
- Customer relationship habits, a delivery cadence, and authentic interview stories grounded in work you can substantiate.
Use the engagement worksheet to record the baseline, assumptions, options, experiments, decisions, readiness, and outcome review. The guide complements the solution design lifecycle; it does not add another approval chain.
The following inventory reflects files in this repository, reviewed on 2026-10-22. A file count measures the collection's scope, not the completeness or maturity of an implementation.
| Collection | Inventory | What you can use |
|---|---|---|
| Lifecycles | 24 lifecycles | Activities, artifacts, exit gates, and ownership through delivery and retirement |
| Reference architectures | 9 reference architectures | 8 workload architectures plus the enterprise-first family (secure agentic enterprise and 19 first-principle blueprints) |
| Design patterns | 13 catalogs + 5 expanded treatments | Software, data, ML, MLOps, GenAI, RAG, agents, reliability, security, UX, scaling, cost, domain patterns |
| Approaches | 3 guidance documents | Driven-development methods, delivery practices, and testing strategy |
| Use cases | 8 use cases | Problem statements, workflows, options, trade-offs, candidate metrics, and failure modes |
| Production issues | 79 indexed scenarios in 6 categories | Quality, retrieval, cost/latency, security, agents/tools, platform operations |
| Blueprints | 18 starter kits + 20 enterprise-first blueprints | Service skeletons, pipeline stubs, smoke tests, Terraform baselines, readiness checklists, and enterprise architecture blueprints |
| Governance | Process guides | Discovery, diligence, review, NFRs, value, modernization, and leadership |
| Standards | Proposed templates | Technologies, model providers, integration, agent protocols, AI-assisted development |
| Security | Controls and review guidance | Secure SDLC, AI controls, red-team feedback |
| Research | Templates and an evaluation plan | Hypotheses, authorized experiments, reproducibility, and decision evidence |
| ADRs | Decision-record template | Context, alternatives, trade-offs, ownership, consequences |
| Architect resources | Role paths and curated references | Technical foundations, leadership, implementation skills, and learning plans |
| Area | Included lifecycles |
|---|---|
| Software and product | Software development, product, technology, API, experimentation, documentation/knowledge, enablement/adoption |
| Data and models | Data, ML project, MLOps, model risk, evaluation |
| Generative AI | GenAI/LLMOps, RAG, prompts, agents, agent factory |
| Operations and commercial | Operations/incidents, FinOps, vendors/third parties |
| Specialized domains | Edge AI, quantum computing, physical AI, embodied AI |
The cross-cutting solution design lifecycle lives in docs/ and is separate from the 24 lifecycle files.
The pattern catalogs cover intent, applicability, trade-offs, and common mistakes. Expanded documents cover the LLM gateway, human approval, evaluation in CI, architecture as code, and semantic grounding.
The development approaches include test-, behavior-, acceptance-, domain-, data-, model-, evaluation-, prompt-, retrieval-, security-, contract-, documentation-, outcome-, and evidence-driven practices. Select methods according to the problem and risk; their names do not establish that a design is correct.
Architecture blueprints where one concern is the primary optimization target. They are design documents, not runnable starter kits.
| Blueprint family | Documents | Use when |
|---|---|---|
| Enterprise-first | 20 blueprints: secure agentic enterprise plus production-first, AI-first, compliance-first, quality-first, security-first, data-first, user-first, cost-first, resilience-first, governance-first, privacy-first, observability-first, evaluation-first, ethics-first, explainability-first, accessibility-first, sustainability-first, safety-first, and interoperability-first | A single concern must be the tie-breaker in an enterprise AI design |
Requires Python 3.12 for the documented example. Run each kit in its own environment because the skeletons use the same module names.
git clone https://github.com/MrKyaw/Enterprise-AI-Reference-Architecture.git
cd Enterprise-AI-Reference-Architecture/blueprints/inference-starter-kit
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
PYTHONPATH=src pytest -q
PYTHONPATH=src uvicorn main:app --host 127.0.0.1 --port 8080From another terminal:
curl http://127.0.0.1:8080/health
curl -X POST http://127.0.0.1:8080/v1/run \
-H 'Content-Type: application/json' \
-d '{"input":"smoke test","tenant_id":"demo"}'The expected pipeline status is scaffold. A tenant_id in a request is an input value, not authenticated tenant identity. The local input screening and regex redaction are examples, not comprehensive authorization, injection prevention, or privacy controls. Keep the skeleton local until the required controls are implemented.
| Family | Kits |
|---|---|
| Core workload designs | inference, rag, agent, data-agent, copilot, fine-tuning, training, intelligent-automation |
| Specialized domains | edge-ai, physical-ai, embodied-ai, quantum, agent-factory |
| Cross-cutting | evaluation, observability, ai-security, integration |
| Integrated enterprise | secure-agentic-enterprise |
Each kit contains a FastAPI skeleton, typed models, placeholder pipeline steps, input-screening examples, smoke tests, a non-root Dockerfile, and a Terraform baseline. Infrastructure files are starting points that need environment-specific review; they are not deployed infrastructure or evidence of a successful cloud validation.
Read the blueprint catalog and the selected kit's README before implementation. Copying .env.example does not load it into the Python process automatically; export required settings explicitly.
| Goal | Start with |
|---|---|
| Lead discovery and earn customer confidence | Leadership guide and worksheet |
| Design an integration or modernization | Solution lifecycle, integration patterns, legacy modernization |
| Compare technologies or build vs buy | Evaluation criteria, build-vs-buy framework, ADR template |
| Define acceptance criteria | NFRs, testing strategy, evaluation lifecycle |
| Review a design | Review process, checklist, review request |
| Prepare production operation | POC-to-production gates, operations lifecycle, failure scenarios |
| Grow team capability | Architect resource hub, enablement lifecycle |
Documents marked Proposed describe practices to review and adapt. A reference to “approved” technology describes the approval process an adopting organization must establish; the public list is a template with unfilled entries. This repository does not grant internal approval or verify a deployment's compliance.
Changes follow the contribution and review process. Standards and reference-architecture changes need the reviewers and control evidence specified there. Identify real decision-makers in your organization rather than copying placeholder roles as if a review had occurred.
Documentation validation checks tracked Markdown links, code fences, collection counts, excluded private-file types, named customer references, and Mermaid syntax. It does not certify architectural correctness, external website availability, legal compliance, or freedom from all sensitive information.
Requires Node.js 22.12+ and Python 3.12 for the CI tooling:
npm ci --ignore-scripts --no-audit --no-fund
npm testTo scan secrets locally with Gitleaks installed:
gitleaks git --log-opts=--all --redact --no-banner .The local review passed checks for 171 Markdown files, 62 Mermaid diagrams, and 72 smoke tests across 18 starter kits. The locked documentation tooling had 0 npm audit findings at review time. The kit tests emit an upstream dependency deprecation warning, recorded in the review.
See the publication and validation review for the scope, results, limitations, and public metadata considerations. Blueprint smoke checks exercise the skeletons; provider integrations, model quality, cloud deployments, and workload performance require separate validation.
| Area | Useful measure | Agreement required |
|---|---|---|
| Quality | Correctness, grounded answers, harmful-output rates, task success | Representative evaluation data, slice coverage, acceptance threshold |
| Reliability | Availability, error rate, recovery time, freshness | SLO, measurement window, operational owner |
| Latency | End-to-end p50/p95/p99 under the intended workload | Workload, concurrency, error accounting, target |
| Cost | Build/run/support cost per completed task | Attribution model, review effort, budget envelope |
| Adoption and trust | Active usage, abandonment, authorized customer feedback | Baseline, observation period, privacy controls |
| Business impact | Cycle time, error reduction, realized capacity, revenue protection | Business owner, baseline, attribution limits |
Targets in examples are illustrative until agreed for a specific engagement. Do not claim performance improvements, customer outcomes, or cost savings without reproducible evidence and permission to share it.
Publish only generic architecture practices, authorized public references, synthetic fixtures, and appropriately reviewed examples. Keep customer identities, employer-confidential details, live transcripts, internal topology, credentials, cloud state, and restricted benchmark data outside this public repository.
The leadership guide uses a company-neutral illustrative scenario. The embedding research documents are an evaluation plan, not published experimental findings or customer evidence.
Secret scans can find supported credential patterns; they cannot prove that every document is non-confidential. Historical Git commits retain author metadata, including an email address. Updating files does not remove information from old commits, forks, caches, or previously downloaded copies. See publication guidance and SECURITY.md before publishing sensitive material.
reference-architectures/ Proposed workload designs
lifecycles/ Delivery, model, data, operations, and retirement phases
design-patterns/ Pattern catalogs and expanded treatments
approaches/ Development methods, delivery practices, testing
use-cases/ Business scenarios and design trade-offs
production-issues/ Failure scenarios and prevention guidance
blueprints/ 17 runnable starter scaffolds
standards/ Proposed technology and integration templates
security/ Security controls and review practices
research/ Research templates and an evaluation plan
docs/ Governance, leadership, and publication review
templates/ Review request and engagement worksheet
resources/ Architect competencies and learning references
adr/ Architecture decision records
.github/ Validation scripts, workflow, issue forms, ownership
Read CONTRIBUTING.md and the Code of Conduct. Open focused pull requests with the problem, resulting behavior, and validation evidence. Use the changelog for content history; unreleased additions are not a published version or approval record.
Before publication, review the complete diff for customer information, credentials, claims, source attribution, broken links, and ownership assumptions. Add new documents to their directory index and link them to the lifecycle or decision they support.
MIT. Original copyright notices are preserved. Linked third-party resources retain their own terms and licenses.
⭐ Star this repo if you find it useful!