Logo de Vss Setup Behavior Analytics

Vss Setup Behavior Analytics

OrganizaçãoPopular
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.

Add to TypingMind

Visão geral

Publicado porNVIDIA-AI-Blueprints
Repositóriovideo-search-and-summarization
Nome da habilidadevss-setup-behavior-analytics
Estrelas
1.9K
Forks
393
Arquivos incluídos
14
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 14

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por NVIDIA-AI-Blueprints no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Vss Setup Behavior Analytics no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization/tree/develop/skills/deployment/vss-setup-behavior-analytics
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Vss Setup Behavior Analytics em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Vss Setup Behavior Analytics automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Vss Setup Behavior Analytics não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Vss Setup Behavior Analytics faz?

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

Por que usar Vss Setup Behavior Analytics no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Vss Setup Behavior Analytics é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Vss Setup Behavior Analytics no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization/tree/develop/skills/deployment/vss-setup-behavior-analytics. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Vss Setup Behavior Analytics?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Vss Setup Behavior Analytics?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Vss Setup Behavior Analytics com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Vss Setup Behavior Analytics é gratuita?

Sim. A habilidade é publicada no GitHub por NVIDIA-AI-Blueprints sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