# Few-Shot Academy > A free, open-source, local-first curriculum for generative AI, LLMs, vector databases, RAG, > agents, and the Model Context Protocol. It is written for learners with no prior AI or > computer science background and includes runnable labs. Use the learning tracks in order: Foundations, Intermediate, then Advanced. The MCP and Vector Databases tracks stand alone. Advanced Concepts is a production cookbook. The blog contains sourced industry analysis, not curriculum recaps. The podcast collects conversations and guest appearances about learning, AI practice, and enterprise adoption. ## Start Here - [Few-Shot Academy](https://fewshotacademy.com/): Choose a learning track or explore AI career paths. - [Curriculum introduction](https://fewshotacademy.com/docs/intro): What the curriculum covers, who it is for, and how to use it. Each track's page links a downloadable ZIP of its runnable labs. ## Foundations - [Overview](https://fewshotacademy.com/docs/foundations/overview): The path from basic AI concepts to a local RAG capstone. - [Chapter 0: Set Up Your Machine](https://fewshotacademy.com/docs/foundations/setup): Install uv, VS Code, and Ollama for the labs. - [Chapter 1: What Is AI, Really?](https://fewshotacademy.com/docs/foundations/what-is-ai): How AI, machine learning, deep learning, and generative AI relate. - [Chapter 2: What Is a Large Language Model?](https://fewshotacademy.com/docs/foundations/what-is-an-llm): How LLMs predict text one token at a time. - [Bonus: Using AI Responsibly](https://fewshotacademy.com/docs/foundations/02b-responsible-ai-use): Privacy, bias, verification, and intellectual-property basics. - [Chapter 3: Prompting 101](https://fewshotacademy.com/docs/foundations/prompting-101): Zero-shot, few-shot, and system prompts with a runnable comparison. - [Chapter 4: What Is an Embedding?](https://fewshotacademy.com/docs/foundations/what-is-an-embedding): How text becomes vectors that preserve semantic similarity. - [Chapter 5: What Is a Vector Database?](https://fewshotacademy.com/docs/foundations/what-is-a-vector-database): Storing and searching embeddings efficiently. - [Chapter 6: What Is RAG?](https://fewshotacademy.com/docs/foundations/what-is-rag): Turning an LLM into an open-book answerer. - [Chapter 7: What Is an AI Agent?](https://fewshotacademy.com/docs/foundations/what-is-an-ai-agent): How agents choose actions and call tools. - [Chapter 8: Q&A Bot Capstone](https://fewshotacademy.com/docs/foundations/capstone-qa-bot): Build a RAG bot over your own documents. ## Intermediate - [Overview](https://fewshotacademy.com/docs/intermediate/overview): Retrieval, prompting, tools, agents, memory, evaluation, and a capstone. - [Chapter 1: Chunking Strategies](https://fewshotacademy.com/docs/intermediate/chunking-strategies): Compare fixed-size, recursive, and semantic chunking. - [Chapter 2: Choosing an Embedding Model](https://fewshotacademy.com/docs/intermediate/choosing-embedding-model): Compare quality, latency, and cost. - [Chapter 3: Better Retrieval](https://fewshotacademy.com/docs/intermediate/better-retrieval): Metadata filtering, hybrid search, and re-ranking. - [Chapter 4: Prompt Patterns](https://fewshotacademy.com/docs/intermediate/prompt-patterns): Reasoning, structured output, and function calling. - [Chapter 5: Tool Use](https://fewshotacademy.com/docs/intermediate/tool-use): Build a tool-calling loop by hand. - [Chapter 6: Your First Agent](https://fewshotacademy.com/docs/intermediate/your-first-agent): Rebuild the loop with LangChain and examine the abstraction. - [Chapter 7: Memory](https://fewshotacademy.com/docs/intermediate/memory): Short-term checkpoints and summarized long-term memory. - [Chapter 8: Evaluating What You Built](https://fewshotacademy.com/docs/intermediate/evaluating): Measure retrieval and generated answers. - [Chapter 9: Multi-Tool Agent Capstone](https://fewshotacademy.com/docs/intermediate/capstone): Combine calculation, search, RAG, and memory. ## Advanced - [Overview](https://fewshotacademy.com/docs/advanced/overview): Production patterns for agentic RAG systems. - [Chapter 1: Multi-Agent Patterns](https://fewshotacademy.com/docs/advanced/multi-agent-patterns): Supervisor, hierarchy, and swarm patterns. - [Chapter 2: Advanced RAG](https://fewshotacademy.com/docs/advanced/advanced-rag): Query rewriting, HyDE, multi-hop retrieval, and self-correction. - [Chapter 3: Fine-Tuning vs. RAG vs. Prompting](https://fewshotacademy.com/docs/advanced/fine-tuning-vs-rag-vs-prompting): Choose an adaptation strategy and run a small LoRA comparison. - [Chapter 4: Guardrails and Safety](https://fewshotacademy.com/docs/advanced/guardrails-and-safety): Input checks, output validation, and their limits. - [Chapter 5: Observability](https://fewshotacademy.com/docs/advanced/observability): Trace model calls with OpenTelemetry. - [Chapter 6: Production Concerns](https://fewshotacademy.com/docs/advanced/production-concerns): Caching, rate limiting, and streaming. - [Chapter 7: Shipping It](https://fewshotacademy.com/docs/advanced/shipping-it): Package an agent with FastAPI and Docker. - [Chapter 8: Evaluated Agent Capstone](https://fewshotacademy.com/docs/advanced/capstone): Add guardrails, tracing, and evaluation to an agent. - [What to Build Next](https://fewshotacademy.com/docs/advanced/what-to-build-next): Choose from six scoped projects that reuse techniques from the curriculum. ## Model Context Protocol - [MCP track overview](https://fewshotacademy.com/docs/mcp/overview): The standalone track and its final system. - [Chapter 1: What Is MCP?](https://fewshotacademy.com/docs/mcp/what-is-mcp): Host, client, and server architecture. - [Chapter 2: Build an MCP Server](https://fewshotacademy.com/docs/mcp/building-your-own-mcp-server): Wrap a Python tool with the official SDK. - [Chapter 3: One Agent, Many Servers](https://fewshotacademy.com/docs/mcp/one-agent-many-servers): Connect an agent to multiple MCP servers. - [Chapter 4: Transports and Deployment](https://fewshotacademy.com/docs/mcp/transports-and-deployment): Compare stdio and HTTP deployment. - [Chapter 5: Resources, Prompts, and Sampling](https://fewshotacademy.com/docs/mcp/resources-prompts-sampling): Explore MCP primitives beyond tools. - [Chapter 6: MCP Security](https://fewshotacademy.com/docs/mcp/mcp-security): Defend against malicious tool descriptions and output. - [Chapter 7: Agent2Agent](https://fewshotacademy.com/docs/mcp/a2a): Discover and delegate to a remote agent with A2A. - [Chapter 8: MCP Capstone](https://fewshotacademy.com/docs/mcp/capstone): Combine servers, a domain guard, memory, and a Streamlit UI. ## Vector Databases A free, standalone vector database course for beginners. Every chapter has a runnable local lab. - [Overview](https://fewshotacademy.com/docs/vector-databases/overview): From word counting to HNSW, DiskANN, pgvector, hybrid search, rerankers, and GraphRAG. - [Setup](https://fewshotacademy.com/docs/vector-databases/setup): Install uv, a local embedding model, and Docker or Podman. - [Chapter 1: Meaning as Geometry](https://fewshotacademy.com/docs/vector-databases/meaning-as-geometry): TF-IDF, LSA, word2vec, and sentence embeddings on one search. - [Chapter 2: The Math of Similarity](https://fewshotacademy.com/docs/vector-databases/similarity-math): Cosine, dot product, Euclidean distance, normalization, and the curse of dimensionality. - [Chapter 3: Exact Search](https://fewshotacademy.com/docs/vector-databases/exact-search): Brute-force nearest neighbor search, k-d trees, and ground truth. - [Chapter 4: Approximate Search](https://fewshotacademy.com/docs/vector-databases/approximate-search): Locality-sensitive hashing, IVF, and recall@k. - [Chapter 5: HNSW](https://fewshotacademy.com/docs/vector-databases/hnsw): How the graph search works and how M, efConstruction, and efSearch trade recall for speed. - [Chapter 6: Billion Scale](https://fewshotacademy.com/docs/vector-databases/billion-scale): Scalar, binary, and product quantization, rescoring, and DiskANN. - [Chapter 7: From Library to Database](https://fewshotacademy.com/docs/vector-databases/library-to-database): pgvector in Docker, filtered search, production recall checks, and choosing a vector database. - [Chapter 8: Hybrid Search](https://fewshotacademy.com/docs/vector-databases/hybrid-search): BM25, reciprocal rank fusion, and hybrid search in PostgreSQL. - [Chapter 9: Rerankers](https://fewshotacademy.com/docs/vector-databases/rerankers): Bi-encoders, cross-encoders, late interaction, and LLM rerankers. - [Chapter 10: GraphRAG on a Vector Store](https://fewshotacademy.com/docs/vector-databases/graphrag): Entity links beside vectors for multi-hop questions. - [Chapter 11: Capstone](https://fewshotacademy.com/docs/vector-databases/capstone): Combine vector search, keywords, a reranker, and a graph, and measure each stage. ## Advanced Concepts - [Overview](https://fewshotacademy.com/docs/advanced-concepts/overview): Standalone production topics that can be read in any order. - [Prompt Engineering](https://fewshotacademy.com/docs/advanced-concepts/prompt-engineering): Structure, grounding, chaining, ReAct, self-refine, and optimization. - [Token and Cost Management](https://fewshotacademy.com/docs/advanced-concepts/token-cost-management): Context trimming, prompt caching, model selection, and batching. - [Agent Security](https://fewshotacademy.com/docs/advanced-concepts/agent-security): Stop indirect prompt injection with tool-call policy. - [Human in the Loop](https://fewshotacademy.com/docs/advanced-concepts/human-in-the-loop): Pause tool calls for approve, edit, reject, or respond decisions. - [Role-Based Access Control](https://fewshotacademy.com/docs/advanced-concepts/rbac): Scope tool permissions and limits by role. - [Chaos Engineering](https://fewshotacademy.com/docs/advanced-concepts/chaos-engineering): Inject tool faults and measure agent degradation. - [Continuous Adversarial Evaluation](https://fewshotacademy.com/docs/advanced-concepts/continuous-adversarial-evaluation): Test defenses against varied attacks and secure the eval harness. - [AI Gateways](https://fewshotacademy.com/docs/advanced-concepts/ai-gateways): Build a provider boundary and deliberate failover policy. - [Sizing Models: Run Your Own or Rent](https://fewshotacademy.com/docs/advanced-concepts/model-sizing): Size memory and speed from the workload, then compare running your own with renting. ## Career and Interview Preparation - [Career tracks](https://fewshotacademy.com/career-tracks): Compare five roles that build, operate, sell, or manage AI systems. - [Forward-Deployed Engineer](https://fewshotacademy.com/career-tracks/forward-deployed-engineer): Work with customers to turn ambiguous problems into production systems. - [Applied and Agentic AI Engineer](https://fewshotacademy.com/career-tracks/applied-agentic-ai-engineer): Build and ship RAG pipelines and tool-using agents. - [AI Product Manager](https://fewshotacademy.com/career-tracks/ai-product-manager): Define and guide AI products. - [SRE and Reliability Engineer for AI Agents](https://fewshotacademy.com/career-tracks/sre-reliability-engineer): Operate agents against reliability, cost, and latency goals. - [AI Solutions Architect and Presales](https://fewshotacademy.com/career-tracks/ai-solutions-architect-presales): Lead discovery, prototypes, demos, and technical proposals. - [Interview preparation](https://fewshotacademy.com/interview-prep): Choose a role and prepare for its interview loop. - [Technical rounds](https://fewshotacademy.com/interview-prep/technical-round): Role-specific technical questions and exercises. - [Behavioral rounds](https://fewshotacademy.com/interview-prep/behavioral-round): Role-specific prompts and answer frameworks. - [Case studies](https://fewshotacademy.com/interview-prep/case-studies): Practice role-specific take-home and live cases. ## Blog - [Blog index](https://fewshotacademy.com/blog): Sourced analysis of AI releases, incidents, security, regulation, and engineering practice. - [Agent skills: read past the summary](https://fewshotacademy.com/blog/agent-skills-read-past-the-summary): With a million agent skills published and security guidance still planned, what a skill can run on your machine and three habits for reviewing one before you install it. - [Your MCP servers need a bouncer](https://fewshotacademy.com/blog/mcp-servers-need-a-bouncer): Why shared MCP servers need one gateway that checks callers, hides tools, and logs calls, tested with agentgateway 1.6.0. - [How to budget tokens](https://fewshotacademy.com/blog/how-to-budget-tokens): A yearly token budget gone in four months leads to how teams estimate, cap, alert on, and trace token spend. - [The AI industry is building its own referee](https://fewshotacademy.com/blog/ai-industry-building-own-referee): After a run of model security incidents, a search for who sets shared safety rules leads to an industry body taking shape without government oversight. - [Goose: An Open-Source Agent You Can Assemble Yourself](https://fewshotacademy.com/blog/goose-open-source-agent-you-can-assemble-yourself): Why Goose works as both a coding agent and a configurable general-purpose agent. - [Agent security starts before the first prompt](https://fewshotacademy.com/blog/secure-the-tools-around-your-agent): Why agent startup, gateways, and tools need separate security boundaries. - [AGENTS.md: one guide for your coding agents](https://fewshotacademy.com/blog/agents-md-guide): How to keep shared project instructions with a repository and connect them to coding tools. - [GPT-6 Astra: the harness is the product](https://fewshotacademy.com/blog/gpt-6-astra-the-harness-is-the-product): Why Astra's AGI claim depends on persistent context, searchable history, async tools, and mid-turn steering. - [Stop calling LLM APIs directly](https://fewshotacademy.com/blog/stop-calling-llm-apis-directly): Why model fallback needs an application-owned boundary and tested policy. - [MCP is done pretending agents are people](https://fewshotacademy.com/blog/mcp-roadmap-agent-identity): What the MCP roadmap means for agent identity and delegation. - [MCP just went stateless](https://fewshotacademy.com/blog/mcp-goes-stateless): Production implications of the July 2026 MCP specification revision. - [Frontier models don't make safer agents](https://fewshotacademy.com/blog/frontier-models-arent-safer-agents): What adversarial tool environments reveal about agent security. - [Managed AI platforms trade one lock-in for another](https://fewshotacademy.com/blog/managed-ai-platforms-lock-in): Compare cloud AI platforms with direct provider APIs. - [OWASP checked its LLM Top 10 against real incidents](https://fewshotacademy.com/blog/owasp-llm-top-10-2026): How incident data changed the 2026 ranking. - [A new toolkit unifies three ways to catch a hallucination](https://fewshotacademy.com/blog/sirin-hallucination-detection-toolkit): Compare three hallucination-detection methods with SIRIN. - [OpenAI's cyber-hunting model found a Chrome vulnerability](https://fewshotacademy.com/blog/openai-cyber-model-chrome-vulnerability): What GPT-5.6-Cyber demonstrated and what its autonomy limits mean. - [Every major AI lab shipped an agent model this week](https://fewshotacademy.com/blog/open-weight-models-agent-benchmarks): Compare agentic benchmarks across three model releases. - [NVIDIA shows KV caches can move between model sizes](https://fewshotacademy.com/blog/cross-model-kv-cache-transfer): Reuse prompt-processing work across related models. - [What the rogue-agent headlines got wrong](https://fewshotacademy.com/blog/rogue-agent-incidents-guardrails): Separate real security incidents from misleading framing. - [OWASP published a security top 10 for MCP](https://fewshotacademy.com/blog/owasp-mcp-top-10): Review all ten MCP risk categories and examples. - [The EU AI Act deadline moved](https://fewshotacademy.com/blog/eu-ai-act-obligations): What changed and what high-risk obligations still require. - [Agent memory became its own product category](https://fewshotacademy.com/blog/agent-memory-first-class): Compare agent-memory frameworks, benchmarks, and open problems. ## Podcast - [Podcast index](https://fewshotacademy.com/podcasts): Conversations about learning in the time of AI, life journeys, current AI developments, and enterprise adoption. - [Beyond ChatGPT: What Generative AI Really Is](https://fewshotacademy.com/podcasts/beyond-chatgpt): A talk for Collin College students on what happens behind ChatGPT, the building blocks of generative AI, and how students can get ready for a changing tech job market. - [Exploring the world of Agentic Systems](https://fewshotacademy.com/podcasts/exploring-the-world-of-agentic-systems): Mangat discusses agentic AI, Few-Shot Academy, MCP servers, and the challenges of bringing AI agents into production. ## Optional - [Disclaimer](https://fewshotacademy.com/disclaimer): Educational limits, external providers, costs, and responsible use. - [Privacy Notice](https://fewshotacademy.com/privacy): Analytics, browser storage, forms, retention, and visitor choices. - [Contact](https://fewshotacademy.com/contact): Contact Few-Shot Academy.