A Practical AI Upskilling Guide for Intelligence Analysts - Part 2
Understanding how AI technologies work together, and where intelligence analysts fit in.
Sierra Karcher, Analyst in the Loop
Part 2 of a 3-part series (go to Part 1 or Part 3) plus a terminology crosswalk
In Part 1, I explored six areas intelligence professionals can focus on to build technical fluency beyond prompt engineering, and this post aims to demistify how AI concepts and components fit together (and where there are parallels to and distinctions from analytic tradecraft). We hear a lot about large language models (LLMs), retrieval augmented generation (RAG), embeddings, APIs, and AI agents. Each offers something different, but they often operate as components of a larger system.
I think this is an important next step for intelligence analysts exploring AI: understanding how information moves through these systems, how different technologies interact, and where analytical judgment fits into the process.
You don't need to become an engineer, data scientist, or developer to understand the basic architecture of an AI-enabled workflow, but that understanding can make help significantly when evaluating tools, communicating requirements to technical teams, or identifying where a system might introduce errors.
Let's connect a few concepts using a familiar scenario: an analyst researching an emerging threat using a collection of publicly available reports.
1. What Actually Happens When You Ask AI a Question?
When you submit a prompt to a large language model, the system processes your input and generates a response using patterns learned during training and information available in its current context.
A few foundational concepts help explain this process:
- Tokens: Units of information a model processes, often words or parts of words.
- Context window: The maximum amount of tokenized information a model can accommodate in a given interaction.
- Inference: The process of running a trained model to produce an output. This is different from analytical inference, which involves drawing conclusions from evidence.
- Temperature: A setting available in some models that influences variability in how tokens are selected during generation. It doesn't directly control factual accuracy.
- Model parameters: Numerical values learned during training that help determine how a model processes information and generates outputs.
An important distinction: an LLM isn't inherently a search engine, database, or intelligence analyst. It can be connected to systems that retrieve and store information, but generating a response isn't the same as verifying its accuracy.
The tradecraft connection: Understanding how an answer is generated helps us recognize why it may be incomplete, inconsistent, or unsupported by evidence.
2. How Does AI Access Information Beyond Its Training?
Imagine an intelligence analyst wants an AI assistant to answer questions using a collection of threat intelligence reports.
One approach is retrieval augmented generation (RAG), which connects a language model to a process for finding relevant external information.
A typical RAG system involves several components:
- Document preparation: Information is extracted from source documents, often divided into smaller sections called chunks, and associated with useful metadata.
- Indexing: Content is organized for retrieval, potentially using embeddings (numerical representations of information), keyword search, or a combination.
- Retrieval: When an analyst asks a question, the system searches for relevant information.
- Generation: Retrieved material is provided to the LLM as context for producing a response.
Document preparation and indexing often occur before the analyst submits a question. This architecture can make it easier to work across large collections of information, but it also introduces questions about what information is available, how it is retrieved, and whether important context is preserved.
The tradecraft connection: Retrieving relevant information isn't the same as evaluating it. A system might identify the correct report but misinterpret its findings, overlook conflicting evidence, or rely on outdated information.
This is where concepts like provenance (the origin and history of information), grounding (connecting outputs to specified sources), and source credibility become particularly important.
3. How Do Different AI Components Communicate?
An AI application may involve multiple systems working together: a language model, search tools, databases, and applications that process or visualize information.
Understanding a few additional terms can help make sense of how these components connect:
- APIs (Application Programming Interfaces): Interfaces that allow software systems to communicate and exchange requests or information.
- JSON: A structured data format commonly used to organize and exchange information between systems.
- Environment variables: Configuration values supplied to running applications, often used to specify settings or provide access to credentials.
- Tool calling: A mechanism that allows a model to request operations from external software, subject to the application's permissions and controls.
For example, an AI research assistant might use an API to access an approved information service, receive structured data, and generate a summary or visualization for an analyst. Environment variables might help configure the application without embedding settings or credentials directly into its code. They don't automatically secure sensitive information, however; credentials still require appropriate protection.
The tradecraft connection: Understanding which system is responsible for retrieving, processing, and presenting information makes it easier to identify limitations and troubleshoot potential problems.
4. How Does a Single AI Interaction Become a Workflow?
There's a difference between asking an AI tool to summarize a report and developing a system that can retrieve reporting, extract relevant information, update a database, and prepare a recurring analytical product.
Some workflows use predefined sequences of steps. Others incorporate AI agents that can dynamically select tools or actions to pursue an objective. Neither approach is inherently better. For a routine task with clearly defined rules, conventional automation may be sufficient. More complex tasks might benefit from AI-assisted interpretation or adaptive tool use.
The important question is what the task requires and how the system should be designed to perform it reliably. Think of this like training a new analyst: what task do you want them to complete, what are the notional parameters or guardrails of the task, what are the logical steps you would expect the analyst to take, and what is the expected output of the task the analyst should aim for.
The tradecraft connection: Not every analytical activity needs automation, and not every automated step requires an AI model. Understanding the workflow helps analysts identify where technology can add value, where errors might emerge, and where human review or approval is necessary.
5. How Do We Know Whether the System Actually Works?
This is where technical fluency becomes especially valuable. An AI-generated answer might sound convincing, include citations, and follow the requested format while still missing important evidence or drawing unsupported conclusions.
Evals are systematic tests used to assess AI performance against defined tasks and criteria.
For an intelligence research assistant, we might evaluate:
- Retrieval quality: Did the system find the most relevant reporting?
- Grounding: Are its claims supported by the retrieved material?
- Accuracy: Are the factual statements correct?
- Completeness: Did it address the question and identify important information gaps?
- Consistency: How reliably does it perform across different questions and repeated tests?
These criteria assess different aspects of performance. A system might retrieve the correct documents while generating a poor summary. Or it might accurately summarize available information while overlooking a significant report that was never retrieved. Understanding where a problem originates matters because different failures require different solutions.
The tradecraft connection: Intelligence professionals already have experience evaluating evidence, identifying assumptions, assessing uncertainty, and reviewing analytical quality. Those skills can help inform meaningful evaluation criteria, alongside the technical testing needed to measure system performance.
6. You Already Know How to Ask Some of the Right Questions
If some of this terminology feels unfamiliar, consider approaching it through questions you already ask as an intelligence analyst.
- Where did this information come from?
- What was left out?
- What sources were consulted, and why?
- How was the information processed?
- What assumptions shaped the result?
- How confident should we be in the conclusion?
Those questions remain relevant when evaluating an AI-enabled analytical workflow. The difference is that technical fluency helps us understand where problems might originate and what additional questions to ask.
For example, if an AI assistant overlooks a significant development, was the relevant report missing from its collection? Did the retrieval system fail to find it? Or did the model receive the information but fail to incorporate it into the response? Those are different problems requiring different solutions.
An intelligence analyst doesn't necessarily need to diagnose the underlying code to recognize these distinctions or help technical teams investigate them, and learning how to do so doesn't need to begin with programming.
You can think about AI technical fluency in four stages:
- Understand: Recognize the components of an AI system, their purpose, and their limitations.
- Experiment: Explore capabilities using approved tools and public information, including document retrieval, structured outputs, and evaluation.
- Build: Develop or connect capabilities using APIs, scripts, automation platforms, or other technical tools.
- Iterate: Feed your knowledge back into how you do your job as an analyst and step through integrations with AI, knowing that the space is evolving everyday and there is always something new to learn and evaluate.
Each stage offers opportunities to contribute. Not everyone needs to become a developer, but greater technical understanding can help intelligence professionals participate more meaningfully in conversations about how these systems are designed and evaluated.
Putting It Into Practice
Here's a simple exercise to begin connecting these concepts without writing code.
Using an approved AI tool and a publicly available intelligence assessment or research report:
- Ask the AI to summarize the report's key findings, supporting evidence, and information gaps.
- Ask it to distinguish information directly supported by the report from its own interpretations.
- Compare the output against the original source. Look for omissions, unsupported conclusions, or missing context.
- Identify what additional information would be needed to evaluate one uncertain conclusion.
Then consider three questions:
- What did the technology do well?
- What required analytical judgment?
- What would I need to understand about the system before using it for a more consequential analytical task?
This exercise won't reveal every detail of how the model works, but it can provide a practical starting point for exploring how AI processes information, where its limitations become visible, and how analytical expertise contributes to evaluating the results.
Connecting the Dots
The goal of learning these concepts isn't to turn every intelligence professional into an AI engineer. Rather, it's to develop enough technical understanding and confidence to recognize how AI capabilities function, where their limitations originate, and what questions we should be asking when introducing them into analytical workflows.
Intelligence professionals can contribute to defining requirements, evaluating source quality, identifying failure modes, developing realistic test scenarios, and determining whether outputs are useful to decision-makers. These contributions don't replace technical expertise. They complement it, and the more familiar analysts become with how AI systems work, the better positioned they are to collaborate with the people developing them.
You don't need to build every component of an AI system to understand how they fit together, but understanding those connections puts you in a much better position to determine whether the technology is actually improving the analytical process.
Continue Learning
- Google: Introduction to Large Language Models — Model fundamentals, tokens, context, and inference.
- Microsoft: RAG Solution Design and Evaluation — How document preparation, retrieval, generation, and evaluation connect.
- Microsoft: RAG Evaluation — Evaluating retrieval quality and generated responses.
- Google Machine Learning Glossary — Technical terminology and foundational concepts.
- Hugging Face Agents Course — For readers ready to explore tools, agents, and more technical workflows.
Go to Part 3 or my terminology crosswalk.