Skip to content
NVIDIA AI Model and Application Development Associate (NCA-AMAD) Exam Prep

Lesson 1 of 8 · 17 min

x
1/8

Agentic AI (17%)

Video lesson: NCA-AMAD Domain 1: Agentic AI

Official exam topics: exam-guide/nca-amad-exam-page.md ("Agentic AI"). NVIDIA assesses agentic AI concepts, including reasoning patterns, safety concepts and failure modes, multi-agent components, agent orchestration, human oversight, measuring and improving agent performance, and integrating agents with tools and external systems. Tied for the largest area of the exam. Expect design scenarios: single call or agent, which reasoning pattern, which memory, how to connect a tool, how to stop an agent doing harm, how to measure it. The reading list centres on NVIDIA's technical blogs (Building your First LLM Agent Application, Mastering Agentic Techniques: AI Agent Customization and Evaluation, An Easy Introduction to LLM Reasoning, AI Agents, and Test Time Scaling), the NeMo Guardrails and NeMo Agent Toolkit docs, and NVIDIA glossary pages on autonomous agents, multi-agent systems and data flywheels.

Exam topics in this domain 1. 1.1 Agentic AI concepts: agents vs generative AI vs rule-based systems; building blocks; harnesses and runtimes; single LLM calls vs multi-step workflows 2. 1.2 Reasoning patterns (ReAct, reflection, planner–executor) and test-time scaling 3. 1.3 Tools and external systems: APIs, function calling, Model Context Protocol (MCP); orchestration and execution order 4. 1.4 State, context and memory: stateless vs stateful, context engineering, short-term vs long-term memory 5. 1.5 Multi-agent systems: components, collaboration patterns, single vs multi-agent 6. 1.6 Safety controls, failure modes, tracing and human oversight 7. 1.7 Measuring and improving agent performance 8. 1.8 NVIDIA tools for agents: NeMo, NeMo Agent Toolkit, NVIDIA Agent Toolkit, NemoClaw, NeMo Guardrails

Checked against NVIDIA documentation (November 2026). - NeMo Agent Toolkit (open source, package nvidia-nat, formerly AgentIQ) is a framework-agnostic library for connecting, profiling, evaluating and optimizing agents and workflows built with any framework (LangChain/LangGraph, LlamaIndex, CrewAI, custom code). It can act as an MCP client (use tools from remote MCP servers) and as an MCP server (publish its own tools). - NVIDIA Agent Toolkit (announced 2026) is NVIDIA's umbrella for building and running enterprise agents: the OpenShell secure runtime (policy-governed sandboxes), NemoClaw, open Nemotron models, the AI-Q agent blueprint and agent skills. - NVIDIA NemoClaw is an open-source reference stack for running always-on AI agents more safely inside OpenShell sandboxes: a host CLI, a versioned blueprint and an agent-specific integration layer, with YAML network (egress) policies, filesystem and process controls, managed inference routes and credentials kept outside the sandbox. It supports runtimes such as OpenClaw. It is an early-preview stack for one trusted operator on one host, not a multi-tenant control plane. - NeMo Switchyard (pre-alpha, 2026) is an open-source model router: it sends each agent request to the most suitable model among open, proprietary and NVIDIA models, without application rewrites, to cut cost and latency. Product names in this space change quickly; questions test what each tool is for.

1.1 What an Agent Is

Three kinds of system

SystemHow it decidesStrengthWeakness
Rule-basedFixed if-then logic written by peoplePredictable, auditable, cheapBrittle; can't handle unexpected input
Generative AI (single LLM call)Model produces one response to one promptFlexible language and reasoningCan't act, check its work or use live data on its own
Agentic AIAn LLM plans, calls tools, observes results and iterates toward a goal, with some autonomySolves multi-step tasks, uses live systems, recovers from errorsHigher cost and latency, harder to test, new safety risks

An AI agent is a system that uses an LLM as its reasoning engine to pursue a goal: it decides what to do next, takes actions through tools, observes the results and repeats until the goal is met or it stops.

