Vss Setup Behavior Analytics logo

Vss Setup Behavior Analytics

OrganizationPopular
NVIDIA-AI-Blueprints
vss-setup-behavior-analytics

Use this skill to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.

Overview

PublisherNVIDIA-AI-Blueprints
Repositoryvideo-search-and-summarization
Skill namevss-setup-behavior-analytics
Stars
1.9K
Forks
393
Bundled files
14
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 14 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by NVIDIA-AI-Blueprints on GitHub. Read the source before you install it.

Installation

Install the Vss Setup Behavior Analytics AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization.git /tmp/video-search-and-summarization
mkdir -p .claude/skills
cp -r /tmp/video-search-and-summarization/skills/deployment/vss-setup-behavior-analytics .claude/skills/vss-setup-behavior-analytics
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Vss Setup Behavior Analytics in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Vss Setup Behavior Analytics on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Vss Setup Behavior Analytics is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Purpose

Deploy the behavior-analytics service standalone with the user's chosen entrypoint, config, and calibration.

Instructions

Follow the routing tables and step-by-step workflows below. Each section that ends in workflow, quick start, or flow is intended to be executed top-to-bottom. Detailed reference material lives in references/.

Examples

Worked end-to-end examples are kept under evals/ (each *.json manifest contains a runnable scenario). Run a Tier-3 evaluation to replay them:

bash
nv-base validate skills/deployment/vss-setup-behavior-analytics --agent-eval

A minimal standalone bring-up looks like:

bash
cd $REPO/deploy/docker
export VSS_APPS_DIR=$(pwd)
docker compose -f services/analytics/behavior-analytics/compose.yml up -d vss-behavior-analytics-base

Follow references/deploy-behavior-analytics-service.md for the full workflow (entrypoint pick, config source, dynamic updates).

