456

AI: The Complete Guide

updated 2026-08-017 min read121 connected nodes

Retrieval-Augmented Generation (RAG) is the pattern of grounding an LLM's answer in documents fetched at query time instead of relying only on what the model memorised during training. A RAG system turns your knowledge base into embeddings, stores them in a vector database, and at question time retrieves the most relevant chunks to inject into the prompt. This guide pulls together everything on Onexial tagged ai — 121 connected nodes across definitions, workflows, tool stacks, comparisons, prompts and applied use cases — and orders it the way you would actually learn it: vocabulary first, then process, then tooling, then execution. Every item below links to a full node with its own examples and connections, so you can go as deep as you need without losing the map.

Core concepts behind AI

Before wiring anything together, the vocabulary has to be precise. These 88 definitions cover the terms that show up in almost every AI discussion — each one links to a full entry with an example and its own connections inside the graph.

DEFDictionaryNODE·4C13A3

AI Agent

An autonomous AI system that plans and executes multi-step tasks.

#ai#automation
/ai-agentopen →
DEFDictionaryNODE·72CB4B

RAG (Retrieval-Augmented Generation)

Inject external knowledge into an LLM at query time.

#ai#retrieval
/ragopen →
DEFDictionaryNODE·4EF5FF

Prompt Chaining

Pipelining LLM calls where each step's output feeds the next.

#ai#prompting
/prompt-chainingopen →
DEFDictionaryNODE·139612

LLM Orchestration

Coordinating multiple model calls, tools, and data sources into one reliable system.

#ai#architecture
/llm-orchestrationopen →
DEFDictionaryNODE·C49C81

Vector Database

A database optimized for similarity search over embeddings.

#ai#infrastructure
/vector-databaseopen →
DEFDictionaryNODE·6525CF

AI SDR (Sales Development Rep)

An autonomous system that researches, qualifies, and contacts leads.

#sales#ai
/ai-sdropen →
DEFDictionaryNODE·55B6DE

Vibe Coding

Building software by describing intent in natural language and letting AI generate the code.

#ai#development#no-code
/vibe-codingopen →
DEFDictionaryNODE·48DEBE

MCP (Model Context Protocol)

Open protocol that lets LLMs connect to tools, data sources and apps through a standard interface.

#ai#protocol#agents
/mcp-model-context-protocolopen →
DEFDictionaryNODE·5BFF00

Agentic RAG

RAG where an agent decides what to retrieve, when, and from which source — instead of a single static query.

#ai#retrieval#agents
/agentic-ragopen →
DEFDictionaryNODE·214A15

Embedding

A numerical vector representation of text, image or audio that captures meaning for similarity search.

#ai#infrastructure#retrieval
/embeddingopen →
DEFDictionaryNODE·6C8EA5

Fine-Tuning

Continuing to train a base model on your own examples to specialize its behavior.

#ai#training#models
/fine-tuningopen →
DEFDictionaryNODE·120E48

AEO (Answer Engine Optimization)

Optimizing content to be cited by AI answer engines like ChatGPT, Perplexity and Google AI Overviews.

#seo#ai#content
/aeo-answer-engine-optimizationopen →

Workflows: how AI runs end to end

Concepts only matter once they become a repeatable process. Below are 6 documented workflows that apply AI to a concrete problem, with the steps, the tools involved and the variations worth testing.

The AI tool stack

A stack is a set of tools chosen for one job, not a list of favourites. These 1 stacks show which combinations hold up in production for AI, and what each layer is actually responsible for.

Trade-offs and comparisons

Most AI decisions are trade-offs rather than right answers. These 26 comparisons break down the real differences, when each option wins, and the recommendation for the common case.

VSComparisonNODE·411C54

ChatGPT vs Claude

Two leading conversational AI assistants compared across reasoning, writing, coding, and pricing.

#ai#tools
/chatgpt-vs-claudeopen →
VSComparisonNODE·6EE9B7

Lovable vs Bolt

Two AI app builders compared on speed, backend, deployment, and production readiness.

#ai#no-code#development
/lovable-vs-boltopen →
VSComparisonNODE·2D5E86

OpenAI API vs Anthropic API

Choosing between the two leading LLM API providers for production apps.

#ai#models#comparison
/openai-vs-anthropic-apiopen →
VSComparisonNODE·5D664C

Lovable vs Cursor

Prompt-to-app builder vs AI-assisted code editor — which one should you reach for?

#ai#builders#comparison
/lovable-vs-cursoropen →
VSComparisonNODE·41C517

Perplexity vs ChatGPT Search

Two answer engines, two philosophies: citation-first research vs conversational assistant.

#ai#search
/perplexity-vs-chatgpt-searchopen →
VSComparisonNODE·673D22

OpenAI vs Gemini for Agent Building

Both ship strong models and SDKs — differences are in tool calling, context and pricing.

#ai#models
/openai-vs-gemini-for-agentsopen →
VSComparisonNODE·2675FB

RAG vs Long Context Windows

Is RAG obsolete now that context windows are 1M+ tokens? Not quite — here's when each wins.

#ai#rag#architecture
/rag-vs-long-contextopen →
VSComparisonNODE·652548

LangChain vs LlamaIndex

Both are Python/JS frameworks for LLM apps. LangChain leans agents; LlamaIndex leans RAG.

#ai#frameworks
/langchain-vs-llamaindexopen →
VSComparisonNODE·6F31CE

Best AI Workflow Automation Tools: n8n vs Zapier vs Make

The three tools most operators consider for AI workflow automation — compared on pricing, AI integration and technical flexibility.

#automation#ai#comparison
/ai-automation-platformsopen →
VSComparisonNODE·26A503

Claude vs GPT vs Gemini

The three frontier model families, side by side.

#ai#models
/claude-vs-gpt-vs-geminiopen →
VSComparisonNODE·2EE290

Claude Sonnet vs Opus

When to spend up within the Claude family.

#ai#models
/sonnet-vs-opusopen →
VSComparisonNODE·55FB85

Llama vs Mistral

Two leading open-weight families.

#ai#open-source
/llama-vs-mistralopen →

Frequently asked questions

What does RAG stand for?
Retrieval-Augmented Generation. The model retrieves relevant documents at query time and generates an answer grounded in them.
When should I use RAG instead of fine-tuning?
Use RAG for factual, changing or private knowledge — docs, tickets, product data. Use fine-tuning for consistent style, format or a narrow behaviour that prompting cannot reach.
Do I always need a vector database for RAG?
No. For small corpora, in-memory search or keyword search (BM25) can outperform a naive vector setup. Vector DBs shine when you have thousands+ documents and need semantic recall.
How does RAG reduce hallucinations?
By passing the retrieved passages into the prompt and asking the model to answer only from them (with citations), the surface area for fabrication drops sharply — though prompt design and reranking still matter.
What does MCP actually stand for?
Model Context Protocol. It is an open standard for exposing tools, resources and prompt templates to AI models over a JSON-RPC channel.
Who created MCP?
Anthropic released the specification in November 2024. OpenAI, Google, Microsoft, Cursor and most agent frameworks have since adopted it.
How is MCP different from an OpenAI plugin or a Claude tool call?
Plugins and tool calls are proprietary and tied to one vendor. MCP is a shared protocol: one MCP server works with Claude, ChatGPT, Cursor, VS Code, custom agents and anything else that speaks MCP.
Do I need to run my own MCP server?
Only if you want to expose your own data or tools. Public MCP servers already exist for GitHub, Postgres, Notion, filesystems and hundreds of SaaS tools.
keep reading