Core building blocks - Agent core (LLM): reasons, plans and decides the next action. - Instructions: system prompt with role, goal, rules and output format. - Tools: functions, APIs, databases, search, code execution, other agents. - Memory: short-term (current conversation and scratchpad) and long-term (stored facts, past episodes) (1.4). - Planning: breaking the goal into steps (1.2). - Environment / harness and runtime: the code that runs the loop: calls the model, executes tool calls, enforces limits (max steps, timeouts, budgets), handles errors, keeps state and logs traces. The runtime is where the agent executes, ideally a sandbox with controlled permissions (OpenShell, containers).

Single LLM call vs multi-step workflow vs agent

ApproachUse when
Single LLM callThe task is one transformation: summarize, classify, extract, draft. Cheapest and fastest; always try it first
Fixed workflow (chain)The steps are known in advance: retrieve → answer → check. Code decides the order; the LLM fills steps
AgentThe steps depend on what is found along the way: open-ended research, troubleshooting, multi-system tasks

Rule of thumb from NVIDIA's guidance: use the simplest design that meets the requirement. Every extra step multiplies latency, token cost and the chance of an error compounding.

1.2 Reasoning Patterns

PatternHow it worksFits
Chain-of-thoughtThe model writes intermediate reasoning before answeringMulti-step logic within one call
ReAct (reason + act)Loop of Thought → Action (tool call) → Observation, repeated until doneTasks that need tools and adapt to what they find
Reflection / self-critiqueThe agent (or a second model) reviews its output against criteria and revisesQuality-sensitive outputs: code, reports; catches its own mistakes
Planner–executor (plan-and-execute)A planner writes a multi-step plan; executors carry out each step; the planner re-plans if neededLong tasks; cheaper models can execute while a strong model plans
Tree / graph search (tree of thoughts)Explore several reasoning branches and keep the bestPuzzles and planning with many options

Test-time scaling (An Easy Introduction to LLM Reasoning): spending more compute at inference improves answers: longer reasoning traces, sampling several answers and voting (self-consistency), or searching with a verifier. Reasoning models (for example Nemotron models with reasoning on) are trained to think before answering; many let you switch reasoning on or off or set a budget, trading accuracy for latency and tokens.

1.3 Tools, MCP and Orchestration

Tool use (function calling) 1. The application describes each tool to the model: name, description, JSON schema of parameters. 2. The model returns a structured tool call (name + arguments) instead of text. 3. The application executes the tool (the model never runs code itself), validates arguments and handles errors. 4. The result goes back to the model as an observation; the loop continues.

Good tool design: clear names and descriptions, narrow scope, typed and validated parameters, idempotent where possible, meaningful error messages the model can act on, least-privilege credentials.

Model Context Protocol (MCP) - An open protocol for connecting AI applications to tools and data in a standard way, so one integration works with many agents. - MCP servers expose tools (actions), resources (data) and prompts (templates); MCP clients inside the agent application discover and call them. - Transports: local (stdio) or remote (HTTP-based). - NeMo Agent Toolkit can be an MCP client (use remote tools) and an MCP server (publish its tools). - Security: treat MCP servers as untrusted code and data sources: authenticate, allow-list, scope permissions, and watch for tool poisoning (malicious instructions in tool descriptions or outputs).

Orchestration and execution order - Sequential: step B needs A's output. - Parallel: independent tool calls run at the same time, cutting latency. - Conditional / routing: a router (rules, a classifier or an LLM) chooses the next step or model. Model routing (for example NeMo Switchyard) sends easy steps to small, cheap models and hard steps to frontier models. - Loops with limits: max iterations, timeouts and token budgets stop runaway agents. - Frameworks: LangGraph (graph of nodes and edges with state), LlamaIndex, CrewAI, AutoGen, custom code; NeMo Agent Toolkit connects and profiles them.

