Part 7 of 7 — How AI Actually Works

Applications — What Gets Built on Top

From chatbots to autonomous agents — the application layer and where AI is headed.

Six layers down, the model is running and the interface is ready. The application layer is where all of that infrastructure becomes something a person actually uses. This is the layer most people see — and the layer changing fastest. Chatbots were just the beginning.

What the Application Layer Does

An AI application takes the raw capability of a model — next-token prediction at scale — and wraps it in a product. It handles authentication, conversation management, tool integration, output formatting, safety filtering, and user experience. The model provides the intelligence; the application provides the context in which that intelligence is useful.

The same underlying model can power radically different products depending on the system prompt, the tools it is given access to, and the interface presented to the user. Claude powers Claude.ai — but it also powers hundreds of other products via the API.

Categories of AI Applications

Conversational Assistants

Claude.ai, ChatGPT, Gemini. General-purpose chat interfaces. The model is given a broad system prompt and the user drives the conversation. The simplest application architecture — prompt in, response out.

Code Assistants

GitHub Copilot, aider, Claude Code. The model is given the context of your codebase — open files, cursor position, recent edits — and generates completions, fixes, or explanations. Tight integration with the development environment is the key differentiator.

Document & Knowledge Tools

AI that reads your documents, answers questions about them, summarizes them, or extracts structured data. Retrieval-Augmented Generation (RAG) is the common architecture — relevant documents are retrieved and inserted into the context window before generation.

Workflow Automation

Tools like fabric that pipe text through AI-powered transformations in a shell pipeline. Also enterprise tools that route documents, classify support tickets, draft responses, or summarize meetings automatically as part of a larger workflow.

Search & Research

AI-augmented search that synthesizes answers from multiple sources rather than returning a list of links. Perplexity, Bing AI, Google AI Overviews. The model generates a response grounded in retrieved web content.

Autonomous Agents

AI that takes actions, not just generates text. An agent is given tools — web search, code execution, file access, API calls — and orchestrates them to complete a multi-step task with minimal human intervention. The frontier of current AI deployment.

RAG — Retrieval-Augmented Generation 📖 Glossary

One of the most important application patterns is RAG. The problem it solves: models have a knowledge cutoff and a finite context window. They cannot know about documents you wrote last week or your organization's internal policies.

RAG solves this by retrieving relevant content at query time and inserting it into the context window before the model generates a response. Your question arrives, a search system finds the most relevant chunks from a document store, those chunks are added to the prompt, and the model answers based on that retrieved context.

RAG as open-book exam: A base model answers from memory — closed book. A RAG system gets to look things up first — open book. The model's reasoning ability stays the same; what changes is that it now has access to current, specific information it could not have learned during training.

Agents — AI That Takes Action

A standard AI interaction is one round trip: prompt in, response out. An agent is different — it can take multiple steps, use tools, observe results, and adjust its approach based on what it finds.

A simple example: "Research the top five AI papers from this month and write a summary." An agent might search the web, retrieve paper abstracts, read selected papers, synthesize findings, and write a structured report — all without a human in the loop at each step.

Agents require the model to be given tools — functions it can call — and the ability to reason about when and how to use them. The application layer manages the tool definitions, executes tool calls when the model requests them, and feeds results back into the context for the next step.

Agents as scripted automation with judgment: A shell script executes steps in a fixed sequence. An agent executes steps in a sequence it determines based on intermediate results — more like a skilled operator running a runbook who can adapt when a step produces an unexpected result. The tools are the commands; the model is the operator.

AI in the Sysadmin Context 📚 Continue Exploring ↓

For BU ITS staff, the most immediately useful applications are the ones closest to existing workflows:

Where This Is Headed

The application layer is the fastest-moving part of the AI stack. The hardware evolves over years; the models evolve over months; applications evolve over weeks. A few directions worth watching:

The Complete Stack — Where You Now Stand

6
Application Layer — chatbots, code assistants, agents, RAG systems. What users see.
5
Interface Layer — API, web UI, CLI tools, system prompts, prompt engineering.
4
Inference Layer — forward pass, autoregressive generation, batching, KV cache.
3
Model Layer — transformer architecture, tokenization, parameters, context window.
2
Training Layer — data pipeline, pre-training, fine-tuning, RLHF.
1
Hardware Layer — GPU clusters, TPUs, interconnects, VRAM, inference vs training infrastructure.

Series Complete

You started with a prompt going in and an answer coming out.
Now you know every layer in between.

From silicon to response — that is how AI actually works.