Limitations

  • No HTTP API. This is a broker stream processor — it reads and writes Kafka / Redis Streams / MQTT and serves no REST endpoint, so there is nothing to curl and no /health to probe. Verify it through container logs and the output topics.
  • CPU-only. It loads no models and reserves no GPU (gpu_count: 0 in this skill's own evals), so GPU memory and NIM rate-limits are not constraints here.
  • At least one processor must be enabled, and forgetting is quiet. With every numWorkersFor* at 0 the runner logs FATAL - Error in app: No processors registered, closes its listeners and returns — the process exits 0, so to anything watching exit codes it looks like a clean shutdown. Only the log distinguishes it.
  • A destination the config omits is a disabled output, not an error. The sink logs No destination configured for '<key>'; output for it is disabled once per key and drops the rest, so a missing topic looks like an empty stream rather than a failure.
  • One behavior producer per deployment. Two instances producing behaviors for the same sensors write every behavior twice, from processes with independent state. Nothing detects this.

Troubleshooting

  • Error: container restart-loops immediately; log shows FATAL - Config file ... contains invalid JSON or ... has invalid structure. Cause: the mounted config is malformed or fails AppConfig validation. Solution: fix the JSON / schema — the app calls exit(1), so compose's restart policy cycles it forever.
  • Error: container exits almost immediately with status Exited (0) and the log ends in FATAL - Error in app: No processors registered in app .... Cause: every numWorkersFor* is 0 (the shipped composite_config.json ships this way on purpose). Solution: set the worker count for the capabilities you want. Note the exit code is 0, so a restart: on-failure policy will not cycle it — it just stays stopped.
  • Error: container shows Restarting (N) and the log ends in a Kafka/Redis connection error. Cause: no broker reachable. The client retries a bounded number of times, then the worker raises and the scheduler shuts the whole app down. Solution: bring up the broker, or expect the restart loop until one exists.
  • Error: an expected topic stays empty. Cause: either the destination is not defined in the config (look for the one-time No destination configured warning) or the processor that writes it has 0 workers. Solution: define the topic and set the worker count.
  • Error: log shows Error reading calibration type from ...: defaulting to IMAGE. Cause: --calibration was omitted or unreadable. Solution: this is not fatal — the app runs image-calibrated, which silently changes coordinate semantics. Mount a calibration if you meant a cartesian or geo deployment.

VSS Setup Behavior Analytics — Standalone

Deploy just the vss-behavior-analytics container (the spatial-AI analytics pipeline from the upstream behavior-analytics repo), not as part of the full warehouse blueprint stack.

The full operational walkthrough — entrypoint table, config-source options, calibration types, dynamic-update wire contract, troubleshooting — is references/deploy-behavior-analytics-service.md. This SKILL.md only handles routing and prerequisites.

When to use

  • "Deploy behavior analytics" / "run behavior-analytics standalone"
  • "I just want to run analytics, not the full stack"
  • "Change the entrypoint to search_and_alerts / analytics 3D / mv3dt"
  • "Use my own behavior-analytics config / calibration JSON"
  • "Point behavior-analytics at the warehouse-3d (or mv3dt) config without spinning up the rest of the warehouse profile"
  • "Dynamic config / dynamic calibration into a running behavior-analytics"

When NOT to use

This skill deploys one container. Hand off instead when the request is:

Prerequisites

  1. Repo checkout with $VSS_APPS_DIR pointing at <repo>/deploy/docker/. Required by the service compose's volume binds.
  2. Registry access — none needed for the default image: ghcr.io/nvidia-ai-blueprints/vss/vss-behavior-analytics is public, so docker pull works unauthenticated. You only need credentials if you override VSS_CONTAINER_REGISTRY to NGC — see references/ngc-api-key-registry-login.md.
  3. Docker runtime — Docker Engine 28.3.3 with Docker Compose plugin v2.39.1+. Verify with docker --version and docker compose version.
  4. Optional broker (Kafka / Redis Streams / MQTT). The container starts fine without one — the Kafka client retries a bounded number of times, then the app exits and restart: always cycles the container. Status will show Restarting (N) in docker ps until a broker is reachable. With a broker, dynamic config / dynamic calibration over mdx-notification become available.
  5. Optional config / calibration files on disk if the user is bringing their own.

If any required prerequisite fails, surface the gap before going further.

Workflow

Hand the user references/deploy-behavior-analytics-service.md and walk them through its steps in order:

  1. Pick an entrypoint (analytics 2D / 3D, search_and_alerts, public_safety, smart_city, composite).
  2. Choose a config — profile-shipped or custom.
  3. Choose a calibration — optional; profile-shipped or custom; otherwise the app waits for a dynamic-calibration notification.
  4. Decide whether a broker is reachable; if yes, point them at the dynamic-update flows.

The compose-file edits, YAML diffs, deploy + verify commands, and troubleshooting table all live in that reference — don't duplicate them here.

Dynamic updates (runtime, no restart)

Once the container is up and a broker is reachable, two runtime-update flows are available — neither requires redeploying:

Dynamic config — patch app[] / sensors[] at runtime by publishing to mdx-notification under Kafka key behavior-analytics-config. Only allowlisted keys apply; everything else is rejected in the ack rather than silently ignored. Successful upserts are persisted to disk, applied to every worker, and ACK'd back. Message shape, headers, ack semantics and the allowlist: references/dynamic-config.md.

Dynamic calibration — replace sensors / ROIs / tripwires / homographies at runtime under Kafka key calibration on the same topic. Payloads are schema-validated before anything is persisted, and a violation is dropped with a calibration schema violation warning, leaving the previously-good calibration loaded. Message shape, per-action validation policy and the no-ack caveat: references/dynamic-calibration.md.

Both flows live entirely on the broker — the producer can be video-analytics-api, your own script, or any Kafka client that mirrors the wire shape. They're the recommended way to change configuration after the container is running, so the operator doesn't have to redeploy.

Routing rules

  • If the user wants "the full stack" (UI / agent / perception): hand off to vss-build-vision-ai with profile warehouse (or alerts). Don't run this skill in parallel.
  • If the user needs to fold behavior-analytics into a composed/multi-service deployment — which Kafka topics it consumes and emits, and how it wires to producers/consumers around it: see the integration contract in references/integrate-behavior-analytics-service.md.
  • If the user wants to publish a runtime config / calibration update to an already-running container: walk the Dynamic updates section. Both flows need a reachable broker.
  • If the user describes a behavior-analytics behavior change they want to validate (new incident type, new ROI rule, new sensor): point them at references/configuration.md, references/dynamic-config.md, or references/dynamic-calibration.md before editing the JSON.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Vss Setup Behavior Analytics AI skill do?

Use this skill to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.

Why use Vss Setup Behavior Analytics on TypingMind?

Because you install it once and use it with any model. Vss Setup Behavior Analytics is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Vss Setup Behavior Analytics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization/tree/develop/skills/deployment/vss-setup-behavior-analytics. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Vss Setup Behavior Analytics?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Vss Setup Behavior Analytics?

As many as you like. As long as a model supports skills, you can use Vss Setup Behavior Analytics with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Vss Setup Behavior Analytics AI skill free?

Yes. It is published on GitHub by NVIDIA-AI-Blueprints under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