1.4 State, Context and Memory

  • Stateless interaction: each request carries everything needed; the server keeps nothing. Simple to scale.
  • Stateful interaction: the system stores conversation or task state between turns (session store, checkpointed graph state) so long tasks can pause, resume and be audited.
  • Context engineering: deciding what goes into the context window at each step: instructions, relevant memory, retrieved documents, tool results, and nothing that wastes tokens. Techniques: summarizing old turns, trimming tool output, retrieving only relevant memories, structured scratchpads. Too little context → wrong actions; too much → cost, latency and "lost in the middle" errors.
MemoryWhat it holdsLifetimeExample
Short-term (working)Current conversation, plan, recent tool resultsThe session or task"The user already gave the order number"
Long-termFacts, preferences, past outcomes, learned procedures, usually in a database or vector storeAcross sessions"This customer prefers email"; a solved incident playbook
Episodic / semantic / procedural (long-term subtypes)Past events / general facts / how-toAcross sessions—

Use long-term memory only when value outweighs privacy and accuracy risks: store with consent, expire stale facts, let users delete them (D2 privacy).

1.5 Multi-Agent Systems

Components: several specialized agents (each with its own role, prompt, tools and possibly model), a coordination mechanism, shared state or messages, and an overall controller.

PatternHow it works
Supervisor / orchestrator–workerA coordinator agent splits the task and delegates to specialist agents, then combines results
HierarchicalSupervisors of supervisors for large tasks
Sequential pipelineAgents hand off in a fixed order (researcher → writer → reviewer)
Peer / network (collaborative)Agents message each other directly; flexible but harder to control
Debate / criticOne agent proposes, another critiques

Single vs multi-agent: start with one agent with good tools. Move to several agents when the task has clearly separable specialties, needs different tools or permissions per role, needs parallel work, or a single prompt has become too large to manage. Multi-agent systems cost more tokens, add latency and add coordination failure modes (agents looping, contradicting each other, losing context in hand-offs).

1.6 Safety, Failure Modes and Human Oversight

Common failure modes - Hallucinated facts or tool arguments; calling non-existent tools. - Prompt injection: malicious instructions in user input or in retrieved content and tool outputs (indirect injection) that hijack the agent. - Infinite loops / runaway cost; repeating the same failing action. - Error compounding: a small early mistake grows over many steps. - Goal drift: the agent pursues something other than the user's goal. - Excessive agency: the agent has more permissions than the task needs and takes harmful or irreversible actions. - Data leakage: exposing secrets or PII through tool calls or outputs.

Safety controls | Control | Purpose | |---|---| | Guardrails (NeMo Guardrails: input, dialog, retrieval, execution and output rails) | Block jailbreaks and off-topic requests, check retrieved chunks, validate tool calls, filter outputs | | Output filters / content-safety models | Catch toxic or unsafe text | | Prompt-injection defenses | Separate trusted instructions from untrusted data, sanitize tool outputs, injection classifiers, least-privilege tools, never let retrieved text grant permissions | | Hallucination reduction | RAG grounding with citations, fact-checking rails (check the answer against retrieved evidence), self-check, lower temperature, "say you don't know" instructions | | Sandboxing and least privilege | Run agents in isolated runtimes (OpenShell, containers) with allow-listed network egress and scoped credentials | | Limits | Max steps, timeouts, budgets, rate limits | | Tracing and logging | Record every prompt, tool call, observation and decision (OpenTelemetry-style traces) to debug and audit |

Human oversight - Human-in-the-loop (HITL): the agent pauses for approval before high-impact or irreversible actions (payments, deletions, emails to customers), or a human reviews outputs. - Human-on-the-loop: humans monitor and can intervene or stop the agent. - Escalation paths when confidence is low; clear audit trails of who approved what. - NeMo Agent Toolkit's interactive workflows let a workflow ask the user for input or confirmation mid-run.

1.7 Measuring and Improving Agents

