agentic-os
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
Use to deploy the vss-video-analytics-api REST service standalone with its Elasticsearch ingest-pipeline, selectable Kafka/Redis stream type, and Kafka-topic readiness gates when Kafka is selected. Not for full warehouse deploy.
Deploy the video-analytics-api REST service standalone with the user's chosen config and data-log bind. The service exposes port 8081 and /livez only after Elasticsearch, the insertion-timestamp-pipeline, and, when STREAM_TYPE=kafka, the configured Kafka topic requirements are ready.
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/.
Worked end-to-end examples are kept under evals/ (each *.json manifest
contains a runnable scenario). Run a Tier-3 evaluation to replay them:
nv-base validate skills/deployment/vss-setup-video-analytics-api --agent-eval
A minimal standalone bring-up looks like:
cd $REPO/deploy/docker
export VSS_APPS_DIR=$(pwd)
export VSS_DATA_DIR=${VSS_DATA_DIR:-/tmp/vss-data}
mkdir -p "$VSS_DATA_DIR/data_log/vss_video_analytics_api"
docker compose -f services/analytics/video-analytics-api/compose.yml up -d vss-video-analytics-api
curl -sf http://localhost:8081/livez
Follow references/deploy-video-analytics-api-service.md for the full
workflow (config source, data-log bind, infrastructure dependencies, REST endpoints).
For the field-by-field JSON config reference, see references/configuration.md.
/docs or /health; redeploy via vss-build-vision-ai or the matching vss-deploy-* skill.NGC_CLI_API_KEY. Solution: docker login nvcr.io and re-export the key before retrying.docker compose down.Deploy just the vss-video-analytics-api container (the Node.js REST API from the upstream video-analytics-api repo), not as part of the full warehouse blueprint stack.
The full operational walkthrough — config-source options, data-log volume behavior, infrastructure dependencies, REST API endpoints, deploy + verify, troubleshooting — lives in references/deploy-video-analytics-api-service.md. The field-by-field JSON config reference lives in references/configuration.md. This SKILL.md only handles routing and prerequisites.
Repo checkout with $VSS_APPS_DIR pointing at <repo>/deploy/docker/. Required by the service compose's volume binds.
NGC credentials — $NGC_CLI_API_KEY set so docker can pull the image. See references/ngc-api-key-registry-login.md.
Secure-handling note for
NGC_CLI_API_KEY: this key is a long-lived credential that pulls all NVIDIA private images available to your NGC org. Never commit the key, never paste it into chat, never store it in/tmp. Read it interactively (read -rs NGC_CLI_API_KEY) or load it from your secret manager (Vault, AWS Secrets Manager, sealed-secrets) at deploy time. Write any derived.envfiles withumask 077+chmod 600, add them to.gitignore, and rotate the key on a defined cadence and after every host decommission. If it has ever been exposed (host snapshot, shared screen, ticket attachment), rotate immediately.
Docker runtime — Docker Engine 28.3.3 with Docker Compose plugin v2.39.1+. Verify with docker --version and docker compose version.
Elasticsearch and ingest pipeline — the endpoint in elasticsearch.node must be reachable and contain insertion-timestamp-pipeline. Elasticsearch port availability alone is insufficient: the API deliberately waits for that pipeline before binding port 8081. When using the infra compose, start both elasticsearch and elasticsearch-init-container.
STREAM_TYPE — Compose passes this environment variable to the API. It accepts only kafka or redis; unset defaults to kafka, and any other value makes the API exit at startup. With STREAM_TYPE=kafka, the API waits for configured Kafka topics. With STREAM_TYPE=redis, it skips Kafka startup work and topic readiness gates; the API does not create a Redis client.
Kafka configuration when STREAM_TYPE=kafka. With kafka.brokers: [] or null, Kafka startup work is skipped. With brokers configured, the API waits before listening until mdx-notification, mdx-amr, and at least one mdx-rtls* topic exist. The service-shipped config enables Kafka, so provision those topics when selecting Kafka.
$VSS_DATA_DIR for the default compose. The base compose bind-mounts $VSS_DATA_DIR/data_log/vss_video_analytics_api for multipart upload handling and file-backed assets such as calibration images. Set the directory to a writable host path and pre-create it, or remove that mount if image uploads are not needed.
If any required prerequisite fails, surface the gap before going further.
Hand the user references/deploy-video-analytics-api-service.md and walk them through its steps in order:
STREAM_TYPE: kafka or redis; omit it only to use the Kafka default.insertion-timestamp-pipeline; and, only for STREAM_TYPE=kafka with configured brokers, the required topics.docker compose up and health check.The compose-file edits, config options, deploy + verify commands, REST API endpoint table, and troubleshooting table all live in that reference — don't duplicate them here.
Use references/deploy-video-analytics-api-service.md for the REST endpoint table and runtime dependency notes.
STREAM_TYPE=kafka and non-empty kafka.brokers)When STREAM_TYPE=kafka and kafka.brokers is non-empty, the container does not become live until those brokers and the required topics are available. Once it is live, three additional capabilities are available:
The API acts as the producer for dynamic config updates. When an operator POSTs to /config, the API publishes an upsert message to the mdx-notification topic with Kafka key behavior-analytics-config. The downstream behavior-analytics container consumes this and ACKs back. The API also handles the bootstrap flow — when behavior-analytics starts, it publishes a request-config message, and the API replies with upsert-all containing the latest verified config from Elasticsearch.
Consumer-side validation, ACK semantics, and the full wire contract are documented in the vss-setup-behavior-analytics dynamic-config reference.
The API produces calibration update notifications on mdx-notification with Kafka key calibration. Supports upsert-all (full snapshot), upsert (per-sensor merge), and delete (per-sensor removal). The downstream behavior-analytics container consumes these and applies them to the live calibration.
Consumer-side validation and per-action policy are documented in the vss-setup-behavior-analytics dynamic-calibration reference.
The API consumes real-time location (mdx-rtls) and AMR (mdx-amr) messages from Kafka and exposes them via REST endpoints.
vss-build-vision-ai with profile warehouse (or alerts). Don't run this skill in parallel.vss-setup-behavior-analytics.STREAM_TYPE=kafka and Kafka are reachable, then use the /config or calibration endpoints and point them at the behavior-analytics dynamic-update references for the consumer wire contract.vss-setup-behavior-analytics dynamic-config and dynamic-calibration references.src/app/specification/openapi.json in the video-analytics-api repo.bump:1
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
GAgarrytan/gstack136k883 new stars in the last 7 days
ADaddyosmani/agent-skills106k3,628 new stars in the last 7 days
NEnexu-io/open-design101k1,126 new stars in the last 7 days
NEnexu-io/open-design101k1,126 new stars in the last 7 days
THthedotmack/claude-mem100k3,024 new stars in the last 7 days