MockCertMockCert
Menu

NVIDIA conceptsNVIDIA-Certified Professional: Agentic AIAgent development

NCP-AAI agent development: what the exam tests

What NCP-AAI asks about agent development: NeMo Agent Toolkit functions, prompt configuration in NeMo Guardrails, and multimodal input through NIM.

By MockCert EditorialPublished Nov 16, 2026

3 min read

In NeMo Agent Toolkit, agents and tools are both functions, so one agent can be a tool for another. Yet every function is limited to a single input argument.

01 What does NCP-AAI test about agent development?

You open a mock exam question on a custom tool and realize your notes say how agents think, not how they are built. This post covers the build side: how functions work, how prompts are set, and how inputs reach the model.

Three building blocks of an agent build

  1. FunctionsAgents and tools are both functions, called with ainvoke() or astream().
  2. PromptsCustomize prompts per task and switch versions with a mode.
  3. Multimodal inputSend images, audio and video in a chat request, with the right backend.
Learn one rule from each card before your next quiz.

Know functions, prompts and model input in that order.

02 How do you build and call a function?

A custom function is registered with the @nat.plugin_api.register_function decorator, and its configuration inherits from FunctionBaseConfig with a name attribute. Input and output schemas are Pydantic BaseModel classes.

All function operations are asynchronous: ainvoke() for a single output, astream() for streaming. Calling astream() on a single-output function, or ainvoke() on a streaming-only one, raises an error.

Pass from_fn() a function with several arguments, and it is wrapped in a lambda that takes a single argument.

03 How do you shape the prompts an agent sends?

In NeMo Guardrails, each LLM call performs one task, and you customize prompts under the prompts key in config.yml or in prompts.yml. Templates use Jinja2 for variables.

The mode attribute holds several versions of a prompt, such as compact ones for lower latency; if none matches prompting_mode, the standard prompt is used. A prompt's max_length defaults to 16000 characters.

content and messages are mutually exclusive in a prompt.

04 How does NIM take images, audio and video?

NIM uses OpenAI-compatible Chat Completions requests whose content array mixes text and media. Both backends take image and audio input, but video requires vLLM, and a text-only model cannot process media at all.

POST /v1/chat/completions supports streaming and tool calling, and NIM also exposes an Anthropic-compatible /v1/messages endpoint. Next, write each card's rule from memory, then test it in a quiz.

Video input means a vLLM-based NIM image.

Summary

  1. Agents and tools are both functions with a single input argument.
  2. Register functions with the decorator; configs inherit FunctionBaseConfig.
  3. Prompts are set per task; mode picks a version, standard is the fallback.
  4. NIM takes media in Chat Completions; video needs vLLM.

Sources

  1. Functions — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab)
  2. Prompt Configuration for the NVIDIA NeMo Guardrails Library | NVIDIA NeMo Guardrails Library Developer Guide (opens in a new tab)
  3. Image, Audio, and Video Input — NVIDIA NIM for LLM and VLM (opens in a new tab)
  4. Writing Custom Functions — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab)
  5. API Reference — NVIDIA NIM for LLM and VLM (opens in a new tab)