What to measure (Mastering Agentic Techniques: AI Agent Evaluation) | Measure | What it shows | |---|---| | Task-completion (success) rate | Did the agent achieve the goal? The headline metric | | Accuracy / correctness of final answers and of intermediate steps (right tool, right arguments) | Where it goes wrong | | Trajectory quality | Were the steps sensible and efficient (no loops, no unnecessary calls)? | | Groundedness / faithfulness | Are claims supported by retrieved evidence? | | Token usage and cost per task | Multi-step workflows multiply tokens | | Latency (end-to-end and per step) | User experience; agents are slower than single calls | | Number of steps / tool calls | Resource impact | | Safety violations, escalation rate, human-intervention rate | Risk and autonomy |

Evaluate with a fixed test set of realistic tasks, LLM-as-a-judge plus human review, and traces to see each step. NeMo Agent Toolkit includes profiling (tokens and latency per step) and evaluation; NeMo Evaluator runs evaluations as a microservice.

How to improve - Prompt and instruction refinement (clearer tool descriptions often matter most). - Workflow refinement: fewer steps, parallel calls, deterministic code where the LLM isn't needed. - Model selection and routing: a smaller model for simple steps, a stronger one for planning (Switchyard-style routing). - Customization: fine-tune or distil a smaller model on successful traces (Mastering Agentic Techniques: AI Agent Customization). - Feedback loops / data flywheel: collect production traces and feedback, curate them, retrain and re-evaluate (D2; the NVIDIA Data Flywheel Blueprint distils agents to smaller models).

1.8 NVIDIA Tools for Agents

ToolRole
Nemotron open modelsReasoning-capable LLMs (Nano, Super, Ultra sizes) and specialized models (retrieval, safety) for agents; served as NIM microservices
NeMo (framework and microservices)Customize (Customizer), evaluate (Evaluator), guard (Guardrails), curate data (Curator) and retrieve (Retriever)
NeMo Agent ToolkitFramework-agnostic library to compose, connect (MCP), profile, evaluate and optimize agent workflows
NeMo GuardrailsProgrammable safety and topic rails, fact-checking, jailbreak and injection detection
NVIDIA Agent ToolkitUmbrella: OpenShell secure runtime, NemoClaw, Nemotron models, AI-Q blueprint, skills
NemoClawOpen-source reference stack to run always-on agents more safely in OpenShell sandboxes with policies
NeMo SwitchyardRoutes each request to the most suitable model to cut cost
AI Blueprints (AI-Q research assistant, data flywheel, others)Reference agent workflows to start from (D6)

Exam Tips - Agent = LLM that plans, uses tools, observes and iterates; prefer a single call or fixed workflow when the steps are known. - ReAct = Thought → Action → Observation loop; reflection = self-critique; planner–executor = plan, then execute steps. - The application executes tool calls; the model only proposes them. - MCP = open standard; servers expose tools, resources and prompts; clients consume them. - Short-term memory = current task; long-term = across sessions. - Start single-agent; go multi-agent for separable specialties, parallelism or different permissions. - Human-in-the-loop approval for irreversible actions; sandbox and least privilege for tools. - Measure task completion, accuracy, tokens, latency, cost and safety, with traces. - NemoClaw runs always-on agents more safely in OpenShell sandboxes; NeMo Agent Toolkit connects, profiles and evaluates agents.

References

  1. NVIDIA NCA-AMAD certification exam page — checked Nov 11, 2026

Check your understanding

  • When the steps of a task are known in advance, should you build an agent?Show answer

    Answer

    Usually not. Prefer a single model call or a fixed workflow; use an agent when the steps can't be predicted.
  • Does the LLM execute an API call itself?Show answer

    Answer

    No. The model only proposes a tool call; the application runs it and returns the result.
  • A retrieved document contains instructions. Should the agent follow them?Show answer

    Answer

    No. Retrieved content is untrusted data. Use least-privilege tools, sandboxing and human approval for irreversible actions.
  • Is final-answer accuracy enough to evaluate an agent?Show answer

    Answer

    No. Also measure task completion, steps, tokens, latency, cost and safety, using traces.

Progress is saved in this browser.

Next Lesson