生成式AI与智能体知识库

这是一个为AI工程师、技术负责人和架构师设计的生成式AI与智能体技术知识库,提供从基础原理到生产系统设计的结构化学习路径、架构权衡和可运行案例。

  • by gitanjaligilhotra1-lab
  • Python
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 gitanjaligilhotra1-lab/GenAI-AgenticAI

使用说明

GenAI & Agentic AI — From Fundamentals to Production Design

A practical engineering knowledge base for building and evaluating Generative AI and agentic systems. Follow a structured learning path, examine architecture and production trade-offs, or explore eight runnable educational case studies.

For: AI engineers, technical leads, architects, and engineering leaders assessing how AI systems should be designed, evaluated, secured, and operated.

Explore in 2 minutes

If you want to… Start here
Understand the fundamentals GenAI fundamentals
Design agents and tool workflows Agentic AI
Evaluate safety, reliability, latency, and cost Production AI
Review enterprise architecture trade-offs AI platform system design
Explore working examples Eight applied case studies
Follow a structured progression Learning roadmap

What makes this repository useful

  • Architecture-first explanations: not just what a component does, but where it fits, what can fail, and which alternatives to consider.
  • Production decision points: evaluations, observability, access controls, failure handling, latency, scalability, and unit economics.
  • Executable learning examples: eight case-study scenarios with synthetic data and tests; examples are educational, not claims of deployed enterprise systems.
  • Leadership-level trade-offs: when to use RAG versus fine-tuning, single versus multi-agent designs, shared platforms versus product-specific implementations, and when simpler automation is preferable.

Suggested first read for a CTO or AI engineering leader: AI Platform Architecture → Evaluation & Observability → Security & Guardrails → Applied Case Studies.

Scope: This is an educational and technical reference portfolio. Runnable case studies use teaching implementations and synthetic scenarios; production architecture discussions are design guidance, not evidence of live customer deployments.

Repository Structure

Learning Area Purpose
01 · GenAI Fundamentals AI/ML foundations, LLMs, tokenization, transformers, prompting, embeddings, vector databases, search/retrieval, RAG, fine-tuning, inference, hallucination, and AI frameworks
02 · Agentic AI Agents, tools, memory, planning, Agentic RAG, multi-agent systems, multimodal/conversational agents, agent training/adaptation, state machines, graph orchestration, Google ADK, agent skills/capability engineering, voice/realtime agents, MCP, and A2A
03 · Production AI Evaluation, observability, security, reliability, context engineering, performance, latency, cost, LLMOps/deployment, and AI data engineering
04 · System Design End-to-end architecture and production system-design deep dives
05 · Design Patterns Reusable architecture and implementation patterns for RAG, agents, memory, orchestration, and reliability
06 · Applied AI Case Studies Eight runnable scenarios spanning support, incidents, voice, IT, security, finance, multi-agent pipelines, and delivery status

The numbered folders are the primary navigation. Start with 01 and move forward, or jump directly to the engineering area you need.

Explore Runnable Case Studies

The Applied AI Case Studies section turns concepts into executable examples with synthetic data, tests, architecture diagrams, safety controls, and production evolution. Start with Customer Service for retrieval and action confirmation, Agent Pipeline for orchestration, or Project Status for evidence-grounded business reporting.

The case studies are deterministic teaching implementations unless explicitly stated otherwise; the production diagrams describe possible future architectures.

What You Will Learn

Track Topics
Foundations AI/ML, neural networks, transformers, tokenization, foundation models
LLM Engineering prompting, embeddings, search/retrieval, inference, RAG, fine-tuning, hallucination
Agentic AI agents, tool use, planning, memory, orchestration, multi-agent systems, multimodal/conversational agents, agent training/adaptation, runtime control
Protocols & Agent Runtime state machines, graph orchestration, Google ADK, MCP, A2A, agent-to-tool and agent-to-agent communication
System Design AI product architecture, AI platform architecture, RAG platforms, enterprise assistants, production agents, multi-agent and realtime systems
Production AI evaluation, observability, guardrails, security, reliability, scalability, latency, cost, LLMOps/deployment, and AI data engineering

Learning Journey

flowchart LR
    A[AI & ML] --> B[Transformers]
    B --> C[LLMs]
    C --> D[Prompt Engineering]
    D --> E[Embeddings]
    E --> ER[Search & Retrieval]
    ER --> F[RAG]
    F --> G[AI Agents]
    G --> H[Tool Use]
    H --> I[Memory]
    I --> J[Planning]
    J --> K[Agentic RAG]
    K --> L[Multi-Agent Systems]
    L --> MM[Multimodal & Conversational]
    MM --> AT[Agent Training & Adaptation]
    AT --> RT[Runtime / State Machines / Graphs]
    RT --> M[MCP & A2A]
    M --> N[Evaluation & Production]
    N --> O[System Design]

Start Here

Beginner

AI & ML Fundamentals → Foundation Models → Tokenization → Transformers → Large Language Models → Prompt Engineering → Embeddings → Search & Retrieval → RAG

Applied AI Engineer

LLMs → Prompting → RAG → Tool Use → Agents → Evaluation & Observability → Security & Guardrails → Reliability & Resilience → Context Engineering → Performance, Latency & Cost → AI Data Engineering → LLMOps & AI Deployment → Production

Agentic AI Engineer

AI Agents → Agent Architecture & Agent Loops → Tool Use & Orchestration → Agent Memory → Planning & Reasoning → Agentic RAG → Single vs Multi-Agent → Multi-Agent Collaboration → Multi-Agent Systems Architecture → Multimodal & Conversational Agents → Agent Training & Adaptation → Agent Runtime, State Machines & Protocols → MCP → A2A

System Design / Interview Preparation

LLM Architecture → AI Product Architecture → AI Platform Architecture → Production RAG Design → Agent Architecture → Tool Orchestration → Memory → Planning → Agentic RAG → Multi-Agent Architecture → Evaluation & Observability → Security & Guardrails → Reliability & Resilience → Context Engineering → Performance, Latency & Cost → Trade-offs

See the complete Learning Roadmap.


Core Knowledge Base

1. Foundations

2. LLM & GenAI Engineering

3. Agentic AI

4. Agent Runtime & Interoperability

5. Production AI Engineering

6. Architecture & System Design

The system-design material covers requirements, architecture, data/control flow, retrieval, orchestration, memory, security, evaluation, observability, scalability, latency, cost, failure handling, and explicit trade-offs.

7. Design Patterns

The Design Patterns catalog organizes reusable RAG, agent, memory, orchestration, and reliability patterns.


How Topics Are Developed

Major engineering topics progressively follow a common structure:

  1. What is it?
  2. Why does it exist?
  3. Mental model
  4. How it works
  5. Architecture
  6. Step-by-step flow
  7. Practical example
  8. Implementation
  9. Design decisions and trade-offs
  10. Failure modes
  11. Evaluation
  12. Security
  13. Performance, scalability, latency, and cost
  14. Production considerations
  15. Interview questions
  16. Key takeaways

Architecture-First Learning

The goal is not only to know definitions. A reader should be able to answer:

  • How does this component work?
  • Where does it fit in an architecture?
  • When should I use it?
  • What breaks in production?
  • How do I evaluate it?
  • How does it scale?
  • What alternatives exist?
  • What trade-offs would I discuss in a system-design interview?

Contributing

Contributions that improve technical accuracy, diagrams, examples, system-design discussions, implementation quality, or production guidance are welcome.


Goal: bridge the gap between learning GenAI concepts and engineering production-grade intelligent systems.